Egor Savkin
e6d928ef4e
Fix PR comments
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-01-10 15:13:37 +08:00
Egor Savkin
a645bfb6e8
Remove all tacho/status related logic
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-01-05 15:30:07 +08:00
Egor Savkin
21fc244eac
Fan status via quadratic regression
...
* statuses: detect slow fan via quadratic regression and halts (hard stops) with constant threshold
* remove unsafe channels' copy and make FanCtrl own the channels
* scale fan values so that they would fit 0.05-1.0 PWM at all times
* rename fan-restore to fcurve-restore
* style, names and docs adjustments
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-01-05 11:57:21 +08:00
Egor Savkin
630635486e
Polish minor issues
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2022-12-23 13:23:18 +08:00
Egor Savkin
58650d37f1
Refactor and coefficients implemented
...
Move all the fan logic to the separate file. Add controls for controlling curve.
Signed-off-by: Egor Savkin <es@m-labs.hk>
2022-12-22 17:28:08 +08:00
Egor Savkin
66143d2373
Implemented auto fan control
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2022-12-21 14:59:49 +08:00
Egor Savkin
583d06a78b
Make fan cmd show the stats
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2022-12-20 12:58:00 +08:00
Egor Savkin
d117c784d9
Draft hw rev support and fan command
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2022-12-19 17:15:33 +08:00
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: 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
mwojcik
a26cdfabb1
readme: update CI links
2022-01-19 11:37:01 +08:00
mwojcik
4d43709f76
nix flakes support ( #64 )
...
Reviewed-on: M-Labs/thermostat#64
Co-authored-by: mwojcik <mw@m-labs.hk>
Co-committed-by: mwojcik <mw@m-labs.hk>
2022-01-19 11:13:47 +08:00
Sebastien Bourdeauducq
1c00e732fa
README: minor corrections
2022-01-05 08:22:43 +08:00
Sebastien Bourdeauducq
09082b24a5
README: update build instructions
2022-01-05 08:04:25 +08:00
Sebastien Bourdeauducq
e81c6d1692
README: fix objcopy command
2022-01-05 07:50:53 +08:00
Sebastien Bourdeauducq
1f644fd62c
README: fix nix-scripts folder
2021-07-14 08:43:59 +08:00
Sebastien Bourdeauducq
4f1d865d2b
README: fix Hydra links
2021-07-14 08:42:53 +08:00
topquark12
a1a8efd51a
readme: update docs on max_i_neg command and heat flow directions
2021-01-25 13:51:50 +08:00
topquark12
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
topquark12
45b7c4e669
add documentation about PID setup and using Python tools
...
Co-Authored-By: topquark12 <aw@m-labs.hk>
Co-Committed-By: topquark12 <aw@m-labs.hk>
2021-01-07 14:48:39 +08:00
Astro
5987d9c881
README: rlwrap nc, 60 Hz
2020-12-18 21:27:09 +01:00
Astro
e9e46b29cf
pid: integrate time_delta to free gain parameters from sampling period
...
Fixes Gitea issue #22
2020-12-18 15:40:05 +01:00
Astro
b7e6cdbec2
pytec: measure interval
2020-12-16 22:14:21 +01:00
Astro
93ea46d512
README: doc postfilter
...
Fixes Gitea issue #21
2020-12-16 20:47:18 +01:00
Astro
383ebcd8e4
rewrite config for sfkv-based flash_store
2020-12-12 01:25:07 +01:00
Sebastien Bourdeauducq
088bd6eb76
README: cleanup build and flashing instructions
2020-12-09 10:16:40 +08:00
Sebastien Bourdeauducq
35d1e2e205
Revert "not yet ready note"
...
This reverts commit 7af5d8582d
.
M-Labs/thermostat#23 (comment)
2020-12-09 10:02:36 +08:00
Astro
1090d0f5b5
Merge pull request 'flashing with dfu-util' ( #20 ) from jbqubit/thermostat:flashdoc into master
...
Update based on two issues.
M-Labs/thermostat#10
https://github.com/sinara-hw/Thermostat/issues/87/
Reviewed-on: M-Labs/thermostat#20
2020-12-09 08:16:45 +08:00
Astro
5c8bb47e11
command_parser: require the explicit `i_set` symbol
2020-12-09 01:07:08 +01:00
Astro
b92a5f18cd
README: fix units
2020-12-09 00:56:17 +01:00
Joe Britton
7af5d8582d
not yet ready note
2020-12-08 12:00:00 -05:00
Joe Britton
fca2de665c
flashing with dfu-util
2020-12-08 11:07:48 -05:00
Astro
ffcc3f661b
README: add pid units
2020-12-07 23:18:44 +01:00
Astro
5e8bf0e765
README: add Debugging and Flashing
...
Fixes Gitea issue #10
2020-12-07 00:22:00 +01:00
Joe Britton
af0d78237f
Clarify purpose of GND pin adjacent to TECn+/-.
2020-12-06 15:11:42 +08:00
Astro
150d6c2f87
README: use frontpanel LED names
2020-10-12 00:26:49 +02:00
Astro
aee279b579
README: doc
2020-10-11 21:50:36 +02:00
Astro
1939490410
README: fix syntax
2020-10-11 21:09:15 +02:00
Astro
2e9d22cf47
README: doc
2020-10-11 21:08:02 +02:00
Astro
f12214a4df
README: doc usb
2020-10-11 01:59:39 +02:00
Astro
59103cb2a1
add support for ipv4 address reconfiguration
2020-10-01 01:34:46 +02:00
Astro
5acebbef9f
pytec: doc set_param
2020-10-01 00:35:16 +02:00
Astro
97a09e422b
main: add support for disabling postfilters
2020-09-26 01:29:35 +02:00
Astro
83589610b5
implement reset command
2020-09-25 00:14:29 +02:00
Astro
93f14523d7
command_parser: parse load/save
2020-09-24 01:17:50 +02:00
Astro
a84242fb1f
implement setting i_set centerpoint
2020-09-23 22:30:04 +02:00
Astro
fc0ca8b581
calculate i_set current
2020-09-16 22:22:48 +02:00
Astro
8c80062da8
use proper units for pwm pins
2020-09-16 22:06:15 +02:00
Astro
ec6aa03dc3
set pwm values as ratio 0..1
2020-05-27 20:38:57 +02:00
Sebastien Bourdeauducq
9682d7657d
README: update title
2020-04-09 13:16:30 +08:00
Astro
5faf64eae8
README: link CI, more instructions
2020-03-23 23:42:22 +01:00