I implemented to DarkHorse indicator led, lockout and candle mode support from Anduril for my headlamp drivers, but i dint find out how to enable LVP for indicator led
It is not implemented. This is a fairly simple change near
// TODO: turn off aux LED (s) when power is really low
And how TODO? There is no code and im not a coder
I see that weâve had a discussion about it before.
Sorry, I canât give you a better advice than this. I wonât add this code to the repo before I test it.And I donât have an adjustable PSU yetâŚ.
Itâs not that simple. TK is right, a refactor is in order. Fixing it at the spot of the âTODOâ wonât get all the cases.
I tried hard - no results, I guest only TK can fix it
Hi all, Is there any problem with the code of dthoang(dth_Momentary_v1_1.c) ?
I flashed it on my attiny13a, and I see nothing but the blink-on-power.
The driver won't respond to any of the e-switch controls.
I tried flashing STAR-MOMENTARY for example, and it works with no problems.
What might be the problem?
Thanks
Hi everyone I need your help, I have tried the Star-Momemtary code, wonderful code, but I have to ask if you can change some points, I use it with a piezo button and I find it too sensitive, how do I increase debounce for avoid accidental ignition, or you have other things to propose, I also accept your ideas
Thank you so much
You have 2 lines that configure the debounce timing:
maybe try changing DB_REL_DUR to 200ms?
you can use Decimal to Binary converter to find the binary number for your ms.
sorry for misleading you (this definition is a bit mask, no a number), each bit is 16ms, so the max time is 128ms
try:
BTW, are you building a diving flashlight with that piezo switch ?
Thank you very much
why do you think I canât use a piezo button? Iâm using them made of stainless steel that are very good, and also underwater, that you would have other ideas
I didnât say that you canât use it
I just asked whether youâre using it to build a diving flashlight.
I used a piezo switch for a diving flashlight years ago, it was great.
[quote=HiTiT]
You have 2 lines that configure the debounce timing:
maybe try changing DB_REL_DUR to 200ms?
you can use Decimal to Binary converter to find the binary number for your ms.
sorry for misleading you (this definition is a bit mask, no a number), each bit is 16ms, so the max time is 128ms
try:
Hi I tried to do as you said but nothing is still too sensitive, sometimes pressing the button changes twice, you have some ideas
I notice that there are quite a few people who know nothing about coding yet are able to flash firmware. The recent introduction of flashing pads greatly expands this number.
Yet the latest Andruil is not available to them in a binary form. They have to compile the sources which is problematic to quite a few a needless nuisance to a number of others.
I think it would be worthwhile to have some continuous building processâŚ.
Uhhh, someone recently posted a link to a hex file of the latest Anduril build, least I thought, forgot where...
These are the latest builds from the development (not always fully tested) branch. I havenât had any issues with the newest build on my D4V2 Ti.
Sorry I ask a question, do not kill me, itâs only recently that I discovered this forum thanks to all, I found this part where you have gathered all the firmware, but there is the possibility of finding some driver projects that you can create, thanks
Thanks, thatâs exactly what I was looking for. :+1:
You mean ones where you buy PCB and a bag of parts, then solder everything together?
There are a fewâŚbut scattered over many topics.
It would be interesting to make a reference at some pointâŚbut as of now it doesnât exist, so please tell us what kind of driver are you looking for and we may be able to help.
I am looking for the design of a driver for an xhp70.2 led, I have to be able to power it indifferently with 2s 3s 4s battery packs, I need the design because the pcb must have a specific shape for the flashlight that I am building, I am a hobbyist with the passion to build things, Iâm not electronic, but I can assemble a pcb, Iâm building an underwater torch, if you can help me thank you
2s is something I may be able to help with. Zener modded Texas Avenger should do the trick. Please note that recently Texas Ace started to use resistors instead of 7135 because with powerful 2s lights they are much more reliable.
For more than 2s you need some other driver, most likely buck. Iâm not sure if thereâs anything open source availableâŚ