DHT22 sensor only works with one connector

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DHT22 sensor only works with one connector

AlfredC
Administrator
LiV RPi software image is configured with GPIO27 for DHT22 sensor. That means you should plug your DHT22 sensor into the connector that's on the same side as the DS3231 connector.

If you want to use your DHT22 sensor in the other connector, you should edit "~/liv/livDB/livDB.config" so that the GPIO number associated with the DHT22 is changed to GPIO17.

Check if your sensor works with "sudo python temperatureHumiditySensor.py".