Skip to the content
4 layers31 × 31 mmD02Bus, the printed circuit board in 3D

A hardware & firmware project bridging D0 Optical energy meter interfaces to Modbus RTU (RS485). Features a CH552G MCU and Eastron-compatible register mapping for easy integration.

Size
31 × 31 mm
Copper layers
4
Thickness
1.6 mm
Parts
40
Nets
35
Pads
125
Tracks, vias
438, 35
Pours
4
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
11 Jan 2026
Updated
18 Sep 2026

Overview

D02Bus is an open-source printed circuit board by dominikbayerl, from the dominikbayerl/D02Bus repository on GitHub. It is a 4-layer board of 31 × 31 mm with 40 parts on 35 nets, routed with 438 tracks and 35 vias.

It is built around the CH552G, MAX485ED and AMS1117-5.0, with the SN74LVC2G14DBV, BAT54 and CQY36N among its other parts. Its parts include 12 resistors, 7 capacitors, 5 diodes, 4 ICs and 2 connectors. It belongs with the interfaces and adapters boards and the 8051 (CH55x, STC, AT89) boards of this library.

Main components

6

README

README.md

D02Bus

D0-2-Bus ("D0 to Bus") is an Open Hardware project designed to convert data from an energy smart meter D0 optical interface to RS485 Modbus.

Overview

This project aims to be compatible with various commercial smart meters (such as Eastron SDM, Kostal EnergyMeter, etc.), enabling easy integration into Modbus-based energy management systems.

Inspiration & Attribution

This project is inspired by (and is essentially a "shameless copy" of) the "Smartmeter" project by Niklas Menke.

Key Differences

While based on the original concept, D02Bus implements specific changes for better usability:

  • Microcontroller: The hardware uses a CH552G microcontroller instead of the original ATtiny. This change provides better component availability and features a built-in USB controller for easier configuration.
  • Firmware Flexibility: The firmware aims to be more easily adjustable to support different smart meter models.

Project Status

⚠️ Warning: Work in Progress

Currently, this project only contains unvalidated hardware designs. The repository will be updated once the first PCBs have been assembled and tested.

License

This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license.

Parts

40
QtyValueFootprintReferences
4100nCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C5, C7, C8
310uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2, C4
3120Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5, R6, R12
31kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR8, R11, R13
25.1kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R3
2BAT54Package_TO_SOT_SMD:SOT-23D1, D2
2LEDLED_SMD:LED_0805_2012MetricD3, D4
10Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR9
110kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4
11MResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1
182Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR14
1AMS1117-5.0Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1BOOTd0eastron:SW_SPST_4x3x2SW1
1CH552GPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU2
1CQY36NLED_THT:LED_D1.8mm_W3.3mm_H2.4mmD5
1Conn_01x08TerminalBlock:TerminalBlock_Xinya_XY308-2.54-8P_1x08_P2.54mm_HorizontalJ3
1MAX485EPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU4
1MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965H1
1P1.1TestPoint:TestPoint_Pad_D1.0mmTP1
1P1.4TestPoint:TestPoint_Pad_D1.0mmTP2
1P1.5TestPoint:TestPoint_Pad_D1.0mmTP3
1P3.2TestPoint:TestPoint_Pad_D1.0mmTP4
1P3.3TestPoint:TestPoint_Pad_D1.0mmTP5
1P3.4TestPoint:TestPoint_Pad_D1.0mmTP6
1S350PLED_THT:LED_D1.8mm_W3.3mm_H2.4mmQ1
1SN74LVC2G14DBVPackage_TO_SOT_SMD:SOT-23-6U3
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J2

The 39 most common of 40 parts.

Similar boards

  • 2 layers48.5 × 81.8 mmAtmega485V, the printed circuit board in 3D

    Atmega485V

    Shaiv123/atmega485V

    34 partsGPL-3.0
  • 2 layers70 × 73.1 mmNeopico hd, the printed circuit board in 3D

    Neopico hd

    fliperama86/neopico-hd

    Digital video and audio capture with HDMI output for Neo Geo MVS arcade hardware using Raspberry Pi Pico 2

    37 parts90Unlicense
  • 4 layers68.5 × 89.9 mmBeagle wire, the printed circuit board in 3D

    Beagle wire

    mwelling/beagle-wire

    ICE40 FPGA Cape for Beaglebone

    104 parts53
  • 2 layers37 × 70.9 mmOpendiag, the printed circuit board in 3D

    Opendiag

    maximus64/opendiag-hardware

    OpenDIAG - Open Source OBD2 Interface (Hardware)

    148 parts5CERN-OHL-S-2.0
  • 4 layers45 × 53 mmOpenTRV ESP, the printed circuit board in 3D

    OpenTRV ESP

    mpiraux/OpenTRV-ESP

    An open-source and open-hardware thermostatic radiator valve based on the ESP32C6 and the 28BYJ-48 stepper motor.

    64 parts2CERN-OHL-P-2.0
  • 2 layers9.4 × 31.9 mmRobot mainboard, the printed circuit board in 3D

    Robot mainboard

    offmor/RoboTheater

    Code, hardware designs, and documentation for RoboTheater: A tabletop multi-robot platform that translates LLM-generated scripts into robot motion and multimedia output.

    23 parts2MIT
  • 2 layers40 × 70 mmKinetiCoreDC, the printed circuit board in 3D

    KinetiCoreDC

    axpaul/KinetiCoreDC

    Compact STM32G0-based DC motor controller board featuring TI DRV8874 H-bridge drivers, RS485 communication, optoisolated I/O, and hardware power protection.

    183 parts1CERN-OHL-S-2.0
  • 4 layers140.6 × 108.1 mmDrone, the printed circuit board in 3D

    Drone

    iridia-ulb/drone-pcb

    Printed circuit board for the drone

    228 parts1

Questions

How big is the D02Bus PCB?

It measures 31 × 31 mm and has 4 copper layers, 1.6 mm thick.

What parts does the D02Bus use?

40 parts, built around the CH552G, MAX485ED, AMS1117-5.0 and SN74LVC2G14DBV. 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 D02Bus KiCad files?

From the dominikbayerl/D02Bus repository on GitHub, at the commit this page was made from: the board is hardware/hardware.kicad_pcb and its schematic hardware/hardware.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the D02Bus design in my own project?

Its repository states no licence, so its author keeps all rights: ask dominikbayerl before reusing the design.