Fyi, I plan to have a heat collector made of some tubing inclosed in like a glass frame used to collect heat from the sun. also, I’m going to put some type of radiator on the inside (it may just be some CPU heatsinks!) to dissipate the heat inside. And, a variable speed fan (through use of PWM) to exhaust heat, temperature based speed.
Goals:
Regulate temperature inside (heat when cold, cool when hot)
Collect outside heat
Data log temperature and humidity
Inputs:
Temperature/humidity inside
Temperature/humidity outside
Temperature of the water barrel
Temperature of return water from solar collector
Light sensor
Outputs:
Fan (for venting)
Pump to heat collector
Pump to internal heat dissipater
Variables:
Inside temp
Inside humidity
Outside temp
Outside humidity
Water barrel temp
Solar collector temp
Light sensor
Target temp
Light threshold
Max barrel temp
Fan percentage
Heat collector pump status
Heat dissipater pump status
Conditions:
Data log:
Read every 30 seconds, on all sensors (or more often, undecided)
Log every 5 minutes on all sensors + fan and pump status (serial output)
Collect outside heat:
(If light > threshold OR outside temp > inside) AND barrel temp < max barrel temp
Then turn heat collector pump on
Else turn pump off
Cool when hot:
If inside temp > target temp
Then case:
#1 inside temp >= 1.15*target
Then fan = 255 // 100%
#2 insdie < 1.15*target AND >= 1.07*target
Then fan = 168 // 66%
#3 inside < 1.07*target AND > target
Then fan = 84 // 33%
#4 else end case
Heat when cold:
If inside temp < target AND barrel temp > inside temp
Then turn heat dissipater pump on
Else turn pump off
What do you think? J
No comments:
Post a Comment