23-08-2015, 17:08
Hi, zitoune
Please check the user config options in the TX software.
For the SH21 it should be:
For the DHT22 it should be:
You also can keep both connected:
You should also check/define in the RX user config options which one will be your main temperature / humidity sensor.
Please check the user config options in the TX software.
For the SH21 it should be:
Code:
// ------- Define type of Temperature Humidity for Sensor 0 and Sensor 1 --------------
#define TH_Sensor0 0 // 0 for SHT2x sensor, 1 for HTU21 sensor, 9 for Not Used
#define TH_Sensor1 9 // 0 for SHT1x sensor, 1 for DHT22 sensor, 9 for Not UsedFor the DHT22 it should be:
Code:
// ------- Define type of Temperature Humidity for Sensor 0 and Sensor 1 --------------
#define TH_Sensor0 9 // 0 for SHT2x sensor, 1 for HTU21 sensor, 9 for Not Used
#define TH_Sensor1 1 // 0 for SHT1x sensor, 1 for DHT22 sensor, 9 for Not UsedYou also can keep both connected:
Code:
// ------- Define type of Temperature Humidity for Sensor 0 and Sensor 1 --------------
#define TH_Sensor0 0 // 0 for SHT2x sensor, 1 for HTU21 sensor, 9 for Not Used
#define TH_Sensor1 1 // 0 for SHT1x sensor, 1 for DHT22 sensor, 9 for Not UsedYou should also check/define in the RX user config options which one will be your main temperature / humidity sensor.
Code:
#define MainOutTH_Sensor 0 // 0 for sensor type SHT21 or HTU21D, 1 for sensor type SHT1x or DHT22


![[Image: Sensors.jpg]](http://meteo.brandysnl.cz/MyDocs/Forum/Sensors.jpg)
