Anduril ... 2?

Maybe have an option for those flashlights with USB charging to be able to program from the USB port? I guess this is hardware dependent but would be so much easier than using pins etcā€¦

Anduril has been an eye opener for me, makes a flashlight a bit more than a simple flashlight.

To me however like my cameras, Iā€™d like to see custom memory modes. f1,f2,f3 f(function) for example. (preferably on a second dedicated function button)

I can customize for the purpose/role of the light

examples of possible custom memory modes,

f1 tactical - instant on/off at programmable brightness - on/off only (for a lot of muggles this is all they want. on/off)
f2 muggle2 - ramp/step with moon to x level brightness
f3 bicycle mode - instant on/off
fx instant sunset mode - programmable duration on/off
fy demo - rotate between ramp/flash, stepped on/off
fz star gazing mode - moonlight/warm on/off
f? aux only mode - on/off, rotate between color, or ramp rgb?

non - function mode = everything like today. Lets not lose any functionality.

Maybe have some preset modes for muggle like after a battery swap (for muggle). So if for whatever reason someone gets into a weird mode, they can always reset easily. I know my kids have clicked more than 7 times continuously, or put the light in momentary mode, and had to reset. They may not even remember to press the button for flash sequence to complete.

Then for pro mode - reset with button pressed through sequence like today - opens all settings/configurations

for the current Anduril, maybe make momentary mode, more than 5 clicks? Often times on a light I put in my pocket I tend to turn on lock mode (4-clicks), but accidentally put it in momentary mode and have to reset. :frowning: putting it next to each other in click sequence is easy to make mistake.

I propose naming the new version Anduril Pro

Possible Anduril Pro Configurations:

Anduril Pro Safe LITE
stepped, emulation of the Olight S Mini UI
ramped, emulation of the Nitecore D10 UI

Anduril Pro Safe BRITE
stepped: emulation of Novatac UI programmable modes
ramped: Nitecore D10 Ramping UI, plus blinkies

Anduril Pro Full BRITE
ramped: a trained operator can raise the temperature ceiling to 65C

Safe config has 35C temperature limit

Anduril Pro Full BRITE ā€œScholarā€ Mode config allows operator to raise the temperature limit to 65C.

Just wanted to make sure youā€™re aware that if you set the ramp ceiling to turbo to can then get to it directly from off. But yeah, it you want to also have a lower ceiling then that would require a change.

Curious how you utilize this in real-world use. If you ramp until the blink and then stop are you good, or do you have to ramp back down a bit? Is there any way to take advantage of this feature in stepped mode?

Could we get some programing options for power on state? Itā€™d be nice to add a clicky tail switch or make something like a D4V2 into a twisty. Similar to having Biscotti or Guppydvr combined with Anduril and some added functionality of still having an e-side switch. Would love a tactical turbo start with the rear clicky and moonlight start with side + clicky.

I recall TK looked into this for Anduril and even put in some of the preliminary code needed to implement it.

The problem was that it was far too slow for firmware updates. It would have taken hours to download.

However, I could see an app being useful for changing custom settings since presumably much less data would need to be transmitted. But on the other hand, if you can change your custom settings just with a series of button presses on the light, why go through the effort to create a phone app to do the same thing?

Extended:

  • offer overheating and undervoltage protection
  • include cell to make sure itā€™s a good one
  • include charging so thereā€™s little incentive to remove the cell
  • lock the cell inside so it canā€™t be removed without a special tool (but make the tool available to tinkerers)
  • (ADDED LATER) make physical design that makes accidental activation unlikely
  • add features like the already mentioned output reduction when the light is close to some object. I know itā€™s hard to do perfectly but even if you can stop half of damage induced this way - itā€™s better to have it than not.

one thing that annoys me about stepped mode is, if you get more than about 8 levels, it takes longer to go through them than in ramped mode.

maybe make it go from floor to ceiling in less than X seconds no matter how many steps there are

all i would really want is a muggle mode that works, even if it is less simple
( i have the muggle mode that randomly decides the temp is too high and reduces to lowest level after random seconds)

