making a small batch of Texas Avenger "TA" Drivers fully tested running Bistro or Narsil, Clicky or E-switch, SIR800

Now all is needed is the hardware kit made up to be sold!

Ordered 5 more Attiny 85 from German Ebay shop

The USB programmers are availiable on Ali Express for 1.5$
https://de.aliexpress.com/item/USBasp-USBISP-3-3V-5V-AVR-Programmer-USB-ATMEGA8-L/32673931528.html?spm=2114.010208.3.59.nRqkxF&ws_ab_test=searchweb0_0,searchweb201602_3_10152_10065_10151_10068_10136_10137_10060_10138_10062_10153_10141_10056_10055_128_10054_10059_10099_10103_10102_10101_10096_10148_10147_10052_10053_10142_10107_10050_10143_10051_10084_10083_10080_10082_10081_10110_10111_10112_10113_10114_10037_10033_10078_10079_10073_10070_10123_10124,searchweb201603_1,afswitch_1,ppcSwitch_2&btsid=f2d54411-15a0-4138-80fb-acfc1e10ec42&algo_expid=c7dc8cec-7687-4786-bdc6-5bca42db216c-9&algo_pvid=c7dc8cec-7687-4786-bdc6-5bca42db216c

The clip for chips 3$
http://www.ebay.de/itm/SOIC8-SOP8-Flash-Chip-IC-Test-Clips-Socket-Adpter-BIOS-24-25-93-Programmer-MF-/182230151497?hash=item2a6dc37149:g:~BIAAOSwnQhXojmf

Thank you Lexel! :+1: Ordered 2 of each!!

Anything else I might need? Besides Patience!

You mentioned bistro in this thread, didn't realize you were using HD, or maybe you're just showing how?

I'm sure bistro-HD can be flashed as Lexel shows, but without hardware support for OTSM included in the build, or some other specific feature you're trying to get out of it, there may not be much point. It might work well on the eswitch lights, but I haven't even actually tested that yet off a bench, or gotten any feedback. OTSM is the biggest reason to use it, but I don't think these builds are setup for it, which is kind of reasonable, because although I've tested that well, there's not really any early adopter feedback at the moment that I know of, other than my own (no problems here).

Also Lexel, your version and instructions are very outdated. Lot's of bug fixes and changes since those initial releases. If you've got a particular configuration running fine from that version, then no problem, but if people want to experiment they absolutely should use the latest one. The configs were re-organized a few versions back and are separated into different files, with only the attiny version and config file itself being selected at the top of the code. Anyway, the basic idea presented in your pics should get people going if they also read the included compiling instructions and generally just look around at where things are. Still to get the main benefit from HD you need the caps and resistors setup for OTSM.

The latest version of HD is here,:

Looks like you link to something based on 0.2. Presently latest is 1.3. I don't think OTSM even worked right in 0.2. Instructions for OTSM hardware requirements are included in the latest Manual.txt, copied in that post.

Today 200 AMC7135 arrived and from last drivers I had 2 boards over
so i could fit the rest of parts to them, 21mm fully reflow soldered, 17mm resistors and Attiny25 hand soldered
while reflow one 7135 (left side of 21mm) on the back shift position, got that fixed, even if it was electrically OK

need to use less paste especially on the FET, like i did on the 2. 17mm driver I did
and add solder with iron to fets pad, as its not easy to push it down and hold still till the solder gets solid with more than one driver under the heat gun later
it is no clean flux but it looks ugly if there is too much of it squeezed out under the FET

final reflow wil be cleaner as I make progress with it

I am using TA v1.3 Triple Bistro

http://pballandmore.com/Download/2016/Bistro-Texas-Avenger-V1.zip

based on Toykeepers tripledown
http://bazaar.launchpad.net/~toykeeper/flashlight-firmware/tiny25/files/head%3A/ToyKeeper/bistro/tripledown/

Ok, your posted instructions and the link you provided a few posts up though are for Bistro-HD not TA 1.3, but a very old version of bistro HD. So I think you were just showing that in response to questions about getting recent stuff.

FWIW I just updated HD with a one click build script so that importing into Atmel Studio is no longer needed. You need Atmel Studio installed (or WinAVR), just to have the compiler tools available, but compiling just requires double-clicking the included buildal-AS.bat file. You can edit configuration files in any editor you like, including Atmel Studio (or even Notepad or maybe Notepad++ which seems very recommended), but again, without the need to import the project or configure options in AS. This has the added benefit that you are guaranteed to get the same compiler options I used.

Also FWIW, the OTSM build in HD use the TA 1.3 modegroups. The only noticable differences for the basic OTSM build is just that click timing is far more stable (but only with OTSM components). The thermal control is also changed a bit in the latest version, and there are three extra modes included. Otherwise it works like trippledown with TA modes.

