comfychair-inspired quick+cheap+lazy single-sided 17DD FET-driver (poor man's nanjg92)

305 posts / 0 new
Last post
djozz
djozz's picture
Offline
Last seen: 13 hours 26 min ago
Joined: 09/07/2012 - 17:04
Posts: 18092
Location: Amsterdam

Oh, and thanks Rufusbduck for the short history of the BLF direct driver builds Smile . I had the pleasure of watching it all a bit from the sideline, these developments I think are among the absolute highlights in the (short) history of BLF (at least in the period that I have been a member).

Major
Major's picture
Offline
Last seen: 6 years 5 months ago
Joined: 11/10/2011 - 13:59
Posts: 232
Location: Peak district, UK

So I was looking at NXP’s (the FET manufacturer) videos on YouTube and when they said they are at Manchester I laughed, that’s like 30 miles from here! And I’m buying their transistors from China which is thousands away, crazy world.

bibihang
bibihang's picture
Offline
Last seen: 2 weeks 1 day ago
Joined: 11/10/2011 - 09:32
Posts: 2445
Location: Malaysia

Major wrote:
So I was looking at NXP’s (the FET manufacturer) videos on YouTube and when they said they are at Manchester I laughed, that’s like 30 miles from here! And I’m buying their transistors from China which is thousands away, crazy world.

I used to wonder why we can buy CREE LEDs from China at relatively low prices considering it is American company, then I came to realize that CREE has manufacturing plant in China.

Another similar story is that Samsung does operate a battery manufacturing plant in my country (known as SDI) and the plant is only 30km (18.75 miles) away from my home. But since they only produce for exportation purpose we don’t get to buy them any cheaper or any more conveniently. Sad We still have to buy these Samsung batteries from China and waiting for month(s) to get here.

bibihang
bibihang's picture
Offline
Last seen: 2 weeks 1 day ago
Joined: 11/10/2011 - 09:32
Posts: 2445
Location: Malaysia

djozz wrote:

The emphasis of this thread was cheap, right? I was browsing over some old dx-pages, and came across the NANJG ak-47 even cheaper: 2 boards for $2.89 . That makes this driver $2.15 Smile

http://www.dx.com/p/3-6v-5-mode-3w-circuit-board-for-flashlights-1000mah...


Hi djozz,

Are the stars on the driver (Dealextreme version) can help to change into different mode group, or does it only come with 5-mode?

Rufusbduck
Rufusbduck's picture
Offline
Last seen: 7 months 2 weeks ago
Joined: 04/04/2012 - 15:34
Posts: 10389
Location: Golden state

If you can’t order from RMM IOS is also inexpensive with mode choice accessed by stars.

Three Tanna leaves to give him life, nine to give him movement. But what if he eats the whole bag?

Scott

bibihang
bibihang's picture
Offline
Last seen: 2 weeks 1 day ago
Joined: 11/10/2011 - 09:32
Posts: 2445
Location: Malaysia

Oh okay that is a really good one. It is 20mm and it can fit perfectly in some flashlights.

Thanks. Smile

Major
Major's picture
Offline
Last seen: 6 years 5 months ago
Joined: 11/10/2011 - 13:59
Posts: 232
Location: Peak district, UK

bibihang wrote:
djozz wrote:

The emphasis of this thread was cheap, right? I was browsing over some old dx-pages, and came across the NANJG ak-47 even cheaper: 2 boards for $2.89 . That makes this driver $2.15 Smile

http://www.dx.com/p/3-6v-5-mode-3w-circuit-board-for-flashlights-1000mah...


Hi djozz,

Are the stars on the driver (Dealextreme version) can help to change into different mode group, or does it only come with 5-mode?

.
Soldering the stars change mode groups.

Major
Major's picture
Offline
Last seen: 6 years 5 months ago
Joined: 11/10/2011 - 13:59
Posts: 232
Location: Peak district, UK

DX drivers arrived quite quickly around 11 days, here’s how I modded mine.
DX 1A 2/3/5 mode Drivers, and PH4030 FETs.

Diode delete for increased gate drive, and wires soldered for bench testing. I like the 10% 100% mode group best so far.


.
Output current is a percentage of high mode. So if high is 4.5A, low mode (first star) will be 450mA.

Group of modes:
1st Star : Low (10%) – High (100%)
2nd Star: Low (5%) – Medium (30%) – High (100%)
3rd Star : Low (5%) – High (100%) – Strobe
4th Star : Low (5%) – Medium (30%) – High (100%) – Strobe – SOS
.
Thank you to all the great brains out there who figure these things out.

ImA4Wheelr
Offline
Last seen: 2 months 3 weeks ago
Joined: 02/03/2013 - 14:51
Posts: 7935
Location: SC

Good stuff going on in here.  Nice budget finds and testing of the new FET option (that Rufusbduck originally identified).  Heart of BLF type stuff.  For the folks actually using the new FET, does it get hot on high or does it stay cool like the 70N02?  I'm assuming it has low resistance and therefore low heat generation, but we all know what assumptions can lead to.

cajampa
Offline
Last seen: 5 years 5 months ago
Joined: 08/01/2014 - 01:55
Posts: 1963
Location: Sweden

As far as i understand it, a FET shouldn’t get warm at all in this kind of DD with PWM for levels application, thats only when you use it for linear regulation like led4power’s LD-1.

djozz
djozz's picture
Offline
Last seen: 13 hours 26 min ago
Joined: 09/07/2012 - 17:04
Posts: 18092
Location: Amsterdam

cajampa wrote:
As far as i understand it, a FET shouldn't get warm at all in this kind of DD with PWM for levels application, thats only when you use it for linear regulation like led4power's LD-1.

yes, with a drop of 25mV at 5A the FET produces 0.125W power. To see that in perspective, every 7135chip in a lineair driver on a freshly charged battery and an XM-L2 may burn as much as 0.350W (depending on total drive current and voltage sag of the battery).

cajampa
Offline
Last seen: 5 years 5 months ago
Joined: 08/01/2014 - 01:55
Posts: 1963
Location: Sweden

I made that wrong conclusion myself Smile just some months ago and thankfully wight explained it to me, so now i wont forget it Wink

I don’t know why, but i like being wrong on an incorrect assumptions, when someone takes the time and explain how and why to me.

I always remember those times as some of my most treasured learning experiences Smile

Rufusbduck
Rufusbduck's picture
Offline
Last seen: 7 months 2 weeks ago
Joined: 04/04/2012 - 15:34
Posts: 10389
Location: Golden state

Major wrote:
bibihang wrote:
djozz wrote:

The emphasis of this thread was cheap, right? I was browsing over some old dx-pages, and came across the NANJG ak-47 even cheaper: 2 boards for $2.89 . That makes this driver $2.15 Smile

http://www.dx.com/p/3-6v-5-mode-3w-circuit-board-for-flashlights-1000mah...


Hi djozz,

Are the stars on the driver (Dealextreme version) can help to change into different mode group, or does it only come with 5-mode?

.
Soldering the stars change mode groups.


On some boards the stars are dummies and mode group changes are done just after a blink in the lowest mode of a group.

Three Tanna leaves to give him life, nine to give him movement. But what if he eats the whole bag?

Scott

sedstar
Offline
Last seen: 3 months 1 week ago
Joined: 04/03/2013 - 18:23
Posts: 949
Location: East coast, united states...

I came late to the party?

can i just think “FET” anytime my first electronics idea is to think “transistor” ? (because thats what happens…lol)

in my “pea brain”, when FETs (and MOSFETs) started getting popular for circuits, i kinda “see” a transistor in the “breadboard of the mind”

I initially had trouble understanding transistors and old-fashioned power tubes other than knowing they amplified signals. And had trouble understanding the difference between them.

my “mentor” (or elmer if you will, lol…) broke my head ice by explaining the transistor as a traffic cop? for example a 10mw signal might come across the collector-emitter legs a 50mw signal… i remember there were “graphs” for selecting a “linear” chunk of the graph, so as to accurately represent the waveform.

=============================================================

so… in my pea brain? we are taking a 1A nanjg driver… and applying the 1A output to the base of the FETsistor…. so 5A is flowing across the other 2 legs? and the output of the driver is driving the base of the FETsistor… so our new “line out” is the output of the FETsistor? meaning its drawing its power from the battery?

everyone is talking about problems with PWM output for lower modes? that makes sense to me, as the PWM is just a sequence of pulse train, which constitutes a signal. Transistors had among other specs, a Mhz rating for what speed signal it would handle before destroying the signal (and the rating was a sick joke), you had to look at the graph and select a portion of the graph as an operating region, so as to preserve linearity of the source signal. Source signal here being the PWM pulse train.

With enough black coffee and cigarettes? all things are possible…

I am currently still shipping… REAL GENUINE CREE xp-g emitters, the classic… brace yourself? as low as 20 cents apiece!! Check out the SALES THREAD, everyone is happy… then PM me

SALES THREAD:
http://budgetlightforum.com/node/52528

if you are into reloading? this is my site… I inherited the remains of what was once arguably the best reloading site on the internet… its the “BLF” of reloading sites…

http://reloadbench.freeforums.net/

if you think night vision would be cool? It IS… this site i am a member of, and its basically the “BLF” of home made scratch-built digital night vision. They are at the leading forefront of advanced DIY for digital night vision, and thats gun mounted or handheld… builds rival and exceed commercial offerings…

http://nightvisionforumuk.com/

bugsy36
bugsy36's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 07/11/2014 - 18:15
Posts: 2475
Location: Florida USA

Rufusbduck wrote:
Back in 2012 .................................................I can't keep track of all the people writing and developing code and there are a slew of people now with more joining in adding their 2 cents. I didn't start this but it sure has been fun to be a part of. p. Edit- this post is not about claiming any credit, that all goes to Matt, CC, Alex, Brian, and all the others that pushed to get where we are now. It is just how I came to be involved and my perspective on the process.

Rufus,

You are not kidding. Keeping up with all of who is who is a job in itself. Pretty soon BLF will end up needing a directory of sorts, with credits Smile I do not hold a candle to these people and their talents but it sure is nice to able to watch and learn from all of them and you!

It's the simple things that we take for granted that cost us the most

Ευκαιρία λέει πιάσε με από το μέτωπο γιατί μόλις έχω περάσει δεν θα με πιάσειs

Rufusbduck
Rufusbduck's picture
Offline
Last seen: 7 months 2 weeks ago
Joined: 04/04/2012 - 15:34
Posts: 10389
Location: Golden state

Sometimes it’s interesting to see how something came about. That was just my perspective on the events so I’m sure it seemed different to someone not privy to the pm conversations. This forum has been really great about people stepping forward and adding their skills unselfishly. It’s fun to watch. Smile

Three Tanna leaves to give him life, nine to give him movement. But what if he eats the whole bag?

Scott

bugsy36
bugsy36's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 07/11/2014 - 18:15
Posts: 2475
Location: Florida USA

BLF is more like an advanced light forum than it is a budget light forum. I have seen on other forums, not all flashlight forums, where it is purchase and show (similar to CPF) but here it is what the manufacturers do but out in the open. I truly wonder how many actually watch and read THIS forum for ideas, etc.

It's the simple things that we take for granted that cost us the most

Ευκαιρία λέει πιάσε με από το μέτωπο γιατί μόλις έχω περάσει δεν θα με πιάσειs

kidanxz
kidanxz's picture
Offline
Last seen: 3 years 4 months ago
Joined: 10/08/2014 - 03:36
Posts: 31
Location: Indonesia

Totally agree with bugsy36. My entire idea for modding and building flashlight is inspired from BLF. I’ve seen on other forums but always come back here. I’d love to watch someone with dedication working on some stuff that result in perfect just as expected and share it with anyone else with honor. Sure thats a nice thing we get only on BLF.

bibihang
bibihang's picture
Offline
Last seen: 2 weeks 1 day ago
Joined: 11/10/2011 - 09:32
Posts: 2445
Location: Malaysia

I tried to build one of these Nanjg92 drivers by following djozz’s way just now, and I got very good results. 8)


