Quote:
Originally Posted by jajabinx124
Possibly. Try using ultrasonic.getVoltage() instead of getValue() and see what you find- this method returns the analog value in calibrated units. (maybe this is what the data sheet is referring to when it says analog voltage bits values should be in between 0-1023)
|
Yeah I think the sensor is just not working. The voltage only changes for about 18 inches in range which is not even close to what it should be doing(5 meters). I think I'll give some other types of ultrasonic sensors a try. Thanks for the help!