So, my personal setup for the D4V2 is as follows:
Smooth ramp: Full range from level 1 to 150
Stepped ramp: 3 levels. Low is level 25 (~20Lm), high is level 105 (~1000Lm). This puts the middle level squarely on the max regulated level of 65 (~150Lm).

In addition, I set mode memory to always switch the light on at level 65. The fully regulated 150Lm is useful in a wide range of scenarios where I just need an arbitrary amount of light. Itā€™s also convenient to get as much light as possible from the most efficient output range with a single click. The blink is useful if Iā€™m ramping up and down and I want to know where the threshold is without turning the light off and on again. Before TK implemented the mode memory customization, I relied on the blink as the only way to get back to just under the FET threshold in normal ramping operation. I still do on my FW3As, which arenā€™t so easy to re-flash.

I usually have my D4V2 in the smooth ramp mode for general EDC tasks, but often switch into the stepped mode if I want a better idea of how much power Iā€™m consuming when using the flashlight for longer periods of time. The low step is good for close up stuff at night, medium is efficient for walking, and high will slowly heat up and step down to a sustainable level, but it lasts a while unlike turbo (which is still accessible with a double click if needed). I seem to be fully utilizing both ramp modes and I really like my current setup now. The customization options of AndĆŗril are fantastic.

I will give you my ideas tomorrow, but what about naming it Anduril Next?
This way it doesnā€™t insult our old Anduril version and its users, like in the Anduril Pro case

Was going to reply to everything at once, but it would make a very long postā€¦ so Iā€™ll split it into a few and try to keep similar topics somewhat grouped together.

First, the name:

Iā€™ve been thinking the same. Different name means different UI, not just an iteration of the existing UI. So I think it should probably be ā€œAnduril 2ā€ to make it clear that itā€™s still mostly the same, but different enough to give it a version number bump.

These things are generally already done or at least in the plan:

Thatā€™s in the plan. :+1:

Yes, smooth/stepped is sticking around. Itā€™s not yet decided whether itā€™ll be possible to have steps in the simple UI though. It could potentially use the current ramp style and number of steps, but change the floor and ceiling to a narrower rangeā€¦ maybe.

This is already implemented, and will be improved by replacing muggle mode with an overlay-style simple UI.

This is already possible and has been done, but it happens at compile time.

The factory reset function does this. The user would still need to exit the simple UI after a reset though, to get access to the full feature set again.

It already supports two e-switches, as long as they do the same thing.

It also supports an e-switch plus a clicky switch, where the clicky gives it momentary mode all the time. Side + clicky goes to moon. Enable START_AT_MEMORIZED_LEVEL to use it.

Beyond that, redesigning the UI to take advantage of multiple e-switches would basically make it a different UIā€¦ so it would be a different project. Not saying it canā€™t be done, but itā€™s out of scope for Anduril.

Thatā€™s definitely one of the options Iā€™m considering. It would then be possible to configure the simple UI, but only while the advanced UI is active. For example, it could keep the aux LED settings and maybe the ramp type and manual memory setting, but set a different floor and ceiling in simple mode. It could potentially also allow setting the simple-mode floor and ceiling, though Iā€™m not sure how the UI for that would work.



Thatā€™s an interesting idea which hasnā€™t come up before.

It could perhaps do ā€œlow-floor high-floorā€ when manual memory is off, or ā€œlow-floor manual-memā€ when manual memory is on?

It may end up with gaps between some of the functions which require more than a couple button presses. However, most of the parts which people get mixed up wonā€™t be enabled in the simple UI so I suspect this type of issue may become less common.

Itā€™s something which has come up a few times. Normally Iā€™d suggest setting the ceiling to turbo, since thatā€™s kind of the point of having an adjustable ceiling. But perhaps there needs to be more discussion about the various tradeoffs here, whether itā€™s worth having a separate ceiling and a shortcut from off to turbo, and what would have to be sacrificed to make that happen.

Like, thereā€™s the question of what 3C should be. It could be a turbo shortcut. Or it could still be battcheck. Or Iā€™ve been thinking about whether 3C should go to lockout, to make lockout more convenient to access.

