I have connected the distance sensor to my pico as specified. All parts bought from Core.
I get the following errors:
File std in line 5 in
File "/lib/PiicoDev/VLX53L1X.py line 111 in init
etc
OSError:[Errno5] EIO
Little green light on sensor is on.
Line 5 in the code is: distsensor=PiicoDev_VL53L1X()
Question:
Pls tell me what these messages could mean and where to find more information on them. Pls tell me where to look.
What might be the cause of these messages?
Many thanks
It sounds like you might have the Pico backwards, on the expansion board the micro USB connector should be next to Pin0 - and the headers soldered down.
The error message [Errno5] EIO can mean a few things - I’m not certain what it might be in your case but if it’s possible to send through the code you were using(or confirm that its on the code from the tutorial),confirm all of the modules are installed and uploaded on the Pico.
Liam many thanks for your prompt reply. The Pico was correctly inserted. After kicking the dog etc I found that there was a faulty connection on the SCL pin. Fixed the connection. Everything now works as it should. Thank you for helping me along. Most appreciated. CB