aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-adc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* fixed too-slow thermal response (was introduced in the irq-refactor branch)Selene ToyKeeper2019-12-171-5/+8
* 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
* 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
* 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
* Added thermal regulation to SpaghettiMonster / Baton.Selene ToyKeeper2017-08-231-4/+132
* Completely reorganized SpaghettiMonster code into smaller logical pieces: fsm...Selene ToyKeeper2017-08-191-0/+136