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

852 posts / 0 new
Last post
Tom E
Tom E's picture
Offline
Last seen: 8 hours 6 min ago
Joined: 08/19/2012 - 08:23
Posts: 8812
Location: LI NY

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.

RotorHead64
RotorHead64's picture
Offline
Last seen: 16 hours 13 min ago
Joined: 10/31/2015 - 02:49
Posts: 250
Location: United States

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?

Tom E
Tom E's picture
Offline
Last seen: 8 hours 6 min ago
Joined: 08/19/2012 - 08:23
Posts: 8812
Location: LI NY

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.

Tom E
Tom E's picture
Offline
Last seen: 8 hours 6 min ago
Joined: 08/19/2012 - 08:23
Posts: 8812
Location: LI NY

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

 

 

 

DavidEF
DavidEF's picture
Offline
Last seen: 6 hours 59 min ago
Joined: 06/05/2014 - 06:00
Posts: 3904
Location: Salisbury, North Carolina, USA

Hey Texas_Ace, I downloaded Diptrace, since you seem to really enjoy using it. I figured since I’m a newbie anyway, I might as well try out a couple options before settling in with one tool forever. Well, I found out that Diptrace is so unlike Eagle that I can hardly get around in it. I only know Eagle because of Mattaus’ video tutorial series. But, there was plenty in that tutorial to get me going. Did you ever think of doing some kind of simple tutorial for Diptrace? I know it’s not your program, but you use it and seem to understand well enough. The Diptrace help menu claims to have a link to a tutorial, but I couldn’t get anywhere by clicking that. One thing that would be helpful is where did you get your parts libraries? You may have said before. Forgive me if I missed it. The Diptrace download has a lot of parts included, but doesn’t include AMC7135 chips or Cree emitters as far as I can see. What do you say? Would you help a man out?

Ejected Filament wrote:
I could be wrong, or half wrong but Im unlikely to be completely right.
SawMaster wrote:
One of my rules of life: “A closed mouth gathers no foot.
Texas_Ace
Texas_Ace's picture
Offline
Last seen: 4 hours 51 min ago
Joined: 03/24/2016 - 07:44
Posts: 2972

I don’t have a lot of time right now but I recommend that you watch these videos, they were enough to get me setup with enough understanding to figure out the rest:

http://diptrace.com/support/video-guided-tour/

There is also a full user manual and lots of tutorials on youtube if you search.

Far as the 7135’s you just need to find a component with the same foot print and use that. For the LED’s I created my own template. It is not hard to do at all but I can also upload my templates if people want them.

If guns cause crime, then pencils cause misspelled words.

Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke , Civil Libertarian

Texas Avenger Driver Series

My LED Test series - XP-L2 V5  - Nichia 219C 90+ CRILatticebright "XM-L"XHP35 & PWM efficiency - XHP50 - XP-L V5 - XM-L2 U2 - XP-G3 S5  - XP-L HI V2 - Oslon Square & direct comparison to Djozz tests

How I made a True integrating PVC sphere with no math involved

DavidEF
DavidEF's picture
Offline
Last seen: 6 hours 59 min ago
Joined: 06/05/2014 - 06:00
Posts: 3904
Location: Salisbury, North Carolina, USA

Thanks, I’ll check out those videos! Do any of them tell how to create library parts? If not, I may yet need you to upload yours. Blushing

Ejected Filament wrote:
I could be wrong, or half wrong but Im unlikely to be completely right.
SawMaster wrote:
One of my rules of life: “A closed mouth gathers no foot.
Tom E
Tom E's picture
Offline
Last seen: 8 hours 6 min ago
Joined: 08/19/2012 - 08:23
Posts: 8812
Location: LI NY

With the TA 22mm board running NarsilTriple, I configured moon mode to a value of "1" for PWM just to see if it worked. It used the single 350 mA 7135, and it actually works! I have a XPL in there, and there is a slight noticeable glow coming off the phosphor, can hardly be seen but it's there. a "2" PWM level is pretty obvious, but very low still.

Never saw this before. Wonder if it's magic from this driver design and/or DEL's magic of his new parts design.

It sure is impressive though...

Texas_Ace
Texas_Ace's picture
Offline
Last seen: 4 hours 51 min ago
Joined: 03/24/2016 - 07:44
Posts: 2972
Tom E wrote:

