Sending signals to mBot using bluetooth


#1

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?


Remote Control Project
#2

Hello,
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.
https://andreas-huppert.de/blogs/2018-03-09_mbot-bluetooth/
Regards Andreas


#3

Hi Andreas,

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


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.