Thereā€™s also a question of what 2H should be. Itā€™s currently ā€œgo to ceiling and ramp downā€, but maybe it doesnā€™t have to be. Itā€™s nice for symmetry and consistency, but I never really use it and Iā€™m not sure if anyone else does either. Perhaps it could be mapped to something else instead. Thereā€™s no shortage of other functions which could benefit from a shorter button mapping.



Iā€™ve been thinking the battcheck function should exit after it finishes one readout, when the user is in simple mode, like the version check does. This may help people avoid getting stuck. Canā€™t do that with lockout mode though.

It depends on the light and the brightness level being used. The formula isnā€™t great at adjusting to the full variety of configurations where it runs. It could also really benefit from higher resolution in terms of time and brightness, to allow for smaller / smoother changes. If I figure out a good way to do it though, Iā€™ll probably do it.

This has come up a few times, and I think itā€™d be a good idea to add it. There might not be room on tiny85-based lights though, so it could potentially be tiny1634 only or otherwise be enabled on a per-device basis.

The blink is only there on some lights, where itā€™s relevant. Mostly just on FET+1 designs. Itā€™s not there on some other lights, and Iā€™ve been wanting to remove it on more. However, itā€™ll still blink at the ceiling.

One thing worth mentioning thoughā€¦ With the blink gone, itā€™s much harder to hide imperfections in the joints between different ramp segments. If the slope changes, itā€™s much more noticeable. So itā€™s often not difficult to tell where the segments join, even without the blipā€¦ which is both a good and bad thing.

Iā€™m hoping that every feature it currently has will also work on tiny85 in Anduril2ā€¦ but depending on how it works out, new features might require a bigger MCU.

Yes, the simple/advanced default value will be configurable at compile time. And the current/other or low/high momentary lockout order should be a compile-time option too.

At some point, probably yes. But not as part of this revision. That migration is a separate project.

Git is really not designed for the way I work, and the features tacked on later to address this are fairly shallow, so itā€™s going to be a very frustrating process. But Git won the DVCS wars, so it should happen anyway.

Would be nice if I could go back and have a long talk with Linus Torvalds back in 2004 or early 2005 before he made Git, to prevent him from making some of the mistakes he made. At this point though, itā€™s probably too late to fix those things because theyā€™re too deeply ingrained into the Git ecosystem.

Since the sensor is a hardware trait, I canā€™t change it in firmware. The most I can do is change the thermal regulation algorithmā€¦

ā€¦ which is very tricky to do well.

It was recently rewritten, again, with the help of pakutrai (08-15 User). The test results are posted here. Itā€™s still not perfect, but hopefully over time it can keep improving.

In any case, the thermal code isnā€™t really part of the UI, so itā€™ll likely be unaffected by the UI changes.

Given that the D4 can start fires in like 3 seconds, this is a question of full power or safety. On some lights, it canā€™t really be both at the same time. However, on other lights like the LT1, full power is pretty safe. So it has different settings on different lights. When it can be safe at full power, it allows full power by default in the simple UIā€¦ but when full power is definitely not going to be safe, it doesnā€™t.

Itā€™s an interesting idea, but depending on the details it may be getting into the territory of becoming a different UI. Like, it could let the user customize every button sequence, similar to the YLP Unicorn, but then it wouldnā€™t be Andurilā€¦ it would be something else. So it might be better as a separate project.

Perhaps there could be one blinky in simple mode, but Iā€™m not sure if people would like that or hate it.

It sounds like you should design a new interface which has these things. Iā€™d suggest using a new name for it though, instead of Anduril.

Yeah, I donā€™t know of a way to make it easier to access without sacrificing something more important.

I donā€™t think a separate UI for biking is likely in Anduril, but a bike-specific UI could be created. For now, the closest it has is the strobe mode memory which can go directly to the bike flasher with a click-click-hold.

There are already two shortcuts to strobe from off:

  • Navigate to the strobe you want, in the strobe mode group. Then turn the light off. Afterward, a 3H action goes directly to that strobe, using the same settings you left it in.
  • For even faster access, after you turn the light off from strobe mode, click 5 times for momentary. Then simply holding the button activates strobe.