Yeah Bistro with OTSM is no option as it requires a quite expensive capacitor and this batch progress is too far advanced to change to OTSM

you can choose soldering paste
lead free 96.5 % tin, 3% silver, and 0.5% copper
or
with lead 62% tin, 36% lead, and 2% silver

Oshpark has all boards from first order shipped, so it wont be long till first drivers go into production
Check the Excel screenshot if the information to your order is right, I keep it up to date dayly

Yeah, it's a little expensive, maybe adds about $1.70 to compared to OTC build if you're buying small batches.

I'm actually thinking folks may try it with cheaper hardware and see how it goes. I bought that cap to make sure it would work well, but with like 3 or 4 seconds of sleep time even at low voltage, it works more than well enough. I like this cap: CL21A476MQMNRNG Actually my original ceramic build wasn't too terrible, but that was 3 by 16V 10uF caps stacked, not one 6.3V 47uF cap. Still even a good ceramic cap of that size is somewhere around $0.60 to $1.00 so maybe $1 saved.

I am though thinking of increasing the timing resolution. Unless I do it pretty cleverly that will eat some capacitor time. Using a 500 ohm bleeder can get a little energy back too as possibly. I have wondered if just using a Ta cap for OTC would stabilize things quite a bit. It's still just annoying form a modding and design perspective, because you have to get the calibration right on every new build, but it may actually work fairly well.

Just fyi... Hoping to get to updating NarsilTriple this week to support the new UI configuration I have in Narsil 2-channel, where the thermal regulation trigger point can be configured.

Not sure yet in the "how to", but would like to combine both Narsil versions into one code base - will be easier maintaining going forward.

If I can get this working, this would also bring 2S battery support into Narsil 3-channel support.

Tom, that’s a great announcement! Thanks for all the coding work you do for us here at BLF! Narsil is amazing!

Thanks! As many as you know, Narsil is built on top of, and using tools by other major contributors.

Roughly, and probably leaving a lot out - Dr Jones, JohnnyC, ToyKeeper, Werner

Also a hugh contribution from BLFers for input on adding features, and others involved in testing and providing feedback.

I should have kept better track of it all...

The leaded solder is FAR better then the tin, both in paste and rod forms.

Also, you can order solder paste stencils from https://www.oshstencils.com/ using the files from oshpark. These make it WAY easier to apply solder paste and is HIGHLY recommended if you are making these in bulk. I assumed you would already be doing this is the only reason I didn’t mention it before.

I would also recommend the stainless steel versions for the top sides at the very least. You can shrink the outside overhang to the minimum they allow for these small drivers as well without an issue.

as i am a little short on SIR800 FETs to assemble more drivers

I stripped some FETs from an dead gaming Laptop mainboard
7 nice Infineon that are as good as the SIR800

IRFH7932PbF - Infineon: 3.3mOhms@VGS = 10V
SIR800: 2.3mOhms@VGS = 10 V

How is it possible to put more board sizes to one stencil foil?

I personally use the NXP FET’s just fine in most of my lights, only the extreme hotrods do I even worry about using the sir800.

You can’t put multiple stencils on a single sheet as far as I know, this would be a question for oshstencil. You could make up a custom stencil by extracting the different pcb paste files and combining them. Although I have no idea how to actually do this easily.

Yeah I've used some cheaper FETs too and not cared. Most of the time I'd rather spend the $1 on having the controls not be frustrating, but then I don't mind spending it on both. Infeons in general are not low quality fets though, and hard to even call them inferior. Actually there are some that are possibly better, although not that one. That particular one is going to struggle a little when the battery is very low, because it has a high turn on voltage, but the voltage falls so quickly when the batteries are that low anyway, that it's probably the equivalent of running out of battery 1 minute faster, no big deal.

yeah that Infineon has 12mOhms at 3V

Anyway our TA drivers with Bistro and Narsil have LVP which reduces output anyways ramping down output when the cell gets low, so the FET wont be used at that level

On Narsil you can see it, when Battery is low you can get to DD the brightness raises a lot, then you see 3 blinks and it steps down, 3 blinks next stepdown aso. as the LVP kicks in

That would be awesome. I’ve been loving v1 narsil in one of my headlight builds. I’m looking forward to checking out how its matured. I still haven’t got around to learning how to flash drivers, so I’m glad Lexel is whipping these up so I can upgrade to the latest Narsil.

Good, point, not much use for the FET at low output.

I got a stupid setback

Tried to do paste on the boards the first were OK, then it gets harder to squeeze out the paste and I get way too thin stuff containing almost flux
then the remaining stuff gets rock solid in the syringe

Crappy stuff they sold me, my lead free 10 year old stuff is better

I recycled some from the syringe and applied it with a toothpick

could do 10 boards with remaining fluxed solder paste

I had the same thing happen with some of my solder paste. I ordered another tube and so far it has been working fine. I think it is more a matter of age, the older it is, the more it separates.