^The drivers were ordered from Banggood. All the 7135 chips have been harvested for the other use next time.


^Soldering work is much easier than stacking the annoying 7135 chips! The FET was bought from ebay as introduced by our fellow members – but wait, now they were sold out already?!


^22awg wires and spring were added to the driver. The spring was reviewed by djozz here and its resistance was found fairly low, so I didn’t bother to attach copper braid on it.


^Assembled everything in my HD2010.

The modes are all working correctly and the current draw on high mode is 4.9A – 5.0A measured at tail with my INR 20R, and it was not even fully charged at that time.

I am very satisfied with the outcome considering all the parts are relatively cheap, easy to build and produce amazing result. The only ‘problem’ is that the low mode is still quite bright (as highlighted by the others before) and there is a little visible PWM pattern. I am not sure if the MCU can be flashed because its PWM output pin is seemingly different from the Attiny13A on the common Nanjg 105C. The PWM output pin of the Attiny13A is on Pin 6, while for this AK-47 it is on Pin 7?

Thank you djozz and comfychair for sharing such an excellent method with us. Beer

Serp
Serp's picture
Offline
Last seen: 9 months 2 weeks ago
Joined: 01/14/2014 - 11:29
Posts: 626
Location: Ukraine

if you use Nanjg 105C (D)
You can change the firmware of the microcontroller.
Use Pin6 for Turbo mode and Pin5 for Low Modes.
Use on pin5 one or more AMC7135 chips.
You can use this firmware
http://budgetlightforum.com/node/799?page=2#comment-745245

