I’ve had an mBot (1.0) since last year, but I just purchased a Me_Compass module (directly from Makeblock) a few days ago.
I bolted it onto the rear underside of the robot (so its jack faces the line-follower module’s jack at the opposite end), connected the jack to port 1 on the mBot, updated the mBot’s firmware, and reset the default mBot program.
When I power up the mBot, the red power LED on the compass module lights up, but attempting to read the module invariably returns “0”, and pressing the button on the module (which, if I’m understanding the documentation correctly, should cause the blue LED to begin flashing) does nothing.
The Scratch program I attempted to use:
Control->When (green flag) clicked…
Control->Forever:
Looks->say [Robots->compass sensor (port 1)] for 1 secs
Is there something special I need to do before the module will work on an mBot using the mBlock IDE?