ā€¦ and in the update, Iā€™m also adding a thing to make that second option easier. Go to the strobe you want, then click 5 times to go directly to momentary. No need to turn the light off first.

Not sure about having two temperature limits in regular modes, but perhaps it could do something like set the Simple UI temperature limit 5C or 10C lower than the Advanced UI limit?

However, given the issues with factory calibration (or lack thereof), that means a much higher chance that the Simple UI would think it was always overheating. So it could be a significant usability issue for the people the update is intended to help the most.

Itā€™s something to at least keep in mind though, since a lower limit in simple mode would help with the goal of safety.

Iā€™d like to keep that one easily accessible, in part because I use it a lot. Itā€™s supposed to be quick and easy to switch between ramp styles. Have heard from a few other people who switch back and forth a lot too, like what Klayking mentioned earlier.

This is much more tricky.

Probably wonā€™t happen in Anduril, because the UI for it would be a huge pain to use. A big part of why it works the way it does now (floor, ceiling, number of steps) is to avoid setting the levels explicitly. Iā€™ve never seen a UI implement that well without requiring a separate configurator app, and a configurator isnā€™t feasible on most of the lights Anduril supports.

If you can think of a really slick way to configure the levels though, perhaps it would be feasible.

I canā€™t add these with a firmware update. They require hardware features which donā€™t exist on most (or all) of the lights Anduril supports.

Iā€™m playing with my new IF25a which is my first Anduril light today.

While off: Changing the aux light brightness requires seven presses.
While in software lock out: Changing the AUX light requires three presses. I believe this should also be seven.

Hereā€™s why:
I intend to use this feature to show a dim aux when in lockout and a bright aux when in normal mode. For me this is a safety function and lets me know at a glance which mode the light is in. I expect it will also encourage me to set the lockout at night when I put it on my night stand. However, Iā€™ve already found Iā€™m prone to accidentally changing the setting while trying to take it out of lockout mode. For consistency sake and to prevent user error, I feel both modes aux lights should require seven clicks to change. People might not prefer extra clicks but I doubt many people change their aux all that often. Maybe on a D4v2 with different style AUX lights? If I could somehow lock these settings Iā€™d be happier but Iā€™d be just as happy if it took 7 clicks in both modes. Itā€™s too easy to accidentally change.

Thanks for all the work you do. Anduril is awesome and I love the name too. If we have to mix it up I vote for EƤrendil to be the new name.

I think the thermal calibration is going to be one of the toughest issues making lights safe. As things currently are, basically every Anduril light needs to be configured first thing.

As for changes to Anduril, Iā€™d like to set the light up how I want it and then turn off all the config menus. Temperature calibrated? I never want to end up in that menu again. Ramping set (instead of stepped)? Get rid of it. On my LT1, I actually frequently end up messing up either the tint ramping or switching into stepped ramping. I think the issue lies with setting the double-click from off to not be turbo. So I end up ā€œtriple clickingā€ instead of going ā€œonā€ and then double-click (3C instead of 1C;2C). Double-checked it; my FW3A came by default with 2C from off to top of ramp, whereas the LT1 came with 2C from off to the maximum brightness it achieves. I guess Iā€™ll go find the instructions to set top of ramp to max and try the FW3A again.

This is a great idea TK! The 2H shortcut is so easily accessible but it currently does something mostly useless (IMO). Perhaps this could be used to go straight to Turbo from Off?

Pretty slick setup Klayking! Iā€™m constantly tweaking mine as well. I like what youā€™ve got going on here and Iā€™ll probably adopt something similar. Iā€™ll likely use stepped mode to have a dedicated max regulated level as that will let me take advantage of the efficiency without having the blink in smooth ramp. Iā€™d like more than 3 steps though so Iā€™ll have to do some math :slight_smile:

Yes. But your feedback matters to manufacturers.
If you feel something listed above makes sense you can communicate that to them - and itā€™s likely that some future hosts will get such support.