Texas Avenger "TA" Driver series - Triple channel + Bistro or Narsil + Clicky or E-switch - The Ultimate open source driver!

I am also looking for a good, easy to mod side switch 18650 host.

Just found out about Convoy L4, it uses a 23.5mm driver and 20mm MCPCB.

http://flashlightreviews.xyz/convoy-l4/

http://www.aliexpress.com/store/product/Flashlight-driver-Flashlight-circuit-board-LD34-driver/330416_1622704141.html

Unfortunately the coupon from m4dm4x expired

Ohhh, I got a ton of e-switch lights, turned hosts. Can't buy any hosts per say, but mostly you don't want to anyway - on most you need the stock driver as a contact board and switch mount. My favorite budget host is hard to find now - the ZY-T11 clones, I paid like $9-$11 for: nice compact size, throwy wide head/reflector - perfect 18650 EDC for some throw.

The SkilHunt H15 turned out real nice - like that the switch is on top, w/LED using as a locator LED, etc. The H15 and the U21 are the two lights I either have on me, or are close by.

Bunch of ones that worked out great w/mods:

  • Yezl Y3 - dual switch, SS bezel, GearBest quality problems, but outstanding HD2010 type light, built/sold a bunch of these
  • ZY-T11 clones - classic 18650 EDC
  • SupFire L5 (new one MtnE carries - an F13, but better, quality e-switch)
  • SupFire M2-Z (MtnE again, cheap, C8 size/performance)
  • UranusFire C818 (quality light, bit bulky though, dual switch)
  • ThorFire JM07 (again another F13 killer - best quality, got a few cheap on a Amazon ThorFire deal a while back)
  • Lumintop SD10 - wow! high amps from the TF 32650 with protection circuit removed, again great indicator LED feature under the switch
  • Lots of Crelant models w/dual switch
  • SolarStorm/FandyFire K2 - great heat sinking, compact 26650, SS bezel, etc.
  • several in the e-switch 18650 tube light category (UltraFire, etc.)
  • SolarStorm SC01/SC02/SC03 - 16340, 14500, 18650
  • COURUI D01

I know I'm forgetting a few more...

I've modded the Convoy L4 - nice C8 size/quality, but wayyy too long.

The easiest to mod hosts are the SupFire M2-Z and L6 L5 (ooops!), because they got driver retainer rings, nice SRK style mounted switch in the side - easy to wire up. No need to piggyback a driver in. Might be more like that, if you have the right size driver. My favorite easiest is the L6 right now.

Convoy L4 with a LEGO fit SS bezel:

L4 driver mod:

New Supfire L5 also has a driver retainer ring.

Got the 17mm drivers today - they took longer, different panel. Wow, sure looks packed in there. Will take a closer look - should work well for the piggyback e-switch setups. Need to work on the ramping table...

Discussed the issue of dropping R1/R2 to my EE buddy at work, and using the ref voltage. He's not familiar much with the Atmels, uses the PIC's mostly, but said that is entirely possible to do, couple different ways in fact, depending on what the Atmel has.

He's still adamant that we pursue optical programming/dnld of the drivers. He believes the LED can be used to read light as well as transmit it, and we could use it to both set config settings, and do a full download from a cell phone. Other lights on the market do this, but not sure they are using the primary LED for this.

Yeah, the 17mm are packed super tight, thats why using the internal reference would be great, make it a lot easier to fit things on.

An optical programming setup would be super cool indeed, kinda like using a speaker as a microphone I suppose.

An issue with that is code space, would there be room for this in the firmware?

Code space is one sure concern, but there's the small detail of the R&D and getting it to work without a ton of parts, etc., plus the app development to support it. Not for the faint of heart...

I ordered the 17's in 2 oz and the thin size, figuring it's better for piggybacking.

Good idea, that would make piggybacking easier indeed, if you got some 0603 components it would cut space a little more as well.

I got triple channel ramping working pretty well, least it looks ok. I installed the 22mm driver installed in a SupFire M2-Z for testing, XPL/copper. I used this levelcalc command:

level_calc.py 3 150 7135 3 0.3 150 7135 3 0.3 800 FET 1 1 1500

This generates 3 150 entry PWM tables. It takes about 2.4 secs to ramp thru the table. 1st 65 entries are for the one 7135, then next 62 are for the 7135 bank, then last 23 are for the FET.

I'd like to see more entries in the lower range, less in the high range though. Gotta do more testing. Would also be good to see it in a multi-LED light. For Narsil double channel, one ramping table seemed to work well across single and multi-LED lights. Might be one glitch about in the middle - slight pause, maybe, hard to tell... I've found lowering the last # (1500) gets more entries in the low range, so may try 1200 or so.

Found some good info from Halo... on doing VCC monitoring without needing R1/R2 here:

