36 open source boards using the 4N25
Real designs built with the 4N25, from public GitHub projects: a quick way to see how others power, decouple and connect it. Each board comes with its KiCad files, full parts list and a render — and you can simulate its firmware on HardLabs.
MVMEPI
rhaamo
233.4 × 81.6 mm38 parts2LNo license12AVR/Arduino
Thc
festlv
123.8 × 99.7 mm72 parts2LNo license7RP2040/RP2350
Rp2040Term
PR77
99.6 × 99.6 mm44 parts2LGPL-3.05RP2040/RP2350
Motorized macro rail
mattwach
119.4 × 57.2 mm17 parts2LNo license4AVR/Arduino
DiySolderingStation
kr4fty
50.8 × 99.1 mm69 parts2LGPL-2.03ESP8266
Machine access node
leedshackspace
76.2 × 69.9 mm32 parts2LNo license2Multiple output power supply
src94
157.3 × 86 mm46 parts2LNo license1Raspberry Pi
TRax Control Board
vmoa
99.1 × 149.9 mm37 parts2LNo license1KICAD OptoInputMinimal
bcelary
75.4 × 58.8 mm28 parts2LMIT1Kicad project
Invisible-Luna
63.6 × 63.6 mm25 parts2LNo license1ESP32
Smart-Home-Controller
Ajith-Anand-R
100 × 80 mm11 parts2LMIT1AVR/Arduino
New system
MadsRudolph
202.2 × 131 mm131 parts2LNo license0PIC
DMX to Ethernet Low Current Mains Dimmer
CarnivalBen
200.7 × 123.2 mm111 parts2LMIT0Mm8d hw
pozsarzs
238.5 × 59.7 mm83 parts2LCC-BY-NC-4.00PIOI I/O interface module
pozsarzs
238.5 × 59.7 mm83 parts2LEUPL-1.20MAB18
ZeniteSolar
114.5 × 140 mm71 parts2LLGPL-3.00AVR/Arduino
MAB19 PANEL
ZeniteSolar
261 × 173.2 mm66 parts2LGPL-3.00AVR/Arduino
MAB19
ZeniteSolar
123.8 × 79.4 mm66 parts2LNo license0AVR/Arduino
Speedometer hardware
gpgreen
70 × 34 mm51 parts4LNo license0WiFiMonitor
ElectronicCats
47.2 × 47.2 mm40 parts2LNo license0EA801---Turma-D
Edson8101
116.5 × 47.5 mm27 parts2LMIT0ESP8266
HardDimmer
HenryqueFarias16
61.5 × 48.5 mm26 parts2LNo license0ESP32
Smarthome controller
Gokul3611
100 × 80 mm11 parts2LMIT0AVR/Arduino
Row driver
CarlRaymond
100 × 100 mm80 parts2LNo license44LTC3 Charge Controller
psas
103.5 × 85 mm110 parts4LNo license19TRax-LaserParkDetector
vmoa
76.2 × 52.7 mm10 parts2LNo license1AVR/Arduino
System
MadsRudolph
203.1 × 152.4 mm131 parts2LNo license0PIC
Dmx eth dimmer
CarnivalBen
148 × 156 mm109 parts2LMIT0AVR/Arduino
MAB20
ZeniteSolar
52.7 × 121.9 mm61 parts2LGPL-3.00ESP32
Vm129-cpu
mirdej
53.1 × 113.2 mm95 parts4LNo license23AVR/Arduino
System.refined
MadsRudolph
203.1 × 152.4 mm131 parts2LNo license0AVR/Arduino
System.refined.routed
MadsRudolph
202.1 × 150 mm131 parts2LNo license0Motor power
MadsRudolph
104 × 104 mm58 parts2LNo license0Charger SDC
MADHURAMAN-afk
98.6 × 60 mm44 parts2LNo license0Buck v2
MadsRudolph
98.6 × 105.4 mm31 parts2LNo license0Control and power
maticas-tech-sas
44.8 × 28.7 mm12 parts2LNo license0
How designs wire the 4N25
Read from the KiCad layouts of 28 open source designs, one per repository: what each pin of the 4N25 connects to, and the resistors, capacitors and other passives placed on it.
- Pin 1 has a series resistor on 19 of 28 designs, most often 1 kΩ (then 330 Ω).
- Pin 6 is left unconnected on 22 of 26 designs (a signal on 4).
| Pin | Connected to | Parts on the pin |
|---|---|---|
| Pin 1 | Connected to: Signal 93% |
|
| NCpin 3 | Connected to: Not connected 100% | — |
| Pin 5 | Connected to: A connector 25%, the microcontroller 21% · 3.3V 32% |
|
| Pin 6 | Connected to: Not connected 85% · a signal 15% | — |
2 more pins vary from design to design. Connections count pins, parts count designs; values in brackets are how many parts had that value. Designs read include Row driver by CarlRaymond, Vm129-cpu by mirdej, LTC3 Charge Controller by psas and MVMEPI by rhaamo.
The 4N25 in open source designs
The gallery holds 36 open source boards using the 4N25 from 28 GitHub repositories; a typical one measures about 101.8 × 85.5 mm and carries around 55 components.
92% are two-layer designs, the rest use four layers or more, and 33% carry an open source license.
The most starred is Row driver by CarlRaymond.
Parts used alongside the 4N25
Microcontrollers on boards using the 4N25
What boards using the 4N25 are built for
4N25: common questions
Where can I find a 4N25 reference design?
Each of the 36 boards on this page is a real design using the 4N25. Open one to see how it is wired up, with the full BOM, a render of the layout and links to its KiCad files.
What resistor goes on the 4N25 pin 1?
Pin 1 has a series resistor on 19 of 28 designs, most often 1 kΩ (then 330 Ω). Counted from the KiCad layouts of 28 open source designs using the 4N25.
How is the 4N25 pin 6 connected?
Pin 6 is left unconnected on 22 of 26 designs (a signal on 4). Counted from the KiCad layouts of 28 open source designs using the 4N25.
What parts are used alongside the 4N25?
The LM7805, ATmega328P-PU, MOC3021M, 74LS05 and 74LS14 appear in the most repositories here.
Which microcontrollers do boards using the 4N25 use?
Most are built on AVR/Arduino (11), ESP32 (3), ESP8266 (2) and PIC (2).
How big is a typical board using the 4N25?
The median is 101.8 × 85.5 mm, and 92% are two-layer designs.
What is the most popular open source board using the 4N25?
By GitHub stars, Row driver by CarlRaymond, with 44 stars.
Can I simulate one of these boards using the 4N25 before building it?
Yes. HardLabs turns a board's netlist and BOM into a working simulation, so you can boot and test firmware against it with no hardware on your desk.