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

Committer:
andrewboyson
Date:
Wed Feb 10 17:24:36 2021 +0000
Revision:
104:46ce1aaf8be7
Parent:
91:8b192efd0288
Child:
105:1899f7ed17ec
Added PWM speed control to the boiler pump.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 0:3c04f4b47041 1 #include <stdbool.h>
andrewboyson 48:6eac12df3ad5 2 #include <stdint.h>
andrewboyson 0:3c04f4b47041 3
andrewboyson 104:46ce1aaf8be7 4 extern int BoilerGetTankSetPoint (void); extern void BoilerSetTankSetPoint (int value);
andrewboyson 104:46ce1aaf8be7 5 extern int BoilerGetTankHysteresis (void); extern void BoilerSetTankHysteresis (int value);
andrewboyson 104:46ce1aaf8be7 6 extern int BoilerGetRunOnResidual16ths(void); extern void BoilerSetRunOnResidual16ths(int value);
andrewboyson 104:46ce1aaf8be7 7 extern int BoilerGetRunOnTime (void); extern void BoilerSetRunOnTime (int value);
andrewboyson 104:46ce1aaf8be7 8 extern int BoilerGetPumpSpeedCalling (void); extern void BoilerSetPumpSpeedCalling (int value);
andrewboyson 104:46ce1aaf8be7 9 extern int BoilerGetPumpSpeedRunOn (void); extern void BoilerSetPumpSpeedRunOn (int value);
andrewboyson 104:46ce1aaf8be7 10 extern int BoilerGetOutputTarget (void); extern void BoilerSetOutputTarget (int value);
andrewboyson 104:46ce1aaf8be7 11
andrewboyson 104:46ce1aaf8be7 12 extern int BoilerGetRise16thsAt0 (void); extern void BoilerSetRise16thsAt0 (int value);
andrewboyson 104:46ce1aaf8be7 13 extern int BoilerGetRise16thsAt50 (void); extern void BoilerSetRise16thsAt50 (int value);
andrewboyson 104:46ce1aaf8be7 14 extern int BoilerGetRise16thsAt100 (void); extern void BoilerSetRise16thsAt100 (int value);
andrewboyson 104:46ce1aaf8be7 15
andrewboyson 48:6eac12df3ad5 16 extern uint16_t BoilerGetTankDS18B20Value (void);
andrewboyson 48:6eac12df3ad5 17 extern uint16_t BoilerGetOutputDS18B20Value(void);
andrewboyson 48:6eac12df3ad5 18 extern uint16_t BoilerGetReturnDS18B20Value(void);
andrewboyson 0:3c04f4b47041 19
andrewboyson 104:46ce1aaf8be7 20 extern int BoilerPumpSpeed;
andrewboyson 104:46ce1aaf8be7 21 extern int BoilerPumpPwm;
andrewboyson 104:46ce1aaf8be7 22
andrewboyson 48:6eac12df3ad5 23 extern bool BoilerCall;
andrewboyson 48:6eac12df3ad5 24 extern bool BoilerPump;
andrewboyson 0:3c04f4b47041 25
andrewboyson 48:6eac12df3ad5 26 extern int BoilerInit(void);
andrewboyson 48:6eac12df3ad5 27 extern void BoilerMain(void);
andrewboyson 0:3c04f4b47041 28
andrewboyson 0:3c04f4b47041 29
andrewboyson 0:3c04f4b47041 30
andrewboyson 0:3c04f4b47041 31