aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-adc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* | remapped D1S V2 pins to match new driverSelene ToyKeeper2019-09-281-2/+2
* | merged a sanitized copy of the Emisar D4v2 branch; history summarized below:Selene ToyKeeper2019-07-261-29/+108
|/
* Rewrote thermal regulation. Seems to be much more stable now... doesn't boun...Selene ToyKeeper2019-05-221-71/+40
* removed redundant clock speed lines, updated some commentsSelene ToyKeeper2019-01-031-1/+1
* Moved pseudo_rand() into its own header, and made it gather entropy from ADC ...Selene ToyKeeper2018-06-231-0/+5
* Made voltage ADC readings work on pin7 if USE_VOLTAGE_DIVIDER is defined.Selene ToyKeeper2018-05-011-9/+39
* FSM: added ability to adjust temperature calibration in UI (lower-case therm_...Selene ToyKeeper2018-01-241-1/+1
* Work around issues related to ADC interrupt auto-triggering itself.Selene ToyKeeper2018-01-241-8/+17
* Updated more temperature bits to be 14.1 instead of 13.2.Selene ToyKeeper2017-10-061-3/+3
* Slightly increased resolution of VOLTAGE_FUDGE_FACTOR.Selene ToyKeeper2017-09-221-1/+2
* Adjusted thermal regulation based on results of some handheld runtime tests.Selene ToyKeeper2017-09-101-2/+2
* Made thermal regulation slightly more prediction-heavy, less noisy at stable ...Selene ToyKeeper2017-09-101-8/+11
* Reworked thermal regulation.Selene ToyKeeper2017-09-091-31/+54
* Started a Meteor M43 clone UI.Selene ToyKeeper2017-08-311-0/+5
* Avoid suspending at weird times by deferring the call to standby mode.Selene ToyKeeper2017-08-261-0/+4
* Made 4bar and 8bar battcheck styles work.Selene ToyKeeper2017-08-251-2/+3
* Added battcheck mode to ramping-ui. It's bigger than I had hoped. :(Selene ToyKeeper2017-08-251-0/+24
* Don't send underheat warnings when LVP is active. The signals conflict.Selene ToyKeeper2017-08-241-5/+5
* Added a ramping UI example.Selene ToyKeeper2017-08-241-0/+2