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

Troubleshooting • AZdelivery GY-21 HTU21 - not detectable on I2C bus

$
0
0
Dear RaspberryPi forum experts,

I am running into a really strange beginner problem, that really shouldn't be one :D
In any case, I recently purchased an AZDelivery GY-21 HTU21 humidity and temperature sensor for use on the I2C bus ( LINK).

However, upon supplying it with 3.3V from pin 17 and ground from pin 20, along with SDA pin 3 and SCL pin 5, it is simply not detected on the I2C bus when running "sudo i2cdetect-y 1".
I already double checked with a multimeter that supply and GND is there on the sensor PCB, as well as a continuity test on SCL/SDA to the sensor PCB - all is OK.
The even more bizarre thing is that I already have an "AZDelivery HD44780 16x2 LCD" ( LINK ) running on the I2C bus without issue, that is perfectly detected on adress 0x3F and works flawlessly ... so I just connected the sensor SDL/SCL in parallel, but it simply doesn't show up in i2cdetect.
I even disconnected the LCD from the bus, but still nothing.

Here is my "sudo i2cdetect -y 1" output - I would expect the sensor on 0x40, but only the LCD on 0x3F shows up:

Code:

pi@raspberrypi:~/Temperatursensor $ sudo i2cdetect -y 1     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f00:                         -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3f 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
Is there anything I have overlooked or did I actually recieve a defective sensor?
Any opinion is appreciated :)

Br, GeForce66

Statistics: Posted by GeForce66 — Sat Aug 24, 2024 4:17 pm — Replies 0 — Views 31



Viewing all articles
Browse latest Browse all 3466

Trending Articles