aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-03-24added Noctigon DM11-SBT90.2 buildSelene ToyKeeper1-0/+73
(which is mostly like the regular linear+FET build, but has the switch on a different pin for some reason)
2021-12-13fixed bug where tint-ramping could end up 1 brightness ramp step different ↵Selene ToyKeeper1-1/+3
than it started
2021-12-13Added "Lockout 3C -> Off", changed Lockout 4H blink (light) to a blip (dark),Selene ToyKeeper4-1/+28
adjusted a couple builds which overflowed.
2021-12-08enabled SOS mode on lights which have enough room for itSelene ToyKeeper3-2/+4
2021-12-08added a compile option for USE_LOWPASS_WHILE_ASLEEP,Selene ToyKeeper5-5/+32
but it doesn't actually fix the issue I was hoping it'd fix, so it's disabled by default (when the battery is right on a threshold between colors for aux LED "voltage" mode, it can bounce between colors until the cell isn't on the boundary any more... but a simple lowpass doesn't really help) (but I also didn't want to throw out the code, in case it's useful later as a reference for a more effective solution)
2021-12-08fixed Ramp 3H with Anduril 2 style turboSelene ToyKeeper3-0/+16
(it was going to ceiling instead of full power) (also had to disable battcheck calibration on some large builds to make room)
2021-11-12a bit more fine-tuning for DM11Selene ToyKeeper3-8/+9
2021-11-12added DM11 to MODELS fileSelene ToyKeeper1-0/+3
2021-11-12fine-tuned DM11-12V build a bit based on actual measurementsSelene ToyKeeper1-7/+11
2021-11-03fixed KR4-tintramp build (switch wasn't working) and added it to MODELSSelene ToyKeeper1-0/+1
2021-11-03reset tint while changing tint ramp styleSelene ToyKeeper1-1/+5
2021-11-03added runtime config to choose tint-ramping or tint-toggleSelene ToyKeeper8-32/+54
(Off->9H option 1, 0=smooth, 1=toggle)
2021-11-03added KR4-tintramp buildSelene ToyKeeper1-0/+12
(is basically identical to D4Sv2-tintramp, but with the switch on a different pin, and no button LED)
2021-10-31documented number entry 1H action (add 10) in UI tableSelene ToyKeeper1-0/+1
2021-10-31made d4sv2-tintramp-fet work the same as no-fet version, but with added FET ↵Selene ToyKeeper2-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-31fixed flicker on inactive tint ramp channel during rampingSelene ToyKeeper1-2/+8
2021-10-31added "200%" turbo on tint-ramping lights: D4S and LT1Selene ToyKeeper4-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-28Clarified Ramp->2C behavior a bit more.Selene ToyKeeper1-4/+4
(old wording was confusing people)
2021-10-25fixed too-slow thermal regulation bug introduced in d4sv2-tintramp branchSelene ToyKeeper1-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-14don't blink when toggling tintSelene ToyKeeper1-1/+1
2021-10-12renamed MD11 -> DM11 because Hank changed the product nameSelene ToyKeeper3-6/+6
2021-10-09don't hardcode 2.9V for aux LED shutoffSelene ToyKeeper1-1/+1
(use the same value as LVP; easier to configure if it's in only one place)
2021-10-04added early initial attempt at a boost/12V/6V version of the MD11Selene ToyKeeper1-0/+70
(had to guess about some hardware details, unsure if correct)
2021-09-24added MD11-noFET, tweaked values in MD11-FET build tooSelene ToyKeeper2-3/+46
2021-09-24added dynamic PWM and FET to MD11Selene ToyKeeper1-14/+25
2021-09-24just a few adjustments to start withSelene ToyKeeper1-12/+11
2021-09-24copied Noctigon K1 -> MD11 to start defining a new lightSelene ToyKeeper1-0/+61
2021-09-22added attiny type to the MODELS file, rewrote how MODELS file gets generatedSelene ToyKeeper3-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-17clarified where brightness level comes from in beacon/sos/momentary modesSelene ToyKeeper1-6/+6
2021-09-15added Noctigon K9.3-tintramp build targets for FET, reduced FET, and noFETSelene ToyKeeper3-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-15fixed wrong value on D4Sv2-tintramp ramp calculator (was off by one)Selene ToyKeeper1-3/+3
2021-09-14documented "hold" action in number entry stateSelene ToyKeeper1-0/+5
2021-09-14added a hold shortcut in number entry menu: click for +1, hold for +10Selene ToyKeeper2-2/+14
2021-09-10fixed builds which failed due to being too big (rot66, mf01-mini)Selene ToyKeeper2-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-10fixed K9.3 builds (oops, new update_tint() needed to be compiled out for K9.3)Selene ToyKeeper2-2/+2
2021-09-10fixed blf-lantern-t1616 build... I thinkSelene ToyKeeper1-16/+2
(can't test because I have no hardware, but it at least compiles)
2021-09-10fixed ancient bug which caused a weird up-spike in thermal regulation during ↵Selene ToyKeeper1-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-10added D4Sv2-tintramp-FET build, which uses a FET on one set of LEDs for ↵Selene ToyKeeper3-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-08changed D4Sv2-tintramp from 255 to 511 for lowest PWM TOP value,Selene ToyKeeper1-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-08got BLF LT1 working again, using new tint-ramping codeSelene ToyKeeper2-21/+6
2021-09-08got D4Sv2 tint ramping to work, with dynamic PWM (PFM)Selene ToyKeeper3-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-07copied k9.3 config for new d4sv2-tintrampSelene ToyKeeper1-0/+85
2021-08-31fixed builds which failed to compile after recent changesSelene ToyKeeper4-2/+8
2021-08-31reduced length of auto-reverse timing window from ~1000 ms to ~660ms, ↵Selene ToyKeeper4-3/+6
because it was too fast
2021-08-31documented recent changes in the user manualSelene ToyKeeper1-20/+64
2021-08-31made 2C ceiling/turbo behavior configurable in Simple UISelene ToyKeeper6-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-31added third 2C style: 0 = no turbo (but it's still available as momentary)Selene ToyKeeper2-2/+10
(also, adding this reduced the ROM size somehow)
2021-08-31added runtime option to choose Anduril 1 or Anduril 2 double-click turbo styleSelene ToyKeeper8-17/+55
(2C while on goes to full-power turbo (A1) or ceiling (A2)) also renamed _OPTION defs to _CONFIG for consistency
2021-08-31added runtime option to select whether to ramp up after hold-from-off ↵Selene ToyKeeper6-11/+49
(default) or stay at floor
2021-08-31added runtime config option for smooth ramp speedSelene ToyKeeper5-21/+61
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.