Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[V6] TX does not transmit, I had to miss something
#7

(25-03-2018, 08:03)qldbureau Wrote:  I use an SHT1x sensor, and it is whenever I have sensor 1 activated for use with the SHT1x (option 0) that my Tx boards fail to transmit at all. I have sensor 0 disabled.

I do not know if anyone else still uses the SHT1x sensor, or perhaps f4aii does use one and not a DHT22? The previous V6.0 software was no problem with this sensor, and is what I have reverted to for now. I have updated the Rx to the latest and all seems well there.

With which TX v6 build it worked?

Edited (03:34): Right now I have an SHT1x, attached to a TX unit running V6.0 b004 and it is transmitting fine. Sensor 0 disabled too to match described situation.
Investigation continues, but please check if you are really using TX v6.0_b004

Code:
// --------------------------------------------------------------------------------------
//   Define type of Temperature / Humidity sensor used as Sensor 0 and / or Sensor 1
// --------------------------------------------------------------------------------------
#define TH_SENSOR_0  9      // [SENSOR 0] - 0 for SHT2x sensor, 1 for SHT31 sensor, 2 for HTU21 sensor, 9 for Not Used
#define TH_SENSOR_1  0      // [SENSOR 1] - 0 for SHT1x sensor, 1 for DHT22 sensor, 9 for Not Used


// --------------------------------------------------------------------------------------
//   Define which Temp / Hum sensor controls the fan, and threshold values
// --------------------------------------------------------------------------------------
#define    FANCONTROL_SENSOR   1       // 0 for Sensor 0, 1 for Sensor 1 (which sensor is used to control the RS Fan)
const int16_t fanOn_HiTemp  = 38;      // RS Fan turn on when outside temperature is >= than this value (ºC)
const int16_t fanOn_LowTemp =  2;      // RS Fan turn on when outside temperature is <= than this value (ºC)
const byte    fanOn_LowWind =  1;      // RS Fan turn on when Wind Average is <= than this value (m/s)

Even if a fan is not used, the FANCONTROL_SENSOR must refer to a defined sensor (0 or 1).

Reply


Messages In This Thread



Users browsing this thread: 6 Guest(s)