Custom RGBW driver (with some interesting features)

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.

Just ordered another Roche F6 and designed an RGBW driver board for the F6. Waiting for the fab now. I hope I didn't make an error.

Got the AMC7135s now. Message me if you want a kit (17mm board, MCU, other components, 8*AMC7135, piece of d-c-fix diffuser film).

The Roche-F6 driver has not yet arrived.

PM sent :-)

Could it be made to be used in a 4x SRK/Kung light for one each or tinted LEDs R, G, B and W?

Yes, it can drive 4 individual LEDs, too. You might want to stack some more AMC7135 then perhaps.

The boards for the Roche F6 now also arrived; I populated and tested one, it works fine.

why the f6? why not the convoy L4?

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.

- Matt

F6 because it's small and EDCable and nice.

Not L4 because it's big and more of a thrower, and 'throwing' doesn't work well with color mixing. For color mixing you want a strong diffuser, so the big head is useless. BTW, the driver (probably) also fits into the Roche X3.

Mattaus: Such a simple clicky firmware could be done on an ATtiny13; sending a PM.

This driver however uses an ATtiny85.

Ooh, I hadn’t thought about the Roche F6 as a compact host with a momentary switch. How hard was it to mod, and to get different guts into? Any easier/harder than the ZY-T29?

Designing a specific driver for it takes some effort, but when you have that it's fine. The space in the driver compartment is quite small, so don't use long/thick wires with the RGBW.

From a quick glance, it looks to me like the ZY-T29 uses a click switch, not an electronic one.

Take a look at some mods already done on the ZY-T29:

(or the OP in this thread, since the RGBW mod was done on a ZY-T29)

DrJones, is it practical to take the IR measurements any faster than the 10s interval you’re using here? I’m wondering about idiot-proofing high powered AA lights against alkaline usage. If I could quickly measure internal resistance on startup and maybe lock out high power modes if IR was too bad that could be useful.

Well, it turned out it wasn't difficult at all... brightness now ramps smoothly as in white mode.

Also my soldering skills improved, so I can provide complete drivers. Also MCUs for own designs.

I made a custom driver board for the cheap Yupard 16340 light, too.

And here are the Roche F6 and the Yupard with some nice diffusers; multi-vitamin carbon tablet tube, imprint sanded off, with some layers of tape inside the opening to reduce the diameter, so it can be easily put on and off the flashlight.

Light saber, ahm, dagger :)

Heheheh, pretty sweet! Light dagger is a neat concept, actually. It may be something that’s already been visited in the Star Wars Expanded Universe, but I have no knowledge outside the films.

Ok! it is next year. Even more, it was published in 2013…
did you change your mind and plan to sell the complete driver? are wet here yet?are we there yet?
yo did a great job here!