0

I have elecrow's sensors like this one that I want connect to i2c hub and use it based on the address.

first I'm trying to set my pi 3b+ to recognize at least one of them connected directly.

I'm on raspbian and I have turned on I2C, even SPI in raspi-config. #i2cdetect -y 1 shows nothing connected

so, I want to check here whenther I can connect sensor like that directly to +5V, GND, SDA1, SLC1 and it should work or I am missing something?

thanks for advices.

7
  • Your Elecrow's sensor seems to be DHT11. You may like to try the following tutorial: (1) "How to set up temperature and humidity sensor (DHT11) on raspberry Pi - Kookye": kookye.com/2017/06/01/…, It is important NOT to power DHT11 with 5V, or you might fry your R[i: (2) Rpi3 might have been fried by wrongly connected DHT11 temparature sensor raspberrypi.stackexchange.com/questions/96560/…. Good luck and cheers. – tlfong01 Aug 10 '20 at 12:49
  • 1
    it's am2302, sorry, you can see in the table Vcc = 3.3 to 6V – greengold Aug 10 '20 at 13:51
  • Ah, I am confused. Before I answered, I clicked your link and saw the blue sensor DHT11. Now I clicked it again and it changed to a white senor AM2302 (DHT22). Did you edit your link just now? – tlfong01 Aug 10 '20 at 14:00
  • BTW white DHT22 is better than blue DHT11. Last time when I played with DHT22, I could not find any working library, so I DIYed my own library, but it is for Rpi3B and so out of dated: raspberrypi.org/forums/…. Ah bed time. See you tomorrow. Cheers. – tlfong01 Aug 10 '20 at 14:08
  • 1
    yes I edited a link, I just need to know how to read from multiple devices like that connected to i2c hub – greengold Aug 10 '20 at 14:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.