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

8 posts / 0 new
Last post
chadvone
chadvone's picture
Offline
Last seen: 1 hour 47 min ago
Joined: 08/28/2015 - 23:48
Posts: 957
Location: Iowa
My Quest for the perfect EDC user interface. (E-switch) MIMIC

After failed attempts to have this user interface written. I have decided to write it myself. I will have to learn to flash drivers, and learn the language. 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 the perfect UI for many years, just like I have searched for the perfect tint, size, throw, output and run time. I have managed to satisfy myself on the latter with just a few lights. The UI how ever always seamed to have restrictions. I am going to attempt to write a UI without the restrictions of my current lights. And give it features to Mimic other lights.

This and the following post will be updated and changed as I learn and make progress. May take years. This link is to a long and complicated video that tries to describe the basics of my UI. I would NOT recommend watching it Big Smilehttps://www.youtube.com/watch?v=v7fffSlTRgY&feature=youtu.be

Lights in mind. Emisar D4, FW3A. and Skilhunt H03 headlamp. Triple channel would be ideal, probably start with fet +1.
All of the following outputs will be based on the Emisar D4 XPL.

Goals
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 a video on C https://www.youtube.com/watch?time_continue=28&v=rk2fK2IIiiQ

Edited by: chadvone on 10/15/2018 - 11:13
chadvone
chadvone's picture
Offline
Last seen: 1 hour 47 min ago
Joined: 08/28/2015 - 23:48
Posts: 957
Location: Iowa

E switch to allow for the following commands.

C=Click(tap)
P=Press(hold till ramp or mode change)
SP=Short Press(hold past a click, release)

C-ON/OFF. Input number command.
P- From ON ramps UP(almost always) P-Ramps brightness level or modes. P-From Off ramps up lowest 2C level.
CP- From OFF inters CP. From On Returns to CP last brightness and mode, From CP Toggles CP brightness and mode. Momentary if P held for 1.5 seconds?

NC= Number Commands
2C- From Off enters 2C. From On Returns to last 2C level from other NCs. Toggles 2C levels when in 2C.
2CP Enters Max. Momentary also????
3C-From Off enters 3C. From On Returns to last 3C level and mode from other NCs. From 3C Toggles brightness and modes.
4C Nothing at this time to avoid confusing 2C 2C with a 4C
5C From Off enters 5C. From On Returns to last 5C. From 5C toggles Brightness and Mode. Power cycle to exit.
6C From OFF /ON enters Jealous Light.
7C From OFF/.ON Enters Auto off.
8C From OFF/ON enters 8C Memory sweep.
9C From OFF/ON enters 9C. From 9C Toggles brightness and mode. POFF
10C Inters 10C
11C From OFF inters 11C.

Think I like that much. Now for a diagram. Can I get this on a wallet card? I think So.

Thats Most of the UI

chadvone
chadvone's picture
Offline
Last seen: 1 hour 47 min ago
Joined: 08/28/2015 - 23:48
Posts: 957
Location: Iowa

Level Spacing

3C Modes  Variable Strobe-Beacon.  Variable Bike Light. Special Modes. Constant Light. Voltage Report.

3C   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. 

 Other Functions

CP- Same levels and modes a 3C. Goes momentary if P is held for 1.5 seconds.

5C-Momentary   Same Levels and Modes as 3C. After 3 seconds. Locks and becomes momentary P. Power cycle to exit.

6C-Jealous Light

7C-Auto Off   Settable auto off timer.

8C-Memory Sweep C's sweep through memories of 2C 3C and CP. Longgg P for off.  8C from off to exit. 

9C Off P Same levels and modes as 3C. Programs the  lights OFF mode and level. 

10C Save current setting to be restored after a power cycle.

11C Loaner Mode  locks light in 2C Adds timer from 7C.  Ramps up for On, down for Off. 

 

2C 2C 3C & CP have there own memories. 

Modes

Strobe- variable flashes over off.

Bike flasher- variable flashes over last level.

Special- IDK any ideas

Special2-IDK any ideas

Constant light- allows for another brightness level

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

 

Things to think about.  LVP  Temp control.

 

 

 

 

 

 

 

 

chadvone
chadvone's picture
Offline
Last seen: 1 hour 47 min ago
Joined: 08/28/2015 - 23:48
Posts: 957
Location: Iowa

Reserved

chadvone
chadvone's picture
Offline
Last seen: 1 hour 47 min ago
Joined: 08/28/2015 - 23:48
Posts: 957
Location: Iowa

Reserved

tterev3
Offline
Last seen: 1 hour 34 min 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: 1 hour 47 min ago
Joined: 08/28/2015 - 23:48
Posts: 957
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: 1 hour 47 min ago
Joined: 08/28/2015 - 23:48
Posts: 957
Location: Iowa

Hello World