Commit Graph

18 Commits

Author SHA1 Message Date
Matthew Kennedy 62f5b9e7ae clamp temperature estimation 2022-05-18 23:45:42 -07:00
Andrey G d3e460a9a6
Uart debug (#64)
* heater: export state and description

* pump_dac: save and export Ipump

* float interpolation helpers

* Show heater state, heater duty, temperature and fault over uart

* uart: more stack for thread
2022-05-11 01:41:07 -07:00
rusefillc b9b94fcadc
Temperature (#63)
* integer id interpolation

* Calculate sensor temperature based on Ri

* Sensor Ri around 25C

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-05-07 11:12:20 -07:00
Matthew Kennedy dc077caff1 api to get internal battery voltage 2022-04-06 01:08:40 -07:00
rusefillc b1372e47f6
Extract io (#25)
* LEDs for BL

* more reuse

* Windows exists

* extract NERNST pin

* Matt is asking to move

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2021-11-07 22:52:13 -08:00
Matthew Kennedy 6238eed3e3 filter esr 2021-06-03 20:50:39 -07:00
Matthew Kennedy d878252b48 move adc to port 2021-02-25 22:39:51 -08:00
Matthew Kennedy cf106b6555 slightly lower noise 2021-01-19 00:24:47 -08:00
Matthew Kennedy 89906fddf3 correct for resistor 2021-01-17 03:31:44 -08:00
Matthew Kennedy 2d5d6a0026 filter pump output 2020-12-15 14:41:09 -08:00
Matthew Kennedy db855532c7 filter less 2020-12-11 02:04:23 -08:00
Matthew Kennedy d89cda413b sense actual Vm value 2020-12-11 00:25:50 -08:00
Matthew Kennedy 2d483cc586 fix nernst 2020-12-10 18:06:50 -08:00
Matthew Kennedy 453a4c4337 add IsRunningClosedLoop 2020-10-31 14:54:50 -07:00
Matthew Kennedy 1e22402d88 consolidate magic numbers 2020-10-30 02:03:12 -07:00
Matthew Kennedy e946b5ba71 add drawing 2020-10-29 17:22:18 -07:00
Matthew Kennedy 8e34dca1c2 comments 2020-10-29 03:11:48 -07:00
Matthew Kennedy fbc6430aba implement sampling math 2020-10-29 02:55:55 -07:00