I may forget more than I remember . Haven't done a zener mod in a long time, though I know it's a combo of the resistor and firmware values read in. Would the 30-40K work for 3 cells as well, and just tweak the values in firmware also?
Depending on your required voltage cutoff, 36K will still work with 3S cells.
Recall the simple voltage divider formula (for these newer drivers without the diode voltage drop):
(Desired Voltage * R2 * 255) / ((R1 + R2)*1.1) = ADC Value
Where the 255 is the highest possible value (which is true, since we are using 8-bits worth of resolution) and 1.1 is the reference voltage.
So in your case, you'd get the following for a 9V LVP ADC value:
9*4700*255 = 10,786,500
(36000+4700)*1.1 = 44,770
10,786,500/44,770= 240.93--round to 241.
OK, now we know the math and understand what's going on. For those who don't like to slog through the math every time (like myself ) I created a Google sheet that you can just punch the values into.
P.S. As many here have noted, the voltage divider resistors can, and will, affect the off-time timing. You'll find that with the zener-mod setups the divider's effect is minimal (the circuit is different).
Ohhh - thanx again Richard! I know you posted this stuff before, but this time I'll really tag it/copy it some where I won't forget . Frustrating - just can't get to all the mods I want to... Limited time, and my mod sessions are much shorter now because of several things goin on - neck, back, access to my modding office, etc.
The voltagedivider consumes “standby” current so for electronic switch lights it might be recommended to use higher values like 100k and 22k as a standard…
Has anyone compared the so8 fets? Is the 0R9 one worth the dollar more?
What resistor Sizes are optimal for this driver 0805 or 0603?
I’m not sure what kinds of files Eagle uses, but the OSHpark page linked in the first post has a link to download a zip containing a bunch of design files. gtp, gts, txt, dri, gbl, gbo, gbp, gbs, gko, gpi, gtl, and gto. Not sure what each one is, but maybe something in there will be sufficient?
The .dri file says it was generated by “EAGLE CAM Processor 7.1.0”.
Unfortunately TK, the Gerber files can not be used to create Eagle files (At least as far as I know).
I was hoping wight might have shared the Eagle files with someone before he left. It would take someone like me a boat load of time to recreate them due to my limited experience with Eagle. It would be cool if we shared the Eagle files. That way others could tweak them for their purposes and report back. It would accelerate board development. I know there is a thread were some component libraries are shared.
If anyone has the Eagle files for this or any other BLF driver that is Attiny 13a, and DD or 7135 based, it would be cool if you made them publicly available.
EDIT: Corrected spelling of finges name. My apologies. May take me a bit to not include an "r".
I seem to have hit a snag with this driver. I ordered some boards from mountain, and assembled. Took Star_offtime firmware and enabled moon by default ( reversed the star logic) and also enabled the dual PWM. This all seems to work fine and I did get the lower moonlight mode I was after, but with one large hiccup.
I get a bright "preflash" every time I turn it on. Its only noticeable on moon and low, but I have never had this happen with the standard FET driver.
I see this all the time, in fact. I reported it early on and some responses were dismissive (no names), others were trying to help (Richard of course). Really haven't experimeted intensely, but tried a 100K across the FET input and got better results. On my last one (Rocher AS31), I tried a 22K resistore across the FET input. Clicked the thing like well over 100 times - seems like when I look for it, I can't reproduce it, but I've seen the flicker occur from time to time in actual occasional use. It's almost gone but still there... Frustrating...
In the OP's picture of the board, I put a resistor across the upper left pin of the FET and solder to the next 1 or 2 pins over to the right, so it's in between the input pin of the FET to ground. Tips were all from Richard - think he said to start with a 100K, work your way downward. Dunno effects, but the higher the resistance, the less effect on output maybe?? Forget... I assume the lower value, the more likely it will fix the problem. I think the flicker happens frequently with no resistor. No clue if the custom BLF A6 driver will have this same exaxt problem, but I've seen it on wight's FET+1 drivers.