
8088-FE2010A SBC
skiselev/micro_8088
Micro 8088 - IBM XT Compatible Processor Board based on Faraday FE2010 chipset

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.
Relay DriverBJT is an open-source printed circuit board by SriHarshini2701, from the SriHarshini2701/5V-Relay-Driver-PCB repository on GitHub. It is a 2-layer board of 80 × 46 mm with 16 parts on 9 nets, routed with 31 tracks and 0 vias.
It is built around the PN2222A. Its parts include 3 resistors, 3 diodes, 3 connectors, 1 capacitor and 1 transistor. It belongs with the home automation and IoT and robots and motor control boards of this library.
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.
| Parameter | Value |
|---|---|
| MCU Control Voltage | 5 V |
| Relay | Omron G5LE-1 DC5 |
| Relay Coil Voltage | 5 V |
| Relay Coil Current | 79.4 mA |
| Load Voltage | 12 V DC |
| Load Type | DC Motor |
| Switching Device | P2N2222A NPN Transistor |
| Base Resistor | 1 kΩ |
| Protection | Flyback Diode |
| PCB Layers | 2-Layer PCB |
| Design Tool | KiCad |
| Simulation Tool | LTspice |
The MCU output drives the base of a P2N2222A transistor through a 560Ω resistor. When the MCU output goes HIGH, the transistor enters saturation and energizes the relay coil. The relay contacts then connect the 12V supply to the motor load.
A flyback diode connected across the relay coil suppresses the back-EMF generated when the relay is switched OFF, protecting the transistor from high-voltage transients.

Relay driver schematic showing MCU interface, transistor driver stage, relay coil protection diode, status LED, and motor switching contacts.

Top layer PCB layout generated in KiCad.

3D rendering of the completed relay driver PCB.

Measured relay coil current ≈ 77.8 mA, validating proper energization of the Omron G5LE-1 relay.

Base current ≈ 7.38 mA and collector current ≈ 77.8 mA verify correct transistor drive and base resistor selection.

Flyback diode suppresses the inductive voltage spike generated by the relay coil during turn-off, protecting the switching transistor.
✔ No ERC errors
✔ No DRC violations
✔ Gerber Files
✔ Drill Files
✔ Bill of Materials (BOM)
Sri Harshini N
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 2 | 1N4007 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1, D3 |
| 2 | Conn_01x02_Pin | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J1, J3 |
| 1 | 100nF | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 10k | Resistor_SMD:R_0805_2012Metric | R2 |
| 1 | 1k | Resistor_SMD:R_0805_2012Metric | R3 |
| 1 | 560R | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | Conn_01x03_Pin | TerminalBlock:TerminalBlock_bornier-3_P5.08mm | J2 |
| 1 | G5LE-1 | Relay_THT:Relay_SPDT_Omron-G5LE-1 | K1 |
| 1 | LED | LED_SMD:LED_0805_2012Metric | D2 |
| 1 | PN2222A | Package_TO_SOT_THT:TO-92_Inline | Q1 |

skiselev/micro_8088
Micro 8088 - IBM XT Compatible Processor Board based on Faraday FE2010 chipset

Staacks/there.oughta.be
Projects featured on my blog at https://there.oughta.be


plusvic/simplebus2-intercom
General description of the Simplebus2 protocol used by some Comelit's intercoms. Hardware for retransmitting Simplebus2 messages over UART.




It measures 80 × 46 mm and has 2 copper layers, 1.6 mm thick.
16 parts, built around the PN2222A. 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 SriHarshini2701/5V-Relay-Driver-PCB repository on GitHub, at the commit this page was made from: the board is Relay_DriverBJT.kicad_pcb and its schematic Relay_DriverBJT.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 SriHarshini2701 before reusing the design.