Print Friendly

Components Required:

1. Arduino Uno –  Buy

2. Linux PC/Windows PC (Tested with Windows 10, Ubuntu 14.04 LTS)

3. USB cable A to B – Buy

4. Breadboard

5. 5 mm LED – Buy

6. 220 Ohms Resistor (colour code – Red, Red, Brown)

7. Potentiometer – 10K Ohm

8. Light Dependent Resistor (LDR)

9. Jumper Wires

Way to go ->

1. Connect Arduino Uno to PC via the USB cable.

2. Write the following sketches in the Arduino IDE, and upload them one by one.

LEDFade.ino

DimLED

LDRBlink.ino

Hardware Connections ->

1. LED and Potentiometer to Arduino Uno

LEDFade_schem

LEDFade_bb

2. LED and LDR to Arduino Uno

LDRBlink_schem

LDRBlink_bb