Mine came shipped on the 5v jumper and that’s where its stayed for, Um maybe 5 years. It’s worked on 13a, 25 and 85.
TK, you rock! Yup, you’re completely right on this being a hardware issue. I had my power supply set to 4.1v when testing, and a fully charged battery. I lower my voltage to 3.6 and it functions perfectly. 3.7 and it does the double flash on the highest mode and back down to low.
Well that’s a bummer. So I have as BLF A6 driver sitting here, so I’m going to try to flash with the Babka firmware while also transferring the 471 bleed resistor over to the A6 driver.
Sorry if all of this info has been discussed before. I’ve been out of the game for so long, and there are SOOO many firmware and driver options now!
EDIT: Okay, with the Banggood X6 driver, will the LED it’s driving have an impact on the overvoltage issue? I happen to be driving some old stock XM-L2 emitters.
with the Banggood X6 driver, will the LED it’s driving have an impact on the overvoltage issue? I happen to be driving some old stock XM-L2 emitters.
It might. The wires between the driver and MCPCB can have a significant effect too… longer or thinner wires make the issue worse, while wider shorter wires reduce the issue a bit. I suspect that the LED type can affect things too. It’s all very analog.
There are workarounds though. One that I’m aware of is the “pyramid” fix:
Today I fixed a BLF-X5/X6 driver from dropping out of turbo. In another thread I asked how to fix the BLF-X5/X6 driver from dropping out of turbo in a hight drain triple and I was lucky to get an answer from DEL , it may have been mentioned elswhere on BLF but I had not read it before : I had problems with the BLF-X6 driver in triples, but all BLF-A6 drivers thusfar worked fine. Is there a way to 'fix' existing BLF-X6 drivers from Banggood by adding or swapping components? (I can …
Yikes, aligning that pyramid doesn’t look fun
I couldn’t get the BLF A6 working, and now I managed to lose the 471 resistor (went flying when I hit it with my reflow station gun). I think I’m at the point where I’m done modifying, and just need to buy stuff already modified. Tinkering is more frustrating than it is satisfying.
I appreciate the help TK! What is a good thread for me to post up what kind of UI I’m looking for, and someone can tell me exactly what driver to buy, what firmware to flash, and any other tweaks needed (such as a resistor if doing lighted tailcap)?
Thanks for sharing
Yikes, aligning that pyramid doesn’t look fun
I couldn’t get the BLF A6 working, and now I managed to lose the 471 resistor (went flying when I hit it with my reflow station gun). I think I’m at the point where I’m done modifying, and just need to buy stuff already modified. Tinkering is more frustrating than it is satisfying.
I’m not fond of tricky soldering either, so I try to limit my modifications mostly to firmware. It’s much easier than soldering tiny parts into arrangements they weren’t intended for.
What is a good thread for me to post up what kind of UI I’m looking for, and someone can tell me exactly what driver to buy, what firmware to flash, and any other tweaks needed (such as a resistor if doing lighted tailcap)?
This current thread is definitely not the worst place to ask… Or there’s CRX’s thread for interface cheatsheets: Flashlight User Interface Cheatsheets
The repository’s INDEX file might also be useful, but it’s not the greatest. It’s just the contents of each project’s “meta” file reorganized and merged into one file, to make it easier to search for suitable projects.
In general, a lighted tailcap is kind of a pain on pretty much any light because it depends so much on finicky analog circuit behavior. Djozz or emarkd might have some good tips on doing those though, since they have done quite a few.
Or if you use an e-switch light, it’s easier to have a lighted button since the MCU can power and control it directly. But then it’s difficult to have the button in the tail. The FW3A does it, but it has no button light and it’s somehow still not out yet.
can someone give me a link for a working AVRdude? In the tutorial threads the links are not working. I replaced my computer and I can’t flash any light now.
I don’t remember but do I need to install atmel studio tu work?
I already installer MHR AVR tools.
I have win7 32 bit on the laptop and win10 on the PC. either I got working is fine for me.
Thank you!
can someone give me a link for a working AVRdude? In the tutorial threads the links are not working. I replaced my computer and I can’t flash any light now.
This one works for me:
http://stefanfrings.de/avr_tools/avrdude-6.3-mingw32.zip
I don’t remember but do I need to install atmel studio tu work?
I already installer MHR AVR tools.
No, just unpack avrdude.exe into a file and run it from the folder you extracted it to.
Alright I’m a bit lost here with my SOIC-8 clip. I’m trying to flash an Attiny 85. My SOIC-8 Clip just has an 8-pin connector. I’m assuming I need to replace that with a 10-pin corrector to match the USBasp connecter right? How else would I get MISO and MOSI? If yes, how do I open these connectors? Seems impossible to me.
Nooooo…You only run 6 wires from the usb programmer (10 pins) to the clip (8 pins) and they do not directly correspond to up/down or left/right.
Carefully try to follow the diagram from here:
This is a short “quickstart” guide on how to flash drivers that use the ATtiny13a MCU such as Qlite, AK-47, 105a/c/d, etc. Flashing drivers that have an ATtiny25/45/85 is similar but the “fuses” and firmware will be specific to the MCU being used. References and relevant links: http://flashlightwiki.com/AVR_Drivers USBASP V2.0 user guide ATtiny13a datasheet Flashlight Firmware Repository by ToyKeeper Attiny25/45/85 FW Development Thread BLF A6 FET+7135 Light Troubleshooting and Mod thread …
or here:
A Q8 should flash easily if the wiring is correct and the clip is physically connected. The sck period thing doesn’t matter, but the “target doesn’t answer” thing is important. If it helps at all… here’s the expected wiring. MCU pin 1 goes on the side with only 2 wires. Also be sure to check if the usbasp wiring might be upside-down. [image]
I’m on mobile so you get the short version.
Pin 1 is the one with the dot on the corner and the red cable at the clip.
Start at Pin1 and search the other connections between the Programmer and the Tiny.
You need VCC, GND, MISO, MOSI, SCK and RST
I don’t have single wires to plug. My SOIC-8 clip is soldered to an 8-pin IDC connector with ribbon wire.
Like this http://www.bios-chip24.com/Programmier-Adapter-SOIC8-Clip-In-Circuit-Programmierung
I found that set up to be too tricky for me… Though others have managed to make it work. my feeble mind quickly got lost in all the same color wires. and you will have to not use four of them, but I cannot tell you which four not to use or how to hook them up on the USB programmer.
it might be worth the money and headache to get some colored cables and unsolder the gray ones from the clip and then solder the colored ones on to the clip to correspond to the pictures.
I found that set up to be too tricky for me… Though others have managed to make it work. my feeble mind quickly got lost in all the same color wires. and you will have to not use four of them, but I cannot tell you which four not to use or how to hook them up on the USB programmer.
This is exactly my problem. It is SO hard to not lose the overview and constantly think from the female and male connector perspective. I’m just done with pretinning the cut up 10-pin wire…now I need a cigarette first.
More pics
cicciopanzarotto, connect the pins according to the tables here: http://flashlightwiki.com/AVR_Drivers#Getting_Ready You should end up with 6 pins connected — the five in bold plus VCC. When finished, it should look something like this: [image]
and this person made your setup work…grey cable
Please only look at the pin numbers. For wiring to the clip, look above at Toykeepers post #125 or Tom E’s post #127. [image] [image] So the right upper pin on the programmer is pin #1, below that #2 and on… Search for the little triangle on the programmer. This is pin #1, the red wire in post #125 and the brown wire in post #127 of this thread.
I did do it the other way around. I soldered on the clip and left the 10-pin connector untouched. I’ll go over it one more time, but I’m pretty positive I got it correct.
See here:
Red cable is Pin 1.
For my first flash, I did something like this for my D4S:
Is it a MMU-style chip now? I haven’t taken the driver out of mine yet to look… This isn’t as good as Lexel’s flashing adapter, but I found the D4S was pretty easy to reflash with a usbasp, a ribbon cable, and some solid-core wire: [image] [image]
pretty tedious placing six loose fitting wires into six holes while trying not to pull the others out while twisting them around…
but I got a successful Anduril flash on my DS4! Woot!
Ordered a bare clip to try and flash my Q8 now that I am an “expert”…ha!
It actually worked. Can’t beat the feeling of succeeding with something you have absolutely no clue of. AVRdude says I got anduril on my D1.
Got to put that thing together quick. I only trust this, if I see it with my own eyes.
Edit: And the light is up and running! :sunglasses: :+1:
What’s closest discrete level for the 350mA 1x7135 mode on the Emisar D1 with Anduril?
Depends on how your discrete/stepped ramp is configured.
The 1x7135 brightness is ramp level 65 of 150.
This script can calculate which levels the stepped ramp should use for any configuration. For example:
> ./steps.py 10 120 7
1: 10
2: 28
3: 46
4: 65
5: 83
6: 101
7: 120