aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-06-01"SOS" is treated as one "letter" in Morse code... it's not three lettersSelene ToyKeeper1-1/+2
(so, don't put the normal inter-letter gap between)
2020-06-01K1-SBT90.2 doesn't need party strobe slowed downSelene ToyKeeper1-1/+5
2020-05-14fixed compile error when all strobe modes are disabledSelene ToyKeeper1-0/+6
2020-05-14gave Werner's UI a simple MakefileSelene ToyKeeper1-0/+7
2020-05-14fixed builds of Werner's UI on targets which had been failing (Noctigon K1, ↵Selene ToyKeeper2-3/+10
BLF LT1 Lantern, and all attiny1634 targets)
2020-05-14fixed eeprom_wl functions on attiny1634Selene ToyKeeper1-10/+10
(didn't build before, due to a data type mismatch)
2020-05-14fixed build of "momentary" example UISelene ToyKeeper2-2/+1
2020-05-14fixed build when USE_GOODNIGHT_MODE not enabledSelene ToyKeeper1-0/+14
2020-04-28added config which matches the spec for K1-SBT90.2, but it's not tested ↵Selene ToyKeeper1-0/+57
(there's no hardware to test on)
2020-04-27calibrated K1 and K1-12V thermal response (smaller, slower) and candle mode ↵Selene ToyKeeper2-2/+16
(wobblier), and gave K1-12V a lower moon mode
2020-04-27set default thermal response magnitude back to how it was before the KR4 ↵Selene ToyKeeper2-2/+3
updates, because it worked well on many hosts before...
2020-04-26applied ADC rewrite updates to most recent build targetsSelene ToyKeeper1-12/+0
2020-04-19added tweakable thermal_response_magnitude option, adjusted KR4 thermal ↵Selene ToyKeeper2-12/+12
vars, made KR4 rainbow mode faster
2020-04-19made thermal response larger when error is large, smaller when error is smallSelene ToyKeeper1-2/+8
(helps on KR4, but will probably need to add the response magnitude thing to adjust speed per build target)
2020-04-19KR4-noFET: made candle mode vary more since the ramp is stretched out, ↵Selene ToyKeeper1-2/+5
raised therm faster level
2020-04-19anduril: made aux RGB rainbow mode speed configurable per build targetSelene ToyKeeper1-1/+4
2020-04-13added a noFET build for D4v2, by requestSelene ToyKeeper2-1/+35
2020-04-13recalibrated timing of nice_delay_ms() based on strobe speed measurements...Selene ToyKeeper2-5/+5
gets very close to 24.2 Hz and 10.0 Hz for default strobe settings now
2020-03-28added a Noctigon KR4 219 (75% FET) build targetSelene ToyKeeper1-0/+11
2020-03-26Noctigon KR4 needed tighter/faster thermal response, and Hank wants RGB ↵Selene ToyKeeper1-1/+3
rainbow to be default instead of voltage mode.
2020-03-26made thermal regulation use a smaller target window, and prioritize cooling moreSelene ToyKeeper1-3/+3
2020-03-22apparently the D1 can also be purchased with a D4v2 driver... so it's ↵Selene ToyKeeper1-0/+17
basically a D1v2
2020-03-21added dynamic underclocking to KR4 to increase moon runtime, fixed ramp ↵Selene ToyKeeper2-15/+11
milestone levels
2020-03-21fixed potential eeprom corruption after turning boost/opamp chip on/offSelene ToyKeeper1-0/+16
(some boost chips can make power unstable for a few ms, so we have to wait before accessing eeprom)
2020-03-20enabled soft factory reset on KR4, raised default floor to the lowest ↵Selene ToyKeeper2-2/+4
reliable level (moon level 1 flickers or doesn't work at all on some hardware)
2020-03-20added reboot() support for tiny1634Selene ToyKeeper1-8/+10
2020-03-16removed more references to THERM_HARD_TURBO_DROPSelene ToyKeeper4-19/+0
2020-03-16removed old thermal junk and voltage_lowpass junk from cfg filesSelene ToyKeeper3-29/+0
2020-03-16fixed calc_voltage_divider() (use 10-bit calibration values, not 8-bit)Selene ToyKeeper1-1/+1
2020-03-16fixed a few things in ramping-ui, rampingiosv3, and werner's UISelene ToyKeeper3-14/+13
(just copied a few updates from anduril, particularly regarding FSM's "temperature" variable)
2020-03-16merged some misc fixes from pakutrai, cleaned up comments, removed unused ↵Selene ToyKeeper15-87/+18
symbols
2020-03-16increased blink speed slightly, and added a library function to blink out ↵Selene ToyKeeper1-3/+25
16-bit numbers
2020-03-16added FETless KR4 build target, calibrated other KR4 therm faster level betterSelene ToyKeeper2-2/+47
2020-03-16deleted commented-out WDT code from previous revisionSelene ToyKeeper1-7/+0
(had only saved it so there would be a note in history about why it's gone)
2020-03-16cleaned up WDT ADC timer code slightly, and removed a bit of redundant codeSelene ToyKeeper1-6/+8
2020-03-16reduced regulation jitter by biasing errors toward zero by a constant amount,Selene ToyKeeper1-1/+14
which mostly impacts small errors (and reduces jitter during the flat phase of regulation) while leaving large errors pretty much unaffected... also, made acceptable thermal window smaller to make up for this new extra tolerance
2020-03-15the ADC sample count doesn't need to be 16-bit any more, and isn't really a ↵Selene ToyKeeper2-3/+4
count any more... ... just a boolean flag for whether this is the first sample or a later sample (so I changed it and reduced the ROM size by ~28 bytes)
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 ↵Selene ToyKeeper1-27/+43
delay between warnings, so large warnings can remain frequent while small warnings are separated by more time, based on a cumulative error counter which must pass a threshold before the next warning is sent (this is producing good test results so far on D4v2 and D4Sv2)
2020-03-13tried to make thermal code a bit less twitchy...Selene ToyKeeper3-13/+19
it regulates really fast on D4, but once it's stable, the adjustments are too large
2020-03-06FET ramp was too steep; slowed it down by 50% (20 steps -> 30 steps)Selene ToyKeeper1-11/+10
2020-03-06KR4: added FET channel, measured output, calibrated rampSelene ToyKeeper1-2/+10
2020-03-05initial support for Noctigon KR4Selene ToyKeeper3-0/+76
(not complete, but far enough that it installs and runs) New hardware support features: - allow using PCINT other than 0 (PCINT1, PCINT2, etc) - option to ignore voltage ADC while the button is pressed (because my prototype shorts the voltage divider to 0 while the button is down)
2020-02-28went back to continuous lowpass because it had the best noise reductionSelene ToyKeeper2-52/+74
(also, now treating smoothed ADC values as 11-bit, with the lowest 5 bits chopped off to eliminate noise)
2020-02-27fixed eeprom corruption after turning boost chip on/offSelene ToyKeeper1-0/+16
(boost chip apparently makes power unstable for a few ms, so we have to wait before accessing eeprom)
2020-02-26K1 12V needs party strobe slowed down even moreSelene ToyKeeper1-1/+1
2020-02-25added support for boost PMIC enable pin (K1 12V has 2 pins which need to ↵Selene ToyKeeper1-0/+6
turn on/off for main LED output)
2020-02-25Added template files for Noctigon K1 12V model.Selene ToyKeeper1-0/+70
2020-02-05brute force method for reducing ADC noise -- average a ridiculous number of ↵Selene ToyKeeper2-20/+14
samples (because, for some reason, even though 64 samples is plenty in a test program, it ends up being extremely erratic when used inside Anduril... and I'm not sure why) also, use 15-bit ADC values instead of 16 bits, in the temperature logic (to help protect against integer overflows) ... but this code still doesn't work well. It regulates down *very* fast, and then gradually rises until the next extra-fast drop-down. :( ... also, tempcheck mode sometimes changes by 4-5 C between readouts, which is worrisome. ... and factory reset is still broken.
2020-02-05still doesn't work, but at least it's a bit less broken than before...Selene ToyKeeper1-8/+12
(ceiling value was all wrong, and the response magnitude was way too big) (also, temperatures here are unsigned, since freezing is about 270 in ADC units)