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)

Revision:
34:09d8edcce624
Parent:
33:2c54746f7518
Child:
35:74a546766adb
--- a/main.cpp	Mon Sep 17 18:42:31 2018 +0000
+++ b/main.cpp	Mon Sep 17 19:52:45 2018 +0000
@@ -21,6 +21,10 @@
 Serial  pc(PA_2, PA_3);
 DigitalOut  myled(LED1);
 
+DigitalOut  pomp_OFF(PA_12);          // pomp off
+DigitalOut  heater_OFF(PA_15);        // heater off
+
+
 float temp[5] = {
                     85,85,85,85,85  // initial temperature
                 };
@@ -186,6 +190,19 @@
     pc.printf("\r\n\r\nWifi Heating system\r\n"); 
 
 
+    pomp_OFF = 0;
+    heater_OFF = 0;
+    wait(0.25);
+    pomp_OFF = 1;
+    heater_OFF = 1;
+    wait(0.25);
+    pomp_OFF = 0;
+    heater_OFF = 0;
+    wait(0.25);
+    pomp_OFF = 1;
+    heater_OFF = 1;
+    wait(0.25);
+
     
     queue.call( start_temp );
     queue.call_every(100, at_command);