With the TA 22mm board running NarsilTriple, I configured moon mode to a value of “1” for PWM just to see if it worked. It used the single 350 mA 7135, and it actually works! I have a XPL in there, and there is a slight noticeable glow coming off the phosphor, can hardly be seen but it’s there. a “2” PWM level is pretty obvious, but very low still.


Never saw this before. Wonder if it’s magic from this driver design and/or DEL’s magic of his new parts design.


It sure is impressive though…

Very interesting indeed. I know TK mentioned that when using 3 PWM channels she could not get them to run below like 31khz or something like that? Did you run into the same issue or is the PWM the same as normal? It is a possible explanation anyways.

I am glad these appear to be working out, I built another one, so far no issues, although my AC went out and have not felt like doing much of anything with ~90 degree temps with 80-90% humidity INSIDE the house lol.

DavidEF wrote:
Thanks, I’ll check out those videos! Do any of them tell how to create library parts? If not, I may yet need you to upload yours. Blushing

Yes, there should be a video on how to design the pattern, the design itself was really simple to learn, took a bit longer to figure out how the “libraries” are setup, doesn’t really “flow” with what I would have expected but not a big deal once you figure it out. I recommend creating a user components library to keep all the custom parts from the start.

If the video is not there, then search youtube, I learned how to do it from a video somewhere.

If guns cause crime, then pencils cause misspelled words.

Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke , Civil Libertarian

Texas Avenger Driver Series

My LED Test series - XP-L2 V5  - Nichia 219C 90+ CRILatticebright "XM-L"XHP35 & PWM efficiency - XHP50 - XP-L V5 - XM-L2 U2 - XP-G3 S5  - XP-L HI V2 - Oslon Square & direct comparison to Djozz tests

How I made a True integrating PVC sphere with no math involved

Tom E
Tom E's picture
Offline
Last seen: 8 hours 6 min ago
Joined: 08/19/2012 - 08:23
Posts: 8812
Location: LI NY

The 380 mA 7135's have more issues - can't get as low PWM's as you can with 350's. No, I'm using full max PWM's of 15.6K on 350's. Don't think there's PWM issues...

Texas_Ace
Texas_Ace's picture
Offline
Last seen: 4 hours 51 min ago
Joined: 03/24/2016 - 07:44
Posts: 2972
Tom E wrote:

The 380 mA 7135’s have more issues - can’t get as low PWM’s as you can with 350’s. No, I’m using full max PWM’s of 15.6K on 350’s. Don’t think there’s PWM issues…

I always use 350mA versions myself, the little bit of extra you get out of the 380 is not worth the price increase to me. Plus I always use FET + 7135 drivers so I never have an issue with needing more power.

If guns cause crime, then pencils cause misspelled words.

Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke , Civil Libertarian

Texas Avenger Driver Series

My LED Test series - XP-L2 V5  - Nichia 219C 90+ CRILatticebright "XM-L"XHP35 & PWM efficiency - XHP50 - XP-L V5 - XM-L2 U2 - XP-G3 S5  - XP-L HI V2 - Oslon Square & direct comparison to Djozz tests

How I made a True integrating PVC sphere with no math involved

Texas_Ace
Texas_Ace's picture
Offline
Last seen: 4 hours 51 min ago
Joined: 03/24/2016 - 07:44
Posts: 2972

Ok, just got the voltage calibration for a 22k R1 resistor completed on a Texas Avenger driver. Initial calibration was set with my DPS3012 power supply and I tested it with various batteries at several voltages and everything lined up in the working driver great. So here is the updated 22k R1 calibration file if anyone is interested:

tk-calibration-22k-R1.h

Also here is my latest working revision of Bistro Tripledown, not 100% I am done tweaking it yet but it is pretty close to the end goal I am personally looking for. So far I have found no bugs or issues with it.

I changed the mode groups around some to better fit with the triple channel setup, I also added a 10th mode and removed the fancy flasher in order to allow for a single 7135 and all 7135’s only mode, which I find useful in some lights where the FET is simply not needed. Not sure what other changes there are other then that, kinda forgot at this point lol.

Texas-Avenger-Bistro-Tripledown

Actually I need to edit the C file to add a line for the new 22k calibration file so people can simply comment out one to select what they are using.

If guns cause crime, then pencils cause misspelled words.

Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke , Civil Libertarian

Texas Avenger Driver Series

My LED Test series - XP-L2 V5  - Nichia 219C 90+ CRILatticebright "XM-L"XHP35 & PWM efficiency - XHP50 - XP-L V5 - XM-L2 U2 - XP-G3 S5  - XP-L HI V2 - Oslon Square & direct comparison to Djozz tests

