Print Friendly, PDF & Email

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 (color code – Red, Red, Brown)
7. Momentary button or Switch
8. 10K Ohms Resistor (color code – Brown, Black, Orange)
9. Jumper Wires

Procedure:

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.

LEDControl.ino

ButtonLEDControl.ino

 Hardware Connections:

1. LED to Arduino Uno

LEDControl_schem

LEDControl_bb2. Button to Arduino Uno

LEDButtonControl_schem

LEDButtonControl_bb