Releases: TG9541/W1209
Data Logging Thermostat W1209-FD based on Modular Release
untagged-e2aa86cbb389884cccde: Merge pull request #29 from TG9541/fix-travis
update auth token
Improved Data Logger & Sensor Filtering, Maintenance Release
Improved Data Logger
Per log cycle, the data logger now logs the following values:
- Lowest temperature
- Highest temperature
- Heating duty cycle DC = 100% (t.on/(t.on + t.off)
- Number of relay trip cycles
The console command L.dump
produces 144 lines with the following values each:
Duty Cycle [%] | Relay Cycle # | T-Low[°C] | T-High[°C] |
---|---|---|---|
58 | 3 | 36.1 | 37.9 |
These values get packed into 32bits for efficient storage in the EEPROM.
L.dump produces lists with 144 lines. The latest entry is last in the list.
\ % # min max
\ - - ---- ----
58 3 36.1 37.9
66 3 36.0 37.9
58 3 36.1 37.9
65 3 36.1 37.9
66 3 36.1 37.9
58 4 36.3 37.9
60 3 36.2 37.9
61 4 36.2 37.9
52 3 36.2 38.2
53 4 36.3 38.0
55 3 36.3 38.0
53 4 36.3 38.0
These numbers can be fed into a spread sheet, e.g. for creating diagrams
Improved Sensor Filtering
measure.fs
now applies a second low pass filter on the linearized output. Rounding of values has also been improved.
Other Changes
- General code clean-up, improved identifiers and comments,
- re-ordering the high-level words in
task
revealed a bug in theDEFAULT
path (it was still safe). #15 "Sensor error leads to unbalanced stack in control.fs" fixes this.
Improved Data Logger & Sensor Filtering
Please use the latest binary!
Improved Data Logger
Per log cycle, the data logger now logs the following values:
- Lowest temperature
- Highest temperature
- Heating duty cycle DC = 100% (t.on/(t.on + t.off)
- Number of relay trip cycles
The console command L.dump
produces 144 lines with the following values each:
Duty Cycle [%] | Relay Cycle # | T-Low[°C] | T-High[°C] |
---|---|---|---|
58 | 3 | 36.1 | 37.9 |
These values get packed into 32bits for efficient storage in the EEPROM.
L.dump produces lists with 144 lines. The latest line is last in the list.
\ % # min max
\ - - ---- ----
58 3 36.1 37.9
66 3 36.0 37.9
58 3 36.1 37.9
65 3 36.1 37.9
66 3 36.1 37.9
58 4 36.3 37.9
60 3 36.2 37.9
61 4 36.2 37.9
52 3 36.2 38.2
53 4 36.3 38.0
55 3 36.3 38.0
53 4 36.3 38.0
These numbers can be fed into a spread sheet, e.g. for creating diagrams
Improved Sensor Filtering
measure.fs
now applies a second low pass filter on the linearized output. Rounding of values has also been improved.
Other Changes
General code clean-up, improved identifiers, and comments,
Minimal Viable Product!
This release uses STM8 eForth to turn a $1.50 off-the-shelf W1209 into a data logging thermostat.
Features are:
- heating thermostat, e.g. for building chicken egg incubators
- basic sensor failure detection
- parameters for set-point, hysteresis, and trip-delay
- easy to use parameters menu (no need to search for a manual!)
- temperature logger with 0.1h to 10h interval, and a 288 entry ring-buffer
- logger access through a serial console
- fully programmable in Forth, even while it's running!
Although it's feature-complete, this is work in progress:
- Beta-grade "bleeding edge"
- not even an "endurance run" yet
Planned features:
- Improved logger with min/max temperature, and heating duty cycle
- Field-bus feature for thermostats
- more fail-safe features (parameter integrity, maybe a buzzer)
Please check out the HACKADAY.IO project!