(grin..) that has become one weird and very complete driver, I think it is huge fun to build a flashlight around it. I'm in for a kit when it is ready :-)
great thinking outside the box!
A question about the pwm: if you move the light quickly in any of the colour-mixed modes, do you see a line of R/G/B dashes, or a solid colour line?
I would still love to see an alternate firmware for clicky switches, even with just the basic modes.
I honestly have no additional mode ideas for this. Sure someone will come around saying “can you change this timing to this timing?”, but you went above and beyond on this one.
how much code space did you use/how much was left?
Edit: nevermind, I have a mode question: how easy would it be to implement brightness ramping in the color cycle mode?
Brightness ramp in color cycle: not that easy, mainly due to the limited PWM resolution at low levels, i.e. at low levels there will be much less available colors. I may try anyway though.
Could I possibly design a board myself, and purchase a pre-flashed MCU from you (or perhaps just purchase the firmware to load myself)?
I want to build a RGBW P60 drop-in, and I just want to cycle through the colors in a set order at a fixed brightness for each so have no real need for a momentary switch operation. The mode order I'm thinking of is White > Blue > Red > Green > B/R > G/R> back to start.
The B/R and G/R mixes will be pre-determined fixed ratios.
Possible? What MCU you are you using in the picture in the original post? I have designed a 17mm P60 driver using the Attiny84 (haven't ordered it yet nor do I have the MCU either), but it is a bit bigger than the one used in the first post.