STM32F103C8T6_WIFI_Heating_system

Dependencies:   mbed mbed-STM32F103C8T6 eeprom_flash Watchdog PinDetect DS1820

  1. Bluepill STM32F103C8T6 Heating system
    1. _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)

temp_controller/temp_controller.h

Committer:
andrewklmn
Date:
2018-09-23
Revision:
45:abc682827659
Parent:
42:03cbc2a6f63b
Child:
46:0d60fbcfb245

File content as of revision 45:abc682827659:

#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
void process_temp();                    // process heating algorithm
unsigned int get_temp_config_value();   // get config value from EEPROM 
void save_new_config();                 // save new config to EEPROM
void set_pomp_and_heater_by(float * work_temp); // sets state of pomp and heater depends on input temp

#endif