6 open source boards using the 4N28
Real designs built with the 4N28, 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.
ESP8266
Cc pcbRedo
lagunter145
146.1 × 101.6 mm86 parts2LNo license2AVR/Arduino
Inefficient coil gun
jamesbrayy
440 × 196 mm151 parts2LMIT1ESP32
Open-ESP-board
Lasertie
34 × 39.5 mm29 parts2LNo license1ESP8266
Cc pcb
lagunter145
145.2 × 105.1 mm83 parts2LNo license2Half bridge
profdc9
96.5 × 98 mm78 parts2LNo license56Half bridge
iduwhux
96.5 × 98 mm75 parts2LNo license1
How designs wire the 4N28
Read from the KiCad layouts of 5 open source designs, one per repository: what each pin of the 4N28 connects to, and the resistors, capacitors and other passives placed on it.
- Pin 1 has a series resistor on 3 of 5 designs, most often 1 kΩ (then 68 Ω).
- Pin 4 is tied to GND on 3 of 5 designs (a signal on 2).
- Pin 6 is left unconnected on 3 of 5 designs (a signal on 2).
| Pin | Connected to | Parts on the pin |
|---|---|---|
| Pin 1 | Connected to: Signal 100% |
|
| NCpin 3 | Connected to: Not connected 100% | — |
| Pin 4 | Connected to: GND 60% · a signal 40% | — |
| Pin 6 | Connected to: Not connected 60% · a signal 40% | — |
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 Half bridge by profdc9, Cc pcb by lagunter145, Half bridge by iduwhux and Inefficient coil gun by jamesbrayy.
The 4N28 in open source designs
The gallery holds 6 open source boards using the 4N28 from 5 GitHub repositories; a typical one measures about 120.9 × 99.8 mm and carries around 81 components.
100% are two-layer designs, the rest use four layers or more, and 17% carry an open source license.
The most starred is Half bridge by profdc9.
Parts used alongside the 4N28
Microcontrollers on boards using the 4N28
What boards using the 4N28 are built for
4N28: common questions
Where can I find a 4N28 reference design?
Each of the 6 boards on this page is a real design using the 4N28. 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 4N28 pin 1?
Pin 1 has a series resistor on 3 of 5 designs, most often 1 kΩ (then 68 Ω). Counted from the KiCad layouts of 5 open source designs using the 4N28.
How is the 4N28 pin 4 connected?
Pin 4 is tied to GND on 3 of 5 designs (a signal on 2). Counted from the KiCad layouts of 5 open source designs using the 4N28.
How is the 4N28 pin 6 connected?
Pin 6 is left unconnected on 3 of 5 designs (a signal on 2). Counted from the KiCad layouts of 5 open source designs using the 4N28.
What parts are used alongside the 4N28?
The 40106, LM339, LM7815_TO220 and TC4420 appear in the most repositories here.
Which microcontrollers do boards using the 4N28 use?
Most are built on ESP8266 (2), AVR/Arduino (1) and ESP32 (1).
How big is a typical board using the 4N28?
The median is 120.9 × 99.8 mm, and 100% are two-layer designs.
What is the most popular open source board using the 4N28?
By GitHub stars, Half bridge by profdc9, with 56 stars.
Can I simulate one of these boards using the 4N28 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.