| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | | | * | | increased effective ADC resolution by switching from continuous-lowpass to ↵ | Selene ToyKeeper | 2020-01-29 | 1 | -64/+43 | |
| | | | | | | | | | | | | | | | | | | | | | sum-of-discrete-window method | |||||
| | | | * | | remove truncation noise by adding 0.5 to each result | Selene ToyKeeper | 2020-01-29 | 1 | -24/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | (keeps stable values within ~0.46 to ~0.54 range, so truncated result has no noise) | |||||
| | | | * | | rewrote ADC code to use a continuous lowpass system on all measurements, to ↵ | Selene ToyKeeper | 2020-01-29 | 5 | -130/+194 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eliminate noise and maybe increase precision (thermal code still needs to be rewritten though) | |||||
| | | * | | | mention the maximum allowed temperature in the manual | Selene ToyKeeper | 2020-02-03 | 1 | -1/+1 | |
| | | |/ / | ||||||
| | * | | | added FETless KR4 build target, calibrated other KR4 therm faster level better | Selene ToyKeeper | 2020-03-16 | 2 | -2/+47 | |
| | | | | | ||||||
| | * | | | FET ramp was too steep; slowed it down by 50% (20 steps -> 30 steps) | Selene ToyKeeper | 2020-03-06 | 1 | -11/+10 | |
| | | | | | ||||||
| | * | | | KR4: added FET channel, measured output, calibrated ramp | Selene ToyKeeper | 2020-03-06 | 1 | -2/+10 | |
| | | | | | ||||||
| | * | | | initial support for Noctigon KR4 | Selene ToyKeeper | 2020-03-05 | 3 | -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) | |||||
| * | | | fixed eeprom corruption after turning boost chip on/off | Selene ToyKeeper | 2020-02-27 | 1 | -0/+16 | |
| | | | | | | | | | | | | | | | | (boost chip apparently makes power unstable for a few ms, so we have to wait before accessing eeprom) | |||||
| * | | | K1 12V needs party strobe slowed down even more | Selene ToyKeeper | 2020-02-26 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | added support for boost PMIC enable pin (K1 12V has 2 pins which need to ↵ | Selene ToyKeeper | 2020-02-25 | 1 | -0/+6 | |
| | | | | | | | | | | | | | turn on/off for main LED output) | |||||
| * | | | Added template files for Noctigon K1 12V model. | Selene ToyKeeper | 2020-02-25 | 1 | -0/+70 | |
| |/ / | ||||||
| * | | merged from fsm, mostly to get thermal regulation updates | Selene ToyKeeper | 2019-12-17 | 7 | -9/+187 | |
| |\| | ||||||
| | * | fixed too-slow thermal response (was introduced in the irq-refactor branch) | Selene ToyKeeper | 2019-12-17 | 1 | -5/+8 | |
| | | | ||||||
| | * | added support for Fireflies ROT66 G2 and PL47 G2 | Selene ToyKeeper | 2019-12-11 | 2 | -0/+109 | |
| | | | ||||||
| | * | added a compile-time flag to enable/disable momentary mode (suggested by Agro) | Selene ToyKeeper | 2019-12-04 | 1 | -1/+18 | |
| | | | ||||||
| | * | fixed compile errors to handle a couple USE_ flags better: | Selene ToyKeeper | 2019-12-04 | 1 | -2/+8 | |
| | | | | | | | | | | | | | - beacon mode off (suggested by Agro) - tenclick shortcut on with thermal regulation off | |||||
| | * | added a FW3A build with the FET turned off completely | Selene ToyKeeper | 2019-12-03 | 1 | -0/+36 | |
| | | | ||||||
| | * | adjusted lantern tint ramping power correction again, based on measurements ↵ | Selene ToyKeeper | 2019-12-03 | 1 | -1/+1 | |
| | | | | | | | | | of the previous attempt | |||||
| | * | adjusted BLF Lantern (Sofirn LT1) tint ramping power correction factor to ↵ | Selene ToyKeeper | 2019-11-29 | 2 | -1/+8 | |
| | | | | | | | | | | | | | | | match production units (also made the factor configurable per build target) | |||||
| * | | changed voltage colors to better match Noctigon K1 | Selene ToyKeeper | 2019-11-28 | 2 | -5/+5 | |
| | | | ||||||
| * | | renamed Emisar D1S V2 -> Noctigon K1 | Selene ToyKeeper | 2019-11-25 | 1 | -3/+4 | |
| | | | ||||||
| * | | merged upstream fsm branch | Selene ToyKeeper | 2019-11-25 | 9 | -28/+64 | |
| |\| | ||||||
| | * | enabled muggle mode again in all build targets, since it fits now | Selene ToyKeeper | 2019-11-24 | 4 | -23/+0 | |
| | | | ||||||
| | * | merged from upstream fsm branch to get a whole bunch of kernel-level ↵ | Selene ToyKeeper | 2019-11-24 | 19 | -317/+443 | |
| | |\ | | | | | | | | | | improvements | |||||
| | * \ | merged changes from fsm branch, including version check and stuck-button safety | Selene ToyKeeper | 2019-10-15 | 13 | -53/+391 | |
| | |\ \ | ||||||
| | * | | | slowed down rainbow RGB mode, added a ramp-down on stuck-button for safety ↵ | Selene ToyKeeper | 2019-09-07 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | purposes | |||||
| | * | | | added button LED support to D4v2 | Selene ToyKeeper | 2019-09-06 | 5 | -5/+64 | |
| | | | | | | | | | | | | | | | | | | | | | (in a way which doesn't break backward compatibility... ... but it really needs some refactoring to reduce code duplication) | |||||
| * | | | | increased Noctigon K1's default temperature limit to 55 C | Selene ToyKeeper | 2019-11-25 | 1 | -0/+4 | |
| | | | | | ||||||
| * | | | | calibrated Noctigon K1, changed voltage divider calibration values to 10-bit ↵ | Selene ToyKeeper | 2019-11-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | (was 8-bit before) | |||||
| * | | | | made the button LED turn off in momentary mode, instead of staying on forever | Selene ToyKeeper | 2019-11-20 | 1 | -2/+7 | |
| | | | | | ||||||
| * | | | | merged more updates from fsm / irq-refactor branches, finishing up previous ↵ | Selene ToyKeeper | 2019-11-20 | 9 | -59/+98 | |
| |\ \ \ \ | | |_|/ | |/| | | | | | | changes | |||||
| | * | | | merged tiny fix from irq-refactor branch (fixed spurious wakeup) | Selene ToyKeeper | 2019-11-20 | 1 | -2/+2 | |
| | |\ \ \ | ||||||
| | | * | | | fixed unintentional wakeup right after going to sleep | Selene ToyKeeper | 2019-11-20 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | (by enabling the PCINT slightly sooner, before setting its "handled" flag) | |||||
| | * | | | | merged irq-refactor branch, which fixes some small but long-standing issues: | Selene ToyKeeper | 2019-11-19 | 16 | -310/+399 | |
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixed occasional short/aborted frames in aux LED sleep animation - fixed rare case of bogus voltage and/or temperature values - fixed issue where nice_delay_ms() didn't work in setup() - fixed theoretical possibility of extra-noisy buttons causing a hang - fixed reboot loop which happened after any crashes - fixed issue where button press in sleep mode could occasionally crash (but the issue may have been created by this branch before being fixed by it) - reduced occasional missed button events while asleep (still seems to happen but not nearly as much) Also does some other things: - cleans up the ADC code significantly - cleans up the WDT code - adds a voltage stabilizer/lowpass option (enabled on t1634 builds) - greatly reduces time spent per interrupt, which might make a future PWM-DSM technique possible - moves most interrupt-handling logic to a non-critical code path, deferring that code until timing doesn't matter as much - sped up button state measurements - very slightly reduces power used in sleep mode | |||||
| | | * | | | Mateminco MF01S can fit muggle mode again, barely | Selene ToyKeeper | 2019-11-19 | 1 | -3/+3 | |
| | | | | | | ||||||
| | | * | | | reduced build size by a few bytes | Selene ToyKeeper | 2019-11-19 | 2 | -3/+3 | |
| | | | | | | ||||||
| | | * | | | the Q8 can just barely fit muggle mode again | Selene ToyKeeper | 2019-11-19 | 1 | -3/+3 | |
| | | | | | | ||||||
| | | * | | | enabled prevent_reboot_loop() on all builds, to reduce the impact of any ↵ | Selene ToyKeeper | 2019-11-19 | 1 | -5/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | potential crashes (even though I just fixed the only known bug which could trigger an unintentional reboot) | |||||
| | | * | | | fixed ADC cycles running 2X as fast as intended | Selene ToyKeeper | 2019-11-19 | 1 | -8/+8 | |
| | | | | | | ||||||
| | | * | | | cleaned up WDT code a bit, reduced total size, | Selene ToyKeeper | 2019-11-19 | 2 | -29/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed bug where ticks_since_last could have the wrong value sometimes, reduced power use in sleep mode very slightly by skipping button-handling code while asleep | |||||
| | | * | | | fixed issue where button-press-during-sleep could occasionally cause a reboot | Selene ToyKeeper | 2019-11-18 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | (by turning off PCINT when the light is awake) | |||||
| | * | | | | added SOS mode to the BLF LT1 Lantern build, because people wanted it | Selene ToyKeeper | 2019-11-18 | 2 | -7/+44 | |
| | | | | | | ||||||
| * | | | | | merged fsm updates / irq-refactor branch, to get more stable voltage readings | Selene ToyKeeper | 2019-11-14 | 22 | -268/+440 | |
| |\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | (and otherwise get recent bugfixes) | |||||
| | * | | | | turned off muggle mode on Q8 and MF01S, to make builds small enough again | Selene ToyKeeper | 2019-11-14 | 2 | -0/+11 | |
| | | | | | | ||||||
| | * | | | | oops, put voltage lowpass on the wrong D4S | Selene ToyKeeper | 2019-11-14 | 2 | -3/+4 | |
| | | | | | | ||||||
| | * | | | | added a lowpass filter for battery voltage measurements | Selene ToyKeeper | 2019-11-14 | 3 | -37/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | (but only on attiny1634 devices, since it costs a bit of space and isn't strictly necessary) | |||||
| | * | | | | fixed factory reset (wasn't running interrupt logic since it's deferred now) | Selene ToyKeeper | 2019-11-14 | 3 | -12/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (also fixed issue where nice_delay_ms() was aborted during setup()) (and adjusted the timing to make factory reset similar to the speed it was before this change) | |||||
| | * | | | | fixed ADC code; measures and behaves correctly now, and is easier to read... | Selene ToyKeeper | 2019-11-14 | 3 | -41/+41 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... but factory reset's auto-calibrate still doesn't get the right values for some reason (manual calibration works, but not auto) | |||||
| | * | | | | started refactoring ADC code to split voltage and temperature into their own ↵ | Selene ToyKeeper | 2019-11-14 | 2 | -212/+226 | |
| | | | | | | | | | | | | | | | | | | | | | functions | |||||
