Hello
Please guide in achieving the following(controlling only TTL1, TTL2)
Temp Sensors 1-5, Humidity sensor H1.
TTL1 and TTL2 should never be on simultaneously.
/Logic-
If H1>80, TTL1=0, TTL2=0 don't process below and wait for H1 <80
If H1<80
Then
T0=(T1+T2+T3)/3
If T0-T4>0, TTL1=1, TTL2=0
If T0-T5>0, TTL2=1, TTL1=0
Pause 60Sec
/EndLogic
TTL1 and TTL2 drive motors, therefore 60Sec pause.
Am I missing something?(like bouncing etc) I believe bouncing protection required when Humidity is 80%
Edit = Bouncing is hysteresis (ie, the motors donot switch on and off)
Please guide in achieving the following(controlling only TTL1, TTL2)
Temp Sensors 1-5, Humidity sensor H1.
TTL1 and TTL2 should never be on simultaneously.
/Logic-
If H1>80, TTL1=0, TTL2=0 don't process below and wait for H1 <80
If H1<80
Then
T0=(T1+T2+T3)/3
If T0-T4>0, TTL1=1, TTL2=0
If T0-T5>0, TTL2=1, TTL1=0
Pause 60Sec
/EndLogic
TTL1 and TTL2 drive motors, therefore 60Sec pause.
Am I missing something?(like bouncing etc) I believe bouncing protection required when Humidity is 80%
Edit = Bouncing is hysteresis (ie, the motors donot switch on and off)