Sending signals to mBot using bluetooth


Hi, I am a machine learning student and want to use the mBot for implementing autonomous driving use cases using machine learning algorithms.
The idea would be to send sensor signals via bluetooth to a deep learning computer and apply computer vision for object detection.
I use Python and bleak for connecting to my mBot. This works already. But here my knowledge ends. I don’t know how the protocol of the mBot looks like and how I can communicate with my mBot… Does anyone have a clue how to send/receive sensor signals using low level bluetooth libraries?


you might look at this example and reuse the mBot side. In the example, the communication partner is an Android phone, but you should be able to replace it with your endpoint.
Regards Andreas


Hi Andreas,

thanks for answering, that helps me a lot.
I will try it out.
Best, Martin