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

RS Fan config.
#1

Hello, I wonder if someone can help me please.
I have upgraded my Weatherduino pro plus to v4.0.
However I now find that my RS Fan is running continuously.
I wonder if I am missing a new config setting somewhere?
On the receiver it is showing OFF all the time.
This is what I have it set as:
#define FanControlSensor  0      // 0 for Sensor 0, 1 for Sensor 1 (which sensor is used to control the RS Fan)
#define fanOn_HiTemp     20      // RS Fan turn on when outside temperature is >= than this value (ºC)
#define fanOn_LowTemp     2      // RS Fan turn on when outside temperature is <= than this value (ºC)
#define fanOn_LowWind     1      // RS Fan turn on when Wind Average is <= than this value (m/s)
Everything else is working fine.
Regards Derek
Reply
#2

Hi Derek,

Could you please post your entire Config_TX.h file?
Thank you

PS: When posting code, please use the code tag (see icons on the editor toolbar)

Reply
#3

Hello Werk, many thanks for the reply.
Here is the Config_TX.h file.
Regards Derek

Code:
// --------------------------------------------------------------------------------------
//    WeatherDuino Pro2 Universal TX - Version: 4.0 b002
//           Start of user configurable options
// --------------------------------------------------------------------------------------

// --------------------------------------------------------------------------------------
//   Define ID and TX unit number
// --------------------------------------------------------------------------------------
#define StationID  0xA1    // Must be equal to your RX Unit (Value from 0x00 to 0xFF) 
#define UnitID        0    // If you use only one TX unit define it as UnitID = 0
                           // For a second TX unit, define it as UnitID = 1
// --------------------------------------------------------------------------------------
//   Define type of Temperature / Humidity sensor used as Sensor 0 and / or Sensor 1
// --------------------------------------------------------------------------------------
#define TH_Sensor0  0      // [SENSOR 0] - 0 for SHT2x sensor, 1 for SHT31 sensor, 2 for HTU21 sensor, 9 for Not Used
#define TH_Sensor1  9      // [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 FanControlSensor  0      // 0 for Sensor 0, 1 for Sensor 1 (which sensor is used to control the RS Fan)
#define fanOn_HiTemp     20      // RS Fan turn on when outside temperature is >= than this value (ºC)
#define fanOn_LowTemp     2      // RS Fan turn on when outside temperature is <= than this value (ºC)
#define fanOn_LowWind     1      // RS Fan turn on when Wind Average is <= than this value (m/s)

// --------------------------------------------------------------------------------------
//   Define type of Wind Speed sensor. See below for allowed types
// --------------------------------------------------------------------------------------
/*
 --- Fine Offset Anemometers ---
 Use 1O for standard FO anemometers
 Use 11 for FO anemometer modified with 1 hall effect sensor
 --- Inspeed Anemometers ---
 Use 20 for Inspeed Vortex, digital 8 pulse revolution anemometer
 Use 21 for Inspeed Vortex, hall efect sensor
 Use 22 for Inspeed Vortex, read switch sensor
 
 --- Davis Anemometers ---
 Use 30 for Davis 6410, 7911 anemometer
 
 --- Novalynx Anemometers ---
 Use 40 for Novalynx, model 200-WS-02F
 --- Environmental Measurements Limited ---
 Use 50 for EML, model WSD1
 --- Didcot Instrument Company ---
 Use 60 for DIDCOT, model DWR205
 --- Vector Instruments ---
 Use 70 for Vector Instruments model A100LK
 Use 71 for Vector Instruments model A100L2
 Use 72 for Vector Instruments model A100R
*/
#define WSpeedSensor_Type 10             // SEE INFO ABOVE!!!

