I've got my own Nybble V2 recently and just finished building and configuring it. I did everything like in the tutorial videos and posts at docs.petoi.com. I configrued Nybble with the Desktop App because I'm new to robotics and did not want to mess anything up in the beginning. The standard Mode is working fine, although one of ther servos seems to shiver a bit sometimes, but thats another story. I looked up how to set up the ultrasonic sensor and uploaded the firmware with the ultrasonic configuration.
Nybble stood up and yeeted backwards as if there was something right in front of the sensor. In order to get detailed information I downloaded the Arduino IDE and ran the testRGBLedUltrasonic.ino. The Sensor starts to blink red and gives of a beep sound from time to time.
I opened the Serial Monitor for more Information.
It logs:
distance is :1cm
k
distance is :1cm
k
distance is :1cm
k
in an endless loop. Although there is nothing in front of it. I searched for a similiar experience but could not find anything.
I would be very grateful for someone helping me with this problem. If you need further information/photos just aks me and i try to provide it.
Sensors like this have a minimum range of 2cm, so the 1cm is not an actual reading. There is nothing inside the cylinders that would be affected by outside pressure, but it could be that the pins of the cylinders that are plugged and soldered into the circuit board have a bad connection, or that one of the wires is broken internally. Such a bad connection may be temporarily restored when you bend the wire in a certain place or put pressure on the circuit board directly or indirectly. Typically it costs more time to solder and fix such a sensor yourself than it costs money to replace it entirely.