~gabe/flashlight-firmware/anduril2

« back to all changes in this revision

Viewing changes to Tom_E/RampingIOS/rampingios-v2.txt

  • Committer: Selene Scriven
  • Date: 2018-11-03 22:54:18 UTC
  • mfrom: (188.1.36 flash-safer)
  • Revision ID: bzr@toykeeper.net-20181103225418-1vsjrc40xh838ggw
merged trunk and flash-safer branch (clean up flash/build scripts and make flashing less likely to produce bricks)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
RampingIOS V2 Manual
 
2
 
 
3
This Markdown-formatted manual was contributed by phil_g under a 
 
4
Creative Commons CC0 waiver:
 
5
  http://aperiodic.net/phil/archives/Geekery/rampingios-v2.html
 
6
  https://creativecommons.org/publicdomain/zero/1.0/
 
7
 
 
8
<figure style="float: right">
 
9
  <a href="https://bazaar.launchpad.net/~toykeeper/flashlight-firmware/emisar-d4/download/head:/d4uiv2.png-20170728053640-qi1sb2a4z410pcs7-1/d4-ui-v2.png">
 
10
    <!-- img width="256em" src="https://bazaar.launchpad.net/~toykeeper/flashlight-firmware/emisar-d4/download/head:/d4uiv2.svg-20170728053640-qi1sb2a4z410pcs7-2/d4-ui-v2.svg" -->
 
11
    <img width="256em" src="https://bazaar.launchpad.net/~toykeeper/flashlight-firmware/emisar-d4/download/head:/d4uiv2.png-20170728053640-qi1sb2a4z410pcs7-1/d4-ui-v2.png">
 
12
  </a>
 
13
  <figcaption>RampingIOS V2 UI diagram</figcaption>
 
14
</figure>
 
15
    
 
16
The Emisar [D4][emisar-d4], [D1][emisar-d1], and [D1S][emisar-d1s]
 
17
flashlights all use a firmware named RampingIOS V2.  (The earliest D4s
 
18
were released with V1, but there aren't many of those around.  The Emisar
 
19
[D4S][emisar-d4s] uses [RampingIOS V3][rampingios-v3].)  There's not
 
20
really a manual; the only thing we get is the diagram on the right.  It's
 
21
pretty comprehensive, but I thought a textual manual would be nice, so I
 
22
decided to write one.
 
23
 
 
24
  [emisar-d4]: https://intl-outdoor.com/emisar-d4-high-power-led-flashlight-p-921.html
 
25
  [emisar-d1]: https://intl-outdoor.com/emisar-d1-mini-thrower-p-922.html
 
26
  [emisar-d1s]: https://intl-outdoor.com/emisar-d1s-thrower-p-926.html
 
27
  [emisar-d4s]: https://intl-outdoor.com/emisar-d4s-26650-high-power-led-flashlight-p-932.html
 
28
  [rampingios-v3]: http://aperiodic.net/phil/archives/Geekery/rampingios-v3.html
 
29
 
 
30
The Emisar lights only work when the head and tailcap are tightened fully.
 
31
You can physically lock out the lights--prevent them from turning on
 
32
accidentally--by simply loosening the tailcap a small amount.  A quarter
 
33
turn will do it.
 
34
 
 
35
The lights use a ramping interface.  Rather than have a small number of
 
36
distinct brightness levels, they can vary their brightness anywhere
 
37
between their lowest and highest levels, like a light on a dimmer.
 
38
 
 
39
The drivers for the lights have two different chipsets.  At low brightness
 
40
levels, a fairly-efficient but low-power chipset (called a *7135*) is
 
41
used.  These lowest brightness levels are called the "*regulated levels*".
 
42
Each regulated level will always be the same brightness regardless of how
 
43
much charge the battery has.  Above a particular brightness level, the
 
44
light switches over to a less-efficient but high-power chipset (called a
 
45
*FET*).  These levels are called "*direct-drive*".  The brightness of the
 
46
direct-drive levels is directly related to the battery's charge level; the
 
47
more charged the battery, the brighter the levels.  The lights are at
 
48
their most efficient, in terms of power used for every lumen generated, at
 
49
the brightest regulated level.  When the light is first powered by
 
50
tightening the tailcap, it will default to this level.
 
51
 
 
52
At higher brightness levels, the lights' LEDs generate a lot of heat.  If
 
53
a light exceeds its configured maximum temperature, it will begin dimming
 
54
itself automatically until the temperature drops below the allowed
 
55
maximum.
 
56
 
 
57
#### Basic Usage
 
58
 
 
59
While the light is off, press and release the button (**1 click**) to turn
 
60
it on.  It will turn on at the last-used brightness level.  (This is
 
61
called "*mode memory*".)  Immediately after loosening and tightening the
 
