(Edit: this is the 2nd version of my post, the first one was too confusing, I guess.)
May I describe the E-switch user interface I am currently testing in my D4 and SRK mod?
My main goals when creating this UI were:
1.) Full brightness ramping as in D4.
2.) A momentary function from OFF for both “ON with memorized level” and “turbo”.
3.) A garantueed moon level when switching ON, followed by ramping up when switch is pressed and hold (as D4).
4.) A fast and comfortable software lock out/in option especially for D4 since I don’t want to carry this hot rod in my trouthers pocket without lockout.
5.) A true tactical mode which also allows sending morse codes.
6.) A momentary turbo from OFF and ON.
I realized I can’t have 2.) and 3.) at the same time, so I made them configurable. By simply clicking short-short-short-long I toogle between this modes, the selected state is saved in EEPROM and remembered on power up.
So in the momentary configuration the light goes ON when switch is pressed and hold and returns to OFF when switch is released. In the “guaranteed moonlight” configuration it starts at moonlight when pressed and hold and ramps up after a short break (as D4).
When ON the light ramps up and down similar to the D4.
A short clicks always switches the light ON (with memorized level) and OFF.
In addition to the tactical mode I also added an emergency mode which allows to use all of the battery capacity - of course with the risk of damaging them.
Both tactical and emergency mode can only be left by disconnecting power.
Here is a diagram what happens on different click patterns:
From OFF:
s (short click): switches the light ON with memorized brightness.
s-l (short long): momentary turbo, when releasing the switch the light goes OFF.
s-s-s: unlock light.
From ON and OFF:
s: switches the light ON/OFF.
s-s: maximum brightness (turbo), the next double click returns to last used brightness.
s-s-s: tactical strobe.
s-s-s-s: bike strobe.
s-s-s-s-s: blinks out voltage.
s-l: momentary turbo, returns to previous brightness (and/or strobe) when released.
s-s-l: lock out.
s-s-s-l: toggles momentary and “guaranteed moonlight” mode (see above).
s-s-s-s-s-s-s-l: switches to momentary mode (see below).
s-s-s-s-s-s-s-s-l: switches to emergency mode (see below).
s-s-s-s-s-s-s-s-s-l: configuration.
Special modes:
Tactical mode:
light goes ON with last memorized brightness when switched is pressed and hold, and OFF when switch is released. Nothing else, no LVP and no temperature control. Can be used for sending morse codes. You can drain your battery completely. To leave this mode you have to disconnect power.
Emergency mode:
light goes ON with predefined brightness when clicked and OFF at next click. Nothing else, no LVP and no temperature control. You can drain your battery completely. To leave this mode you have to disconnect power.