NarsilM - configurable e-switch firmware for Multi channels, v1.3

I assembled a L6.

TA LDO 30mm PCB
NarsilM V1.0
XHP70.2

I Can not turnoff by E-Switch,like below link veido.

How to check?

It happens sometimes that a AMC7135 does not shut down completely

they are drivern over their voltage specs and their quality varies from different supplies

Solution is to unsolder them and find the damaged one

I reassembled a new driver.

The situation is the same.? :cry:

Remove the single AMC7135
then opposite of the FET

One thing for sure if you remove all 7135s its most likely gone

+1 with Lexel. I think I had the same issue. For 2S, you really have to have the "good" 7135's, and even still, it's risky. The XHP70.2 can be driven at high amps, so maybe it's more likely to fail?

I can not understand that all 7135 are brand new.

How to test the 7135 good or no good?

simple test

LED does not go out, you got at least one bad
LED gets out all good

I got good expirience with this AMC source
I ordered over 1000 there and had only like 15 bad ones on 2S drivers
https://de.aliexpress.com/item/200PCS-AMC7135PKFT-AMC7135-7135-SOT-89/32425181405.html?spm=a2g0s.9042311.0.0.ImdKd5

Is this the problem?

I think the 7135 are only rated up to 6 or so volts and with 2S lights your above/out of spec.

–0.3V to 7V

https://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwi5rdbG2tbVAhVGb1AKHVmiCKkQFggnMAA&url=https%3A%2F%2Fwww.rcscomponents.kiev.ua%2Fdatasheets%2Fdoc000709557-datasheet.pdf&usg=AFQjCNHuyS9ZV3RNa1pK0AjczxJDaaQ7vg

the problem is there are many cheap AMCs that are not even the original manufactor with different quality

What I can dicover sometimes on drivers if I do thermal calibration when I heat the driver up they start to leak and when cooled down they are fine again

often its way below moonligh level, just a few are that bad like you see it

Yes, they still usually work above that voltage, but every once in a while you get one that seems to stay on. (According to other people that have run into this problem)

Not sure if this has already been mentioned, but I was looking through the code linked in the Google Drive and there seems to be a bug in ModeSets.h

// 6 modes 0.8-2-5-10-50-max ~0.8% ~2% ~5% ~10% ~50% max
PROGMEM const byte mode7135Set6[] = { 20, 110, 255, 255, 0, 0};
PROGMEM const byte mode7135sSet6[] ={ 0, 0, 0, 0, 255, 0};
PROGMEM const byte modeFetSet6[] = { 0, 0, 0, 0, 0, 255};

The 6 mode set does not seem to have the “5 ” output set correctly. Looks like 255, 0, 0 is repeated twice for both 5 and 10%

Yes, looks wrong there. Not sure without looking what table it is.

Line 127 of ModeSets.h

under OUT_CHANNELS == 3

Yea, I didn't know about this one - definite bug, though it's hard to speculate what 5% and 10% mean on a particular light mod or build, since LED's and FET's make such a huge difference. For example in a 7X parallel XPL2 light, maybe you hit 25A is 100% at 10K lumens, so 10% being 0.35A is much lower than 10%...

I'll have to fix this/change this to something reasonable. Think I was using ~1,500 lumens max (typical max single XM-L2 or XPL moderately configured) as a guideline for rating the percentages.

I'm working on NarsilM v1.1 now (GT Buck driver support merging), so will get it in before I forget, so when it's released, it will be there.

Really, all these mode sets should be tweaked build/mod by build/mod since there's so many variations of build/mods. Unfortunately this is what you get when working with fixed amp output (7135's) and variable amp output (FET's) combined in one driver.

It was discussed to not use percentages, but just state what it is: one max 7135, 20% of a 7135, 45% of the FET, etc.

Yup completely understand the percentages are guesstimates. Just wanted to bring this to your attention since it seems obvious that two modes shouldn’t be identical.

Definite appreciate it! Thanks!!!

Only no code has no bugs

I try to make another use of the NarsilM firmware driver.
Not working properly still.
After installing the battery, direct light high, and then will not light up again.

7135 using A705NGT-350 SOT-89

Flash firmware on Attiny85
FET 404

85fuses.bat:
REM BOD disabled:
Wp hvc

REM BOD enabled at 1.8V:
Avrdude -p t85 -c usbasp -Ulfuse: w: 0xe2: m -Uhfuse: w: 0xde: m -Uefuse: w: 0xff: m

85M.bat:
Rem 85NarsilM - downloads NarsilM (Tiny85 Multi-channel e-switch UI configurable)
Rem
Avrdude -p t85 -c usbasp -u -Uflash: w: NarsilM.hex: a

All 100%

Lots of questions, but I'll start with: Exactly how to you have it setup/configured? I need all the details.

Not familiar with the MF01 driver, or exactly how it's set up. I assume its 3 channels, and 2S? I see the LDO. there.

I see lots of variables - new driver, not sure if you ever worked with NarsilM before, not sure if you know the details of setting up a 2S light.

No NarsilM worked before, L6 with NarsilM can not e-switch turnOFF also not to deal with

Setup for 2S e-switch

I guess, will it be 7135 wrong?

R1 : 360k
R2 : 47K
R3 : 100 k
R4 : 47 ohm
R5 : 4.7 ohm
R6 : 0 ohm
R7 : 0 ohm
C1 : 10uF
C2 : 10uf

U1 : ATtiny85
U2 : R404

LDO : Designed around the MIC5235-5.0YM5 LDO voltage regulator

7135 : A705NGT-350

LED arrangement, 2S3P, 3 groups, a total of 18 219C LED