~gabe/flashlight-firmware/anduril2

« back to all changes in this revision

Viewing changes to ToyKeeper/s7/brass-edc.txt

  • Committer: Selene Scriven
  • Date: 2015-09-14 19:23:29 UTC
  • mto: (153.1.18 tiny25)
  • mto: This revision was merged to the branch mainline in revision 156.
  • Revision ID: ubuntu@toykeeper.net-20150914192329-0ean5s8qpnnkdbub
updated to BLF-VLD 0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This is a slightly modified version of the firmware for my Convoy 
 
2
S7-219B, which is itself a heavily-modified version of JonnyC's STAR 
 
3
on-time firmware.
 
4
 
 
5
The hardware I'm using is a first edition of CNQG / FancyFlashlight's 
 
6
"Brass 18650 EDC" light, with a XP-G2 R5 3B at 1400mA.  (at least, until 
 
7
I upgrade the emitter to a Nichia 219B ~5000K 92CRI)
 
8
 
 
9
The modes are as follows:  (with output measurements from my personal light)
 
10
 
 
11
- 1 tap: moon / 0.45 lm
 
12
- 2 taps: low / 8.9 lm
 
13
- 3 taps: med / 46.6 lm
 
14
- 4 taps: high / 173.6 lm
 
15
- 5 taps: max / 403 lm  (no turbo step-down)
 
16
- 6 taps: 1Hz moon-med flasher (actually, off-med due to a bug)
 
17
- 7 taps: 1Hz low-high flasher
 
18
- 8 taps: 1Hz med-max flasher
 
19
- 9 taps: 1Hz heartbeat beacon
 
20
- 10 taps: 12Hz true strobe
 
21
- 11 taps: 24Hz true strobe (my favorite)
 
22
- 12 taps: 60Hz true strobe
 
23
- 13 taps: ~7Hz to ~18Hz self-ramping strobe
 
24
- 14 taps: battery check mode (each flash represents 25% total charge)
 
25
 
 
26
It uses "short-cycle" memory, so the next tap will reset to the first 
 
27
mode after it has been on for one full second.  This means you don't 
 
28
have to go through all the blink modes to get back to moon or low.
 
29
 
 
30
Every mode except 'moon' uses fast PWM (18 kHz).  Moon mode uses 
 
31
phase-correct 9 kHz PWM.
 
32
 
 
33
The "flasher" modes blink 4 times quickly on the higher of the two 
 
34
levels, then stay on at the lower level, and repeat this cycle once per 
 
35
second.  The timing is roughly 5ms for each blink, 65ms between, then 
 
36
720ms of additional low mode until it starts over.  This is good for 
 
37
high-visibility when you need to both see and be seen, such as on a 
 
38
bike.
 
39
 
 
40
All strobes are "true" motion-freezing strobes, not tactical strobes.
 
41
 
 
42
The self-ramping strobes are just for fun.  Point one at a spinning fan.
 
43
 
 
44
There is a low-voltage monitor, but I'm not sure if it works quite right 
 
45
because I haven't tested it yet.  It will simply step down to 'low' mode 
 
46
when the battery is low, unless it's already at 'low', in which case it 
 
47
will shut off.
 
48
 
 
49
The battery check mode will continuously read the voltage then blink to 
 
50
show the approximate remaining charge.  The blinks are as follows:
 
51
 
 
52
  - 0 blinks: < 3.0V
 
53
  - 1 blink: 3.0 - 3.3V
 
54
  - 2 blinks: 3.3 - 3.6V
 
55
  - 3 blinks: 3.6 - 3.9V
 
56
  - 4 blinks: 3.9 - 4.2V
 
57
  - 5 blinks: > 4.2V
 
58
 
 
59
No settings can be configured by soldering stars.  You'll need to 
 
60
recompile and reflash to change anything.