aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster (follow)
Commit message (Collapse)AuthorAgeFilesLines
* merged from fsm to get latest updatesSelene ToyKeeper2020-06-0114-40/+106
|\
| * "SOS" is treated as one "letter" in Morse code... it's not three lettersSelene ToyKeeper2020-06-011-1/+2
| | | | | | | | | | (so, don't put the normal inter-letter gap between)
| * fixed compile error when all strobe modes are disabledSelene ToyKeeper2020-05-141-0/+6
| |
| * gave Werner's UI a simple MakefileSelene ToyKeeper2020-05-141-0/+7
| |
| * fixed builds of Werner's UI on targets which had been failing (Noctigon K1, ↵Selene ToyKeeper2020-05-142-3/+10
| | | | | | | | BLF LT1 Lantern, and all attiny1634 targets)
| * fixed eeprom_wl functions on attiny1634Selene ToyKeeper2020-05-141-10/+10
| | | | | | | | | | (didn't build before, due to a data type mismatch)
| * fixed build of "momentary" example UISelene ToyKeeper2020-05-142-2/+1
| |
| * fixed build when USE_GOODNIGHT_MODE not enabledSelene ToyKeeper2020-05-141-0/+14
| |
| * merged Noctigon KR4 and K1-12V (XHP35) branchesSelene ToyKeeper2020-04-2711-22/+254
| |\ | | | | | | | | | | | | | | | | | | | | | | | | (also includes some minor thermal updates to make it faster, more stable, and easier to tweak per host) (and some code to prevent eeprom corruption while turning power chips on/off) (and enables reboot function on tiny1634) (and makes rainbow aux RGB mode speed configurable per host) (and calibrates the original K1 a bit better)
| * | added a noFET build for D4v2, by requestSelene ToyKeeper2020-04-132-1/+35
| | |
| * | recalibrated timing of nice_delay_ms() based on strobe speed measurements...Selene ToyKeeper2020-04-132-5/+5
| | | | | | | | | | | | gets very close to 24.2 Hz and 10.0 Hz for default strobe settings now
| * | apparently the D1 can also be purchased with a D4v2 driver... so it's ↵Selene ToyKeeper2020-03-221-0/+17
| | | | | | | | | | | | basically a D1v2
| * | merged fsm branch, mostly to get new ADC code (thermal regulation and ↵Selene ToyKeeper2020-03-1626-434/+359
| |\ \ | | | | | | | | | | | | voltage monitoring)
| | * | removed more references to THERM_HARD_TURBO_DROPSelene ToyKeeper2020-03-164-19/+0
| | | |
* | | | K1-SBT90.2 doesn't need party strobe slowed downSelene ToyKeeper2020-06-011-1/+5
| | | |
* | | | added config which matches the spec for K1-SBT90.2, but it's not tested ↵Selene ToyKeeper2020-04-281-0/+57
| |_|/ |/| | | | | | | | (there's no hardware to test on)
* | | calibrated K1 and K1-12V thermal response (smaller, slower) and candle mode ↵Selene ToyKeeper2020-04-272-2/+16
| | | | | | | | | | | | (wobblier), and gave K1-12V a lower moon mode
* | | set default thermal response magnitude back to how it was before the KR4 ↵Selene ToyKeeper2020-04-272-2/+3
| | | | | | | | | | | | updates, because it worked well on many hosts before...
* | | applied ADC rewrite updates to most recent build targetsSelene ToyKeeper2020-04-261-12/+0
| | |
* | | merged Noctigon KR4 branch, including recent ADC+thermal rewriteSelene ToyKeeper2020-04-2628-420/+501
|\ \ \
| * | | added tweakable thermal_response_magnitude option, adjusted KR4 thermal ↵Selene ToyKeeper2020-04-192-12/+12
| | | | | | | | | | | | | | | | vars, made KR4 rainbow mode faster
| * | | made thermal response larger when error is large, smaller when error is smallSelene ToyKeeper2020-04-191-2/+8
| | | | | | | | | | | | | | | | | | | | (helps on KR4, but will probably need to add the response magnitude thing to adjust speed per build target)
| * | | KR4-noFET: made candle mode vary more since the ramp is stretched out, ↵Selene ToyKeeper2020-04-191-2/+5
| | | | | | | | | | | | | | | | raised therm faster level
| * | | anduril: made aux RGB rainbow mode speed configurable per build targetSelene ToyKeeper2020-04-191-1/+4
| | | |
| * | | added a Noctigon KR4 219 (75% FET) build targetSelene ToyKeeper2020-03-281-0/+11
| | | |
| * | | Noctigon KR4 needed tighter/faster thermal response, and Hank wants RGB ↵Selene ToyKeeper2020-03-261-1/+3
| | | | | | | | | | | | | | | | rainbow to be default instead of voltage mode.
| * | | made thermal regulation use a smaller target window, and prioritize cooling moreSelene ToyKeeper2020-03-261-3/+3
| | | |
| * | | added dynamic underclocking to KR4 to increase moon runtime, fixed ramp ↵Selene ToyKeeper2020-03-212-15/+11
| | | | | | | | | | | | | | | | milestone levels
| * | | fixed potential eeprom corruption after turning boost/opamp chip on/offSelene ToyKeeper2020-03-211-0/+16
| | | | | | | | | | | | | | | | | | | | (some boost chips can make power unstable for a few ms, so we have to wait before accessing eeprom)
| * | | enabled soft factory reset on KR4, raised default floor to the lowest ↵Selene ToyKeeper2020-03-202-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | reliable level (moon level 1 flickers or doesn't work at all on some hardware)
| * | | added reboot() support for tiny1634Selene ToyKeeper2020-03-201-8/+10
| | | |
| * | | removed old thermal junk and voltage_lowpass junk from cfg filesSelene ToyKeeper2020-03-163-29/+0
| | | |
| * | | 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-1623-401/+358
| |\ \ \ | | | |/ | | |/|
| | * | merged adc-rework branch, which rewrote all ADC code (voltage, temperature, ↵Selene ToyKeeper2020-03-1622-399/+356
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and everything touched by those) and seems to greatly improve the thermal regulation
| | | * | fixed a few things in ramping-ui, rampingiosv3, and werner's UISelene ToyKeeper2020-03-163-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | (just copied a few updates from anduril, particularly regarding FSM's "temperature" variable)
| | | * | merged some misc fixes from pakutrai, cleaned up comments, removed unused ↵Selene ToyKeeper2020-03-1615-87/+18
| | | | | | | | | | | | | | | | | | | | symbols
| | | * | increased blink speed slightly, and added a library function to blink out ↵Selene ToyKeeper2020-03-161-3/+25
| | | | | | | | | | | | | | | | | | | | 16-bit numbers
| | | * | deleted commented-out WDT code from previous revisionSelene ToyKeeper2020-03-161-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | (had only saved it so there would be a note in history about why it's gone)
| | | * | cleaned up WDT ADC timer code slightly, and removed a bit of redundant codeSelene ToyKeeper2020-03-161-6/+8
| | | | |
| | | * | reduced regulation jitter by biasing errors toward zero by a constant amount,Selene ToyKeeper2020-03-161-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
| | | * | the ADC sample count doesn't need to be 16-bit any more, and isn't really a ↵Selene ToyKeeper2020-03-152-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)
| | | * | removed dead comments and dead codeSelene ToyKeeper2020-03-151-28/+2
| | | | |
| | | * | replaced temperature_timer (which wasn't even being used) with a variable ↵Selene ToyKeeper2020-03-151-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)
| | | * | tried to make thermal code a bit less twitchy...Selene ToyKeeper2020-03-133-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | it regulates really fast on D4, but once it's stable, the adjustments are too large
| | | * | went back to continuous lowpass because it had the best noise reductionSelene ToyKeeper2020-02-282-52/+74
| | | | | | | | | | | | | | | | | | | | | | | | | (also, now treating smoothed ADC values as 11-bit, with the lowest 5 bits chopped off to eliminate noise)
| | | * | brute force method for reducing ADC noise -- average a ridiculous number of ↵Selene ToyKeeper2020-02-052-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.
| | | * | still doesn't work, but at least it's a bit less broken than before...Selene ToyKeeper2020-02-051-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)
| | | * | first pass at a smaller simpler thermal regulation algorithm...Selene ToyKeeper2020-02-051-75/+52
| | | | | | | | | | | | | | | | | | | | ... doesn't work well, but I'm saving it so I can experiment with other methods and maybe revert back later.
| | | * | replaced Anduril's gradual adjustment speed code with a smaller simpler versionSelene ToyKeeper2020-02-051-43/+17
| | | | |