Configure to use either DHT22 or DHT11 #37

Closed
opened 2017-12-08 21:02:59 -06:00 by mattbk · 1 comment
mattbk commented 2017-12-08 21:02:59 -06:00 (Migrated from github.com)

Original code in DHT22, but I have a DHT11 to use for outdoor measurements. Need some sort of config to read each one the right way?

DHT11: https://www.raspberrypi-spy.co.uk/2017/09/dht11-temperature-and-humidity-sensor-raspberry-pi/

Original code in DHT22, but I have a DHT11 to use for outdoor measurements. Need some sort of config to read each one the right way? DHT11: https://www.raspberrypi-spy.co.uk/2017/09/dht11-temperature-and-humidity-sensor-raspberry-pi/
mattbk commented 2017-12-08 21:49:24 -06:00 (Migrated from github.com)

Looks like it won't be hard to build this into a config file like #38.

See https://www.raspberrypi-spy.co.uk/2017/09/dht11-temperature-and-humidity-sensor-raspberry-pi/ for example; code here is cbe48732e9/pi_temp.py (L63).

Looks like it won't be hard to build this into a config file like #38. See https://www.raspberrypi-spy.co.uk/2017/09/dht11-temperature-and-humidity-sensor-raspberry-pi/ for example; code here is https://github.com/mattbk/pi-temp/blob/cbe48732e9f5d96fdbc40eb50d2c731caa7c9b00/pi_temp.py#L63.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: matt/pi-temp#37
No description provided.