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.

6 boardsClear filters|Most starred

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 1Connected to: Signal 100%
  • Series resistor on 60% · 1 kΩ (2), 68 Ω (1)
NCpin 3Connected to: Not connected 100%
Pin 4Connected to: GND 60% · a signal 40%
Pin 6Connected 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.

Browse boards by part