Can you post a video of the setup with ultrasonic sensor and the output that you see. When you take a video make sure, there aren’t any stationary obstacles before the ultrasonic sensor and also observe what happens to the readings when a obstacle is brought close to ultrasonic sensor. Can you also tell if the ultrasonic sensor alone is working good.
There is no change in the output of the sensor when i bring an object closer to it.
How can i test if the sensor alone is “working good”? I don’t have any special equipment…
Can you post a video of how you are using the sensor and with the output that you see on the screen.Also can you tell us from where you bought your starter kit.
I will try later, sorry. The video isn’t really special, you could see the pi3 with the grovePi board and only the ultrasonic sensor attached and my hand moving closer and further from the sensor…
Sorry for the delay in reply, as part of the last test can you have the Ultrasonic sensor alone connected to Port D4 of GrovePi and run this example. In this example add a line with time.sleep(1) after Line 46.
We are not sure if this is a sensor problem and the problem looks more like an issue with the connections, sensor pinout or interference with another sensor.
Hi @Shoban,
Unfortunately this doesn’t solve the problem.
I restartet today once again, took your newest raspbian for robots image, then got only an error as output. And after running pi3.sh it was the same error as described…
i downloaded the 2017.02.17_Dexter_Industries_Jessie.zip and followed this instruction.
after that the grove_ultrasonic.py example (with the insert of the time.sleep(1) after Line 46 as Shoban suggested) gave me an output like:
error
error
…
Then i run the file /home/pi/di_update/Raspbian_For_Robots/pi3/Pi3.sh
And now i have output like this:
280
515
515
…
I also run the “DI Software Update” but the problem persists.
It looks like you received a defective ultrasonic sensor. Thanks a lot for testing it out. I’m really sorry for the frustration. We apologize for the delay in getting this sorted for you.
We would like to replace the sensor but since you have made the purchase through www.pi-shop.ch, can you make a request for replacement to them. We would like to work it out through them.
Again, I’m really sorry to hear about this; we’ll make it right immediately, thanks a lot for your patience.
Can you run grovepi.version()? What do you get by running this?
And just so you know, we are preparing to release a new version for the GrovePi’s firmware that only targets bug-fixes. We might give anyone who runs into problems a chance to test the new firmware and see if it works better than the previous.