I’m currently working on a project with a Raspberry Pi Zero, using Nerves Livebook for development. I’m trying to connect SHTC3 and SGP40 sensors via the I2C interface but am facing an issue where the devices aren’t being detected by I2C.detect_devices()
.
Here’s what I’ve done so far:
- Ensured that the sensors are correctly connected to the Raspberry Pi Zero W. When I run the detection code, both the SHTC3 and SGP40 sensors’ LEDs blink once, indicating they’re receiving power or signals. When I try to use write_read(), there is also LED blinking but no signal responded.
- Used the
Circuits.I2C
library to attempt to detect connected I2C devices. - Confirmed that I’m targeting the correct I2C bus (
i2c-1
) on the Raspberry Pi.
I use SHIM produced by Sparkfun to connect sensors with qwiic.
I’m not sure how to debug now… Please help me