62
tailcap (or after changing the battery), the default level will be the
 
63
light's max regulated level.
 
64
 
 
65
When the light is on, 1 click will turn it off.  The current brightness
 
66
level will be memorized for future use.
 
67
 
 
68
When the light is on, holding the button down with gradually brighten the
 
69
light ("*ramping up*").  If you release the button and immediately hold it
 
70
again, the ramping direction will switch, so if it had been ramping up
 
71
it'll be dimming ("*ramping down*") afterward.
 
72
 
 
73
While the light is ramping, it'll briefly blink off and on again at three
 
74
different brightness levels: the minimum brightness, the maximum
 
75
brightness, and the maximum regulated level.
 
76
 
 
77
While the light is either on or off, double-pressing the button (**2
 
78
clicks**) will immediately jump to the maximum brightness level.  Another
 
79
two clicks will go back to the previous brightness level.  If the light
 
80
was off before the the initial two clicks, the second two clicks will go
 
81
to the memorized brightness level.
 
82
 
 
83
While the light is off, if you hold the button the light will turn on at
 
84
its lowest level.  If you continue holding the button, the light will
 
85
begin ramping up.
 
86
 
 
87
#### Other Modes
 
88
 
 
89
The other modes largely involve multiple clicks from off.  They're not
 
90
generally needed for everyday use, but they supplement the light's basic
 
91
operations.
 
92
 
 
93
##### BattCheck/TempCheck Modes
 
94
 
 
95
From off, **3 clicks** will enter "BattCheck" mode, which gives the
 
96
battery level.  It blinks out the current battery voltage.  First it
 
97
blinks the number of volts, then it pauses, then it blinks out the tenths
 
98
of volts.  Thus, if the battery were at 3.5 volts, the light would blink
 
99
three times, pause, then five times.  For zeroes, it gives a very short
 
100
blink.
 
101
 
 
102
A fully-charged lithium-ion battery is 4.2 volts.  The light considers 2.8
 
103
volts to be an empty battery and won't turn on if the battery is at or
 
104
below 2.8 volts.
 
105
 
 
106
The voltage sequence will continue blinking until you turn off the light
 
107
with a single click.
 
108
 
 
109
While the light is in BattCheck mode, **2 clicks** will enter TempCheck
 
110
mode.  Instead of blinking out the battery voltage, the light will start
 
111
blinking out its current temperature in degrees Celsius, first the tens
 
112
digit then the units digit.  Like BattCheck mode, the light will continue
 
113
blinking out the temperature until you turn it off with a single click.
 
114
 
 
115
##### Tactical Mode
 
116
 
 
117
From off, **4 clicks** will enter "tactical" or "momentary" mode.  The
 
118
light will flash four times to show that it's entered the mode.  In
 
119
tactical mode, the light will turn on at maximum brightness for as long as
 
120
the button is being held down.  It will turn off as soon as the button is
 
121
released.
 
122
 
 
123
Another 4 clicks will exit tactical mode.  The light will flash twice to
 
124
show that it's left the mode.
 
125
 
 
126
##### Lockout Mode
 
127
 
 
128
From off, **6 clicks** will enter lockout mode.  The light will flash four
 
129
times to show that it's entered the mode.  In lockout mode, the light will
 
130
not turn on, no matter how the button is pressed.
 
131
 
 
132
Another 6 clicks will exit lockout mode.  The light will flash twice to
 
133
show that it's left the mode.
 
134
 
 
135
Remember that loosening the tailcap a quarter turn will also lock out the
 
136
light.  Using the 6 clicks is called "*electronic lockout*", while turning
 
137
the tailcap is "*physical lockout*".
 
138
 
 
139
##### Beacon Mode
 
140
 
 
141
From off, **8 clicks** will enter beacon mode.  In beacon mode, the light
 
142
will blink on and off every two and a half seconds.
 
143
 
 
144
1 click will exit beacon mode.
 
145
 
 
146
##### Thermal Configuration Mode
 
147
 
 
148
From off, **10 or more clicks** followed by holding down the button will
 
149
enter thermal configuration mode.
 
150
 
 
151
In thermal config mode, the light will first blink out the current maximum
 
152
temperature.  As with TempCheck mode, it blinks the tens digit followed by
 
153
the units digit.  If you release the button at this point, the light will
 
154
turn off and no changes to the configuration will be made.
 
155
 
 
156
If you continue to hold the button, the light will then flicker for a
 
157
second or so.  After that, it will turn on at its maximum brightness.  It
 
158
won't turn off until you release the button, which you should do when you
 
159
feel like the light has gotten too hot.  The temperature at that point
 
160
will be the new maximum temperature.  The light will blink out that new
 
161
maximum temperature and then turn off.
 
162
 
 
163
The default temperature threshold is 45°C.
 
164