

Main module
- Size
- 103.4 × 50.6 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 35
- Nets
- 43
- Pads
- 113
- Tracks, vias
- 251, 42
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 2 Aug 2026
- Updated
- 2 Aug 2026
Overview
Main module is an open-source printed circuit board by ikok07, from the ikok07/esp32_electric_fence_monitor_pcb repository on GitHub. It is a 2-layer board of 103.4 × 50.6 mm with 35 parts on 43 nets, routed with 251 tracks and 42 vias.
It is built around the HLK-PM01, MCP6022-I/P and LMV331TP, with the BAT54S, BAV199 and BSS138 among its other parts. Its parts include 12 resistors, 9 capacitors, 5 diodes, 4 connectors and 2 ICs.
Main components
6HLK-PM01
DIP,34x24mm0.1W 100mVp-p 15mm 20mm 34mm 3W 3kV 5V 700mA 73% 85VAC~265VAC AC-DC Short Circuit Protection、Over Current Protection、Fault self-recovery ±0.2% 插件,34x20mm AC-DC Power Modules ROHSHI-LINKAC-DC Power ModulesMCP6022-I/P
PDIP-8-40℃~+125℃ 10MHz 1mA 1pA 1pA 2 2.5V~5.5V 3.5uV/℃ 30mA 500uV 7V/us 8.7nV/√Hz@10kHz 90dB Built-in compensation Rail-to-Rail Input, Rail-to-Rail Output PDIP-8 Operational Amplifier ROHSMicrochip TechnologyOperational AmplifierLMV331TP
SOT-23-5-55℃~+125℃ 0.8uV/℃ 1 1.8V~5.5V 1pA 2pA 50uA 7V 800uV 950ns Open-drain Rail-to-rail input SOT-23-5 Comparators ROHSTECH PUBLICComparatorsBAT54S
SOT-231 Pair Series Connection 1V@100mA 200mA 2uA@25V 30V 600mA SOT-23 Schottky Diodes ROHSMDDSchottky DiodesBAV199
SOT-231 Pair Series Connection 1.25V@150mA 160mA 4A 5nA@75V 85V SOT-23 Diodes - General Purpose ROHSNexperiaDiodes - General PurposeBSS138
SOT-23-55℃~+150℃ 1 N-channel 1.1Ω@10V、1.2Ω@4.5V 1.2V 1.7nC@10V 17.5pF 340mA 350mW 50V 6.5pF N-Channel SOT-23 MOSFETs ROHShongjiachengMOSFETs
Parts
35| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 100nF | Capacitor_SMD:C_0805_2012Metric | C4, C7, C8, C9 |
| 3 | 10K | Resistor_SMD:R_0805_2012Metric | R2, R5, R12 |
| 3 | 1K | Resistor_SMD:R_0805_2012Metric | R3, R4, R7 |
| 2 | 100K | Resistor_SMD:R_0805_2012Metric | R6, R11 |
| 2 | BAT54S | Package_TO_SOT_SMD:SOT-23 | D4, D5 |
| 2 | Conn_01x15_Socket | Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_Vertical | J1, J2 |
| 2 | LED | LED_SMD:LED_0805_2012Metric | D2, D3 |
| 1 | 0-25K | Potentiometer_THT:Potentiometer_Bourns_3296W_Vertical | R10 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric | C6 |
| 1 | 15pF | Capacitor_SMD:C_0805_2012Metric | C5 |
| 1 | 1M | Resistor_SMD:R_0805_2012Metric | R9 |
| 1 | 2.2K | Resistor_SMD:R_0805_2012Metric | R8 |
| 1 | 220 | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | 22pF | Capacitor_SMD:C_0805_2012Metric | C3 |
| 1 | 4.7nF | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 470uF | Capacitor_THT:C_Radial_D10.0mm_H16.0mm_P5.00mm | C2 |
| 1 | BAV199 | PCM_Package_TO_SOT_SMD_AKL:SOT-23 | D1 |
| 1 | BSS138 | PCM_Package_TO_SOT_SMD_AKL:SOT-23 | Q1 |
| 1 | HLK-PM01 | Converter_ACDC:Converter_ACDC_Hi-Link_HLK-PMxx | PS1 |
| 1 | LMV331 | PCM_Package_TO_SOT_SMD_AKL:SOT-23-5 | U2 |
| 1 | MCP6022 | Package_SO:SOIC-8_5.3x5.3mm_P1.27mm | U1 |
| 1 | Screw_Terminal_01x02 | TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J3 |
| 1 | Screw_Terminal_01x03 | TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-03P_1x03_P5.00mm | J4 |
| 1 | T500mA | footprints:MST500MA250V | F1 |
More from ikok07/esp32_electric_fence_monitor_pcb
1- 2 layers31.6 × 42.4 mm

Similar boards
- 4 layers106 × 63.5 mm

- 6 layers158 × 174 mm

TritonECU Main
alpauna/TritonECU
ESP32-S3 engine control unit — fuel injection, ignition timing, wideband O2 (CJ125/LSU 4.9), dashboard, and MQTT telemetry
457 parts10 - 4 layers170 × 74.5 mm

- 4 layers70 × 60 mm

Tanklevel
Th3Link/tanklevel
This project provides a solution for measuring the liquid level in tanks, such as rainwater tanks, using the TL-136 pressure sensor.
80 parts4CERN-OHL-S-2.0 - 2 layers57 × 29 mm

- 4 layers99.6 × 100 mm

DualPreRegPowerSupply
janni0609/2-Channel-PreReg-Powersupply
A two-channel laboratory bench power supply, 0–36 V / 0–2 A per channel, fully isolated between channels. Each channel pairs a tracking switch-mode pre-regulator with a linear post-regulator, so it has the low output…
379 parts - 4 layers192.5 × 80 mm

PlugInDC Load
janni0609/DC-Load
A programmable DC electronic load built on the Raspberry Pi Pico 2 (RP2350). It sinks a user-defined current from a DC source under test and measures voltage, current, power, capacity, and energy in real time on a…
525 parts - 2 layers

Questions
How big is the Main module PCB?
It measures 103.4 × 50.6 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Main module use?
35 parts, built around the HLK-PM01, MCP6022-I/P, LMV331TP and BAT54S. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Main module KiCad files?
From the ikok07/esp32_electric_fence_monitor_pcb repository on GitHub, at the commit this page was made from: the board is main_module/main_module.kicad_pcb and its schematic detector_module/detector_module.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Main module design in my own project?
Its repository states no licence, so its author keeps all rights: ask ikok07 before reusing the design.