21 open source boards using the MOC3021M
Real designs built with the MOC3021M, 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.
ESP32
PCB-LEDs-Controller
MbFredys
134.4 × 106.7 mm36 parts2LCERN-OHL-W-2.05AVR/Arduino
DiySolderingStation
kr4fty
50.8 × 99.1 mm69 parts2LGPL-2.03AVR/Arduino
ArduPLC
Reiken3099
101.6 × 101.6 mm86 parts2LCC0-1.01PIC
Pic-Projects
Agustin586
100 × 100 mm57 parts2LNo license1ESP32
Smart-Home-Controller
Ajith-Anand-R
100 × 80 mm11 parts2LMIT1PCB HORNO
Bojtronic
226.2 × 263.7 mm249 parts2LNo license0ESP32
Brewers control panel
machadoleonardo94
107 × 62 mm69 parts2LNo license0ESP32
Wattwiser
rndfm
100 × 100 mm45 parts4LNo license0AVR/Arduino
Mains-Voltage-Device-Controller
kkorzen
85 × 106.5 mm34 parts2LMIT0ESP32
Xiao ac dimmer
HarryPehkonen
150 × 57 mm20 parts2LUnlicense0New dimmer
harshverma27
59 × 67 mm19 parts2LNo license0ESP32
Smarthome controller
Gokul3611
100 × 80 mm11 parts2LMIT0Hv board
andia89
69 × 54 mm31 parts2LNo license6Lkf 4-button insert (back
slimcdk
29.5 × 38.3 mm8 parts2LNo license2ESP32
Dispenador AguaESP32
EmersonEE
117.2 × 147.8 mm87 parts2LNo license0AVR/Arduino
Dispensador Garrafones V2.0
EmersonEE
200 × 90 mm87 parts2LNo license0ESP32
Circuit
maticas-tech-sas
144.3 × 102.1 mm31 parts2LNo license0ESP32
Bed smart plug
mylife-home
145 × 75 mm37 parts2LGPL-3.00ESP32
Caja-ESP32
EmersonEE
198 × 83 mm78 parts2LNo license0ESP32
C1
maticas-tech-sas
98.5 × 59.3 mm21 parts2LNo license0Prototype
mylife-home
88.9 × 66 mm28 parts2LGPL-3.00
How designs wire the MOC3021M
Read from the KiCad layouts of 17 open source designs, one per repository: what each pin of the MOC3021M connects to, and the resistors, capacitors and other passives placed on it.
- The GND pin has a series resistor on 13 of 17 designs, most often 220 Ω (then 330 Ω).
- The 6 pin has a series resistor on 11 of 16 designs, most often 330 Ω (then 470 Ω).
- The VO pin is tied to GND on 11 of 17 designs (a signal on 5).
| Pin | Connected to | Parts on the pin |
|---|---|---|
| GNDpin 1 | Connected to: Signal 82% |
|
| VOpin 2 | Connected to: GND 65% · a signal 29% | — |
| NCpin 3, 5 | Connected to: Not connected 97% | — |
| 4pin 4 | Connected to: Signal 100% |
|
| 6pin 6 | Connected to: A connector 25% |
|
Connections count pins, parts count designs; values in brackets are how many parts had that value. Designs read include Hv board by andia89, PCB-LEDs-Controller by MbFredys, DiySolderingStation by kr4fty and Lkf 4-button insert (back by slimcdk.
The MOC3021M in open source designs
The gallery holds 21 open source boards using the MOC3021M from 17 GitHub repositories; a typical one measures about 100 × 83 mm and carries around 36 components.
95% are two-layer designs, the rest use four layers or more, and 43% carry an open source license.
The most starred is Hv board by andia89.
Parts used alongside the MOC3021M
Microcontrollers on boards using the MOC3021M
What boards using the MOC3021M are built for
MOC3021M: common questions
Where can I find a MOC3021M reference design?
Each of the 21 boards on this page is a real design using the MOC3021M. 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 MOC3021M GND pin?
The GND pin has a series resistor on 13 of 17 designs, most often 220 Ω (then 330 Ω). Counted from the KiCad layouts of 17 open source designs using the MOC3021M.
What resistor goes on the MOC3021M 6 pin?
The 6 pin has a series resistor on 11 of 16 designs, most often 330 Ω (then 470 Ω). Counted from the KiCad layouts of 17 open source designs using the MOC3021M.
How is the MOC3021M VO pin connected?
The VO pin is tied to GND on 11 of 17 designs (a signal on 5). Counted from the KiCad layouts of 17 open source designs using the MOC3021M.
What parts are used alongside the MOC3021M?
The ESP32-WROOM-32, PC817, 4N25, AMS1117-5.0 and ATmega328P-PU appear in the most repositories here.
Which microcontrollers do boards using the MOC3021M use?
Most are built on ESP32 (11), AVR/Arduino (4) and PIC (1).
How big is a typical board using the MOC3021M?
The median is 100 × 83 mm, and 95% are two-layer designs.
What is the most popular open source board using the MOC3021M?
By GitHub stars, Hv board by andia89, with 6 stars.
Can I simulate one of these boards using the MOC3021M 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.