My Quest for the perfect EDC user interface. (E-switch)

11 posts / 0 new
Last post
chadvone
chadvone's picture
Offline
Last seen: 39 min 32 sec ago
Joined: 08/28/2015 - 23:48
Posts: 1151
Location: Iowa
My Quest for the perfect EDC user interface. (E-switch)

After failed attempts to have this user interface written. I have decided to write it myself. This thread will be a time line of my progress. The UI may change slightly but the concept will be the same. I have been searching for my perfect UI for many years. I am going to attempt to write a UI without the restrictions of my current lights.

This and the following post will be updated and changed as I learn and make progress. May take years.

Lights in mind. Emisar D4, FW3A. and Skilhunt H03 headlamp.

10-10-18 Learn. Nail down UI. Fit cheat sheet onto wallet sized card. (won’t be needed 99% of the time). Learn to flash drivers. Learn to code C.
update
10-10-18 Found some videos on C
10-20-18 Things going slow. Learning C and Vim. And to type. My right most fingers don’t want to work with my mind. Work still busy.
10-28-18 Flashed Anduril onto my D4 with Hex file.
11-17-17 Programming book arrived. Have not opened it.
11-26-18 Eclipse. SNOW
Combining -Jealous light with Auto Off.
Killing -Memory Sweep, OFF-P, and Loaner mode.
Adding – Sports Mode.
Changed named to TBD
11-28-18 Rethinking Functions ramp sequence. Thinning fallowing post.
12-03-18 Thinking of combining ramps 2C and 3C

Edited by: chadvone on 12/05/2018 - 19:57
chadvone
chadvone's picture
Offline
Last seen: 39 min 32 sec ago
Joined: 08/28/2015 - 23:48
Posts: 1151
Location: Iowa

E switch to allow for the following commands.

C=Click(tap)

P=Press(hold till brightness or function change)

SP=Short Press(hold past a click, release) does nothing unless fallowed by another P then ramps down.

C-ON/OFF. Input number command.

P-Ramps brightness or functions.

P-From Off ramps up from lowest 2C level.

CP- From OFF inters CP. From ON returns to last brightness and functions, From CP Toggles brightness and functions.  Hold P for momentary.

2C- From OFF enters 2C. From ON returns to 2C or toggles  2C--2C.

2CP Enters Max. Momentary after P held 1.5(?) seconds. Doesn't overwrite 2C memory unless you ramp down from Max.

3C-From Off enters 3C. From ON returns to last 3C. From 3C Toggles brightness and functions.

3CP momentary 3C after P is held for 1.5(?)seconds.

5C From OFF/ON enters 5C.

5C-P  Enters momentary set up. 

6C From OFF /ON  Toggles Force ON

7C From OFF/.ON  Enters 7C.  From 7C toggles Jealous light.

8C From OFF/ON Enters Sports Mode.

9C From OFF/ON Enters Temp Report.  From 9C Toggles Temp report / Temp set

10C SAVE

11C  LOCK

chadvone
chadvone's picture
Offline
Last seen: 39 min 32 sec ago
Joined: 08/28/2015 - 23:48
Posts: 1151
Location: Iowa

Level Spacing something  like this in lumens.  Based on Triple or Quad led

3C/CP   ML 2 4 9 12 18 25 37 50 75 100 150 200 300 400 800 1/2max max

2C             ML 2 4 9 18 37 75 150 300

2C                          12 25 50 100 200 400 800 1/2max  Max. 

2C 2C 3C CP have there own memories

P from off is not memorized unless you leave 2C to 2C 3C or CP

 

 3C and CP can be set to the fallowing functions.  

Constant light- allows for additional brightness levels

Voltage report.-  blinks out voltage in 1's and 10ths  OR on a Scale. Looking for ideas 

Specials- looking for ideas

Bike flasher-beacon---adjustable 1x-3x flash over last level.  Adjustable brightness and frequency. On the fly adjustable

Strobe-beacon--- adjustable 1x flash over off.  Adjustable brightness and frequency.  On the fly adjustable

CP--3C Functions INFO

Entering a functions ramp. CP then another CP.  P to ramp up/down functions.
Same with 3C.

Bottom of ramp is Constant light. Used for addition light level.
Next is Voltage Report
Next may be some special modes. Still looking for ideas.
Next may be some special modes. Still looking for ideas.
Next will be single flash bike flasher. Ramping slow to fast.
Next will be double flash bike flasher. Ramping slow to fast.
Next will be triple flash bike flasher. Ramping slow to fast.
Next will be Strobe ramping slow to fast.

Strobe will have NO light between flashes.
Strobe will start at 1 flash every second and get much faster.

Bike flasher will be 1 second for flash sequence.  1 flash 1 second long, 2 flashes 1 second long, 3 flashes 1 second long
Bike flasher will start at 1 flash every 10 seconds and end at 1 flash per second.
Bike flasher will have choice of NO light or any level of light between flashes.
Bike flasher can have lower flash brightness then level between flashes.

Light Features.

MOMENTARY  (5C)  Set up with a 5C-P.   Light activates Momentary feature while pressing the button, a release and it returns to previous state.  Power cycle to exit this feature.

