FWIW, I pushed a bunch of changes to FSM / Anduril. A lot of things should be nicer now, but there’s one specific thing I haven’t tested yet and don’t trust. On a hotrod like a D4-219c, I don’t think it’ll regulate down fast enough on full turbo. However, it did pretty well on my FW3A at the highest regulated level, 8x7135. I need to do more testing and tweaking to make sure it won’t burn people with a quad 219c though.
FSM dev branch, getting closer to stable so maybe I can merge it into trunk soon.
Changes:
- Made eeprom writes somewhat more atomic, less likely to do weird things if power is interrupted mid-write.
- Added a super-simple muggle mode. One level, 150lm, click on/off. Has LVP.
- Added candle mode, next to lightning mode. Is particularly nice in the bathtub.
- Added FW3A support.
- Made lockout moon level use current ramp config instead of whichever ramp is lower.
- Completely reworked button debouncing so it’ll be okay even on a really noisy switch.
- Fixed LVP / thermal issues (ADC was triggering 4000X / second instead of the expected 4X, which made things weird).
- Thermal regulation changes…
- Instead of ~85 steps, it now uses 256 or 512 (for a 2- or 3-channel driver). This makes adjustments invisible by eye, but they still show up on a lux meter. Try zak.wilson’s ceilingbounce app if you want to measure it.
- Won’t adjust below 1x7135 level any more.
- Adjustment speed changes with how far it needs to go.
- Added the ability to calibrate the thermal sensor, to reduce issues from the attiny’s per-unit variation.
… and I updated the UI diagram a bit:
The thermal config generally involves a lot of clicks… sorry. Hopefully it only needs to happen one time though, to calibrate the sensor.