Building heating system
Posted: Monday 01 April 2019 2:48
I built a very simple heating system. I used a switch to control the power on or off, AM2320 as temperature sensor and a resistance as heater. When the heater is above 27℃, power off, when the heater is below 24℃, heater on. Below is the blockly code. Each independent part funtions well. However, the event doest trigger, for example, when the switch of the power is closed, the LED is still on.