I’m having a problem with the ultrasonic sensor. When I initially constructed and tested the robot it worked. The sensor distance output was ok and the robot worked perfectly with the app.
After i connected it to my laptop upgraded the firmware and (just to be sure ) re-uploaded the original mbot program, it stopped working. The only output i’m getting is 400 and on some occasions 0. I already tried the following article: Ultrasonic sensor blocked at 400