aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-adc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Partially fixed oscillating aux LED voltage colors while asleep.Selene ToyKeeper2023-07-081-9/+14
* Fixed spurious voltage warnings in attiny1616 sleep mode. Fixed by SammysHP.Selene ToyKeeper2023-07-081-9/+7
* made sleep voltage work on attiny1616 againSelene ToyKeeper2023-04-261-0/+25
* fixed bug behind K93_LOCKOUT_KLUDGE which could exit lockout in solid aux modeSelene ToyKeeper2023-04-251-0/+2
* switched the rest of FSM + Anduril to use SPDX license headersSelene ToyKeeper2023-04-171-22/+5
* reduced ROM by ~600 bytes by moving all eeprom config values to a "cfg" structSelene ToyKeeper2023-04-161-7/+7
* just whitespace / commentsSelene ToyKeeper2023-03-281-1/+1
* fixed voltage calibration resolution on SP10 ProSelene ToyKeeper2022-10-211-2/+2
* added a compile option for USE_LOWPASS_WHILE_ASLEEP,Selene ToyKeeper2021-12-081-2/+20
* Add Sofirn SP10S (adapter) and dual-voltage logicGabriel Hart2021-01-121-0/+4
* Add AVR 1-Series and t1616 board and scriptsGabriel Hart2020-12-181-1/+52
* merged fsm branch, mostly to get Lume1 driver supportSelene ToyKeeper2020-10-181-0/+14
|\
| * added support for external thermal sensors in fsm-adc.cSelene ToyKeeper2020-09-071-0/+14
* | merged upstream fsm branch to get fix for laggy voltage readings on FW3ASelene ToyKeeper2020-09-141-5/+4
|\|
| * attempt to fix laggy voltage readings right after waking, on FW3ASelene ToyKeeper2020-08-231-5/+4
* | added a voltage calibration / correction function, 7C from battcheck to confi...Selene ToyKeeper2020-07-311-2/+12
|/
* set default thermal response magnitude back to how it was before the KR4 upda...Selene ToyKeeper2020-04-271-1/+1
* added tweakable thermal_response_magnitude option, adjusted KR4 thermal vars,...Selene ToyKeeper2020-04-191-10/+10
* made thermal response larger when error is large, smaller when error is smallSelene ToyKeeper2020-04-191-2/+8
* made thermal regulation use a smaller target window, and prioritize cooling moreSelene ToyKeeper2020-03-261-3/+3
* fixed calc_voltage_divider() (use 10-bit calibration values, not 8-bit)Selene ToyKeeper2020-03-161-1/+1
* merged fsm branch (to get adc-rework branch with new thermal regulation)Selene ToyKeeper2020-03-161-243/+253
|\
| * merged some misc fixes from pakutrai, cleaned up comments, removed unused sym...Selene ToyKeeper2020-03-161-2/+3
| * reduced regulation jitter by biasing errors toward zero by a constant amount,Selene ToyKeeper2020-03-161-1/+14
| * the ADC sample count doesn't need to be 16-bit any more, and isn't really a c...Selene ToyKeeper2020-03-151-2/+3
| * removed dead comments and dead codeSelene ToyKeeper2020-03-151-28/+2
| * replaced temperature_timer (which wasn't even being used) with a variable del...Selene ToyKeeper2020-03-151-27/+43
| * tried to make thermal code a bit less twitchy...Selene ToyKeeper2020-03-131-7/+10
| * went back to continuous lowpass because it had the best noise reductionSelene ToyKeeper2020-02-281-51/+73
| * brute force method for reducing ADC noise -- average a ridiculous number of s...Selene ToyKeeper2020-02-051-19/+13
| * still doesn't work, but at least it's a bit less broken than before...Selene ToyKeeper2020-02-051-8/+12
| * first pass at a smaller simpler thermal regulation algorithm...Selene ToyKeeper2020-02-051-75/+52
| * saving state of ADC / WDT refactoring before doing more changes... what chan...Selene ToyKeeper2020-01-301-69/+38
| * switched to a pseudo-rolling-average method to reduce noise, set prescaler ba...Selene ToyKeeper2020-01-301-8/+13
| * increased effective ADC resolution by switching from continuous-lowpass to su...Selene ToyKeeper2020-01-291-64/+43
| * remove truncation noise by adding 0.5 to each resultSelene ToyKeeper2020-01-291-24/+22
| * rewrote ADC code to use a continuous lowpass system on all measurements, to e...Selene ToyKeeper2020-01-291-121/+175
* | initial support for Noctigon KR4Selene ToyKeeper2020-03-051-0/+6
* | merged from fsm, mostly to get thermal regulation updatesSelene ToyKeeper2019-12-171-5/+8
|\|
| * fixed too-slow thermal response (was introduced in the irq-refactor branch)Selene ToyKeeper2019-12-171-5/+8
* | calibrated Noctigon K1, changed voltage divider calibration values to 10-bit ...Selene ToyKeeper2019-11-251-1/+1
* | merged more updates from fsm / irq-refactor branches, finishing up previous c...Selene ToyKeeper2019-11-201-9/+9
|\|
| * reduced build size by a few bytesSelene ToyKeeper2019-11-191-1/+1
| * fixed ADC cycles running 2X as fast as intendedSelene ToyKeeper2019-11-191-8/+8
* | merged fsm updates / irq-refactor branch, to get more stable voltage readingsSelene ToyKeeper2019-11-141-224/+244
|\|
| * added a lowpass filter for battery voltage measurementsSelene ToyKeeper2019-11-141-37/+22
| * fixed ADC code; measures and behaves correctly now, and is easier to read...Selene ToyKeeper2019-11-141-39/+37
| * started refactoring ADC code to split voltage and temperature into their own ...Selene ToyKeeper2019-11-141-210/+222
| * refactored how interrupts work...Selene ToyKeeper2019-11-141-10/+35
| * merged a sanitized copy of the Emisar D4v2 branch; history summarized below:Selene ToyKeeper2019-08-051-29/+108