Go to file
2024-12-21 21:21:12 +01:00
.vscode sntp module 2024-12-19 20:33:51 +01:00
hardware/De_Dietrich_GTU add De Dietrich GTU connector J9 mechanics 2024-12-01 13:26:17 +01:00
main invert Circulation Pump GPIO 2024-12-21 21:21:12 +01:00
.gitignore update .gitignore and license 2024-12-03 22:41:13 +01:00
CMakeLists.txt move files in root dir 2024-12-07 15:47:55 +01:00
LICENSE update .gitignore and license 2024-12-03 22:41:13 +01:00
README.md invert Circulation Pump GPIO 2024-12-21 21:21:12 +01:00

smart-oil-heating-control-system

Software

Design

classDiagram
Inputs <|-- Control
Outputs <|-- Control
Sntp <|-- Control
Inputs <|-- Safety
Outputs <|--|> Safety

Inputs <|-- Metrics
Outputs <|-- Metrics
Control <|-- Metrics
Safety <|-- Metrics
Sntp <|-- Metrics

    class Inputs{
        +initInputs()
        -taskInput()
        +getChamberTemperature()
        +getOutdoorTemperature()
        +getInletFlowTemperature()
        +getReturnFlowTemperature()
        +getBurnerError()
    }

    class Outputs{
        +initOutputs()
        +getCirculationPumpState()
        +setCirculationPumpState()
        +getBurnerState()
        +setBurnerState()
        +getSafetyControlState()
        +setSafetyControlState()
    }

    class Control{
        +taskControl()
        -timetable
    }

    class Safety{
        +initSafety()
        -taskSafety()
        -setSafeState()
        -checkSensorSanity()
        +getSensorSanityStates()
        +getSafetyState()
    }


    class Wifi{
        +initWifi()
    }

    class Sntp{
        +initSntp()
        +getSntpState()
    }

    class Metrics{
        +initMetrics()
        -taskMetrics()
        -metrics
        +event_handler()
        +connect_wifi()
        +setMetrics()
    }

Hardware

Function ESP32 PLC ES32C14
Output CirculationPump IO27 Relay 1 NC1
Output Burner Fire Signal IO14 Relay 2 NC2
Output Safety Contact (powers Burner) IO12 Relay 3 NC2
Input Burner Fault IO19 Digital Input IN1
Input Temperature DS10B20 IO04 1-Wire