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

Wire for the PWM-out:

None of my big pile of salvaged FETs will do anything close to what the one on the Securitying driver does. That thing is nuts.

This setup does a little under 10 amps...

It'll be used with the 3-up parts from one of the Securitying lights, and the Securitying awesome-driver will get the same treatment and will be used with the 6-up parts from the no-name 6XL2. :O

:O

I see that massive capacitor!

The K4212 runs awesome straight from the attiny, no resistor inline, no pulldown resistor. I gotta order a batch of those things, they RAWK!

I have room for a fairly beefy toroid, should I add one between BAT+ & LED+? Would it help or hurt or do nothing?

This is one of those cool threads that hardly anyone comments on but many follow. Thank you for keeping at it and updating us all.

Another option for firmware: https://budgetlightforum.com/t/-/24491

Some real cool work you're doing here Comfy.

This is all Werner's fault, I'm just the mechanic (as usual) sticking parts together at random until something works.

His UI is just brilliant. Mode order is 0>1>2>3>4>5>0>[repeat]. But, the trick part is a short press goes forward thru the order, and a long press goes in reverse. So, from off, a short press gives you mode1, and a long press turns off. Or, from off, a long press turns on in mode5, and a short press turns off.

This one is probably not going to work with the add-on 105c. I've removed the gate drivers, going to try connecting straight to the FET's gates, but I'm going to predict it won't work. FETs are AO4468s, specs don't look great based on my limited understanding of things, which is probably why the design is so complex with the separate gate drivers and all the rest; though, why didn't they just use a FET that was a better fit? Who knows.

I've never ordered thru aliexpress before, does this look legit? Change quantity to 100 and check the updated total...

http://www.aliexpress.com/item/2SK4212-K4212-TO-252/1567621605.html

Here's the search results page, check out the crazy range of prices: http://www.aliexpress.com/wholesale?SearchText=2SK4212&catId=&initiative_id=AS_20140205055530

:~

Woohoo, never checked AE for eparts. There are some crazy prices.
I will definitely order some Tinys and some nfets from them.
The FET you found is extremely cheap.
I will first go with 10packs of tiny and to220fets I already have so that I can compare.

I also found used FETs, which got disassembled and have still some solder on the legs, lol.

Anyone planning a single board for this? OL was drawing up one for etching with just Attiny parts and lots of 7135 pads but an Oshpark set up for this would be great.

How about a 46mm board with a tiny13 and three of those 2SK4212s? :O

And a single FET 17mm version?

Include the 105c's stars for compatibility with clicky switches and other firmwares.

I don't know squat about PCB layout though. Somebody else would have to do it... but the parts to make it work have already been sorted out.

A Mag D tube is~34 mm ID and the 52mm Fastech reflector base is 26mm so my vote would be for <32mm ( ideal sizes 28.5mm, 26.5mm, 20.5mm)which would leave plenty of room for the chips, stars, and extra pads for momentary switch.

Never thought of three of these big FETs, in my eyes the advantages are not big enough…just to save some millivolts…

I ordered a 20mm PCB with space for tiny13A and some other neat things like space for a zenerdiode or the off time checking parts.
It features the nanjg layout so firmwares are compatible. No 7135 but space for some sot23 nfets or a TO220Fet( IRL3803). Along with two pads for an eswitch…
4 parallel sot23 FETs are good for 12A and have around 12mOhm so they work perfect in single cell lights, there are even better ones available but I am a budget guy…
The IRL3803 is a beast of transistor and would be suitable for everything we know…
Also we could use bigger resistors for voltage divider to reduce standby current for eswitch es.


There is no need to pay extra for a bigger board which costs 5 times more if you can just add a small PCB on top of the original driver.
I am not sure if the layout is correct because I tried some new things to test, they are already shipped but I guess I will get the the prototypes in a week or so.

45mm*45mm=3squareinch so oshpark would charge 15$ for a batch of three
20x20 cost only 3.1$ for a batch of three…

So basically parts for the whole 20mm board would be around the price the bare 45mm board costs…and the big board would only work in a single type of light because all the big lights are different…
Also you could not assemble a FET and just use the custom firmware with another driver like the 3T6 driver :wink:


I have a 17mm driver in mind like TiVo did with the zilog but just compatible with nanjg firmware. If the prototype works i will make one, hopefully I can learn something from the 20mm driver so that the new one even is better.

I HATE stripping down drivers just to use them as contact boards... :Sp

Wow -Werner this sounds awesome. I have all the parts on order for a small run of Tivo's boards. Wish you could go with a Tiny85 though - much more program space, temp monitor, etc. Dunno - how compatible it is though to the 13A.

To clean the driver just put it on a hot plate like reflowing LEDs just backwards. if hot remove the parts…
We need to think more ecological, recycling is fun :bigsmile:
——-
I dont See the Need for tempmonitoring…? I have a tempsensor Build in my hand :wink:
I also see no need for more program space, what do you want to add?
My eswitch firmware is 700bytes and luxdrv is also around this size, so I don’t see need for more space.
I don’t need user configurable garbage that confuses me, I just want some defined modes. The only thing what I always miss is off time checking, and I guess it will be only few bytes needed for it.
Tiny85 is pincompatibel, just the Registers for PWM and ADC need to be adjusted. But this is a budget driver no super all in one 20$ thing with lots of features nobody needs.
If you had tried my eswitch firmware you would have seen that less is sometimes more…

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.