X85 dual switch functionality
A video that describes the interfaces and special modes. Sorry about the quality, crappy mobile phone camera that couldn’t lock any brightness or focus settings.
Note: The firmware changed slightly since I made this video but I couldn’t be bothered to make a new one. The difference is with special mode 3 (programming mode brightness for UI 1 & 2 modes). I’ve removed the timeout that exits programming mode. It will now stay in constant programming mode until the light is turned off for about 5 to 6 seconds, so there is no rush to adjust those modes to perfection.
This post describes how my X85 firmware works for dual switch lights (lights with both a clicky switch and a momentary “E” switch). There are four user interfaces (UIs):
E press = Press with E-switch, P press = press with power switch.
UI 1
Next mode: Short E or P press.
Previous mode: Long E or P press.
Boost: In mode cycle.
UI 2
Next mode: Short P press.
Previous mode: Long P press.
Boost: E press (not in mode cycle). Hold for 1.5 seconds to lock.
UI 3
Adjust mode: Short P press enables mode adjustment (indicated by three quick flashes).
Boost: E press. Hold for 1.5 seconds to lock.
UI 4
Adjust mode: Constantly adjustable.
Boost: Not available, UI 4 mode is adjustable all the way up to maximum output.
Adjusting output in UI 3 and 4:
Increase brightness: E press and hold.
Decrease brightness: Double E press, hold on second press.
UI 3 mode adjusting times out after about one second of no activity. A flash indicates timeout and the new brightness level is saved.
UI 4 mode adjusting always available. Timeout for saving is the same, but no flashes to indicate timeout.
Setup
The setup menu and all other features are accessed by holding the E-switch pressed while turning on the light, counting the amount of blinks that correspond to the menu of interest and then releasing the E-switch. Directly after releasing, additional E-switch presses access settings under that specific menu, and then additional presses to modify that specific setting. If no additional presses are entered directly after releasing the E-switch from the first blink out menu, the light will in most cases perform a readout of some sort. Also, single long presses (L) are in some cases detected (holding E-switch for about a half second).
Copying in the text with setup info into here looked crap so I put it here instead: http://www.mikec.se/Stuff/SetupDsw.txt
Left column is blink counts while holding E-switch on startup. Columns to the right are by pressing X number of times.
Examples
These are the steps to set the UI.
1: Turn on light with E-switch pressed.
2: Count 1 blink then release the E-switch.
3: Immediately after releasing E-switch in step 2, press 1 to 4 times quickly to select UI 1 to 4.
4: The light will flash a sort of “entry accepted” blink (fade in, fade out). Done.
To engage the safety lockout feature, follow the steps above except for step 3:
3: Immediately after releasing E-switch in step 3, press and hold the E-switch for about half a second.
When locked, the light blinks every now and then. To unlock from safety lockout, either repeat or set any UI as in first example.
To readout the voltage level:
1: Turn on light with E-switch pressed.
2: Count 1 blink then release the E-switch.
3: The light now flashes 1 to 5 times depending on cell voltage level. If it does a fade out instead of blink, the level is below level 1.