

Main pcb
ZK-meter is a Zigbee HAN-module for Kamstrup Omnipower electricity meters.
- Size
- 62 × 67 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 57
- Nets
- 55
- Pads
- 208
- Tracks, vias
- 295, 58
- Pours
- 19
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 11 Feb 2024
- Updated
- 13 Mar 2024
Overview
Main pcb is an open-source printed circuit board by Andreasdahlberg, from the Andreasdahlberg/zkmeter repository on GitHub, published under the CC0-1.0 licence. It is a 4-layer board of 62 × 67 mm with 57 parts on 55 nets, routed with 295 tracks and 58 vias.
It is built around the LM5165YDRC, ESP32-H2-MINI-1U and 1N4148W, with the 1N5819WS, SP0503BAHTG and SI2323DS among its other parts. Its parts include 16 capacitors, 14 resistors, 4 diodes, 3 switches and 2 ICs. It belongs with the radio and wireless boards and the ESP32 and RISC-V boards of this library.
Main components
7LM5165YDRC
VSON-10-EP(3x3)-40℃~+150℃@(TJ) 1 10.5uA 150mA 3.3V 3V~65V 600kHz Buck Buck Built-in Fixed Yes VSON-10-EP(3x3) DC-DC Converters ROHSTexas InstrumentsDC-DC ConvertersESP32-H2-MINI-1U
SMD,12.5X13.2mmSMD,12.5x13.2mm New Arrivals ROHSEspressif SystemsUncategorised1N4148W
SOD-123150mA 1A 1V@50mA 1uA@75V 400mW 4ns 75V Independent SOD-123 Switching Diodes ROHSSTMicroelectronicsSwitching Diodes1N5819WS
SOD-3231 Independent 1A 25A 40V 500uA@40V 600mV@1A SOD-323 Schottky Diodes ROHSGuangdong HottechSchottky DiodesSP0503BAHTG
SOT-143-55℃~+125℃ 10A@8/20us 14V 150W@8/20us 30pF、60pF 5.5V 6V 80nA ESD IEC 61000-4-2、IEC 61000-4-5、IEC 61000-4-4 Three channels Unidirectional SOT-143 ESD and Surge Protection (TVS/ESD) ROHSTECH PUBLICESD And Surge Protection (TVS/ESD)SI2323DS
SOT-23-3-55℃~+150℃ 1 P-Channel 1.7W 190pF 20V 290pF 39mΩ@4.5V、58mΩ@2.5V 4.1A 450mV 7.8nC@4.5V 740pF SOT-23-3 MOSFETs ROHSTECH PUBLICMOSFETsWS2812B
5mm X 5mm Surface Mount RGB LED with Intelligent ControlWorldsemiUncategorised
README
README.mdZK-meter
ZK-meter is a Zigbee HAN-module for Kamstrup Omnipower electricity meters.

