
jake12345andwd
United Kingdom
Asked
— Edited
I've been trying to use an ultrasonic sensor to use on my JD robot but the output is constantly 255 regardless if there is something in front of it or not. The voltage going into the sensor is 4.3 volts. It was purchased in December 2016 so all the parts are fairly new although the ultrasonic sensor has never worked.
All other sensors appear to be working. Thanks in advance for anyone who can help.
Jake
The voltage regulator came all ready attached to the wires of the ultrasonic sensor so I plugged it in to the right ports when I first wanted to use it.
However, after it didn't work, I looked on the forums and found that the voltage regulator might be the wrong way around. I swapped it around and now it says Vout to the ultrasonic sensor and Vin to the ez robot. I'm not sure if I broke it by swapping it around or if it was always meant to be like that.