Central Heating controller using the real time clock, PHY module for internet, 1-wire interface for temperature sensors, a system log and a configuration file

Dependencies:   net 1-wire lpc1768 crypto clock web fram log

/media/uploads/andrewboyson/heating.sch

/media/uploads/andrewboyson/heating.brd

/media/uploads/andrewboyson/eagle.epf

Revision:
105:1899f7ed17ec
Parent:
104:46ce1aaf8be7
Child:
106:41ed3ea0bbba
--- a/heating/boiler.h	Wed Feb 10 17:24:36 2021 +0000
+++ b/heating/boiler.h	Tue Feb 23 20:35:07 2021 +0000
@@ -1,25 +1,30 @@
 #include <stdbool.h>
 #include <stdint.h>
 
-extern int      BoilerGetTankSetPoint      (void); extern void BoilerSetTankSetPoint      (int value);
-extern int      BoilerGetTankHysteresis    (void); extern void BoilerSetTankHysteresis    (int value);
-extern int      BoilerGetRunOnResidual16ths(void); extern void BoilerSetRunOnResidual16ths(int value);
-extern int      BoilerGetRunOnTime         (void); extern void BoilerSetRunOnTime         (int value);
-extern int      BoilerGetPumpSpeedCalling  (void); extern void BoilerSetPumpSpeedCalling  (int value);
-extern int      BoilerGetPumpSpeedRunOn    (void); extern void BoilerSetPumpSpeedRunOn    (int value);
-extern int      BoilerGetOutputTarget      (void); extern void BoilerSetOutputTarget      (int value);
+extern int     BoilerGetFullSpeedSecs     (void); extern void BoilerSetFullSpeedSecs     (int value);
+extern int     BoilerGetFullSpeedDeltaT   (void); extern void BoilerSetFullSpeedDeltaT   (int value);
+extern int     BoilerGetTankSetPoint      (void); extern void BoilerSetTankSetPoint      (int value);
+extern int     BoilerGetTankHysteresis    (void); extern void BoilerSetTankHysteresis    (int value);
+extern int     BoilerGetRunOnDeltaT       (void); extern void BoilerSetRunOnDeltaT       (int value);
+extern int     BoilerGetRunOnTime         (void); extern void BoilerSetRunOnTime         (int value);
+extern int     BoilerGetPumpSpeedCalling  (void); extern void BoilerSetPumpSpeedCalling  (int value);
+extern int     BoilerGetPumpSpeedRunOn    (void); extern void BoilerSetPumpSpeedRunOn    (int value);
+extern int     BoilerGetOutputTarget      (void); extern void BoilerSetOutputTarget      (int value);
 
-extern int      BoilerGetRise16thsAt0      (void); extern void BoilerSetRise16thsAt0      (int value);
-extern int      BoilerGetRise16thsAt50     (void); extern void BoilerSetRise16thsAt50     (int value);
-extern int      BoilerGetRise16thsAt100    (void); extern void BoilerSetRise16thsAt100    (int value);
+extern int     BoilerGetMinimumFlow       (void); extern void BoilerSetMinimumFlow       (int value);
+extern int     BoilerGetMidFlowSpeed      (void); extern void BoilerSetMidFlowSpeed      (int value);
 
-extern uint16_t BoilerGetTankDS18B20Value  (void);
-extern uint16_t BoilerGetOutputDS18B20Value(void);
-extern uint16_t BoilerGetReturnDS18B20Value(void);
+extern int16_t BoilerGetTankDS18B20Value  (void);
+extern int16_t BoilerGetOutputDS18B20Value(void);
+extern int16_t BoilerGetReturnDS18B20Value(void);
+extern int16_t BoilerGetRtnDelDS18B20Value(void);
+extern int16_t BoilerGetDeltaTDS18B20Value(void);
 
-extern int      BoilerPumpSpeed;
-extern int      BoilerPumpPwm;
+extern int     BoilerPumpFlow;
+extern int     BoilerPumpSpeed;
+extern int     BoilerPumpPwm;
 
+extern bool BoilerCallEnable;
 extern bool BoilerCall;
 extern bool BoilerPump;