Hi all
We have been programming an object collision avoidance program using the ultrasonic sensor.
The mbot is driving around. If the sensor detects a distance to an object smaller than 5 cm the mbot turns around and continues its journey.
This works fine for some time but then somehow the sensor starts detecting objects where there are none… Reading the value of the sensor shows it seems to be frozen to a fixed value.
It can be reset by updating the firmware, after which the program runs fine again for some time but then fails again.
I have replaced the battery pack already as I have the impression it works better with fresh batteries.
Any ideas on how to solve this?
thanks!
Bart