Ultrasonic ( Distance sensor ) isn't working


#1

Hi, I have purchased the GoPiGo with the servo,camera, and distance sensor. I have been experiencing some problems with the distance sensor. I have tried to run example and tests programs many times, but it won’t work. Can you help me fix it?


#2

Hey ABHI,
Can you give me a few more details about what all have you tried. Are you using the Dexter Industries image and did you try running the sample program here: https://github.com/DexterInd/GoPiGo/blob/master/Software/Python/sensor_examples/grove_distance_sensor.py with the sensor connected to the A1 ot D10 port. Can you also post some picture of your setup. Also, does the GoPiGo work properly and are you using a Dexter Industries image and when and from where did you purchase the GoPiGo.

-Karan