Skip to the content
PCBKitNew board
2 layers19.5 × 30 mmTrafficLights, the printed circuit board in 3D

Arduino traffic light simulator, breadboard prototype to custom KiCad PCB

Size
19.5 × 30 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
7
Pads
20
Tracks, vias
21, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
10 Sep 2026
Updated
10 Sep 2026

Overview

TrafficLights is an open-source printed circuit board by Ch3ema, from the Ch3ema/Tracffic-Lights repository on GitHub. It is a 2-layer board of 19.5 × 30 mm with 11 parts on 7 nets, routed with 21 tracks and 0 vias.

Its parts include 3 resistors, 3 diodes and 1 connector.

README

README.md

Traffic Light Simulator

An Arduino-controlled traffic light, built on a breadboard and then turned into a custom PCB in KiCad.

Screenshot 2026-09-09 234809

What it does

Three LEDs cycle through a standard traffic light sequence.

LightArduino PinDuration
GreenD43 s
YellowD31 s
RedD23 s

Hardware

  • Arduino Uno R3
  • 3x 5 mm THT LEDs (red, yellow, green)
  • 3x 220 Ω current-limiting resistors
  • 1x 4-pin male header (GND + 3 signals)

Each LED anode connects to its Arduino pin through a 220 Ω resistor; all cathodes share a common ground. That gives roughly 14 mA per LED, well under the Uno's 20 mA per-pin limit.

PCB

Designed in KiCad 10. LEDs grouped at the top, resistors in a row below, 4-pin header at the bottom edge, and four M3 mounting holes at the corners.

IMG_3521 Screenshot 2026-09-09 234824

Footprints:

  • LEDs: LED_THT:LED_D5.0mm
  • Resistors: Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal
  • Header: Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical

Running it

  1. Flash TrafficLights.ino to an Arduino Uno
  2. Connect the header to the Uno: GND to GND, signals to D2, D3, D4
  3. Power over USB

Gerbers are in /kicad if you want to fabricate the board.

Possible improvements

  • Pedestrian crossing button with interrupt-driven state change
  • Replace blocking delay() calls with millis() timing so the board can respond to input mid-cycle
  • Second light head to simulate a full intersection

Parts

11
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_2.5mm_PadH1, H2, H3, H4
3220Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR1, R2, R3
3LEDLED_THT:LED_D3.0mmD1, D2, D3
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ1

Questions

How big is the TrafficLights PCB?

It measures 19.5 × 30 mm and has 2 copper layers, 1.6 mm thick.

What parts does the TrafficLights use?

11 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the TrafficLights KiCad files?

From the Ch3ema/Tracffic-Lights repository on GitHub, at the commit this page was made from: the board is KiCad/TrafficLights.kicad_pcb and its schematic KiCad/TrafficLights.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the TrafficLights design in my own project?

Its repository states no licence, so its author keeps all rights: ask Ch3ema before reusing the design.

Similar boards

  • 2 layers60 × 30 mmController, the printed circuit board in 3D

    Controller

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    11 parts3kApache-2.0
  • 2 layers103 × 30.5 mmTS Front Endcap, the printed circuit board in 3D

    TS Front Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    11 parts1.3kMIT
  • 2 layers26 × 30 mmExpansion Card, the printed circuit board in 3D

    Expansion Card

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    11 parts1.1kCC-BY-4.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    11 parts1kGPL-3.0
  • 2 layers10 × 20 mm2 connector Sensor Board, the printed circuit board in 3D

    2 connector Sensor Board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    11 parts915
  • 2 layersFet module, the printed circuit board in 3D

    Fet module

    ByteWelder/Decktility

    A handheld PC

    11 parts855CC-BY-SA-4.0
  • 2 layers47 × 33 mmSevensegment led display module, the printed circuit board in 3D

    Sevensegment led display module

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    11 parts803MIT
  • 2 layers42.5 × 36.8 mmDevboard, the printed circuit board in 3D

    Devboard

    basilfx/TRADFRI-Hacking

    Hacking IKEA TRÅDFRI products, such as light bulbs, window blinds and other accessories.

    11 parts743CC-BY-4.0