MainsFrequencyMonitor
Qeteshpony·MainsFrequencyMonitor·pcb/MainsFrequencyMonitor.kicad_pcb
About the MainsFrequencyMonitor PCB
MainsFrequencyMonitor is an open source ESP32 PCB design by Qeteshpony, published on GitHub under the BSD-2-Clause license. It is a 2-layer board measuring 65 × 50 mm, with 27 components from 22 distinct parts.
Its main chip is the ESP32-WROOM-32, from the ESP32 family. Other key parts include the EL357N(C). By type, the board carries 7 capacitors, 7 resistors, 4 connectors, 2 ICs, 2 switches and 1 fuse.
It belongs with the test & measurement designs in this gallery.
From the project
Single board solution to power an ESP32 and use it to measure the mains frequency through an optoisolator
Part of the board has mains voltage on it so it is dangerous to handle the board outside of a proper case while powered! It lies in your own responsibility to use proper safety precautions when working on this project!
Single board solution to power an ESP32 and use it to measure the mains frequency through an optoisolator

Main components on the MainsFrequencyMonitor
MainsFrequencyMonitor bill of materials (BOM)
27 components, 22 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | EL357N(C) | SO-4_4.4x3.6mm_P2.54mm | U1 |
| 1 | ESP32-WROOM-32 | ESP32-WROOM-32 | U2 |
| 1 | L_{in} | SolderWire-0.75sqmm_1x01_D1.25mm_OD3.5mm | J1 |
| 1 | N_{in} | SolderWire-0.75sqmm_1x01_D1.25mm_OD3.5mm | J2 |
| 1 | Serial | PinSocket_1x04_P2.54mm_Vertical | J3 |
| 1 | I2C | JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | J4 |
| 1 | 0.5A/250V | Fuseholder_TR5_Littelfuse_No560_No460 | F1 |
| 1 | RC212-0.5-10M | Schaffner_RC212 | FL1 |
| 1 | HLK-5M03 | Converter_ACDC_Hi-Link_HLK-5Mxx | PS1 |
| 1 | 10D561K | RV_Disc_D12mm_W5.8mm_P7.5mm | RV1 |
| 1 | RST | SW_Push_1P1T_XKB_TS-1187A | SW1 |
| 1 | BOOT | SW_Push_1P1T_XKB_TS-1187A | SW2 |
| 1 | LED | LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D1 |
| 1 | 100n/X2 | C_Rect_L13.0mm_W5.0mm_P10.00mm_FKS3_FKP3_MKS4 | C1 |
| 1 | 47n/X2 | C_Rect_L10.3mm_W5.7mm_P7.50mm_MKS4 | C2 |
| 1 | 220u | CP_Radial_D6.3mm_P2.50mm | C3 |
| 3 | 100n | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C4, C6, C7 |
| 1 | 10u | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C5 |
| 1 | 3.3MΩ/500V | R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1 |
| 1 | 2k2 | R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R2 |
Show 2 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 3 | 10k | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R4, R5 |
| 2 | 4k7 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R6, R7 |
MainsFrequencyMonitor design files
The KiCad project lives in the Qeteshpony/MainsFrequencyMonitor repository on GitHub; these links point at the commit this page was built from.
MainsFrequencyMonitor: common questions
What microcontroller does the MainsFrequencyMonitor use?
The MainsFrequencyMonitor is built around the ESP32-WROOM-32, from the ESP32 family.
How big is the MainsFrequencyMonitor PCB?
The MainsFrequencyMonitor measures 65 × 50 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the MainsFrequencyMonitor?
27 components, from 22 distinct parts. The full bill of materials is listed on this page.
Where can I download the MainsFrequencyMonitor design files?
From the Qeteshpony/MainsFrequencyMonitor repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the MainsFrequencyMonitor design in my own project?
Yes, under the terms of its BSD-2-Clause license, which Qeteshpony chose for the repository.
Can I test firmware for the MainsFrequencyMonitor without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.
Similar boards
ESP32
Open Book Abridged Edition
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Powertrain
byrantech
64 × 45.4 mm171 parts4LMIT4.3kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8k