23
Why the Ultrasonic Obstacle Avoidance Mode doesn’t work
on mBot
If you find your mBot cannot avoid obstacle when you set it in Ultrasonic Obstacle Avoidance
mode, please follow below steps to do troubleshooting.
1. Make sure the ultrasonic module is connected to Port 3 (required by default program).
2. Double check the wiring of the ultrasonic module and make sure the connection is firm and
well. Check whether the red indicator of the ultrasonic module is on. If not, the problem is caused
by wiring.
3. Press
button B
on the IR remote control to enter Ultrasonic Obstacle Avoidance Mode if you
use the IR remote controller. When it set in Ultrasonic Obstacle Mode, onboard light should be
green on.
4. Refer to
to reset default program to have a try.
5. Make sure the battery on mBot can provide enough power.
According to our test and research, it is suggested to use rechargeable Li-ion battery or
rechargeable nickel-metal hydride, nickel-cadmium which can be bought from amazon or local
shop. Or Alkaline battery with good quality like Energizer, DURACELL.
6. Write below example program to test the Ultrasonic module. First of all,
,
then click on green flag and move your hand at the front of the Ultrasonic sensor to check the
distance from panda.
Notes:
Here the ultrasonic module is connected to port 3.
If it is always 400, that means the module maybe faulty. But you may try to change to port 4 or try
with another RJ25 cable in case faulty cable or port.
Summary of Contents for mBot
Page 43: ...43 Solution Connect Ranger to PC open mBlock 3 or 5 and do reset default program...
Page 52: ...52...
Page 61: ...61 5 Upload the program to the Robot and see if it can be upload successfully...
Page 67: ...67...
Page 93: ...93...
Page 95: ...95 3 Select Enter mLaser...
Page 96: ...96 4 Go to the language setting at the top right corner...
Page 102: ...102 Figure 4...
Page 108: ...108 Situation 2 wrong size proportion in X axis and Y axis Troubleshooting...
Page 111: ...111 Note It is important to check which slot the limit switch connects...
Page 116: ...116 Note Do not connect laser directly to 12V for a long time...
Page 119: ...119...