[WIP] 17mm DD+single-7135 driver / single sided / Dual-PWM

That's a piece of cake and is doable with STAR or toykeeper's firmware.

djozz with all the time and money invested in this hobby, you don’t have a USBasp yet? :wink:

but like RMM said, that’s a really easy FW. Your dreams can actually come true! If you start with the blf-A6, you can have two different mode groups too: one with moon, one just 2-mode.

So this UI is entirely possible with what is already out there :-)

I'm have a computer (a Mac) for basic work but although I'm not dumb, I'm a very analog person . All my tests involve a pen and paper step to write down numbers from displays from the various equipment. My power supply has some computer connector but I have no idea what to do with it.

I’m sure there are many people here willing to write that FW for you, including myself, but I don’t have enough Attiny’s to send you.

Jos,

Just order the mcu's from Richard and tell him what you want on them. :)

you are right, and he has a good price on them :-)

djozz, your ideal firmware for this driver is moonlight~~350mA~~>fullFETblast , start on moonlight, off-time no memory.

That sounds about perfect for a simple & not to complicated set up for a twisty light with a FET+7135 driver for gifting :slight_smile:

I hope that TK’s batt check feature could be included in such a setup.

but standard STAR does not make use of the FET+7135 driver or does it? I would want to use the 7135 chip for the 350mA setting, so that the driver only uses PWM for the moonlight setting.

Hmm i don’t think the FET+7135 driver & firmware works like that, if i am understand things right, it uses various PWM levels for controlling the AMC7135 also.

But i hope i am wrong, or it can be made to work like how you are suggesting because, pwm for a low moon mode/as much light as the 350mAh or 380mAh AMC7135 can provide non PWM/full non PWM FET blast as much amp as the circuit can provide, sound like a good idea.

From what I understand...

When in any mode below 350ma....it is running on only the 7135. When running all out it is a combination of both 7135 and FET. To get the two modes that is being asked I am assuming (because I do not write code) that one would just delete or comment out the modes in between.

With the current STAR off-time, it wouldn’t be possible to control the channels separately (without tweaking a few things). You set a PWM level for each mode, then tell the FW at what PWM level to stop using just the 7135 and start using both FET+7135. For instance your modes could be 5, 60, 255. Then you tell it for anything above PWM 6, use FET+7135.

With TK’s firmware, it is possible. You set a separate PWM value for each channel on each mode. So your modes would be would as follows:
7135: 5, 255, 0
FET: 0, 0, 255

I do a similar thing on all of my large thrower lights, but with a higher medium. I use
7135: 50, 255, 0
FET: 0, 0, 255

But I have an extra 7135 stacked on top of the first one, so my low is at about 150ma, and my medium is CC at 760ma, then FET high.

that sounds like a translation of my favourite UI :-)

Yep!

TK’s blf-a6 firmware also allows 2 mode groups, so you could do one group with L,M,H and the second group with just L,H (or whatever else you want). You change groups by tapping the button approx 15 times in quick succession. (but you don’t have to use the second group if you dont want to)

I know that it is hard to not use available options, but disabling moonlight is not a needed option for me, just moon-7135:100%-FET:100% is fine . But if this firmware can be made more attractive to other users by adding a (any) second mode group I'm all for it.

I believe that TK may have set a new standard for versatile UI's.

Nitecore has something similar by twisting the head on the P10. Two mode groups with one being what Djozz is asking for and the other being standard. I think TK's method of changing mode groups is much better.

The two mode groups are already there. The first has 7 modes and the second has 4 modes. Unless someone gets into the code to change the number of modes on one of the groups, depending on their desires, I do not think that there is enough room for the Attiny13 to add any more mode groups like Dr.Jones did.

You’re right, but it’s designed to be easy to go to the code and change the modes (and it is). I don’t think any of my lights have the exact same FW as any other. All are tweaked to that particular light.
…………………………………………….
djozz: If you don’t want the second group, no problem. Just wanted to make sure you were aware of everything thats available. I can make your FW and send you the .hex file if you want, I just don’t have the extra Attiny’s to send. I assume you want no turbo timer as well?

...unless you change about one or two lines of code. Pretty simple to do. I wouldn't have said it was possible if I hadn't already done it.

Well my apologies then, I didn’t know that. I’ve always just started with TK’s code for better control of the PWM channels. I edited post #126 to clarify.

you're my hero, Richard! So I can just order a couple of programmed Attinies at your site with a note (and a few more nice parts while I'm at it :-) ) and I'm good to go? :-)

(don't hurry with it btw, I understand there's a brand new little flashoholic due soon..)