7 open source boards using the MOC3021

Real designs built with the MOC3021, 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.

7 boardsClear filters|Most starred

How designs wire the MOC3021

Read from the KiCad layouts of 5 open source designs, one per repository: what each pin of the MOC3021 connects to, and the resistors, capacitors and other passives placed on it.

  • The NC_3 pin is left unconnected on 5 of 5 designs.
  • The NC_5 pin is left unconnected on 5 of 5 designs.
  • Pin 6 has a series resistor on 4 of 5 designs, most often 1 kΩ (then 330 Ω).
  • Pin 2 is tied to GND on 3 of 5 designs (a signal on 2).
Pin 1Connected to: Signal 60% · not connected 20% · 5V 20%
  • Series resistor on 40% · 1 kΩ (1), 200 Ω (1)
Pin 2Connected to: GND 60% · a signal 40%
NC_3pin 3Connected to: Not connected 100%
NC_5pin 5Connected to: Not connected 100%
Pin 6Connected to: Signal 80% · not connected 20%
  • Series resistor on 80% · 1 kΩ (1), 330 Ω (1), 180 Ω (1)

1 more pin varies from design to design. Connections count pins, parts count designs; values in brackets are how many parts had that value. Designs read include Kicad project by Invisible-Luna, Clean room slave by trieuhuyduc, Esp32-ac dimmer fan controller by arunsaispk12 and DMX-dimmer pack by hsiboy.

The MOC3021 in open source designs

The gallery holds 7 open source boards using the MOC3021 from 5 GitHub repositories; a typical one measures about 165 × 95 mm and carries around 90 components.

50% are two-layer designs, the rest use four layers or more, and 14% carry an open source license.

The most starred is Clean room slave by trieuhuyduc.

Microcontrollers on boards using the MOC3021

MOC3021: common questions

Where can I find a MOC3021 reference design?

Each of the 7 boards on this page is a real design using the MOC3021. Open one to see how it is wired up, with the full BOM, a render of the layout and links to its KiCad files.

How is the MOC3021 NC_3 pin connected?

The NC_3 pin is left unconnected on 5 of 5 designs. Counted from the KiCad layouts of 5 open source designs using the MOC3021.

How is the MOC3021 NC_5 pin connected?

The NC_5 pin is left unconnected on 5 of 5 designs. Counted from the KiCad layouts of 5 open source designs using the MOC3021.

What resistor goes on the MOC3021 pin 6?

Pin 6 has a series resistor on 4 of 5 designs, most often 1 kΩ (then 330 Ω). Counted from the KiCad layouts of 5 open source designs using the MOC3021.

Which microcontrollers do boards using the MOC3021 use?

Most are built on AVR/Arduino (2) and ESP32 (1).

How big is a typical board using the MOC3021?

The median is 165 × 95 mm, and 50% are two-layer designs.

What is the most popular open source board using the MOC3021?

By GitHub stars, Clean room slave by trieuhuyduc, with 1 stars.

Can I simulate one of these boards using the MOC3021 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