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

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..)

Better to send an e-mail to mountainelectronics at gmail dot com for this one, listing the requested items, quantities, and options. Amsterdam isn't available to order directly from the website yet.

will do that :-)

7135: 5, 255, 0
FET: 0, 0, 255

Does that mean that at moonlight 7135: 5 there is a 350mah thats PWM’ed to get it to moonlight, and 7135: 255 means it has no PWM even when it is called 255 PWM value? :~

And for the FET: 255 PWM value even when it is called that don’t actually do any PWM but only a continuous current level dropping only by the sagging battery?

Yes, a PWM value of 255 is “Full on” or “Wide open”

PWM value 5 divided by 255 is roughly 2% output, so 2% of 350ma is 7ma output on ‘moon.’ Many people even take it down to 3 PWM for an even lower moon.

Or even PWM 1.

Unfortunately PWM percentages don't track directly with 7135 output current. Remember, some of that PWM signal is being used just to power the 7135, and there is a certain amount of latency in switching on and off.

5 is the lowest value ? or you can go 1?

This

I really don’t understand the mechanics of it, but personally I’ve never had an LED light up under 3. I usually use 4 or 5 for my moon modes.

You can go down to 1 with a single 350mA binned 7135. Sometimes the 380mAs require 2.

Remember, I'm talking about a single 7135. As the number of 7135s increases, so does the minimum PWM level required to have them turn on and be stable. Again, this makes sense when you remember that the 7135s are wired in parallel and powered entirely by the PWM signal.

ic ,thanks.

Ok, i got it now, the thing that got me thinking that 255 on the FET still was PWM’ed, was that someone in TK firmware repository thread, claimed that it was, and i don’t remember anyone corrected them, so i got confused.

So the 255 PWM signal/value isn’t a PWM at all it, is just a value to tell the chip to go fully open & NOT PWM the output :slight_smile:

I have read in other places that getting a set of stars on these is not possible because of space requirements, but I am wandering is there any possible way to squeeze in ONE??

I would like to use the boards in large batches, but having to ground out any of the micro pins from the top totally eliminates the possibility of pre assembly.

Not sure where you read that, but it is definitely possible (and not even that difficult) to add them. Most of us have just found them to be superfluous in this type of a driver since you are building it from the ground up anyways.

Hmmmm... I think where I got that impression was from the original BLFDD17 thread, but I suppose I could have misread it.

That said, AWESOME! I have a few more details to work out, but I think this is going to work very well for my setups. Thanks RMM..

Built my first one of these drivers using the "800" FET (forgot exact P/N), using the T_K blf-a6 program with minor tweaks. It's in a Convoy C8 host, the original one.

I noticed a significant blink when switching between hi/turbo (full out FET only) and moon mode (PWM value of 4 for the 7135 only). Anyone else notice this strange behavior? I know I've seen this before in some troubling drivers - pretty sure it happened with my stock BLF Mini-01 driver.

That's the SIR800DP.

Regarding the blink---I've seen it before on the BLF10DD/12DD drivers when switching from high to moonlight. That was with the same firmware though, so I'd try and rule that out first, although I haven't heard of anyone else having issues with it.

I fixed my problem with a small pulldown resistor (30K) from the gate to ground. You could try a 22K or 19.1K (you've probably got one on hand) and see how that works. If it doesn't get rid of it, you could double stack resistors to half the resistance then try again.