Ulstrasonicsensor SKU_SEN0307 reads wrong values

userHead awakencaptive 2022-09-02 03:11:46 518 Views1 Replies

I have got the following sensor:

So its an older version of URM09.


I copied the code from the link and tried it on my arduino uno. It measure the following distances:

142,cm 143cm, 144cm


These distances are wrong, because I put the sensor at a distance of about 4 cm…


Does any of you have any idea what could be the error here?

2022-09-02 03:19:51

Got it! Sorry, I put attached it to the wrong pin… not an analog one ;)

userHeadPic awakencaptive