Update Oct 3: PD68 TripleDown/TripleStack - Tri-Channel Driver

Which code did you use?

I tried both, just changed the modes to

#define MODES 0,0,0,255,254
#define ALT_MODES 1,90,255,255,0
#define MODE_PWM PHASE,FAST,PHASE,PHASE,PHASE

Just make a fix in Mk2 there was a slight issue with some of the brackets. Try now.

I will try and get some time to test this myself but wont be for a while

Thanks, I’ll try the updated Mk2 version.

Ok tried it and still the same problem, the driver does not switch modes.


I also tried changing the switch_pin and fet_pin, because the switch is connected to pin 2 and the fet to pin 3 right?

#define SWITCH_PIN PB2
#define FET_PIN PB3

But also no luck with that …

Hmmmmmm,

I’ve tried something more like the current clicky switch FW HERE

Can you make sure that TK’s Ferrero_Rocher works on your driver first.

Ok I tried your new version but still the same, it starts in direct drive and won’t change modes.

I then downloaded the ferrero rocher hex file and flashed this and it also behaves strange.

If I connect it to the battery the led flashed one time very short and then it is dark again.

If I connect ground to pin 2 it cycles through the modes staring high to low.

If I connect ground to pin 2 for a short time it is at direct dirve and stays there.

Strange maybe I did something wrong with the driver.

The only firmware that I get to work properly is the one in the op for a rear clicky light.

Hmmm sound like there is something else wrong

FWIW, Ferrero Rocher is supposed to blink once and shut off when power is connected. Short and long presses should go through the modes in opposite directions. However, it also tries to use two pins for battery indicator LEDs, and that could be messing with the behavior.

I suspect that what happens is a short or long press cycles normally until you let go, then it tries to indicate battery status by turning on one or two pins. This causes the light to turn on another power channel at 100%, and it drowns out any mode changes you do afterward.

If you disable the battery indicator code, it’ll probably behave a bit better. But this at least suggests that the e-switch pin is physically working.

Been looking into it a bit more.

Mk4

nope sorry, tried it still no mode switching :frowning:

Sorry for the basic question,

Is there a driver that has a PWM above 8 kilohertz? I would like to shoot video with flashlights, but the pwm flicker isn’t good. Thanks.

Like this? NLITE, a free firmware for NANJG drivers

Nearly every firmware in the repository has PWM above 8 kHz. Click the link in my signature for more information.

Thanks to HarleyQuins SRK driver I now have a working e-switch firmware for this driver

I have the 20mm Rev2z board. If I am using a single cell, do I need to populate the zener pad?

Anyone know? I didn’t think it needed the zener if using with one cell. But I see that the new blf fet+1 includes a zener even when used with one cell. So IDK?

Never mind. I determined I don’t need it.

Well I build my first driver for good or for worst… Now I’m trying to sort through bistro triple down so I can flash it to this driver. This is the version optimized for two less, but I’m going to use all three channels on one xpl hi.

I know it’s late but none of my driver boards should need the Zener for single-cell.

I hope it works out for you!