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.h
- Revision:
- 38:a0753c2a4497
- Child:
- 39:aa5f95061409
diff -r c9b96afec535 -r a0753c2a4497 temp_controller/temp_controller.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/temp_controller/temp_controller.h Tue Sep 18 20:49:05 2018 +0000 @@ -0,0 +1,19 @@ +#ifndef __TEMP_CONTROLLER_H +#define __TEMP_CONTROLLER_H + +#include "stm32f103c8t6.h" +#include "mbed.h" +#include "mbed_events.h" +#include <stdio.h> +#include "DS1820.h" +#include "PinDetect.h" +#include "Watchdog.h" +#include "eeprom_flash.h" +#include <string> + + +void start_temp(); // start temp conversion +void check_temp(); // check temp sensor state and read temp +unsigned int get_temp_config_value(); // get config value from EEPROM + +#endif \ No newline at end of file