Skip to the content
2 layers27.9 × 41.7 mmModbus Adapter, the printed circuit board in 3D

The hardware folder contains a KiCad PCB design, designed around the ESP32-C6-MINI-1. Both the antenna and non-antenna (U1) versions will work here due to the location of the ESP32.

Size
27.9 × 41.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
42
Pads
137
Tracks, vias
153, 34
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
3 Aug 2025
Updated
29 Oct 2026

Overview

Modbus Adapter is an open-source printed circuit board by tomasmcguinness, from the tomasmcguinness/esp32-modbus-serial-adapter repository on GitHub. It is a 2-layer board of 27.9 × 41.7 mm with 23 parts on 42 nets, routed with 153 tracks and 34 vias.

It is built around the MAX3485ED, AP2112K-3.3 and ESP32-C6-MINI-1. Its parts include 7 resistors, 6 capacitors, 3 ICs, 3 connectors and 2 diodes. It belongs with the interfaces and adapters boards and the ESP32 and RISC-V boards of this library.

Main components

3

README

README.md

ESP32 Modbus Adapter

The goal of this project is to provide a Modbus (RS-485) adapter with an onboard ESP32, allowing for a variety of uses. Designed around the ESP32-C6 MCU, so can be used with ESPHome, ESP-IDF and Arduino. The radio supports WiFi, Thread and Zigbee, giving you lots of flexibility.

Hardware

The hardware folder contains a KiCad PCB design, designed around the ESP32-C6-MINI-1. Both the antenna and non-antenna (U1) versions will work here due to the location of the ESP32.

image

My PCB design also includes some debugging headers, allowing access to UART0 for debugging and flashing.

Available to purchase

If you wish to purchase a pre-assembled board, I make them available on Tindie - https://www.tindie.com/products/edit/modbus-rtu-rs-485-esp32-c6-adapter/

Examples

At present, there are three Matter based example available. I have these three devices at home and I use my boards to get information from them!

Matter

As I'm a big fan of Matter, I've been using that exclusively. All of these firmware examples just read data from the device. I hope to expand support in the future to allow some control, where it makes sense.

Eastron SDM120M

The first device supported by this project is the Eastron SDM120M Single Phase Energy Meter. The readings from this device will be exposed as a Matter Electrical Sensor Device Type.

Solax X1-G4 Solar Inverter

This exposes the various numbers, like power, PV string power and battery state over the Matter Solar Power Device Type. It can be connected directly to the inverter.

image

I adapted an ethernet patch cable to give me the right A/B terminal connections. I use the data from this device in my Home Energy Manager project.

image

Kronoterm Adapt 0312 Heat Pump

Exposes readings like flow and return temperatures in addition to a read only thermostat over the Heat Pump Device Type.

It also reports on hot water status. I'm using it in my Matter powered Heating Monitor project.

image

Parts

23
QtyValueFootprintReferences
45.1KResistor_SMD:R_0805_2012MetricR3, R4, R6, R8
20.1µCapacitor_SMD:C_0805_2012MetricC1, C4
210KResistor_SMD:R_0805_2012MetricR5, R9
21µFCapacitor_SMD:C_0805_2012MetricC3, C7
2LEDLED_SMD:LED_0805_2012MetricD1, D2
2SW_PushButton_Switch_SMD:SW_SPST_TS-1088-xR025SW1, SW2
1120Resistor_SMD:R_0805_2012MetricR10
11µCapacitor_SMD:C_0805_2012MetricC5
122µCapacitor_SMD:C_0805_2012MetricC2
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U4
1Conn_01x04_PinTerminalBlock:TerminalBlock_MaiXu_MX126-5.0-03P_1x03_P5.00mmJ4
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3
1ESP32-C6-MINI-1PCM_Espressif:ESP32-C6-MINI-1U1
1MAX3485Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ2

Similar boards

  • 2 layers69 × 68.7 mmSGW-01 V1.0, the printed circuit board in 3D

    SGW-01 V1.0

    ymhtwe/SGW01

    ESP-IDF based IoT gateway for solar pump monitoring and control using SIM7600 4G modem and Modbus RTU.

    133 parts
  • 2 layers40 × 22.1 mmKaze, the printed circuit board in 3D

    Kaze

    Las-Vejas/Kaze

    A very powerful surrounding sensor

    44 parts3MIT
  • 2 layers30.4 × 52.6 mmMBus ESP Adapter, the printed circuit board in 3D

    MBus ESP Adapter

    tomasmcguinness/matter-esp32-mbus-adapter

    An ESP32-C6 adapter board for wired M-Bus (EN 13757) meters, with firmware examples that expose meter readings to a Matter fabric over Thread.

    42 parts2
  • 2 layers46 × 46 mmGarden MUX, the printed circuit board in 3D

    Garden MUX

    Sunewst/garden-microcontroller

    A microcontroller designed for use in garden projects in mind. Deep-Sleep compatible MUX/I2C ports, Li-Po battery power option, SD card reader, and easier chain ability of multiple boards.

    56 parts1MIT
  • 4 layers49.3 × 51.8 mmMega, the printed circuit board in 3D

    Mega

    1vers1on/Mega

    A microcontroller based on the RP2350B with a dedicated dac and adc, plus wifi and bluetooth.

    52 parts
  • 2 layers120 × 185 mm45lux, the printed circuit board in 3D

    45lux

    lachlanfysh/45lux

    4x5 large format camera light meter PCB — 16x TSL2591 HDR sensors, ESP32-S3 BLE, SSD1327 OLED, LIS2DH IMU

    70 parts
  • 2 layers30 × 30 mmESPforHome, the printed circuit board in 3D

    ESPforHome

    Las-Vejas/ESPforHome

    A super small ESP32C6 devboard perfect for ESPHome.

    19 partsMIT
  • 4 layers65 × 100 mmMacropad, the printed circuit board in 3D

    Macropad

    mcskny/wireless-he-macropad

    A wireless, 12-key Hall-effect macropad built around a custom PCB, an ESP32-C6 sender, an ESP32-S3 USB receiver, and a native macOS companion app.

    165 partsGPL-3.0

Questions

How big is the Modbus Adapter PCB?

It measures 27.9 × 41.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Modbus Adapter use?

23 parts, built around the MAX3485ED, AP2112K-3.3 and ESP32-C6-MINI-1. 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 Modbus Adapter KiCad files?

From the tomasmcguinness/esp32-modbus-serial-adapter repository on GitHub, at the commit this page was made from: the board is hardware/Modbus-Adapter.kicad_pcb and its schematic hardware/Modbus-Adapter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Modbus Adapter design in my own project?

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