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

Fan question
#1

Hi there, can i ask Should or Could the fan be configured to to switch on when the following condition is met.
fanOn_HiTemp AND fanOn_LowWind is true rather than fanOn_HiTemp OR fanOn_LowWind is true.

The reason i ask, is because here in Tasmania our average nightly conditions are 5-15 degrees C (but sometimes cooler) and little or[/u] no wind. Therefore because there is no wind or heat the fan runs all night draining the battery whilst there is no solar charge. I would of thought that the fan would not need to be running as there is no direct sunshine on the temperature sensor.

Sorry if i have missed something here?

Regards
Reply
#2

Hi,

Yes, it can work the way you want.

- Open the WeatherDuino_Pro2_TX_v2.0_b00x software in your Arduino IDE.
- Click on the Process_IDx tab
- Around line 41, change this

Quote:if ( ((FanControlT / 100.0 >= fanOn_HiTemp) || (FanControlT / 100.0 <= fanOn_LowTemp)) && LowWind )

to this:

Quote:if ( FanControlT / 100.0 >= fanOn_HiTemp && LowWind )

Let me know if this is what you need.
Your question / concern makes sense, I'm taking note of it, and maybe on next software release I will add some new options to control the fan. Thank you.

Reply
#3

Thanks Werk, i will try when i get back home in a couple of days.

(03-04-2016, 17:20)Werk_AG Wrote:  Hi,

Yes, it can work the way you want.

- Open the WeatherDuino_Pro2_TX_v2.0_b00x software in your Arduino IDE.
- Click on the Process_IDx tab
- Around line 41, change this

Quote:if ( ((FanControlT / 100.0 >= fanOn_HiTemp) || (FanControlT / 100.0 <= fanOn_LowTemp)) && LowWind )

to this:

Quote:if ( FanControlT / 100.0 >= fanOn_HiTemp && LowWind )

Let me know if this is what you need.
Your question / concern makes sense, I'm taking note of it, and maybe on next software release I will add some new options to control the fan. Thank you.
Reply
#4

Im confused, i went back to this line as original,
if ( ((FanControlT / 100.0 >= fanOn_HiTemp) || (FanControlT / 100.0 <= fanOn_LowTemp)) && LowWind )

I dont know programming very well, but i interpret this line as saying If High temp OR Low temp is true AND Low wind then turn on Fan, which is what you would want.

So i used the following settings as a test overnight
#define FanControlSensor 0
#define fanOn_HiTemp 13
#define fanOn_LowTemp 3
#define fanOn_LowWind 1

When i got up this morning there was 0 wind and temp was around 10 C, The fan was on and looking at the battery voltage i suspect it has been on all night, i dont understand why when 10 degrees C is neither High or Low temp? I expect that once the wind gets above 1m/s this morning then the fan will turn off, if thats true then its like its only taking notice of the wind setting and not the temperatures.

Thanks again in advance.

Just to confirm, temp has now reached 14.6 and Wind is 4.7Km/h and the fan has turned off.
Reply
#5

Could you please attach your Config_TX.ino file, and tell me what kind of Temp / Hum Sensor are you using.

Thank you.

Reply
#6

I am using a SHT15 which would be Temp Sensor 1, not 0.

So #define FanControlSensor should be 1?
Is that my error?
Reply
#7

(08-04-2016, 00:17)nparnold Wrote:  I am using a SHT15 which would be Temp Sensor 1, not 0.

So #define FanControlSensor should be 1?
Is that my error?

I thought about something like that. Smile
Try it and tell me, surely it will work now.

Reply
#8

Thankyou again, will fix now and see how it goes tonight.
Reply




Users browsing this thread: 1 Guest(s)