Help Grove ultra sonic ranger

Hello Guys

Well I’m making a car that deflects obstacles, using the Ultra sound sensor attached to a servo motor, which turns to the left and to the right, I would like to compare the distance measured on the left with the distance measured at right?

thanks in advance

Enrico Piozzi

I’m no clear what you said. :unamused:
When your car come across a obstacle,ultrasonic sensor will detect the distance between them.
The decision turn left or right is made by yourself(your program).
Any question,please leave a message.