#define MAX_MODES 2

#ifdef REVERSE_SW //from Lo to Hi
#define SetMod0() Mod0075 //Pin5 PWM 8kHz
#define SetMod1() Mod0350 //Pin5
#define SetMod2() Mod2100 //Pin5+6
#define SetMod3() Mod2100
#define SetMod4() Mod2100 // Mode 5

#else //from Hi to Lo
#define SetMod0() Mod2100
#define SetMod1() Mod0350
#define SetMod2() Mod0075
#define SetMod3() Mod0075
#define SetMod4() Mod0075 // Mode 5
#endif

Major
Major's picture
Offline
Last seen: 6 years 5 months ago
Joined: 11/10/2011 - 13:59
Posts: 232
Location: Peak district, UK

EBay seller E-best_trade has the ph4030al mosfets listed. As the original seller has sold out, I just ordered 20, the lowest they would go on best offer was 65c each. Will report back when they arrive. mosfet

bibihang
bibihang's picture
Offline
Last seen: 2 weeks 1 day ago
Joined: 11/10/2011 - 09:32
Posts: 2445
Location: Malaysia

Serp wrote:
if you use Nanjg 105C (D)
You can change the firmware of the microcontroller.
.
.
.

Crap, now only I see the reply. Thanks for the information, but I am not gonna flash the driver at the moment, mostly because I feel lazy to remove it from my HD2010. Big Smile
bibihang
bibihang's picture
Offline
Last seen: 2 weeks 1 day ago
Joined: 11/10/2011 - 09:32
Posts: 2445
Location: Malaysia

I have a silly question here.

Let’s say I have a poor FET with high internal resistance and it doesn’t deliver more than 3A to the emitter, can I just leave another one or two 7135 chips on the board, to sort of lower the overall resistance?

Thanks.

Serp
Serp's picture
Offline
Last seen: 9 months 2 weeks ago
Joined: 01/14/2014 - 11:29
Posts: 626
Location: Ukraine

bibihang wrote:
I have a silly question here.

Let’s say I have a poor FET with high internal resistance and it doesn’t deliver more than 3A to the emitter, can I just leave another one or two 7135 chips on the board, to sort of lower the overall resistance?

Thanks.


Yes. in parallel
bibihang
bibihang's picture
Offline
Last seen: 2 weeks 1 day ago
Joined: 11/10/2011 - 09:32
Posts: 2445
Location: Malaysia

Serp wrote:
Yes. in parallel

So that would help to reduce the overall resistance (higher current to the LED)?
Serp
Serp's picture
Offline
Last seen: 9 months 2 weeks ago
Joined: 01/14/2014 - 11:29
Posts: 626
Location: Ukraine

+350 мА

djozz
djozz's picture
Offline
Last seen: 13 hours 26 min ago
Joined: 09/07/2012 - 17:04
Posts: 18092
Location: Amsterdam

Serp wrote:
+350 мА

that is only true for an ideal powersource. In reality the extra current via  the 7135 will cause a slight voltage drop over the driver (which in total is the good thing)  which will lower the current through the FET a bit.  ...or not quite like this but someway like this Undecided

bibihang
bibihang's picture
Offline
Last seen: 2 weeks 1 day ago
Joined: 11/10/2011 - 09:32
Posts: 2445
Location: Malaysia

djozz wrote:
…will cause a slight voltage drop over the driver (which in total is the good thing)

Hmm, how would that be considered a good thing?

I still think that a poor FET + 1 or 2*7135 is still better than 12*7135?

Serp
Serp's picture
Offline
Last seen: 9 months 2 weeks ago
Joined: 01/14/2014 - 11:29
Posts: 626
Location: Ukraine

bibihang][quote=djozz wrote:

I still think that a poor FET + 1 or 2*7135 is still better than 12*7135?

You can connect two FET in parallel
bibihang
bibihang's picture
Offline
Last seen: 2 weeks 1 day ago
Joined: 11/10/2011 - 09:32
Posts: 2445
Location: Malaysia

Good idea, thanks!

Pages