How I made a True integrating PVC sphere with no math involved

LightRider
LightRider's picture
Offline
Last seen: 3 hours 3 min ago
Joined: 08/05/2015 - 09:52
Posts: 1436
Location: U.P. MI, USA

Anyone know if you can use ramping as a mode in bistro? I tried it and it will ramp, but I can’t get it to select my desired brightness. I’m thinking it must just be to visually test the ramp table as stated in the .c file. Is it difficult to get it to respond to a press while ramping so the user can select the desired brightness?

Texas_Ace
Texas_Ace's picture
Offline
Last seen: 4 hours 51 min ago
Joined: 03/24/2016 - 07:44
Posts: 2972
LightRider wrote:
Anyone know if you can use ramping as a mode in bistro? I tried it and it will ramp, but I can’t get it to select my desired brightness. I’m thinking it must just be to visually test the ramp table as stated in the .c file. Is it difficult to get it to respond to a press while ramping so the user can select the desired brightness?

Correct, the ramping in Bistro is only for testing, there is no way to make it stop at a set point. Although with a Tiny85 this should be entirely possible.

In fact with the current features that narsil offers it could almost be made into a clicky firmware without much work.

Imagine TK and TomE teaming up on a single project, there is only one word for that, Epic.

The issue would be having enough space even on a tiny 85.

If guns cause crime, then pencils cause misspelled words.

Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke , Civil Libertarian

Texas Avenger Driver Series

My LED Test series - XP-L2 V5  - Nichia 219C 90+ CRILatticebright "XM-L"XHP35 & PWM efficiency - XHP50 - XP-L V5 - XM-L2 U2 - XP-G3 S5  - XP-L HI V2 - Oslon Square & direct comparison to Djozz tests

How I made a True integrating PVC sphere with no math involved

Tom E
Tom E's picture
Offline
Last seen: 8 hours 6 min ago
Joined: 08/19/2012 - 08:23
Posts: 8812
Location: LI NY

Just reflowed a 17mm with the 85. The MCU pin pads are actually quite wide, wider than needed for a 13A, but the 85 pins barely touch the pads, so I bend in one side, maybe slight bend in on the other. Here's how it came out, all buzzed out so no shorts or problems, but not tested yet:

Not sure what light I'll put it in yet, but should do well in a piggyback mount. The PCB is a thin one, 2oz, as I ordered from OSHPark.

Texas_Ace
Texas_Ace's picture
Offline
Last seen: 4 hours 51 min ago
Joined: 03/24/2016 - 07:44
Posts: 2972

Tom E wrote:

Just reflowed a 17mm with the 85. The MCU pin pads are actually quite wide, wider than needed for a 13A, but the 85 pins barely touch the pads, so I bend in one side, maybe slight bend in on the other. Here’s how it came out, all buzzed out so no shorts or problems, but not tested yet:

Not sure what light I’ll put it in yet, but should do well in a piggyback mount. The PCB is a thin one, 2oz, as I ordered from OSHPark.

Correct, the 17mm has the normal 150 mil SOIC8 pads as there is simply no room for the 209mil pads. The 209mil pads start on the 20mm boards and everything on up.

I tried fitting it on the 17mm but it just wasn’t happening.

Now that the weather finally cooled down I am able to get some work done again. (Thats Texas for ya, 83 LOW temp one day and 70’s HIGH the next) With no AC, the weather is what temp the house is lol.

I got a triple 219c S2+ built today. It works great. I replaced a prior attempt to build this light with a tripledown but every time it tried to engage the FET it would shut off, voltage spike I am sure due to the 17A current draw.

The new layout from DEL works just as it should the new Avenger triggers the FET without a hitch. Pulls ~17A and is making just under 3000 lumens.

Interestingly, it was pulling around ~16A previously with an FET+1 driver but only making around ~2400 lumens. The difference is that I machined out the bezel to clear the TIR reflectors and not cut off the outside edge of them. Apparently that is worth ~500 lumens. I have another XP-L Hi S2 that I will be doing the same thing to, I am interested to see if it sees the same results.

If guns cause crime, then pencils cause misspelled words.

Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke , Civil Libertarian

Texas Avenger Driver Series

My LED Test series - XP-L2 V5  - Nichia 219C 90+ CRILatticebright "XM-L"XHP35 & PWM efficiency - XHP50 - XP-L V5 - XM-L2 U2 - XP-G3 S5  - XP-L HI V2 - Oslon Square & direct comparison to Djozz tests

