0

I have a Raspberry Pi 4. I am using the Adafruit VL53L0X Time of Flight Distance Sensor. I have connected a T-Cobbler to a breadboard and attached that to my Raspberry Pi. The sensor is wired correctly according to a video my teacher provided. I installed what my teacher told be to install for the sensor correctly. However, when I try to run code. I get a very long error and when I run "sudo i2cdetect -y 1" no number shows up, it's a blank field. I am very new to this and my teacher is not responding. ANY feedback is appreciated, thanks.

https://photos.app.goo.gl/JbXCDT3Hxr8E6Lkn7 --Wiring https://photos.app.goo.gl/wnShijCAVXEF7az98 --Error Message https://photos.app.goo.gl/gLP3mc6ZVpCgBGSv7 --sudo i2cdetect -y 1 message

4
  • Where is the error message? Where is a photo of the wiring? Where is the code you are using? Don't make us guess. Commented Feb 25, 2022 at 22:00
  • Sorry, I didn't realize the images were too big to send. These links should work Commented Feb 25, 2022 at 23:48
  • this might help: stackoverflow.com/questions/62757687/… Commented Feb 26, 2022 at 1:51
  • please add the error message text to your post ... a picture of text cannot be copied and searched on the internet Commented Feb 26, 2022 at 5:03

2 Answers 2

1

The i2cdetect shows that you have not connected the device to the I2C bus.

Check and redo your wiring (I can't see anything obviously wrong but the photo is not detailed enough to see what is connected to what).

2
1

The "OSError: [Errno 121] remote I/O error" typically indicates a communication problem between the Raspberry Pi and the sensor.Check that the I2C interface on the Raspberry Pi is enabled. You can do this using the raspi-config tool or by editing the /boot/config.txt file.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.