M-Bus Master HAT for Raspberry Pi Pico
This Master HAT is an extension board made to add M-Bus (meter bus) master functionality to the Raspberry Pi Pico. It reads consumption meters (for heat, gas, oil, water, etc.) with built-in M-Bus slave interfaces.
It also supports power via an external 9-30V DC source, can handle up to 6 unit loads, and communicates with the Pico through UART0 or UART1. It also has an isolated interface and includes software support for Arduino IDE and Micropython, with example codes available for data analysis and meter reading.
We have the M-Bus Slave HAT version here
Note: Raspberry Pi Pico is NOT included
Features
- M-Bus (meter bus) Master
- Powered by an external 9..30V DC voltage (36V for the MBUS will be generated internally from this voltage)
- Up to 6 unit loads can be powered
- Communication with Pico via UART0 or UART1
- Isolated interface
- Can be combined with the Raspberry Pi Pico
Connection Example – Power Supply and Meters
Resources
- Datasheet
Software
-
Arduino IDE
- We provide code of a simple data repeater to analyse M-BUS data via a connected PC and a basic M-BUS master to read M-BUS slaves directly with the Raspberry Pi Pico.
-
Micropython
- For the Arduino Portenta Family a Micropython library including examples is available. Please follow this tutorial for the installation