How I made a True integrating PVC sphere with no math involved

Tom E
Tom E's picture
Offline
Last seen: 8 hours 6 min ago
Joined: 08/19/2012 - 08:23
Posts: 8812
Location: LI NY

Wow, 3000 lumens is nice for a tube light. Ohhh - on the 17mm I used the big 0805 parts, and all fits, barely. Sure looks crowded though.

Texas_Ace
Texas_Ace's picture
Offline
Last seen: 4 hours 51 min ago
Joined: 03/24/2016 - 07:44
Posts: 2972
Tom E wrote:

Wow, 3000 lumens is nice for a tube light. Ohhh – on the 17mm I used the big 0805 parts, and all fits, barely. Sure looks crowded though.

Yeah, I was impressed considering it is using 219c’s (and not the 320 binned ones that RMM sells now, the older 280 bin ones). Good tint and a floody but usable beam.

It really shocked me the difference that machining the bezel made, I figured it would hardly be noticeable but 500+ lumens (think it was closer to 2300 lumens before mods) says it made a difference for sure.

I am curious to see what the XP-L version with the same treatment does, I will have to get some better before numbers on this one. Also makes me think about what I could do with the 320 bin 219c’s I have here or even the XG-G3’s.

Yeah, I noticed the 0805 components, tight fit for sure but it does seem to fit. The 0603 components look a lot nicer and they are not nearly as crowded but for those that already have 0805 it is nice to not have to buy all new parts just to try these. With the way we keep adding things to drivers I have a feeling that 0603 will be the new standard size.

If guns cause crime, then pencils cause misspelled words.

Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke , Civil Libertarian

Texas Avenger Driver Series

My LED Test series - XP-L2 V5  - Nichia 219C 90+ CRILatticebright "XM-L"XHP35 & PWM efficiency - XHP50 - XP-L V5 - XM-L2 U2 - XP-G3 S5  - XP-L HI V2 - Oslon Square & direct comparison to Djozz tests

How I made a True integrating PVC sphere with no math involved

Tom E
Tom E's picture
Offline
Last seen: 8 hours 6 min ago
Joined: 08/19/2012 - 08:23
Posts: 8812
Location: LI NY

We should be able to drop C2. I think DEL's last thoughts seems less emphasis to need it. The 4.7 ohm resistor made the big difference, think he said it kind of made the C2 cap obsolete.

Texas_Ace
Texas_Ace's picture
Offline
Last seen: 4 hours 51 min ago
Joined: 03/24/2016 - 07:44
Posts: 2972
Tom E wrote:

We should be able to drop C2. I think DEL’s last thoughts seems less emphasis to need it. The 4.7 ohm resistor made the big difference, think he said it kind of made the C2 cap obsolete.

I saw that post although I would like to hear his direct thoughts on a custom driver such as this. I think the post you are referring to was directed at someone hacking together some kind of franken driver. Last I saw him say about a purposes built driver was C2 was very important?

If guns cause crime, then pencils cause misspelled words.

Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke , Civil Libertarian

Texas Avenger Driver Series

My LED Test series - XP-L2 V5  - Nichia 219C 90+ CRILatticebright "XM-L"XHP35 & PWM efficiency - XHP50 - XP-L V5 - XM-L2 U2 - XP-G3 S5  - XP-L HI V2 - Oslon Square & direct comparison to Djozz tests

How I made a True integrating PVC sphere with no math involved

Tom E
Tom E's picture
Offline
Last seen: 8 hours 6 min ago
Joined: 08/19/2012 - 08:23
Posts: 8812
Location: LI NY

Hhm. PD68 asked him bout it - maybe in a pm. Check out PD's new driver, maybe.

Texas_Ace
Texas_Ace's picture
Offline
Last seen: 4 hours 51 min ago
Joined: 03/24/2016 - 07:44
Posts: 2972

Which driver are you referring to, the triplestack? IIRC it had a C2?

If guns cause crime, then pencils cause misspelled words.

Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke , Civil Libertarian

Texas Avenger Driver Series

My LED Test series - XP-L2 V5  - Nichia 219C 90+ CRILatticebright "XM-L"XHP35 & PWM efficiency - XHP50 - XP-L V5 - XM-L2 U2 - XP-G3 S5  - XP-L HI V2 - Oslon Square & direct comparison to Djozz tests

How I made a True integrating PVC sphere with no math involved

