5V-Relay-Driver
SriHarshini2701·5V-Relay-Driver-PCB
About the 5V-Relay-Driver PCB
5V-Relay-Driver is an open source PCB design by SriHarshini2701, published on GitHub. It is a 2-layer board measuring 80 × 46 mm, with 12 components from 10 distinct parts.
By type, the board carries 3 connectors, 3 diodes, 3 resistors, 1 transistor, 1 relay and 1 capacitor.
From the project
5V MCU-controlled relay driver PCB designed in KiCad for switching a 12V DC motor load using a P2N2222A transistor, flyback diode protection, and LED status indication.
This project implements a 5V MCU-controlled relay driver PCB designed in KiCad for switching a 12V DC motor load. The relay coil is driven using a P2N2222A NPN transistor operating in saturation mode. A flyback diode is included across the relay coil to suppress inductive voltage spikes and protect the transistor during turn-off.
The project covers the complete hardware design flow including schematic capture, LTspice simulation, PCB layout, ERC/DRC verification, BOM generation, and manufacturing file generation.

5V-Relay-Driver bill of materials (BOM)
12 components, 10 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | P2N2222A PN2222A Onsemi | TO-92_Inline | Q1 |
| 2 | Conn_01x02_Pin | TerminalBlock_bornier-2_P5.08mm | J1, J3 |
| 1 | Conn_01x03_Pin | TerminalBlock_bornier-3_P5.08mm | J2 |
| 1 | G5LE-1 Omron | Relay_SPDT_Omron-G5LE-1 | K1 |
| 2 | 1N4007 Vishay | D_DO-41_SOD81_P10.16mm_Horizontal | D1, D3 |
| 1 | LTST-C170GKT LED Lite On | LED_0805_2012Metric | D2 |
| 1 | 0805B104J500BD 100nF NextGen Components | C_0805_2012Metric | C1 |
| 1 | RT0805BRD07560RL 560R Yageo | R_0805_2012Metric | R1 |
| 1 | CRT0805-PV-1002ELF 10k Bourns Inc. | R_0805_2012Metric | R2 |
| 1 | PLTU0805U1001LST5 1k Vishay | R_0805_2012Metric | R3 |
5V-Relay-Driver design files
The KiCad project lives in the SriHarshini2701/5V-Relay-Driver-PCB repository on GitHub; these links point at the commit this page was built from.
5V-Relay-Driver: common questions
How big is the 5V-Relay-Driver PCB?
The 5V-Relay-Driver measures 80 × 46 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the 5V-Relay-Driver?
12 components, from 10 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the 5V-Relay-Driver design files?
From the SriHarshini2701/5V-Relay-Driver-PCB repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the 5V-Relay-Driver design in my own project?
The repository has no license, so all rights stay with SriHarshini2701. Use it as a reference, and ask the author before reusing the design.