aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | increased SP10 PWM speed as much as possible without making ramp bumpy, and ↵Selene ToyKeeper2021-11-134-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | reduced SP10 firefly/moon power usage slightly, by keeping CPU underclocked ↵Selene ToyKeeper2021-11-061-1/+1
| | | | | | | | | | | | | | | | more until ch2 activates
| * | | reduced SP10 downward ramp flicker even moreSelene ToyKeeper2021-11-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | (reduced PWM_TOP minimum timing window to 32 cpu cycles, to allow TOP value of 64 to work better)
| * | | greatly smoothed out SP10 ramp, and configured defaultsSelene ToyKeeper2021-11-062-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | merged recent anduril2 branch updatesSelene ToyKeeper2021-11-0618-81/+218
| |\ \ \
| * \ \ \ merged gchart's recent changesSelene ToyKeeper2021-11-0613-74/+298
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Merge TKs changes through her commit 628Gabriel Hart2021-10-297-67/+137
| | |\ \ \
| | * | | | Add thefreeman's DAC linear driver (beta); also update Sofirn bilds to use ↵Gabriel Hart2021-10-296-7/+161
| | | | | | | | | | | | | | | | | | | | | | | | the new 2C_STYLE defines
| | * | | | SP10 Pro: lower AA LVP to 0.7vGabriel Hart2021-09-202-2/+2
| | | | | |
| * | | | | merged gchart's SP10 Pro branchSelene ToyKeeper2021-09-1914-84/+172
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | (minus the change to version.h)
| | * | | | SP10 Pro: use dynamic PWM, add hidden firefly, adjust candle amplitude, and ↵Gabriel Hart2021-09-193-15/+25
| | | | | | | | | | | | | | | | | | | | | | | | tweak party strobe & LVP level
| | * | | | Merge TK changes thru rev 623 (2021-09-17)Gabriel Hart2021-09-1932-190/+1112
| | |\ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Merge TK's changes thru her rev 618 including autolock in Simple UI and jump ↵Gabriel Hart2021-08-2911-26/+129
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | start updates
| | * | | | | Add 2C Turbo for BLF Lantern (LT1)Gabriel Hart2021-08-292-1/+4
| | | | | | |
| | * | | | | Merge in TK's repo thru revision 613Gabriel Hart2021-08-207-61/+87
| | |\ \ \ \ \
| | * | | | | | from Tom E, support PB4 for any of the 3 PWM channelsGabriel Hart2021-08-201-1/+12
| | | | | | | |
| | * | | | | | Adjusted more Sofirn SP10 config values (party strobe, candle amp, max_1x7135)Gabriel Hart2021-08-152-3/+9
| | | | | | | |
| | * | | | | | Adjusted Sofirn SP10 ramp valuesGabriel Hart2021-08-152-2/+3
| | | | | | | |
| | * | | | | | Merge updates from TKs main branchGabriel Hart2021-08-1221-68/+323
| | |\ \ \ \ \ \
| | * | | | | | | Finalized SP10S and renamed to SP10 Pro. Updated Sofirn settings to include SOS.Gabriel Hart2021-08-127-66/+64
| | | | | | | | |
| | * | | | | | | Updating from TKs recent change (fix for compile without USE_SIMPLE_UI)Gabriel Hart2021-06-061-1/+9
| | |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ Add config option to allow 3C smooth/stepped selection in Simple UI, add ↵Gabriel Hart2021-05-158-5/+58
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that option to the Sofirn configs
| | * \ \ \ \ \ \ \ \ Merge recent updates from TK. Also update Sofirn target with preferences ↵Gabriel Hart2021-05-1435-136/+70
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from Barry - Simple UI uses max (150) for the ceiling and enable 2C Turbo.
| | * | | | | | | | | | Update 1-Series to use 10 MHz clock and Phase Correct PWM. Add PWM ↵Gabriel Hart2021-05-046-27/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | documentation. Also clear thermal offset on factory reset instead of setting it to 21*C.
| | * | | | | | | | | | Merge from main branchGabriel Hart2021-04-1419-67/+153
| | |\ \ \ \ \ \ \ \ \ \
* | | | | | | | | | | | | k9.3 tint-toggle build is broken, generate a better fail error (until it's ↵Selene ToyKeeper2022-04-092-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed)
* | | | | | | | | | | | | added KR4-12V build, fixed model number for DM11-SBT90 buildSelene ToyKeeper2022-03-304-1/+227
| | | | | | | | | | | | |
* | | | | | | | | | | | | added Noctigon DM11-SBT90.2 buildSelene ToyKeeper2022-03-243-11/+229
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (which is mostly like the regular linear+FET build, but has the switch on a different pin for some reason)
* | | | | | | | | | | | fixed bug where tint-ramping could end up 1 brightness ramp step different ↵Selene ToyKeeper2021-12-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than it started
* | | | | | | | | | | | Added "Lockout 3C -> Off", changed Lockout 4H blink (light) to a blip (dark),Selene ToyKeeper2021-12-134-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adjusted a couple builds which overflowed.
* | | | | | | | | | | | enabled SOS mode on lights which have enough room for itSelene ToyKeeper2021-12-083-2/+4
| | | | | | | | | | | |
* | | | | | | | | | | | added a compile option for USE_LOWPASS_WHILE_ASLEEP,Selene ToyKeeper2021-12-085-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)
* | | | | | | | | | | | fixed Ramp 3H with Anduril 2 style turboSelene ToyKeeper2021-12-083-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (it was going to ceiling instead of full power) (also had to disable battcheck calibration on some large builds to make room)
* | | | | | | | | | | | merged Noctigon DM11 branchSelene ToyKeeper2021-11-126-0/+516
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | |
| * | | | | | | | | | | a bit more fine-tuning for DM11Selene ToyKeeper2021-11-123-8/+9
| | | | | | | | | | | |
| * | | | | | | | | | | added DM11 to MODELS fileSelene ToyKeeper2021-11-121-0/+3
| | | | | | | | | | | |
| * | | | | | | | | | | merged anduril2 branch for updatesSelene ToyKeeper2021-11-1219-86/+225
| |\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | fixed KR4-tintramp build (switch wasn't working) and added it to MODELSSelene ToyKeeper2021-11-033-8/+8
| | | | | | | | | | | |
* | | | | | | | | | | | reset tint while changing tint ramp styleSelene ToyKeeper2021-11-031-1/+5
| | | | | | | | | | | |
* | | | | | | | | | | | added runtime config to choose tint-ramping or tint-toggleSelene ToyKeeper2021-11-038-32/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Off->9H option 1, 0=smooth, 1=toggle)
* | | | | | | | | | | | added KR4-tintramp buildSelene ToyKeeper2021-11-033-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (is basically identical to D4Sv2-tintramp, but with the switch on a different pin, and no button LED)
* | | | | | | | | | | | documented number entry 1H action (add 10) in UI tableSelene ToyKeeper2021-10-311-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | made d4sv2-tintramp-fet work the same as no-fet version, but with added FET ↵Selene ToyKeeper2021-10-312-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
* | | | | | | | | | | | fixed flicker on inactive tint ramp channel during rampingSelene ToyKeeper2021-10-311-2/+8
| | | | | | | | | | | |
* | | | | | | | | | | | added "200%" turbo on tint-ramping lights: D4S and LT1Selene ToyKeeper2021-10-315-37/+71
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | Clarified Ramp->2C behavior a bit more.Selene ToyKeeper2021-10-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (old wording was confusing people)
* | | | | | | | | | | fixed too-slow thermal regulation bug introduced in d4sv2-tintramp branchSelene ToyKeeper2021-10-251-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.
* | | | | | | | | | | don't blink when toggling tintSelene ToyKeeper2021-10-141-1/+1
| | | | | | | | | | |
* | | | | | | | | | | don't hardcode 2.9V for aux LED shutoffSelene ToyKeeper2021-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (use the same value as LVP; easier to configure if it's in only one place)
| * | | | | | | | | | fine-tuned DM11-12V build a bit based on actual measurementsSelene ToyKeeper2021-11-121-7/+11
| | | | | | | | | | |