Tom E
Tom E's picture
Offline
Last seen: 8 hours 6 min ago
Joined: 08/19/2012 - 08:23
Posts: 8812
Location: LI NY

Dunno - just recall the question, thought PD went with it, dunno.... Got company... sorry...

Texas_Ace
Texas_Ace's picture
Offline
Last seen: 4 hours 51 min ago
Joined: 03/24/2016 - 07:44
Posts: 2972
Tom E wrote:

Dunno – just recall the question, thought PD went with it, dunno…. Got company… sorry…

NP, Hopefully DEL will chime in.

If guns cause crime, then pencils cause misspelled words.

Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke , Civil Libertarian

Texas Avenger Driver Series

My LED Test series - XP-L2 V5  - Nichia 219C 90+ CRILatticebright "XM-L"XHP35 & PWM efficiency - XHP50 - XP-L V5 - XM-L2 U2 - XP-G3 S5  - XP-L HI V2 - Oslon Square & direct comparison to Djozz tests

How I made a True integrating PVC sphere with no math involved

LightRider
LightRider's picture
Offline
Last seen: 3 hours 3 min ago
Joined: 08/05/2015 - 09:52
Posts: 1436
Location: U.P. MI, USA

I have one of these built now and running modified bistro tripledown. One question I have always had: why do we shut off channel one and two and only use the fet for the highest mode? Wouldn’t more channels open mean less resistance and more power to the led? I’m sure it doesn’t otherwise we would be doing it, but anyone know the reason?

Texas_Ace
Texas_Ace's picture
Offline
Last seen: 4 hours 51 min ago
Joined: 03/24/2016 - 07:44
Posts: 2972
LightRider wrote:
I have one of these built now and running modified bistro tripledown. One question I have always had: why do we shut off channel one and two and only use the fet for the highest mode? Wouldn’t more channels open mean less resistance and more power to the led? I’m sure it doesn’t otherwise we would be doing it, but anyone know the reason?

I tested it and found the results but I am guessing on the cause.

If you run all the channels you won’t get as many amps when at 100%, I saw this the other day. Turned off the 7135’s and amps jumped up.

I think the voltage is dropping in the MCU and it is not fully activating the FET/7135’s.

If guns cause crime, then pencils cause misspelled words.

Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke , Civil Libertarian

Texas Avenger Driver Series

My LED Test series - XP-L2 V5  - Nichia 219C 90+ CRILatticebright "XM-L"XHP35 & PWM efficiency - XHP50 - XP-L V5 - XM-L2 U2 - XP-G3 S5  - XP-L HI V2 - Oslon Square & direct comparison to Djozz tests

How I made a True integrating PVC sphere with no math involved

Tom E
Tom E's picture
Offline
Last seen: 8 hours 6 min ago
Joined: 08/19/2012 - 08:23
Posts: 8812
Location: LI NY

yes, TK proved that a while back.

The Miller
The Miller's picture
Offline
Last seen: 7 hours 28 min ago
Joined: 12/14/2015 - 12:08
Posts: 5656
Location: Charente France

Is it possible to have this in 38,5mm as well?

I would love to have Narsil on my to be modded Courui with planned SST 90.
And well I prefer a driver that fits nice in rge light instead of using the default driver just for let power go through, I have the idea that a neatly fitting driver can pass heat of the components to the housing and is thus better.

DavidEF
DavidEF's picture
Offline
Last seen: 6 hours 59 min ago
Joined: 06/05/2014 - 06:00
Posts: 3904
Location: Salisbury, North Carolina, USA

The Miller wrote:
Is it possible to have this in 38,5mm as well?

I would love to have Narsil on my to be modded Courui with planned SST 90.
And well I prefer a driver that fits nice in rge light instead of using the default driver just for let power go through, I have the idea that a neatly fitting driver can pass heat of the components to the housing and is thus better.


Anything is possible! Just an FYI: Texas_Ace has made his Diptrace files accessible to us. You could actually download one and expand it to any size you want! Not saying he won’t do it for you. (That’s for him to decide) Wink
Ejected Filament wrote:
I could be wrong, or half wrong but Im unlikely to be completely right.
SawMaster wrote:
One of my rules of life: “A closed mouth gathers no foot.
The Miller
The Miller's picture
Offline
Last seen: 7 hours 28 min ago
Joined: 12/14/2015 - 12:08
Posts: 5656
Location: Charente France

Actual PCB designing seems way out of my league, again a very intimidating thing for me still struggling with basic soldering.

Pages