Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5592

Interfacing (DSI, CSI, I2C, etc.) • Re: I2C connection on Pi 5 not working

$
0
0
Okay, to answer your questions:

The I2C device is connected with 3.3V and GND, and to the SDA and SCL pins on the pi(gpio 2 and 3, pin 3 and 5)

This shows in the config.txt file:
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=off

And as you can see, the i2c connection is enabled .



And to be sure, i will show you how i connected my device to I2C:
AND NOTE: I am 100% sure that this LCD screen has worked before on previous pi 's, that's why im using this to show the faulty i2c connection instead of the AS5600 chips that i'm not sure if it's a hardware issue or not.

Connections, for a 1602LCD screen:
1602 ------------------ RPI
VCC >>>>>>>>>> 5V
GND >>>>>>>>>>> GND
SDA >>>>>>>>>>> SDA(GPIO 2)
SCL >>>>>>>>>> SCL(GPIO 3)

Pictures:


2.jpg
3.jpg
i2cdetect.jpg

Statistics: Posted by A.W. Heinen — Mon Jul 15, 2024 9:31 am



Viewing all articles
Browse latest Browse all 5592

Trending Articles