thermostat/src
topquark12 26ad2f0119 rewrite PID
Rewrite of PID according to https://hackmd.io/IACbwcOTSt6Adj3_F9bKuw PID implementation.

To migrate:
- TEC+/- pin polarity has to be reversed.
- Some saved settings might be wiped upon flashing of new firmware, back up settings before upgrade
- Min / Max integral parameters no longer exist
- kp, ki, kd will likely need to be retuned

The software has been tested on hardware with good temperature control stability.

Reviewed-on: #68
Co-authored-by: topquark12 <aw@m-labs.hk>
Co-committed-by: topquark12 <aw@m-labs.hk>
2022-02-24 20:16:47 +08:00
..
ad7172 ad7172: set output data rate to 10 Hz 2020-09-28 01:24:32 +02:00
ad5680.rs use proper units for pwm pins 2020-09-16 22:06:15 +02:00
channel.rs dac: fix inconsistent current output behavior due to repeated sampling of noisy vref 2021-01-25 13:51:50 +08:00
channel_state.rs rewrite PID 2022-02-24 20:16:47 +08:00
channels.rs rewrite PID 2022-02-24 20:16:47 +08:00
command_handler.rs rewrite PID 2022-02-24 20:16:47 +08:00
command_parser.rs rewrite PID 2022-02-24 20:16:47 +08:00
config.rs dac: fix inconsistent current output behavior due to repeated sampling of noisy vref 2021-01-25 13:51:50 +08:00
dfu.rs dfu: style 2021-01-18 16:59:13 +08:00
flash_store.rs flash_store: get addresses from linker 2021-01-13 17:30:12 +08:00
init_log.rs init_log: delint 2020-12-13 02:24:29 +01:00
leds.rs leds: init 2020-09-06 21:10:10 +02:00
main.rs main.rs refactor to reduce length (#60) 2021-06-07 10:07:05 +08:00
net.rs new flash-based ipv4 config with additional mask_len, gateway 2020-12-12 23:44:16 +01:00
pid.rs rewrite PID 2022-02-24 20:16:47 +08:00
pins.rs implement mac address generation with reading eui48 from i2c eeprom 2020-09-24 00:19:07 +02:00
server.rs new flash-based ipv4 config with additional mask_len, gateway 2020-12-12 23:44:16 +01:00
session.rs session: rename SessionOutput to SessionInput 2020-09-30 23:35:11 +02:00
steinhart_hart.rs rewrite config for sfkv-based flash_store 2020-12-12 01:25:07 +01:00
timer.rs fixes 2020-09-14 00:12:28 +02:00
usb.rs s/tecpak/thermostat/g 2020-10-11 01:59:39 +02:00