An open API service indexing awesome lists of open source software.

https://github.com/anachrocomputer/trafficlight

Schematic, PCB design and Arduino sketch for a traffic light using 8mm or 10mm LEDs
https://github.com/anachrocomputer/trafficlight

arduino leds pcb trafficlight

Last synced: 4 months ago
JSON representation

Schematic, PCB design and Arduino sketch for a traffic light using 8mm or 10mm LEDs

Awesome Lists containing this project

README

          

# TrafficLight #

Simple PCB design for a traffic light signal head which can be used
with the Arduino.
Just three LEDs, three resistors and a connector.

## Hardware ##

PCB designed with KiCad
(originally KiCad V3, now updated to V6.0.2).
Either 10mm or 8mm LEDs can be fitted.
Best to select black soldermask,
and make the edges of the PCB black with paint or a marker pen.

![PCB and LEDs](PCBandLEDs.jpg "PCB and LEDs")

The board and the parts needed to assemble it.

![Two PCBs Assembled](TwoPCBsAssembled.jpg "Two PCBs Assembled")

Two PCBs, assembled with 8mm and 10mm LEDs.

## Software ##

In the subdirectory 'TrafficLight' there's a very simple Arduino
sketch to make the lights change.
The pins assigned to the LEDs can be changed in the code,
so that the PCB can be plugged directly into an Arduino Uno
or an Arduino Nano.