
ZArduino
zmaker/arduino_cookbook
gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

🚦 KiCad PCB design for a Model Railway Traffic Light Controller using an ATmega328P, with schematic, routed PCB layout, 3D preview, and complete project files.
ATmega8 dev board is an open-source printed circuit board by Hirusha785, from the Hirusha785/model-railway-traffic-light-controller-pcb repository on GitHub. It is a 2-layer board of 71.3 × 40.8 mm with 23 parts on 33 nets, routed with 157 tracks and 0 vias.
It is built around the ATMEGA328P-PU. Its parts include 7 capacitors, 6 diodes, 5 resistors, 2 connectors and 1 IC. It belongs with the microcontroller boards boards and the AVR (ATmega, ATtiny) boards of this library.
A professional PCB design project for a Model Railway Traffic Light Controller designed using KiCad. The circuit is based on an ATmega328P microcontroller and controls three railway signal LEDs: red, amber, and green.
This repository includes the complete KiCad project files, schematic design, PCB layout, routed board, and 3D PCB preview.
This project demonstrates the design of a microcontroller-based railway signal controller PCB.
The board is designed to operate using a 5V DC power input and uses an ATmega328P to control LED signal outputs.
The PCB includes:
| Component | Description |
|---|---|
| ATmega328P-PU | Main microcontroller |
| Red LED | Red railway signal output |
| Amber LED | Amber railway signal output |
| Green LED | Green railway signal output |
| Crystal Oscillator | Clock source for the microcontroller |
| Resistors | LED current limiting and circuit support |
| Capacitors | Filtering and oscillator support |
| 1N4007 Diode | Power protection |
| Screw Terminal | 5V DC power input |
| Pin Header | Serial/programming connection |
Figure 1: Schematic design of the Model Railway Traffic Light Controller.
Figure 2: PCB layout showing component placement and routed tracks.
Figure 3: 3D visualization of the completed PCB.
The circuit uses an ATmega328P microcontroller to control three LED outputs representing railway traffic signals:
The board receives power through a 5V DC screw terminal input.
The crystal oscillator provides the clock signal for the microcontroller, while the programming header provides access to GND, +5V, TX, RX, and DTR pins for serial programming and communication.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 100nF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mm | C2, C3, C6, C7 |
| 2 | 1N4007 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1, D3 |
| 2 | 220 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R3, R4 |
| 2 | 22pF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mm | C4, C5 |
| 1 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R2 |
| 1 | 10uF | Capacitor_THT:CP_Radial_D5.0mm_P2.50mm | C1 |
| 1 | 330 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R5 |
| 1 | ATmega328P-P | Package_DIP:DIP-28_W7.62mm | U1 |
| 1 | Amber | LED_THT:LED_D8.0mm | D5 |
| 1 | Conn_01x05_Pin | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Horizontal | J3 |
| 1 | Crystal | Crystal:Crystal_HC49-U_Vertical | Y1 |
| 1 | Green | LED_THT:LED_D8.0mm | D6 |
| 1 | LED_Small | LED_SMD:LED_1206_3216Metric | D2 |
| 1 | R_Small | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1 |
| 1 | Red | LED_THT:LED_D8.0mm | D4 |
| 1 | Screw_Terminal_01x02 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J1 |
The 22 most common of 23 parts.

zmaker/arduino_cookbook
gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

coseyfannitutti/discipad
17-key numpad assembled with only through hole components, including usb type-c

matthewcieplak/super-sixteen
Code and schematics for the Super Sixteen Eurorack sequencer

coseyfannitutti/romeo
Staggered 40% keyboard pcb that can be assembled with only through hole components, including USB Type-C

mattybrad/drumkid
Version 4 was the first successful working design, with full code, schematics, Gerbers, etc available on GitHub.


leomil72/LM80C
A Z80-based homebrew computer withTMS9918, AY-3-8910, Z80 CTC, Z80 PIO, and Z80 SIO

It measures 71.3 × 40.8 mm and has 2 copper layers, 1.6 mm thick.
23 parts, built around the ATMEGA328P-PU. 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.
From the Hirusha785/model-railway-traffic-light-controller-pcb repository on GitHub, at the commit this page was made from: the board is ATmega8_dev_board.kicad_pcb and its schematic ATmega8_dev_board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask Hirusha785 before reusing the design.