X85 off 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 off switch lights (lights with only a clicky switch). There are four user interfaces (UIs):
UI 1
Next mode: Short off press.
Previous mode: Long off press.
Boost: In mode cycle.
UI 2
Next mode: Short off press.
Previous mode: Not available.
Boost: Long off press (not in short press mode cycle).
UI 3
Adjust mode: Long off press enables brightness adjustment (indicated by three quick flashes).
Boost: Short off press.
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: Short press starts increase of brightness. Stop with short press.
Decrease brightness: Double short press starts decrease of brightness. Stop with short 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 short off presses directly after a cold start (turning on the light after it has been off for 5 to 6 seconds or longer). To enter the menu off interest the corresponding amount of off presses must be entered, each off press within a second of the previous. The light will then give a confirmation flash (quick fade in/fade out) and then await input in the form off additional off presses to access a specific function or setting within that menu. If no additional presses are entered directly after the first menu selection confirmation flash, the light will in most cases perform a readout of some sort. Also, single long presses (L) are in some cases detected (holding the off switch off 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/SetupOsw.txt
Left column is press count directly on cold start to access that menu. Columns to the right are by pressing X number of times.
Examples
These are the steps to set the UI.
1: Turn on light after it has been off for at least 5 to 6 seconds.
2: Within one second perform three off presses.
3: Wait for the confirmation flash (quick fade in/fade out).
4: Enter 1 to 4 short off presses quickly to select UI 1 to 4.
5: The light will flash a confirmation flash. Done.
To engage the safety lockout feature, follow the steps above except for step 4:
4: Immediately after the confirmation flash, perform a long off press by holding the off switch off 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 after it has been off for at least 5 to 6 seconds.
2: Within one second perform three off presses.
3: Wait for the confirmation flash (quick fade in/fade out).
4: The light now flashes 1 to 5 times depending on cell voltage level. If it does a fade out instead of blink, the voltage level is really low, below level 1.