419586583f
Add command for flipping output polarity
...
Needed for IDC cable connections, since the IDC connector and front
panel connectors have flipped polarities.
2024-08-20 17:54:34 +08:00
570c0324b3
implement support for fan PWM
...
Co-authored-by: Egor Savkin <es@m-labs.hk>
Co-committed-by: Egor Savkin <es@m-labs.hk>
2023-03-22 17:15:49 +08:00
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: M-Labs/thermostat#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
f6802635a4
add command to reboot into DFU
...
Co-Authored-By: topquark12 <aw@m-labs.hk>
Co-Committed-By: topquark12 <aw@m-labs.hk>
2021-01-13 11:59:06 +08:00
9852b32646
command_parser, main: implement ShowCommand::Ipv4
...
Fixes Gitea issue #30
2020-12-20 20:44:10 +01:00
880a887c40
new flash-based ipv4 config with additional mask_len, gateway
2020-12-12 23:44:16 +01:00
383ebcd8e4
rewrite config for sfkv-based flash_store
2020-12-12 01:25:07 +01:00
5c8bb47e11
command_parser: require the explicit i_set
symbol
2020-12-09 01:07:08 +01:00
ffb70bde0a
command_parser: fix input_remain match
2020-10-30 15:04:14 +01:00
59103cb2a1
add support for ipv4 address reconfiguration
2020-10-01 01:34:46 +02:00
97a09e422b
main: add support for disabling postfilters
2020-09-26 01:29:35 +02:00
83589610b5
implement reset command
2020-09-25 00:14:29 +02:00
58e648b5e0
pid::Parameters, CenterPoint: demote f32 fields to save config space
2020-09-24 20:47:02 +02:00
5d0d75d395
config: encode with serde_cbor
2020-09-24 01:18:33 +02:00
93f14523d7
command_parser: parse load/save
2020-09-24 01:17:50 +02:00
a84242fb1f
implement setting i_set centerpoint
2020-09-23 22:30:04 +02:00
edc675f5af
command_parser: rename a test
2020-09-18 01:16:19 +02:00
a4dde1b8ca
delint
2020-09-18 00:55:53 +02:00
fb81380955
fix tests
...
run with `cargo test --target=x86_64-unknown-linux-gnu`
2020-09-17 01:48:27 +02:00
8c80062da8
use proper units for pwm pins
2020-09-16 22:06:15 +02:00
ba860e52ac
control i_set dac in volts
2020-05-17 01:27:47 +02:00
2e72a03b93
steinhart_hart: fix equation
2020-03-19 22:56:14 +01:00
bec7019f3a
delint
2020-03-19 22:21:17 +01:00
e5b4789304
replace dependency lexical-core with num-traits
2020-03-19 19:51:59 +01:00
da4aaf4ff6
implement all the tcp commands
2020-03-19 18:34:57 +01:00
0f4442b124
switch pid+steinhart_hart parameters from f32 to f64
2020-03-18 21:56:52 +01:00
69a4f5a5d2
merge the network code
2020-03-13 23:39:22 +01:00