Ok, here is the official release of the Bistro Texas Avenger edition V1. I have everything I could cram into the available space in here. If TK every has time to compact things a bit more then I plan to extend it with 31 mode groups and some more blinking modes along with a few other things but they will not really effect 98% of people.
This firmware will work on any of the Texas Avenger drivers when used with a clicky switch. For e-switch lights we have the amazing Narsil by TomE to take care of us (of which I have not been able to find a suitable light to try it out on myself yet).
So a quick rundown for the TA version of bistro.
It has 24 mode groups in all sorts of flavors
You can adjust the mode order and moon mode separately to further increase the options to 96 different combinations of modes!
Mode memory can be toggled in the menu
It has several neat strobe modes that are quite fun to play with
The modes have been optimized to work with the triple channel setup, putting as many as possible in non-pwn settings
The off-time settings have been recalibrate for the TA drivers which seem to be more stable and not drain the OTC as fast
Thermal regulation with a user calibration setting in the menu
A few other minor changes that won’t really matter.
Basically this firmware is setup so that 98% of people can simply flash it as is and tweak it in the menu to get exactly what they want out of it without ever having to touch a line of code!
Flashing the firmware is quite easy to do with less then $5 worth of parts and a computer. There are threads on this if you search with way more info then I could give. Flashing a pre-made hex file is quite simple though even for novices.
It works exactly like normal bistro, the only changes have been to the modes and mode groups to work best with the Texas Avenger drivers.
Before I show the mode groups here is a basic run down of how to interpret them:
A basic understanding of how these groups work:
There are 20 brightness modes more or less evenly spaced across the visual brightness range so a mode of 10 appears roughly 2x as bright as a mode of 5 ect.
To make things easier to understand the non-PWM channels are provided “shortcut names”.
Moon (selecable in the menu and not shown in the below charts)
ONE7135 = mode 8
ALL7135s = mode 14
TURBO = mode 20
I try to use the non-pwm modes as much as possible as they are the most efficient. Keep in mind it takes 4x the amount of light to appear 2x as bright to our eyes. So going from mode 8 to mode 14 actually appears to be a not quite twice the jump in brightness even though you are using 7x+ as much power.
Going from mode 14 (the 7135’s) to mode 20 (turbo with the FET) uses 2-3x the power but only visually appears slightly brighter with a single LED. Now on triple LED build or the like you might want some between modes, so thats what they are for.
This is why I select mode 12 as the default, if I want turbo it is in the hidden modes via a long click from moon/low. I find that the bank of 7135’s is more then enough for 90% of situations though.
Modes approx mA and lumen values for single XP-L LED
1 = 5.5ma = .5lm
3 = 19ma = 4lm
4 = 37mA = 12lm
5 = 66ma = 24lm
6 = 135ma = 60lm
8 (one7135) = 355ma = 150lm
Above this it will depend on how many 7135’s are installed
With 7x 7135
10 = 640mA
12 = 1A = ~335lm
14 (ALL7135s) = 2.55A = ~830lm
Above this you are using the FET and it will vary wildly depending on the build.
16 = ALL7135s + 25% FET
18 = ALL7135s + 60% FET
Turbo = 100% FET
Now here are the mode groups as seen in the code, using the above lists it should not be too hard to figure out what numbers will deliver which current/brightness.
Hidden modes are as follows:
Turbo > Batt Check > Biking Strobe > Strobe 10hz > Strobe 16hz > Old Movie Effect Strobe > Creepy fun house strobe
Here is the download link: Bistro Texas Avenger V1
It includes everything you need to either compile your own version with all the needed extra files already in place, or use the per-compiled version and simply flash it with AVRdude. It includes a batch file to make that much easier as well.
It also includes some useful python scripts by TK for calibrating things along with the voltage, OTC and temperature calibration firmware for those that really want to dig into things.