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
66143d2373
Implemented auto fan control
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2022-12-21 14:59:49 +08:00
583d06a78b
Make fan cmd show the stats
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2022-12-20 12:58:00 +08:00
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
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
a26cdfabb1
readme: update CI links
2022-01-19 11:37:01 +08:00
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
1c00e732fa
README: minor corrections
2022-01-05 08:22:43 +08:00
09082b24a5
README: update build instructions
2022-01-05 08:04:25 +08:00
e81c6d1692
README: fix objcopy command
2022-01-05 07:50:53 +08:00
1f644fd62c
README: fix nix-scripts folder
2021-07-14 08:43:59 +08:00
4f1d865d2b
README: fix Hydra links
2021-07-14 08:42:53 +08:00
a1a8efd51a
readme: update docs on max_i_neg command and heat flow directions
2021-01-25 13:51:50 +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
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
5987d9c881
README: rlwrap nc, 60 Hz
2020-12-18 21:27:09 +01:00
e9e46b29cf
pid: integrate time_delta to free gain parameters from sampling period
...
Fixes Gitea issue #22
2020-12-18 15:40:05 +01:00
b7e6cdbec2
pytec: measure interval
2020-12-16 22:14:21 +01:00
93ea46d512
README: doc postfilter
...
Fixes Gitea issue #21
2020-12-16 20:47:18 +01:00
383ebcd8e4
rewrite config for sfkv-based flash_store
2020-12-12 01:25:07 +01:00
088bd6eb76
README: cleanup build and flashing instructions
2020-12-09 10:16:40 +08:00
35d1e2e205
Revert "not yet ready note"
...
This reverts commit 7af5d8582d
.
M-Labs/thermostat#23 (comment)
2020-12-09 10:02:36 +08:00
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
5c8bb47e11
command_parser: require the explicit i_set
symbol
2020-12-09 01:07:08 +01:00
b92a5f18cd
README: fix units
2020-12-09 00:56:17 +01:00
7af5d8582d
not yet ready note
2020-12-08 12:00:00 -05:00
fca2de665c
flashing with dfu-util
2020-12-08 11:07:48 -05:00
ffcc3f661b
README: add pid units
2020-12-07 23:18:44 +01:00
5e8bf0e765
README: add Debugging and Flashing
...
Fixes Gitea issue #10
2020-12-07 00:22:00 +01:00
af0d78237f
Clarify purpose of GND pin adjacent to TECn+/-.
2020-12-06 15:11:42 +08:00
150d6c2f87
README: use frontpanel LED names
2020-10-12 00:26:49 +02:00
aee279b579
README: doc
2020-10-11 21:50:36 +02:00
1939490410
README: fix syntax
2020-10-11 21:09:15 +02:00
2e9d22cf47
README: doc
2020-10-11 21:08:02 +02:00
f12214a4df
README: doc usb
2020-10-11 01:59:39 +02:00
59103cb2a1
add support for ipv4 address reconfiguration
2020-10-01 01:34:46 +02:00
5acebbef9f
pytec: doc set_param
2020-10-01 00:35:16 +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
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
fc0ca8b581
calculate i_set current
2020-09-16 22:22:48 +02:00
8c80062da8
use proper units for pwm pins
2020-09-16 22:06:15 +02:00
ec6aa03dc3
set pwm values as ratio 0..1
2020-05-27 20:38:57 +02:00
9682d7657d
README: update title
2020-04-09 13:16:30 +08:00
5faf64eae8
README: link CI, more instructions
2020-03-23 23:42:22 +01:00
cfea205e06
README: init
2020-03-23 23:03:58 +01:00
59ad66ace4
remove nix files (will be implemented in nix-scripts) and README (outdated)
2019-05-31 17:35:47 +08:00
7413d3d012
add README
2019-03-21 17:56:06 +01:00