Arduino Led Intensity With Potenciometer

by guschabal in Circuits > Arduino

1273 Views, 19 Favorites, 0 Comments

Arduino Led Intensity With Potenciometer

20150809_151425.jpg

Continuing the Arduino tutorial series, I create a project that combines different elements of hardware and software.

Arduino project combining and potentiometer to vary the light intensity of a LED.

Let's get started!

Required Hardware

20150701_194217.jpg
20150809_123022.jpg
20150701_194146.jpg
20150701_194241.jpg
20150701_194202.jpg
20150701_194210.jpg
  1. Arduino
  2. Potentiometer (1K, 10K)
  3. LED
  4. Resistance (220 ohms)
  5. Wires
  6. breadboard

Circuit

img_program_led_intensity_potenciometer3.PNG

This same diagram created with Fritzing was as connect all circuit.

Code

img_program_led_intensity_potenciometer.PNG
img_program_led_intensity_potenciometer2.PNG

This time take screenshots to show the two versions of the program I wrote.

If you can see the comments are written in Spanish and English, this is because my native language is Spanish.

Videos

Arduino + Potenciometer 1
Arduino + Potenciometer 2