| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2021-11-13 | increased SP10 PWM speed as much as possible without making ramp bumpy, and ↵ | Selene ToyKeeper | 3 | -5/+13 | |
| made party strobe pulses much faster Reduced max PWM TOP to 3072, because 2048 wasn't enough and 4096 was more than necessary. Also, Ch1 lumens / 256 / ch2 lumens = 6, so 256 * 6 * 2 is the lowest value which allows ch1 to start at half of ch2's power. I tried 1536 initially, but it made the ramp visibly malformed at the channel boundary. However, 3072 seems about right. Implemented a non-linear PWM_TOP ramp-down in level_calc, to allow it to converge faster and reduce the number of levels with visible pulses. Added an option to keep the regulator chips on between strobe pulses, by keeping the LEDs at moon instead of turning completely off. This allows the SP10 party strobe to use much shorter, more consistent pulses. | |||||
| 2021-11-06 | reduced SP10 firefly/moon power usage slightly, by keeping CPU underclocked ↵ | Selene ToyKeeper | 1 | -1/+1 | |
| more until ch2 activates | |||||
| 2021-11-06 | reduced SP10 downward ramp flicker even more | Selene ToyKeeper | 1 | -4/+4 | |
| (reduced PWM_TOP minimum timing window to 32 cpu cycles, to allow TOP value of 64 to work better) | |||||
| 2021-11-06 | greatly smoothed out SP10 ramp, and configured defaults | Selene ToyKeeper | 1 | -16/+24 | |
| also fixed random ramp stuttering, by adding phase-reset register to hwdef (though it still has a brief stutter sometimes while ramping down across the channel boundary, at least it always seems to be smooth while going up now) | |||||
| 2021-11-03 | fixed KR4-tintramp build (switch wasn't working) and added it to MODELS | Selene ToyKeeper | 1 | -0/+1 | |
| 2021-11-03 | reset tint while changing tint ramp style | Selene ToyKeeper | 1 | -1/+5 | |
| 2021-11-03 | added runtime config to choose tint-ramping or tint-toggle | Selene ToyKeeper | 8 | -32/+54 | |
| (Off->9H option 1, 0=smooth, 1=toggle) | |||||
| 2021-11-03 | added KR4-tintramp build | Selene ToyKeeper | 1 | -0/+12 | |
| (is basically identical to D4Sv2-tintramp, but with the switch on a different pin, and no button LED) | |||||
| 2021-10-31 | documented number entry 1H action (add 10) in UI table | Selene ToyKeeper | 1 | -0/+1 | |
| 2021-10-31 | made d4sv2-tintramp-fet work the same as no-fet version, but with added FET ↵ | Selene ToyKeeper | 2 | -9/+17 | |
| from ramp step 141 to 150 (0 to 100% power from 1 to 130, 101% to 200% from 131 to 150, and +DD FET from 141 to 150) also calibrated candle mode a bit better | |||||
| 2021-10-31 | fixed flicker on inactive tint ramp channel during ramping | Selene ToyKeeper | 1 | -2/+8 | |
| 2021-10-31 | added "200%" turbo on tint-ramping lights: D4S and LT1 | Selene ToyKeeper | 4 | -35/+69 | |
| Normal ramp from 0% to 100% power on levels 1 to 130, then 101% to 200% power at levels 131 to 150 using both channels at maximum for turbo. When either channel would go over 100%, the extra spills over to the other channel. | |||||
| 2021-10-29 | Add thefreeman's DAC linear driver (beta); also update Sofirn bilds to use ↵ | Gabriel Hart | 5 | -7/+52 | |
| the new 2C_STYLE defines | |||||
| 2021-10-28 | Clarified Ramp->2C behavior a bit more. | Selene ToyKeeper | 1 | -4/+4 | |
| (old wording was confusing people) | |||||
| 2021-10-25 | fixed too-slow thermal regulation bug introduced in d4sv2-tintramp branch | Selene ToyKeeper | 1 | -0/+2 | |
| (2021-09-10 r619.1.11) The gradual_target var was getting clobbered and causing thermal regulation to stop until the next thermal warning event, every time it reached a new ramp step. So... save/restore it to prevent it from getting clobbered. | |||||
| 2021-10-14 | don't blink when toggling tint | Selene ToyKeeper | 1 | -1/+1 | |
| 2021-10-09 | don't hardcode 2.9V for aux LED shutoff | Selene ToyKeeper | 1 | -1/+1 | |
| (use the same value as LVP; easier to configure if it's in only one place) | |||||
| 2021-09-22 | added attiny type to the MODELS file, rewrote how MODELS file gets generated | Selene ToyKeeper | 3 | -60/+128 | |
| (because it's kind of important to know which MCU each light uses, and because this will be helpful later when the build system is rewritten) | |||||
| 2021-09-20 | SP10 Pro: lower AA LVP to 0.7v | Gabriel Hart | 1 | -1/+1 | |
| 2021-09-19 | SP10 Pro: use dynamic PWM, add hidden firefly, adjust candle amplitude, and ↵ | Gabriel Hart | 2 | -13/+17 | |
| tweak party strobe & LVP level | |||||
| 2021-09-17 | clarified where brightness level comes from in beacon/sos/momentary modes | Selene ToyKeeper | 1 | -6/+6 | |
| 2021-09-15 | added Noctigon K9.3-tintramp build targets for FET, reduced FET, and noFET | Selene ToyKeeper | 3 | -0/+157 | |
| (apparently Hank liked the D4Sv2-tintramp demo/experiment so much that he decided to use it in production for the K9.3... so it need its own builds since it's a pretty different light even if the driver is almost identical) | |||||
| 2021-09-15 | fixed wrong value on D4Sv2-tintramp ramp calculator (was off by one) | Selene ToyKeeper | 1 | -3/+3 | |
| 2021-09-14 | documented "hold" action in number entry state | Selene ToyKeeper | 1 | -0/+5 | |
| 2021-09-14 | added a hold shortcut in number entry menu: click for +1, hold for +10 | Selene ToyKeeper | 2 | -2/+14 | |
| 2021-09-10 | fixed builds which failed due to being too big (rot66, mf01-mini) | Selene ToyKeeper | 2 | -0/+4 | |
| by turning off one more of the recent extra features (can turn it back on later if the build size goes down) | |||||
| 2021-09-10 | fixed K9.3 builds (oops, new update_tint() needed to be compiled out for K9.3) | Selene ToyKeeper | 2 | -2/+2 | |
| 2021-09-10 | fixed blf-lantern-t1616 build... I think | Selene ToyKeeper | 1 | -16/+2 | |
| (can't test because I have no hardware, but it at least compiles) | |||||
| 2021-09-10 | fixed ancient bug which caused a weird up-spike in thermal regulation during ↵ | Selene ToyKeeper | 1 | -4/+13 | |
| initial turbo drop, on 3-channel drivers like FW3A and ROT66 (as shown here: http://toykeeper.net/torches/fw3a/therm-2019-05-22.1.png ) What happened was... the FET would start to drop, but gradual adjustments noticed that the Nx7135 channel needed to go from 0 to 255, so it would then slowly ramp that up, and then afterward, the FET drop could finally continue... because the code didn't jump straight from 0 to 255 like it was supposed to. Simple, easy fix: Make channel 2 go up immediately just like channel 1 does. This makes the thermal response several seconds faster than it was before, so it doesn't get as hot, and is less likely to overshoot and bounce later. | |||||
| 2021-09-10 | added D4Sv2-tintramp-FET build, which uses a FET on one set of LEDs for ↵ | Selene ToyKeeper | 3 | -9/+76 | |
| turbo modes (it's weird, but Hank wants it) also reworked gradual tint adjustment a bit, so some complex parts go in set_level() instead (probably needs more testing) | |||||
| 2021-09-08 | changed D4Sv2-tintramp from 255 to 511 for lowest PWM TOP value, | Selene ToyKeeper | 1 | -3/+3 | |
| to make its thermal regulation smoother and generally increase tint ramp resolution in middle modes (also, tried thermal regulation, and it works) | |||||
| 2021-09-08 | got BLF LT1 working again, using new tint-ramping code | Selene ToyKeeper | 2 | -21/+6 | |
| 2021-09-08 | got D4Sv2 tint ramping to work, with dynamic PWM (PFM) | Selene ToyKeeper | 3 | -72/+107 | |
| and (maybe) thermal regulation (untested) (also broke BLF LT1 in the process; need to fix that now) Rewrote how tint ramping works, so it provides a virtual "PWM1_LVL" for other code to use, and it translates that internally into actual hardware controls. This should, in theory, allow smooth thermal regulation (gradual_tick) to work on tint-ramp lights. | |||||
| 2021-09-07 | copied k9.3 config for new d4sv2-tintramp | Selene ToyKeeper | 1 | -0/+85 | |
| 2021-08-31 | fixed builds which failed to compile after recent changes | Selene ToyKeeper | 4 | -2/+8 | |
| 2021-08-31 | reduced length of auto-reverse timing window from ~1000 ms to ~660ms, ↵ | Selene ToyKeeper | 4 | -3/+6 | |
| because it was too fast | |||||
| 2021-08-31 | documented recent changes in the user manual | Selene ToyKeeper | 1 | -20/+64 | |
| 2021-08-31 | made 2C ceiling/turbo behavior configurable in Simple UI | Selene ToyKeeper | 6 | -47/+95 | |
| also made it possible to block turbo in Advanced UI (each one has a 2C style: 0 = no turbo, only ceiling 1 = Anduril 1 style, direct to turbo 2 = Anduril 2 style, ceiling unless already there, then turbo ) | |||||
| 2021-08-31 | added third 2C style: 0 = no turbo (but it's still available as momentary) | Selene ToyKeeper | 2 | -2/+10 | |
| (also, adding this reduced the ROM size somehow) | |||||
| 2021-08-31 | added runtime option to choose Anduril 1 or Anduril 2 double-click turbo style | Selene ToyKeeper | 8 | -17/+55 | |
| (2C while on goes to full-power turbo (A1) or ceiling (A2)) also renamed _OPTION defs to _CONFIG for consistency | |||||
| 2021-08-31 | added runtime option to select whether to ramp up after hold-from-off ↵ | Selene ToyKeeper | 6 | -11/+49 | |
| (default) or stay at floor | |||||
| 2021-08-31 | added runtime config option for smooth ramp speed | Selene ToyKeeper | 5 | -21/+61 | |
| 2021-08-29 | Add 2C Turbo for BLF Lantern (LT1) | Gabriel Hart | 2 | -1/+4 | |
| 2021-08-27 | made it possible to use autolock in simple UI | Selene ToyKeeper | 1 | -7/+1 | |
| (requires the user to set it up, so it won't happen to new users unless they do it on purpose) | |||||
| 2021-08-23 | added documentation for the global config menu and jump start level | Selene ToyKeeper | 1 | -0/+26 | |
| 2021-08-23 | moved jump start into FSM so it'll be more universal and the app won't need ↵ | Selene ToyKeeper | 11 | -40/+39 | |
| special clauses (also adjusted KR4 jump start levels a bit) | |||||
| 2021-08-23 | made jump start level configurable at runtime, and made it activate in more ↵ | Selene ToyKeeper | 7 | -4/+64 | |
| places | |||||
| 2021-08-23 | force reset PWM phase when turning on from zero | Selene ToyKeeper | 1 | -3/+27 | |
| (to make initial response consistent) (otherwise, it can randomly take up to ~16ms to turn on) | |||||
| 2021-08-20 | from Tom E, support PB4 for any of the 3 PWM channels | Gabriel Hart | 1 | -1/+12 | |
| 2021-08-16 | made dynamic PWM phase-correct; replaced brute-force phase reset to avoid ↵ | Selene ToyKeeper | 1 | -19/+22 | |
| flickering (I didn't see any flickering on my lights, but SammysHP reported it was visible) | |||||
