Flashlight Firmware Repository

For e-switch lights, yes.

For clicky-switch lights, not exactly. But there is another shortcut to turbo in blf-a6 and bistro. Instead of click-tap to get to turbo from off, it’s click-mediumtap. Basically just hold the button half-pressed a little bit longer, and it’ll go backward from moon to turbo.

On clicky-switch lights, I prefer this method to the double-tap-for-turbo. Because on my guppydrv light, I’m constantly trying to turn it on and go to, like, level 2 or 3… and instead it goes to turbo. It’s really annoying. I don’t have that problem on lights which use medium-press instead of double-tap to get to turbo, because I can cycle through modes as fast as I want without any unintended side effects.

I have asked DrJones to make his firmware open-source, but he is not interested. So his interfaces will remain closed and proprietary, with no means of modifying the parts you want to change.

TK. Is there a version of Biscotti that can be used with an E switch?

Nope.

But Flintrock made BistroHD work with an e-switch, and it’s a lot like Biscotti. It acts almost exactly like it does with a clicky switch, except, since it can’t actually click, it uses long-press for off. It even turns off the emitters while the button is down, as if power had been disconnected like it is on a clicky switch.

Honestly I find it a bit weird emulating a clicky switch with an e-switch, but it does exist if that’s what you want.

For attiny13, there aren’t a lot of options for e-switch firmware. Mostly STAR and STAR-like UIs, plus I made a ramping one and a Baton clone. But with tiny25 you can also use BistroHD, and with tiny85, there are several fuller-featured interfaces to choose from. Mainly Narsil and the entire family of FSM-based interfaces.

Thanks TK. :beer:

I know that for e-switches there is. I have your Baton firmware in one flashlight. I like it very much because of its simplicity. Thanks for that!

I know about the med-tap, because I am trying to embrace the Bistro HD for all my flashlights. But I wanted to have one diffrent.

Guppy3drv would be nice if DrJones make the memory as an option for each group.

Anyway, thanks for the answer.

TK, just a heads up, never ran into this with any other FW.c file (cypress 1 & 2, bistro, biscotti, some others) but I tried to download BLF-A6.C today and windows defender wouldn’t allow me, said virus detected.

I opened up the file and copy / pasted it no problem so I was still able to flash it to the driver I was working on (seeming to confirm the file was fine). As an afterthought I tried to re-download bistro less than 5 minutes later and had no issues, went back and retried blf-a6 and the same thing happened again.

Windows 10, no aftermarket anti-virus just windows defender. Browser is chrome.

On the bottom side of a Qlite driver in the C1 position. I assume that is a capacitor. Does anyone know the value and footprint of it?

Thanks!

Most likely an 0805 footprint and 10uf but I do not have a driver to test it myself.

Yup, TA’s right. I just grabbed a standard nanjg105c / qlite and removed the C1 from it. It indeed tested out to be a 10 uF 0805 capacitor. Cheers!

Thank you!

Interesting point

Five extremely short and incongruent posts on five different threads, less than a minute apart, starting just three minutes of creating an account. Posting just to bypass new-account restrictions? New type of spam bot?

Hello, I’m unable to build BLF-A6 from source in Atmel studio 7 (this is the first time I’ve tried to build a project myself in a few years now) I’ve searched and found this helpful thread which reminded me to set optimization for size but atlas that wasnt it.

Can someone help please.

Copy this code:
https://bazaar.launchpad.net/~toykeeper/flashlight-firmware/trunk/view/head:/ToyKeeper/blf-a6/blf-a6.c

clear your main.c file and paste. Remember to define attiny.

Ok great, that reduced me down to 2 errors!

I’ll search for the file it wants next.

Edit: Found the .h it was wanting. Built! Thanks guys (gonna leave all the pics but reduce their sizes. If anyone needs them in a future search just right click and open image in a new tab for full size)

Try to paste this:
./.o: …/./.c
instead:
./blf-a6.o: …/./blf-a6.c

Edit. Nevermind

Hey everyone, I’m sure this has been asked and answered before, but I can’t seem to find it.

Can the A17DD driver that comes in the BLF A6 and Astrolux S1 be flashed with any other firmware? I’m looking for the A6/S1 form factor but without the forward/reverse style UI (A6 or Bistro). I’m gifting the light to a hunter that’s looking for a simple 3-mode setup with memory, but I also would like the programmability to add a moon mode later if he wanted it.

I know I could build a light using the S2+ host and a driver from Mtn Electronics that would allow for the guppydrv or Biscotti firmware, but I want to be able to buy a complete light and only flash new firmware if needed.

Thanks!

JonnyC

You can use the same firmware and just remove what you don’t want. This is the easiest way.
It seems to me that most of firmwares which work in FET+1 configuration should works.

In the blf-a6 directory, there’s a file called tk-otc.c. It’s specifically intended for use as a base for creating custom builds for A6 hardware. It sounds like you probably want to comment out the “OFFTIM3” bit, change the hardcoded mode group values, and set memory=1.

Hey JonnyC, I recently my Babka firmware over to the A6. I’m remote right now, so all I have is a GDrive link: