Banggood Blf X5/X6 driver - wrong mcu?

I have taken a X5/X6 driver from the group buy and put it in a triple build with warm white 219C leds and a Efest 18500 IMR battery, all resistances minimised (mod post here, #484 in the what did you mod today thread). It runs over 10A with no problem (judged from the light output of 2000+ lumen OTF), but if the tail is removed and replaced with a copper sheet loop to measure the amps with a clamp meter, the bump to moon problem occurs and I can not do an actual measurement.

So I’m not sure what actually happens but 10A seems no problem.

It has been reported that Richards MTN drivers don’t display the same characteristics as the Manker built versions. His board design is different and seems to yield a more robust driver.

I have the Bistro pushing some high output lights with no issues, even have a couple that show full tail amps well up over 12A.

ATtiny25 with or without “V”?

The only 2 readily available samples of Richards FET+1 with 25 MCU I have both have ATTiny25 20SSU components.

I’m not the best to take macro pictures :frowning:

MTN17DDm-NUV :

BLF X6 :

Looks like RMM’s new version has a gate-pull-down and something that could be a flyback diode (?).

When it comes to buying a fully assembled and flashed driver, I’d go with RMM any day, no brainer.

khas’s pictures are at:


MTN17DDm-NUV (above)
BLF X6 (below)

if you can’t see them

Thanks hank, well I can see them, I’m just not sure if that’s a flyback diode I’m seeing.

Thanks Sharpie. There are two diodes on RMM’s driver, right? One for polarity protection and the other one? It’s not a Zener for use with two cells, right?

Thanks again Sharpie. Just to make clear, I’m not asking because I want to copy anything. My only intention was to gain a better understanding of that stuff. But I understand your point, after all everything here is public and it’s Richard’s design.

Richard has a Zener diode on the Z1 pad, and a gate resistor as a pull down to lower the shock wave of the FET switching on/off, I am not sure of the value of that small resistor but think it’s very high.

The pic of the X6 driver is the standard Bistro version, with the ATTiny25 20SSU MCU. It’s been said that the 3R030 FET is what helps make it work, a faster switching FET causes issue apparently and this is why the gate pull down resistor is needed.

Chouster, the Zener in this case is merely to smooth the signal to the MCU, if it were for 2 cells the 25V reverse polarity diode would be replaced with a 200 Ohm resistor.

Boy, I've/we've been thru all this stuff already. Yes - 25 vs. 25V - no problems, like Halo pointed out.

If you check Richard's parts kit for his new BLFDD17m v 1.11 driver (mtnelectronics.com v1.11 kit), you'll find he uses a 40-60 K ohm resistor on the FET gate - I've been using 12K with the SIR800DP's and the Tiny85, 85V or 85 - makes no difference. My thinking was the lower the resistor, the less possible impact but I could be totally wrong - I'd trust Richard more on this.

My own opinion is I believe the zener he uses in his design is probably a superior solution to the flakiness we've had with 25/45/85 drivers, probably a better solution than what I've done with extra caps, or what Manker/BangGood did on their 25 based driver, which is using a 12 uF cap, not a 10 uF cap btw.

Little history -- Manker/BangGood had problems getting the driver working, so TK asked me about it. I recommended to TK what I've been doing to get reliability out of the 25/45/85 drivers, boost the 10 uF cap or add a 0.1 uF cap between GRND and VCC of the MCU.

Next thing you know, the driver worked and X5/X6's started shipping with no word back from them what they did. Of course I had to know - it looked like our standard known parts, but I pulled the C1 cap and tested it - it's actually 12 uF, not 10 uF. So, their "fix" was from what I recommended, but instead of going with 20 uf (2 10's in parallel), they apparently got it working with one 12 uF cap.

I published/posted this fact of the 12 uF caps, but didn't get much of a response, so dunno, probably lost in the jungle of topic changes in the big thread... Pretty sure TK is aware of this now - think she responded.

I would definitely trust Richard's designs and parts he uses, and superior tracing layouts. If you look at resistors, caps, etc. on any of the popular major source sites like Mouser or Digikey, you will find tighter tolerances and better spec'd parts generally cost more. 1% resistor will typically be more $$$ than 5% resistors. You should see what difference it makes on current sensor resistors, where the better ones costs dollars, not pennies. I'd trust Richard is buying the better more reliable parts from known sources, like Mouser, as opposed to China sources where they buy the cheapest on the market, which will probably be the worse parts as well.

I bought these recently: http://www.mouser.com/Search/ProductDetail.aspx?R=ERA-6AEB6983Vvirtualkey66720000virtualkey667-ERA-6AEB6983V, and in qty 10 they cost 25 cents each, which is very high for a resistor, but a tolerance of 0.1% is incredibly good.

Thanks Tom E, that’s a great summing-up.

Krono put it this way a while back:

Thanks for all the information!
I understand now ATtiny25 works flawlessly at high currents if attached to a well designed board in combination with selected components. I also see at least on reason to use ATtiny25 and not the 25V - it’s half the price. Nevertheless I still believe the ATtiny25 is used out of specs in low batt situations - which the lumen enthusiasts here (including me) will probably never face. Ok for hot rods used by experienced persons, but perhaps not for the average user participating in the group buys.
So here for now my last question: in addition to the price difference - has there been any technical reason to prefer the ATtiny25 over the 25V?

Again, this is correct - straight from the Atmel spec:

Speed Grade

– ATtiny25V/45V/85V: 0 – 4 MHz @ 1.8 - 5.5V, 0 - 10 MHz @ 2.7 - 5.5V

– ATtiny25/45/85: 0 – 10 MHz @ 2.7 - 5.5V, 0 - 20 MHz @ 4.5 - 5.5V

So what his means, regardless of which model of the 25 is used, at 10 Mhz 8 Mhz there is no difference, and TK's Bistro and the couple of firmware versions I've ported all run at 10 Mhz 8 Mhz. here it is, on page 1: http://www.atmel.com/images/atmel-2586-avr-8-bit-microcontroller-attiny25-attiny45-attiny85_datasheet.pdf. Also on page 163, section 21.3 shows the diagrams of max frequency vs. VCC, confirming at 10 Mhz 8 Mhz on either the 25 or 25V, min safe operating voltage is 2.7V.

So at 10 Mhz 8 Mhz, there's really no difference between the 25 and 25V. I've also used both - no differences. Much more important when ordering, is to get the proper package to fit the pinouts of the pad you are using on the board. Mostly we use the same pinout pads as our standard 13A, which is S8S1 (refer to page 204 of the spec).

Oopsie! Meant 8 Mhz, not 10....

The fact that nobody wrote a 4Mhz firmware up to now is a technical reason against using Attiny25V?
A technical reason would be if we can’t use a high PWM frequency with 4 Mhz, I’ll try this soon.
Btw., Toykeeper’s Bistro is fused for 8 Mhz.

Thanks for package info, I was just going to order some 25V.

Oopsie! My mistake - all are 8 Mhz, not 10 Mhz.

This is my fuses for Narsil, commented in the header of the source code:

* Following is the command options for the fuses used:
* -Ulfuse:w:0xe2:m -Uhfuse:w:0xdf:m -Uefuse:w:0xff:m
*
* Low: 0xE2 - 8 MHz CPU without a divider, 15.67kHz phase-correct PWM
* High: 0xDF - enable serial prog/dnld, no brown out (or 0xde for brown out)
* Extra: 0xFF - self programming not enabled

There is no technical reason to use the 25V, as there is no technical reason to use the 25 currently with our LVP implemented as it is. There would be a technical reason to use the 25V if you wanted the option to run at lower speeds, like at 4 Mhz, or wanted to lower or disable LVP.

Updated this post...

As I mentioned before Toykeeper fused to 8 Mhz. According to figure 21.1 on page 163 in the specs whichs shows a linear progression of minimum operating voltage in relation to cpu clock, the 25V would work down to 2.4 volts with Toykeeper’s firmware.

So, is it still possible to eke out an advantage when using moonlight, low battery, over a long time?

I ask because I’m in an earthquake area and I want the option to have a little bit of light for a long time, in case I ever need it.

Because ya never know where you’ll be or what you’ll be under for how long.

I really don’t want to bother anybody by repeating my arguments over and over, but we shouldn’t forget there is schottky diode between Vcc and battery plus, which eats up to 0.3 V. Toykeeper set LVP to 2.8 volts, at this point operating voltage at mcu is about 2.5 volts, and a Attiny25 may not be working at all anymore.