Commit Graph

23 Commits

Author SHA1 Message Date
Andrey G cddcd0d88c
Multichannel (#134)
* Multichannel AFR

* heater: fixes for multi channel mode

* f1_dual: fix configuration names

* pump_dac: fixes for multi-channel mode

* pwm: fixes for multichannel mode

* pump_control: reference instead of pointer

* sampling: reference instead of pointer

* heater_control: reference instead of pointer

* sampling: comment about heater/battery voltage

* f0_module: fixes for multi-channel update

* f1_rev2: fix for multichannel AFR

* hello rev 3

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-08-29 17:19:30 -07:00
Andrey G 63ef4b7a10
TS more and more (#123)
* TunerStudio: simplify enable magic

* TS integration: livedata, FragmentEntry

* f1_dual: reorder TS hooks

* f1_rev2: dummy settings for TS

* f1_rev2: TS signature

* f1_rev2: TS ini file

* Integrate with TS interface

* livedata: access adapters, no extern, make livedata static

* FragmentEntry: no FragmentEntry()

* livedata: struct not needed
2022-07-18 12:31:09 -07:00
Matthew Kennedy 6135464dc8
use libfirmware for crc, table lookup (#121)
* use libfirmware for crc

* kick

* bootloader

* bootloader

* use shared interpolate2d

* cleanup
2022-07-16 19:08:45 -07:00
rusefillc 1b0145d104
GD32: ADC workaround (#83)
(cherry picked from commit 02fd9f248189e3e801b50c920e1166daa23283bc)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-06-29 12:14:08 -07:00
rusefillc e34094e13d
Prepare for multi-channel boards (#72)
* Prepare for multi-channel boards

(cherry picked from commit 8b713cebfc)

* this belongs in wideband_board_config.h they say

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-06-24 14:51:22 -07:00
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