Hello,
I desperately need help with connecting the brand new DHT12 sensor to my pretty much unused Raspberry Pi model 3b.
The problem is that the sensor does not seem to be working properly. The i2cdetect command somehow recognizes the connected sensor only every other time or so, and the Python3 program of mine also shows some incorrect values (zeroes) about 4 to 5 times out of 10. In the remaining 6 cases, it returns "OSError: [Errno 121] Remote I/O error".
I have followed several tutorials on setting RPi up and connecting the modules, so everything should be up to date and SPI, I2C and Serial options should be allowed in "raspi-config".
I connected the sensor in the following way: SCL to pin no. 5, - to pin no. 6, SCA to pin no. 3, + to pin no. 1 (I tried no. 2 - the 5V one as well).
Thank you for any tips, it is a part of a very important school project and I got stuck on this for several days. I am a complete beginner at this stuff.