A01NYUB Ultrasonic Sensor no data, SEN0313
Hello!
I bought A01NYUB Ultrasonic Sensor with the Raspberry Pi IO Expansion Board and I use a Raspberry Pi 4B. I have followed the instructions accordingly https://wiki.dfrobot.com/A01NYUB%20Waterproof%20Ultrasonic%20Sensor%20SKU:%20SEN0313 and https://www.dfrobot.com/forum/topic/317449. But unfortunately I still get “No data!”. Why do I not get any distance data?
Thanks for the support in advance!
It works fine without epansion board, see also https://www.dfrobot.com/forum/topic/312660
Katrin.KatAre you using jumper wires? If yes, test them too.
bidrohini.bidrohiniDo you mean between RasPi and Expansion Board?In this case, no.
No difference, still no data. I don't see any difference in the code either.
Katrin.KatHi,
We have made some progress and have found that it is because the io extension hat huts off after a while. When the board is working we get distance readings. After a while the extension shuts off. Is this a defect or a setting issue?
Thanks for the support in advance!
It seems like the expansion board has some errors. You can consider changing the expansion board if it works well between RasPi‘s GPIO and SEN0313.
Please try the latest sample code. We will update the wiki.
https://github.com/DFRobot/DFRobot_RaspberryPi_A02YYUW/blob/master/DFRobot_RaspberryPi_A02YYUW.py
jenna