Toroids and MOSFETs and firmware, oh my! (aka:'Tiny13+N-FET=???')

Oh boy, yes I tried it and like the UI very much. Just that it's locked into levels only applicable to a M6, like you said.

So, do you end up needing the capacitor with the K4212? I see that you still have it on your boards. What size/specs is it?

It seems that my Firmware Needs a capacitor for the tiny to work optimal, I used a 10uF SmD capacitor on top of the standard nanjg smd cap, after finding out that a bigger one worked. Comfy used a random one from electronic junk…
Does anyone know which cap the standard nanjgs have on board?

Oh modes are not locked, I have made it easy changeable like in luxdrv….I send you the latest version with standard mode spacing in a moment…

Werner, is your firmware "open source" or something you would like to play a little closer to the vest?

The capacitor I'm talking about is the relatively large on soldered to the C1 pads on the JB1 driver.

Nanjg cap here? https://budgetlightforum.com/t/-/16805#comment-409143. It's post #62, from texaspyro

Interesting but maybe it’s to small on 4V if it’s a 6v type, I used a 10V type and added it on the nanjg. On my15mm driver I solved the problems after replacing a 100nF with one of my10uF ones too…
Yes the bulky cap is just one comfy had on hand, probably with huge capacitance.

I have the plan on releasing it, if you want I can send you the compiled testversion. Once it’s finally done I will probably release the source too…
I also will share the PCB file(which is fairly easy on oshpark) if it works.

I want to clean the initializing of PWM and ADC as long with some other things which are currently hard coded. I have read a lot tutorials and documentations how things should be made and so I will try to do this too as good as I can.

I think TP said that the Tiny85 was pin compatible but that the footprint was slightly wider so longer pads are needed.

So all we need is a small additional capacitor added somewhere on either one of the boards?

Werner: A compiled test version would be awesome! I just finished building my "Securitying" (what a funny name!) light last night and now it needs some lower mode levels!!!

OK, clarification: I hate the idea of stripping down a functioning driver just to get a blank contact board. I like to re-use leftover stuff when possible.

-----

The capacitor can be smaller if it's placed closer to the attiny, that's what I did on the latest version of the red 'JB' driver. It can go anywhere that's electrically the same as stock, between MCU pin8 and GND (the red Vcc trace).

It can go on the reverse side in parallel with the original, off the bottom of the diode to GND, off the bottom of R1 to GND (I relocated the original cap to this spot, so I can coat the backside with JB Weld and not have any components inaccessible), or straight onto the Vcc pin on the attiny (though, this can block access for the programming clip).

The attiny will drive the 2SK4212 FET directly with no resistors added anywhere - other FETs give different results. The red 'JB' driver works as-is.

-----

I've used the 095b version of the FW on several lights, and even on a 105C still using the original 7135s (in a little UF-T50; tested, but not assembled yet), and the mode spacing has been good on all of them. The big single FET drivers still look 'right' when used with a single cell & single LED, so it should be good for a East092-style driver as well.

Comparative, not absolute (it's not dark, ambient light not subtracted), ceiling bounce lux numbers for some different lights...

6x XML2, direct drive JB driver, Werner's 095b FW
7.8
17.9
32.3
61.2
101.2

3x XML2, direct drive JB driver, Werner's 095b FW
8.6
18.9
33.0
59.2
94.4

3x XML2, direct drive JB driver, stock 3-level FW
22.3
54.6
84.2

3x XML, stock 3-toroid SRK driver, stock hi-low FW
10.9
53.5

Wow! Looks like you picked up some more juice just by swapping in the 105C. The stock MCU must not be giving 100%.

Another question: If it isn't needed, why do you still have the huge capacitor on the "JB" board?

It's big compared to the stock ceramic thing, but it's smaller than the others. It could be probably much MUCH smaller and still work, but I use what I have...

The total output numbers don't mean anything - all the lights are using different cells (20Rs, 28As, NCR 2900s, etc.), some were charged yesterday and not been used since, others have been used for a few days. It's just to give an idea of the mode spacing. Also the 6x is cool white, the 3x'ers are 3Bs in one and 4Cs in another, all kinds of variables not accounted for.

This is what ended up in the 6x light, with the cap on the 105C instead of the big lower board.

OK, which of these is the right version? http://www.aliexpress.com/store/718163/search?SearchText=attiny13

And what diodes are compatible with what comes stock on the 105C? What do I search for?

Would a Zener moded board work with this Fet to give a turbo MT-G2?
It sounded that way but went by fast and in Greek. Or maybe Werners board is set up for a Zener mod already? Is there any advantage to running both kinds of chips?

I don't see why not. I'd select the zener to get the highest safe voltage though, more signal to drive the FET's gate will, I think, always be better. Over 5v but less than 6 is where I'd start, the low voltage detection is going to be skewed anyway so as long as the attiny doesn't burn up it should be fine.

K4212 datasheet: http://documentation.renesas.com/doc/DocumentServer/D19564EJ1V0DS00.pdf

The ssu is the right version we need 8S1 type that is the smaller one, which is on a nanjg. The SU is the wider 8S2 version(like the tiny85 someone mentioned).

Zener mod should work, on the mentioned PCB I have a spot for one of these big Diodes(minimelf?), I ordered some 5.1V types from eBay.


Rufus which type differents do you mean?
The tiny13 tiny85 thing?
If someone needs more space he could also hand solder another small tiny in there, gmarsh used a tiny85 on a nanjg ,in his tv bgone driver, without problems.

Both kinds of chips= 7135 and k4212. Or do the fets need all of the Attiny pwm output to charge the gates?

FET & 7135s would have to be run from two separate output pins from the attiny, the only reason to do that is to get a lower low than you can get with just the direct drive FET.

With the FET+attiny only, a PWM value of '5' is pretty damn low, though it's higher than what you could call a moonlight. I used 0,5,20,60,130,255 in DrJones' minimo FW, in the direct drive/3x light, and the low is nearly identical on the lux meter as the standard low (not moonlight) in nlite with a single XML2 P60.

Can anyone send me a 7135 library for eagle?

I thought that might be the case. If the 13A struggled to control the gates at high frequency and low on time the 7135’s would be used for LMH and Turbo was only the fet only at 100%. But you have completely replaced the 7135’s. Nice work here. I don’t understand it all but been following anyway.