https://budgetlightforum.com/t/-/34900/731 (post #731 in 25/45/86 thread)

and here:

https://budgetlightforum.com/t/-/32545/790 (post #790 in flashlight firmware repository thread)

Wish Halo... was still around - not seen online for 2 weeks, but this looks like pretty good stuff. He's a treendous source of knowledge on the ATMEL parts, an area I'm particularly weak in.

DrJones mentions he uses it here: https://budgetlightforum.com/t/-/34900/765, in 25/45/85 thread, but no info provided on how to do it.

Want to try some more tweaking on ramping, then I could post NarsilTriple as-is, but Want to mod it to what I described before - have ramping and mode sets all integrated together in in UI state. Still feel this is the best way to go. Think it will save code space, which I will probably need if I can get non R1/R2 VCC reading working, then I'll have another I/O pin available for the indicator LED.

Nice work, I also noticed that bistro tripledown works well in both single and multiemitter lights as a whole with only minor changes needed to the FET portion of the ramping table from what I have seen. Although frankly I am not picky enough to care and just use it as is, it is hardly noticeable anyways and since it doesn’t use ramping actively like narsil it is not an issue.

Having the ramping and modes combined would be sweet. I want to try the ramping, it sounds very interesting but I know that I will most likely just revert to 3-5 set modes as I find this the most useful overall.

If you can get the LVP with the internal reference worked out, it is possible that TK could copy this and add it to the Tripledown firmware. If so I could redesign the drivers without the R1/R2 and instead have pads for future options. Such as the indicator LED, or use the space for an LDO.

Yea, that's what I was thinking. She can borrow code from me for a change - I'm always borrowing her code, so I owe her . I could also make the mods to bistro-tripledown, doesn't matter much. I use her same header structure as well, but I keep them local with the source code/project instead of in one common shared place.

May need some time though - gonna lose evening/morn access soon to be office/shop with my mother-n-law and aunt coming this weekend for a couple weeks.

No problem, take your time. You have been going at this for quite some time now, last thing you need is to get burnt out entirely! lol

This is some really cool stuff going on in here guys! Keep up the good work and thanks sharing.

I'm wondering if there's any way that the programming could be altered to where the first mode could be full 7135 power with access to turbo/full FET by a quick double tap?

In bistro I like reverse mode order hi-low, 4 normal modes, moonlight enabled with no memory. Tactically it's great but for normal work I'd rather it come on in a regulated 3amp mode. With quick access to turbo. I'm mainly talking about use in triples and quads.

Narsil already does that, or equivalent in both operating modes.

If you are in ramping, double tap goes to max/full FET -- that's how it works now on FET+1 drivers.

In mode set mode, it's easy - just configure for 2 modes: max 7135, and max FET. I can't recall exactly how I configured 2 modes - whether for mode #1 I used the single 7135 or bank of 7135's, but easy to change however you like, or add a new mode set -- simply really. Could make mode #1 both 7135 channels at max: single and the bank.

Awesome! I don't have any experience with Narsil but from what I've read it's great. I'm actually doing a yezl y3 mod right now and wish I had Narsil to try out with it.

So with a clicky, if you could make it come on at 100% 7135's no PWM , then ramp down to moon with half press, double tap anywhere in between to full turbo? If that's how it'll work that's awesome!

I'm sure I'm not right about that but am I close?

clicky? You mean a power switch? Narsil is e-switch based, but does have support for a power switch, but just for doing basic clicks to change modes, w/mode memory.

Yea I must have gotten my wires crossed back there somewhere.

I guess you would need a pretty big capacitor to keep the mcu powered when using a power switch?

I had envisioned the light would ramp a little at a time depending on how long you half pressed the power switch. Obviously you wouldn't be able to see it ramping but with practice it could become second nature.

Is that even possible with a power switch?

In theory you could. Not sure if anyone implemented it, but if you have a std rev. clicky switch, 1/2 press, then ramp up from lowest, then a 1/2 click could set the output level to what ramping is at. Think that would work - not as much flexibility as an e-switch.

I tried another ramping table - think it's better, might still be a delay there. I do like one aspect of it - there's much less levels on the FET, which I think is better. Very hard to see any difference between 70% and 100% anyways, but of course depends how much amps you get from the FET.

I added an 8th mode set of 2 modes, where mode 1 is max 1x7135 and the max 7135 bank, and mode 2 is max FET. Interesting because measured amps on mode 1 was exactly 3.15A with all 7135's being 350 mA. One bank (8 7135's) measure 2.78A. So pretty much proved 7135 channels are additive.

This version is now posted up on my google drive share:

https://drive.google.com 254585 Support

Direct link to the source ZIP file: https://drive.google.com NarsilTriple v1-2

Direct link to the AVRDude dnld command for it: https://drive.google.com 85Narsil3.bat