Introduction: Speed Adjustable LED Blink
This is an introductory project for working with the Arduino UNO. The end result of this project is a police-light like pair of LEDs with an adjustable blinking speed.
Required materials:
- Arduino UNO
- Two LEDs, any color (I used red and blue)
- 10 Kohm Potentiometer
- Two 220 ohm resistors
- Momentary push button
- One 1 Mohm resistor
- Wires
- Breadboard
Step 1: LED and Grounding
1: Wire the (-) side of the breadboard to the gnd pin on the Arduino
2: Add LED to circuit, connect (+) to pin 8 on Arduino digital side
3: Connect a 220 ohm resistor from the (-) side of the LED to ground (negative side of board)
Step 2: Second LED
Add second LED and resistor connected to pin 9
Step 3: Potentiometer for Speed Control
1: Add 10k potentiometer
- Top pin connect to (+) side of breadboard
- Middle pin connect to pin A0 on Arduino
- Bottom pin connect to ground
Step 4: Button
1: Add button to breadboard so that the pins are all in separate groups
- Top left pin connected to (+) of breadboard
- Bottom left pin connected to ground
- Bottom right pin connected to pin 11 on digital side of Arduino
2: Connect (+) side of breadboard to 5v pin on Arduino
Step 5: Coding
Download code and load to Arduino
- Press button for 1 second and release to start/stop
- Adjust potentiometer to control blink rate






