STM32F103C8T6_WIFI_Heating_system
Dependencies: mbed mbed-STM32F103C8T6 eeprom_flash Watchdog PinDetect DS1820
- Bluepill STM32F103C8T6 Heating system
- _This project is core part of bigger heating system project!_
Features
- Reading temperature from four DS18B20 sensors
- Making a decision about switching on/off heater and pomp
- Executing simple user commands from UART
- Storing state parameters to program memory (EEPROM emulation)
Diff: temp_controller/temp_controller.cpp
- Revision:
- 48:4ec055c066b4
- Parent:
- 46:0d60fbcfb245
- Child:
- 49:f9f65a2fc92f
--- a/temp_controller/temp_controller.cpp Sun Sep 23 17:00:19 2018 +0000 +++ b/temp_controller/temp_controller.cpp Sun Sep 23 18:54:12 2018 +0000 @@ -211,7 +211,7 @@ float hot_water = *(work_temp + 3); float back_water = *(work_temp + 4); - if (outdoor > litos) { + if (outdoor > min_litos_temp) { // ============================================= SUMMER MODE // system off pomp_OFF = 1; @@ -292,7 +292,7 @@ float hot_water = *(work_temp + 3); float back_water = *(work_temp + 4); - if (outdoor > litos) { + if (outdoor > min_litos_temp) { //============================================ summer mode // system off pomp_OFF = 1;