FORCE ON (6C) Select a brightness and function click 6 times.  Light will always turn on at this level. 6C while light is off will return it to last mode memory.

AUTO OFF (7C) Select auto off or Jealous light, select duration. Light will shut off or freak out then shut off after set duration.      7C while light is off to exit.

SPORTS MODE (8C) Disable shutting the light off. Power cycle to  exit.

TEMP REPORT/SET (9C) Click 9 times to see temp flash in Celsius another 9 clicks to the limit ramp.

SAVE (10C) Set light to your liking. Click 10 times.  Light will return to this state after a power cycle. Click 10 times from off to keep current settings during a power cycle.

LOCK (11C) Set light to your liking. Click 11 times. Disables all ramping and function changes except lower ramping. Click 11 times from off to remove lock.

 

Low Voltage Protection and Temp Control- Will step/ramp down to  a sustainable level. 

LVP will have brief OFF between every step.  Something you notice, but won't make you crash. If your in a function it goes constant light while stepping and return to function when sustainable. Will step rather quickly until it reaches a level it can sustain, then will remain at that level for set period of time before resuming low voltage test. When it reaches a set voltage it will voltage report x/times then turn OFF. When inserting a cell or doing a power cycle, light will  voltage report if cell is at set level. 

Temp Control=TC   Step/ramps down when a set temp is reached.  Steps will be without the  brief OFF of LVP.  

I don't feel the need for a EDC light to ramp back up once it has cooled.  I may change my view  on this. 

chadvone
chadvone's picture
Offline
Last seen: 39 min 32 sec ago
Joined: 08/28/2015 - 23:48
Posts: 1151
Location: Iowa

4+ lights in 1

From Off a P will take you to a light that step/ramps you from ML to 300 lumens. 
From Off a 2C will take you to another light that step/ramps from 12 to MAX lumens. 
From Off a 3C will take you to another light that step/ramps from ML to MAX lumens.
From Off a CP will take you to another light that step/ramps from ML to MAX lumens.

From ON you can jump between any of these lights with a 2C,2C,3C,and CP.
From ON a P step/ramps the brightness or ramps the functions.

3C and CP have added functions. Voltage Report, Specials, Bike/Flasher, Strobe/Beacon.

3C or CP while in 3C or CP will toggle between brightness and function ramps.

2C-P shortcut to MAX. If you hold the P it becomes momentary.

If you hold the P in a CP it becomes momentary.  ANYTHING.

3C-P(fast) hold the P it becomes momentary.  ANYTHING.

5C Momentary ANYTHING from ANYTHING

 

chadvone
chadvone's picture
Offline
Last seen: 39 min 32 sec ago
Joined: 08/28/2015 - 23:48
Posts: 1151
Location: Iowa

Reserved

tterev3
Offline
Last seen: 3 days 12 hours ago
Joined: 03/28/2014 - 11:22
Posts: 247
Location: NC, USA

I understand where you are coming from – about 10 years ago I felt the same way. I wanted the lights (and other devices) to act the way I thought they should, and the only option was to learn how to accomplish it myself. In my case that initial impetus evolved into my entire career developing embedded firmware for lighting products for an LED manufacturer (you may be able to guess which one by my location). What you are setting out to do is a very lengthy and difficult task, and will likely take years as you said. I felt the need to reply however since it seems so close to my own experience and you should know that it is possible to succeed.

chadvone
chadvone's picture
Offline
Last seen: 39 min 32 sec ago
Joined: 08/28/2015 - 23:48
Posts: 1151
Location: Iowa
tterev3 wrote:
I understand where you are coming from – about 10 years ago I felt the same way. I wanted the lights (and other devices) to act the way I thought they should, and the only option was to learn how to accomplish it myself. In my case that initial impetus evolved into my entire career developing embedded firmware for lighting products for an LED manufacturer (you may be able to guess which one by my location). What you are setting out to do is a very lengthy and difficult task, and will likely take years as you said. I felt the need to reply however since it seems so close to my own experience and you should know that it is possible to succeed.

Thank you for the Positive reinforcement. It is much appreciated.

chadvone
chadvone's picture
Offline
Last seen: 39 min 32 sec ago
Joined: 08/28/2015 - 23:48
Posts: 1151
Location: Iowa

Learn to type

chadvone
chadvone's picture
Offline
Last seen: 39 min 32 sec ago
Joined: 08/28/2015 - 23:48
Posts: 1151
Location: Iowa

Doing laundry

chinooker
chinooker's picture
Offline
Last seen: 2 hours 19 min ago
Joined: 12/16/2015 - 13:27
Posts: 1192
Location: mid USA left coast

chadvone wrote:
Learn to type

I could use both hands to type iffn I could see through them.
chadvone
chadvone's picture
Offline
Last seen: 39 min 32 sec ago
Joined: 08/28/2015 - 23:48
Posts: 1151
Location: Iowa
chinooker wrote:
chadvone wrote:
Learn to type
I could use both hands to type iffn I could see through them.

Thank You, I needed a smile.