M-Bus is a building management side protocol which helps to communicate with the controller to get the available parameter values like current, voltage, power etc. I have to develop an architecture which helps to get the data from Meters using the available protocol as M-Bus, I've STM32F030 controller and a datasheet of M-Bus, after searching a lot I couldn't find any working library, so is there anyone who has worked in this field please help.


1 Answer 1


You could try mbus/libmbus that uses bitbanging so it only needs 4 GPIO. You could use it on almost any microcontroller.

It was not updated for 6 years but you could give it a go, even update it if needed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.