Hit enter after type your search item
Home / Arduino / Arduino Project 3- Arduino Potentiometer and LED

Arduino Project 3- Arduino Potentiometer and LED

In this tutorial, we will learn to use a potentiometer with Arduino. It allows us to change its value by turning a small knob, the analog value read by Arduino will enable us to do our flashing of the LED depending on the value read.

Steps:

-Connect the LED as shown on the image.
-Connect to pin A0 the middle pin of the potentiometer
-Connect the other two leads- one to the GND and the other to the 5V pin. This does not affect the functioning of the potentiometer.

List of components:

Name Quantity Component
D1 1 Blue LED
R1 1 220 Ω Resistor
Rpot1 1 10 kΩ, Potentiometer
U1 1 Arduino Uno R3

  • Facebook
  • Twitter
  • Linkedin
  • Pinterest

Leave a Comment

Your email address will not be published. Required fields are marked *

one + one =

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This div height required for enabling the sticky sidebar
Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views :

Please Subscribe

Thank you!