This is a great little project for learning about Arduino programming as well as LEDs and resistors.
I’ll show how to build a traffic light simulator on a breadboard and write an Arduino sketch to control it. This first part is about building the circuit, while the second part will focus on the sketch.
And: No soldering required.
You will need the following parts. I’ve provided links to product description pages, in case you’re not sure what to get.
- 1 x Arduino compatible. I’m using an Adafruit Pro Trinket 5V.
- 1 x Solderless breadboard
- 2 x Red 3mm LEDs
- 2 x Yellow 3mm LEDs
- 2 x Green 3mm LEDs
- 6 x 220Ω resistors, 1/4W axial
- 8 x Breadboard jumper wires