Hey chaps, I’ve been trying to get an ultrasonic sensor to work on my little robot project, the first one mostly returned 0 so i suspected hardware failure and purchased a new five pack.
I’m using SR-04’s and the newping library. They all work fine but I get erroneous readings constantly, only when it’s sat perfectly still do I get decent reliable readings and even then its not perfect.
I’ve checked the voltage and its fine, the unit is affixed well but I just don’t get anywhere with it.
Are they all just crap and do i need to look at different options for measuring distance?