Mains monitor device
mains-monitor·mains-monitor-device
About the Mains monitor device PCB
Mains monitor device is an open source PCB design by mains-monitor, published on GitHub under the MIT license. It is a 4-layer board measuring 52.2 × 30.8 mm, with 41 components from 19 distinct parts.
Other key parts include the XC6206P332PR-G, TP4065-4.2V-SOT25-R and NE555D. By type, the board carries 17 resistors, 12 capacitors, 5 ICs, 4 diodes and 2 transistors.
From the project
Mains Monitor Device
The device monitors a presence of mains voltage and sends notifications to the Backend when it turns on or off. It uses ESP32-C3 MCU as a core component. It implements the logic of the device and connects it to the outer world via Wi-Fi.
The device powers from 5V DC via micro-USB connector and from 3.7V 1000 mAh Li-Po battery, when mains is not available. Most of the time the device stays in deep sleep mode, so it consumes micro Amps. It wakes up for 20 sec when 5V DC power source becomes available or turns off just for sending a notification to the Backend, then goes to deep sleep again.…

Main components on the Mains monitor device
Mains monitor device bill of materials (BOM)
41 components, 19 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 3 | XC6206P332PR-G | SOT-89_TOR | U1, U4, U5 |
| 1 | TP4065-4.2V-SOT25-R | SOT-23-5L_TPW | U2 |
| 1 | NE555D | SOIC-8_3.9x4.9mm_P1.27mm | U3 |
| 2 | IRLML2402 | SOT-23 | Q1, Q2 |
| 1 | C404969 MICROXNJ | MICRO-USB-SMD_MICROXNJ | USB1 |
| 1 | C2286 LED-Blue | LED_0603_1608Metric | D1 |
| 2 | MBR0520LT1 | D_SOD-123 | D2, D3 |
| 1 | C2290 STATUS | LED_0603_1608Metric | D4 |
| 2 | 0.1U 0.1u | C_0402_1005Metric | C1, C9 |
| 2 | 10U 10u | CP_EIA-3216-10_Kemet-I_Pad1.58x1.35mm_HandSolder | C2, C4 |
| 1 | 100N 100n | C_0402_1005Metric | C3 |
| 5 | 1u | C_0402_1005Metric | C5, C6, C7, C11, C12 |
| 1 | 10U 10u | C_0603_1608Metric | C8 |
| 1 | 4.7U 4.7u | CP_EIA-2012-12_Kemet-R | C10 |
| 5 | 10K 10k | R_0402_1005Metric | R1, R2, R3, R7, R9 |
| 2 | 3k | R_0402_1005Metric | R4, R8 |
| 2 | 5k | R_0402_1005Metric | R5, R6 |
| 5 | 100 | R_0402_1005Metric | R10, R11, R12, R18, R19 |
| 3 | 100K 100k | R_0402_1005Metric | R13, R16, R17 |
Mains monitor device design files
The KiCad project lives in the mains-monitor/mains-monitor-device repository on GitHub; these links point at the commit this page was built from.
- Layoutmains-detector.kicad_pcb
- Schematicmains-detector.kicad_sch
- BOMproduction/BOM.csv
Mains monitor device: common questions
How big is the Mains monitor device PCB?
The Mains monitor device measures 52.2 × 30.8 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the Mains monitor device?
41 components, from 19 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Mains monitor device design files?
From the mains-monitor/mains-monitor-device repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Mains monitor device design in my own project?
Yes, under the terms of its MIT license, which mains-monitor chose for the repository.