I have downloaded SMBUS2 but I am not able to connect/detect any sunfounder sensor with it. please advise.
ModuleNotFoundError: No module named “smbus2”
- If ModuleNotFoundError: No module named ‘smbus2’ appears
Please execute sudo pip3 install smbus2 and provide us with screenshots. - Please execute the i2cdetect -y 1 command, and send us a screenshot of the printed content.
- Execute the sudo raspi-config command to confirm whether i2c is enabled.
You can check the link:
Lesson 30 I2C LCD1602 — SunFounder SunFounder_SensorKit_for_RPi2 documentation