~toykeeper/flashlight-firmware/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
? Skip to Main Content

  * Contact

J Cap Solutions

  * Home
  * Flashlights
  * Wrenching
  * Tool Rental
  * Coding

Home ? Flashlights ? Firmware

Firmware

These are programs that I have developed in my spare time to get my flashlights
working the way I want them to, and to provide an easy way for other flashlight
enthusiasts to customize their UI?s.  While a lot of it is original, 99% of the
credit goes to Tido and DrJones for providing open-source programs to use as
reference (and some code), and to the great members of BLF.  Feel free to use
the programs however you wish.

Here?s a link to the discussion about the firmware, with more detail about what
it does provided by RMM - http://budgetlightforum.com/node/29150

STAR ? On-time Memory

Download Link v1.1

Used for:  NANJG 105C in forward or reverse clicky lights without a secondary
momentary switch

Features:

  * 18 kHz PWM with 9.4 kHz optional (used for custom FET driver versions)
  * Define up to 10 constant-output modes
  * Turbo mode (full output) with turbo timer that steps down to next lowest
    mode in 15 to 120 seconds (definable)
  * Mode lock time (on-time until mode is memorized):  between 0.5 and
    5 seconds.
  * Low-voltage monitoring with output level step-down (cuts level in half with
    visual notification until voltage stabilized)

Ability to solder stars

 1. DUMMY STAR
 2. Moonlight (not soldered = no, soldered = yes)
 3. Mode Order (not soldered = low to high, soldered = high to low)
 4. Mode Memory (not soldered = on, soldered = off)

 

STAR ? Off-time Memory

Download Link v1.3

Used for:  NANJG 105C in forward or reverse clicky lights without a secondary
momentary switch. REQUIRES additional capacitor.

Features:

  * 18 kHz PWM with 9.4 kHz optional (used for custom FET driver versions)
  * Define up to 10 constant-output modes
  * Define mode memory on or off
  * Turbo mode (full output) with turbo timer that steps down to next lowest
    mode in 15 to 120 seconds (definable)
  * Mode lock time (time after light is off when mode is memorized):
     completely depends on uF of the capacitor used
  * Low-voltage monitoring with output level step-down (cuts level in half with
    visual notification until voltage stabilized)

Ability to solder stars

 1. DUMMY STAR
 2. Moonlight (not soldered = no, soldered = yes)
 3. Mode Order (not soldered = low to high, soldered = high to low)
 4. Capacitor

 

SRK ? No Ramp (aka Werner?s UI)

Download Link v1.0

Used for:  NANJG 105C in always-on lights with a single momentary switch, like
the Skyray King

Features:

  * 18 kHz PWM with 9.4 kHz optional (used for custom FET driver versions)
  * Define multiple constant-output modes
  * Turbo mode (full output) with turbo timer that steps down to next lowest
    mode in 1 to 1,000 seconds (definable)
  * Low-voltage monitoring with output level step-down (steps down to next
    lower mode without visual notification)
  * Light starts in an ?off? mode.  Short press from there or any mode to move
    forward in L-H sequence, long press to move backwards.  Will loop around.
     Cycle back to first mode to turn off.

 

SRK ? With Ramp

Download Link

Used for:  NANJG 105C in always-on lights with a single momentary switch, like
the Skyray King

Features:

  * Possibly coming soon

 

Dual Switch

Download Link v1.0

Used for:  NANJG 105C in lights with a power switch (usually a rear clicky) and
secondary momentary switch

Features:

  * 18 kHz PWM with 9.4 kHz optional (used for custom FET driver versions)
  * Define multiple constant-output modes
  * Turbo mode (full output) with turbo timer that steps down to next lowest
    mode in 1 to 1,000 seconds (definable)
  * Low-voltage monitoring with output level step-down (steps down to next
    lower mode without visual notification)
  * Light starts in first defined mode or last mode if memory enabled.  Short
    press from there to move forward in mode sequence, long press to move
    backwards.  Will loop around.  Turn off using rear clicky.

Ability to solder stars

 1. DUMMY STAR
 2. Mode Order (not soldered = low to high, soldered = high to low)
 3. Mode Memory (not soldered = on, soldered = off)
 4. Connect secondary momentary switch here

 

? 2014 J Cap Solutions
?
Responsive Theme powered by WordPress