aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-adc.c (unfollow)
Commit message (Expand)AuthorFilesLines
2020-04-27set default thermal response magnitude back to how it was before the KR4 upda...Selene ToyKeeper1-1/+1
2020-04-19added tweakable thermal_response_magnitude option, adjusted KR4 thermal vars,...Selene ToyKeeper1-10/+10
2020-04-19made thermal response larger when error is large, smaller when error is smallSelene ToyKeeper1-2/+8
2020-03-26made thermal regulation use a smaller target window, and prioritize cooling moreSelene ToyKeeper1-3/+3
2020-03-16fixed calc_voltage_divider() (use 10-bit calibration values, not 8-bit)Selene ToyKeeper1-1/+1
2020-03-16merged some misc fixes from pakutrai, cleaned up comments, removed unused sym...Selene ToyKeeper1-2/+3
2020-03-16reduced regulation jitter by biasing errors toward zero by a constant amount,Selene ToyKeeper1-1/+14
2020-03-15the ADC sample count doesn't need to be 16-bit any more, and isn't really a c...Selene ToyKeeper1-2/+3
2020-03-15removed dead comments and dead codeSelene ToyKeeper1-28/+2
2020-03-15replaced temperature_timer (which wasn't even being used) with a variable del...Selene ToyKeeper1-27/+43
2020-03-13tried to make thermal code a bit less twitchy...Selene ToyKeeper1-7/+10
2020-03-05initial support for Noctigon KR4Selene ToyKeeper1-0/+6
2020-02-28went back to continuous lowpass because it had the best noise reductionSelene ToyKeeper1-51/+73
2020-02-05brute force method for reducing ADC noise -- average a ridiculous number of s...Selene ToyKeeper1-19/+13
2020-02-05still doesn't work, but at least it's a bit less broken than before...Selene ToyKeeper1-8/+12
2020-02-05first pass at a smaller simpler thermal regulation algorithm...Selene ToyKeeper1-75/+52
2020-01-30saving state of ADC / WDT refactoring before doing more changes... what chan...Selene ToyKeeper1-69/+38
2020-01-30switched to a pseudo-rolling-average method to reduce noise, set prescaler ba...Selene ToyKeeper1-8/+13
2020-01-29increased effective ADC resolution by switching from continuous-lowpass to su...Selene ToyKeeper1-64/+43
2020-01-29remove truncation noise by adding 0.5 to each resultSelene ToyKeeper1-24/+22
2020-01-29rewrote ADC code to use a continuous lowpass system on all measurements, to e...Selene ToyKeeper1-121/+175
2019-12-17fixed too-slow thermal response (was introduced in the irq-refactor branch)Selene ToyKeeper1-5/+8
2019-11-25calibrated Noctigon K1, changed voltage divider calibration values to 10-bit ...Selene ToyKeeper1-1/+1
2019-11-19reduced build size by a few bytesSelene ToyKeeper1-1/+1
2019-11-19fixed ADC cycles running 2X as fast as intendedSelene ToyKeeper1-8/+8
2019-11-14added a lowpass filter for battery voltage measurementsSelene ToyKeeper1-37/+22
2019-11-14fixed ADC code; measures and behaves correctly now, and is easier to read...Selene ToyKeeper1-39/+37
2019-11-14started refactoring ADC code to split voltage and temperature into their own ...Selene ToyKeeper1-210/+222
2019-11-14refactored how interrupts work...Selene ToyKeeper1-10/+35
2019-09-28remapped D1S V2 pins to match new driverSelene ToyKeeper1-2/+2
2019-08-05merged a sanitized copy of the Emisar D4v2 branch; history summarized below:Selene ToyKeeper1-29/+108
2019-07-26merged a sanitized copy of the Emisar D4v2 branch; history summarized below:Selene ToyKeeper1-29/+108
2019-05-22Rewrote thermal regulation. Seems to be much more stable now... doesn't boun...Selene ToyKeeper1-71/+40
2019-01-03removed redundant clock speed lines, updated some commentsSelene ToyKeeper1-1/+1
2018-06-23Moved pseudo_rand() into its own header, and made it gather entropy from ADC ...Selene ToyKeeper1-0/+5
2018-05-01Made voltage ADC readings work on pin7 if USE_VOLTAGE_DIVIDER is defined.Selene ToyKeeper1-9/+39
2018-01-24FSM: added ability to adjust temperature calibration in UI (lower-case therm_...Selene ToyKeeper1-1/+1
2018-01-24Work around issues related to ADC interrupt auto-triggering itself.Selene ToyKeeper1-8/+17
2017-10-06Updated more temperature bits to be 14.1 instead of 13.2.Selene ToyKeeper1-3/+3
2017-09-22Slightly increased resolution of VOLTAGE_FUDGE_FACTOR.Selene ToyKeeper1-1/+2
2017-09-10Adjusted thermal regulation based on results of some handheld runtime tests.Selene ToyKeeper1-2/+2
2017-09-10Made thermal regulation slightly more prediction-heavy, less noisy at stable ...Selene ToyKeeper1-8/+11
2017-09-09Reworked thermal regulation.Selene ToyKeeper1-31/+54
2017-08-31Started a Meteor M43 clone UI.Selene ToyKeeper1-0/+5
2017-08-26Avoid suspending at weird times by deferring the call to standby mode.Selene ToyKeeper1-0/+4
2017-08-25Made 4bar and 8bar battcheck styles work.Selene ToyKeeper1-2/+3
2017-08-25Added battcheck mode to ramping-ui. It's bigger than I had hoped. :(Selene ToyKeeper1-0/+24
2017-08-24Don't send underheat warnings when LVP is active. The signals conflict.Selene ToyKeeper1-5/+5
2017-08-24Added a ramping UI example.Selene ToyKeeper1-0/+2
2017-08-23Added thermal regulation to SpaghettiMonster / Baton.Selene ToyKeeper1-4/+132