// --------------------------------------------------------------------------------------
//   Define type of Wind Direction sensor
// --------------------------------------------------------------------------------------
/*
 --- Fine Offset Wind Vane ---
 Use 1O for standard FO wind vane
 
 --- Analogue Wind Vanes ---
 Use 20 for any 5V analogue wind vane. See bellow for a list of tested models
- Inspeed E-Vane 2
- Davis 6410
- Novalynx, model 200-WS-02F
- Environmental Measurements Limited, model model WSD1
- DIDCOT, model DWD205
- Almost all 5V analogue wind vanes will work
*/
#define WDirSensor_Type  10  // SEE INFO ABOVE!!!

// --------------------------------------------------------------------------------------
//          Analogue Vane Offset Calibration
// --------------------------------------------------------------------------------------
#define WDir_offs        0   // Usally there is no need to change default value (zero)

// --------------------------------------------------------------------------------------
//   Define Rain Gauge tip boucket value (mm)
// --------------------------------------------------------------------------------------
/*
  Use 0.280 for standard FineOfset rain gauges (Datasheet value = 0.2794)
  Use 0.200 for standard metric Davis rain gauges
  Use 0.254 for standard imperial Davis rain gauges
*/ 
#define COLLECTOR_TYPE  0.280  // Please note: Values must be in metric units. Max. resolution: 3 decimal digits
  
// --------------------------------------------------------------------------------------
//   Define type of UV Sensor
// --------------------------------------------------------------------------------------
#define UV_Sensor  9      // 0= UVM-30A, 1= VEML6075, 9= Not used

// --------------------------------------------------------------------------------------
//   Soil / Leaf Interface Enable Disable
// --------------------------------------------------------------------------------------
#define SoilLeaf_Interface     0   // 0 = Soil Leaf Interface not used, 1 = Enable Soil Leaf Interface
#define Number_AnalogSensors   2   // Up to 4 analog sensors

// --------------------------------------------------------------------------------------
//   Define which data this unit will send. 0 = Not send this data, 1= Send this data
// --------------------------------------------------------------------------------------
#define ID0  1  // Temp/Hum Data
#define ID1  0   // Not Used
#define ID2  1   // Wind data
#define ID3  1   // Rain data
#define ID4  0   // SolRad / UV data
#define ID5  1   // Hardware Status - System Temp, Battery Voltage etc
#define ID7  0   // Send Soil & Leaf Temperature Data
#define ID9  0   // Send Soil & Leaf Moisture / Wetness Data

// --------------------------------------------------------------------------------------
//   Hardware settings
// --------------------------------------------------------------------------------------
// SHT31 I2c Address
// Default address will work most of the times!
#define SHT31_address 0x44           // Default value is 0x44, but it can be changed to 0x45
// --------------------------------------------------------------------------------------
//   Debug
// --------------------------------------------------------------------------------------
#define Debug_Enable      false
#define DebugID0          false
#define DebugID2          false
#define DebugID3          false
#define DebugID4          false
#define DebugID5          false
#define Easyweather_Test  false
#define Debug_SLinterface false

// ---------------------------------------------------------------------------------------------------
//     End of user configurable options
// ---------------------------------------------------------------------------------------------------
Reply
#4

Hello Derek,

Everything in your config_TX.h file seems OK.

Can you please check two things:
- Is the FAN led on?
- Check if the negative wire of the fan is connected to where says -9V and not to any GND point. If the negative wire of the fan is connected to GND the fan will be always ON.

Thank you

Reply
#5

Hello Werk

When you asked if the fan led switched on , I suddenly realised what I had done.
For ages I have had the fan connected to the led connection, not to the 9v+ and _ ones.
Not bothering with an led, so I did not realise my mistake.
It has been working fine until recently though.
I will now correct it.
Many thanks for showing me the light.
I feel such a fool, but I can put that down to age.

Best Regards Derek
Reply
#6

Congratulations!
Remember that the description of your mistake can help someone else not to let it.  Smile

Best Regards
Zdenek

Brandys/L Weather
Reply




Users browsing this thread: 2 Guest(s)