Features
- No external power supply needed
- Fits inside Kamstrump HAN-module casing
- Supports Zigbee 3.0
Getting started
Assembly
-
Open the HAN-Module casing:
- Use a small screwdriver to release the two clips located on both sides of the HAN-module casing.
- Gently pull the top cover off to expose the interior.
-
Replace the PCB:
- Remove the original PCB from its position.
- Insert the ZK-meter PCB in the same location. Ensure that it fits precisely as the original PCB did.
-
Secure the Top Cover:
- Place the top cover back onto the HAN-module casing.
- Press down to secure the top cover in place.
Installation
-
Insert the HAN-Module:
- Identify the HAN-port on your meter. It is typically positioned above the display.
- Carefully insert the HAN-module into the HAN-port.
- Wait for the LED next to the pairing button to illuminate.
-
Activate Pairing Mode:
- Press and hold the pairing button on the HAN-module.
- Keep holding until the LED flashes, indicating that the device is now in pairing mode.
Troubleshooting
Development
Parts
57| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 10k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1, R5, R6, R7, R8 |
| 4 | 1uF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C4, C5, C7, C11 |
| 4 | 4.7uF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C3, C6, C15, C16 |
| 3 | 0 | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R10, R11, R12 |
| 2 | 0.1uF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C1, C12 |
| 2 | 10uF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C2, C10 |
| 2 | 12pF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C13, C14 |
| 2 | 5k1 | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R3, R4 |
| 2 | SolderJumper_2_Bridged | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP1, JP3 |
| 1 | +3.3V | TestPoint:TestPoint_THTPad_D2.0mm_Drill1.0mm | TP3 |
| 1 | 1.1 | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R14 |
| 1 | 110k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R2 |
| 1 | 1F | Capacitor_THT:CP_Radial_D18.0mm_P7.50mm | C8 |
| 1 | 1N4148W | Diode_SMD:D_SOD-123 | D4 |
| 1 | 1N5819WS | Diode_SMD:D_SOD-323 | D3 |
| 1 | 32.768KHz | Crystal:Crystal_SMD_Abracon_ABS25-4Pin_8.0x3.8mm | Y1 |
| 1 | 5.1M | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R9 |
| 1 | 56uH | Inductor_SMD:L_Wuerth_WE-PD2-Typ-L | L1 |
| 1 | 59k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R13 |
| 1 | 82nF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C9 |
| 1 | Boot | Button_Switch_SMD:SW_SPST_PTS645 | SW3 |
| 1 | Conn_01x06_Socket | Connector_PinSocket_2.54mm:PinSocket_2x03_P2.54mm_Horizontal | J1 |
| 1 | DATA_IN | TestPoint:TestPoint_THTPad_D1.5mm_Drill0.7mm | TP8 |
| 1 | EN | TestPoint:TestPoint_THTPad_D1.5mm_Drill0.7mm | TP5 |
| 1 | ESP32-H2-MINI-1 | PCM_Espressif:ESP32-H2-MINI-1 | U1 |
| 1 | GND | TestPoint:TestPoint_THTPad_D2.0mm_Drill1.0mm | TP10 |
| 1 | LM5165Y | Package_SO:VSSOP-10_3x3mm_P0.5mm | U2 |
| 1 | PGOOD | TestPoint:TestPoint_THTPad_D1.5mm_Drill0.7mm | TP4 |
| 1 | Pair | Button_Switch_THT:SW_Tactile_SPST_Angled_PTS645Vx31-2LFS | SW1 |
| 1 | RXD | TestPoint:TestPoint_THTPad_D1.5mm_Drill0.7mm | TP6 |
| 1 | Reset | Button_Switch_SMD:SW_SPST_PTS645 | SW2 |
| 1 | SP0503BAHT | Package_TO_SOT_SMD:SOT-143 | D2 |
| 1 | Si2323DS | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | SolderJumper_2_Open | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP4 |
| 1 | TXD | TestPoint:TestPoint_THTPad_D1.5mm_Drill0.7mm | TP7 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J4 |
| 1 | VBUS | TestPoint:TestPoint_THTPad_D1.5mm_Drill0.7mm | TP9 |
| 1 | VDD | TestPoint:TestPoint_THTPad_D2.0mm_Drill1.0mm | TP2 |
| 1 | VIN | TestPoint:TestPoint_THTPad_D1.5mm_Drill0.7mm | TP1 |
| 1 | WS2812B | LED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm | D1 |
Similar boards
- 2 layers135.1 × 159.4 mm

- 2 layers64.5 × 50.8 mm

B Sides 2026
OklahomaOpenSourceHardware/OKC-OSH-2024-Badge
2024 badge for Oklahoma PCB Tech Conferences
23 parts3 - 4 layers99 × 53.3 mm

PSLab
fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io
199 parts1.7kApache-2.0 - 4 layers36 × 50.2 mm

Racer
StuckAtPrototype/Racer
These are structured into their own files. I could have used submodules, but decided against it.
83 parts3.8kApache-2.0 - 2 layers45 × 45 mm

AirCube
StuckAtPrototype/AirCube
Works standalone out of the box. Pairs with Home Assistant in minutes. Other platforms are supported through community-contributed extensions.
61 parts379Apache-2.0 - 4 layers74.7 × 30 mm

- 4 layers49 × 74.9 mm

PCB business card
StuckAtPrototype/PCB_business_card_remake
A custom PCB based "business" card that lets you play a version of Flappy Bird.
311 parts132Apache-2.0 - 2 layers22 × 32 mm

Questions
How big is the Main pcb PCB?
It measures 62 × 67 mm and has 4 copper layers, 1.6 mm thick.
What parts does the Main pcb use?
57 parts, built around the LM5165YDRC, ESP32-H2-MINI-1U, 1N4148W and 1N5819WS. 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 pcb KiCad files?
From the Andreasdahlberg/zkmeter repository on GitHub, at the commit this page was made from: the board is pcb/main_pcb.kicad_pcb and its schematic pcb/main_pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Main pcb design in my own project?
Its repository publishes it under the CC0-1.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).