TK's Emisar D4V2 review

1724 posts / 0 new
Last post
Ponduz
Offline
Last seen: 2 weeks 1 day ago
Joined: 11/03/2019 - 18:48
Posts: 1

peg matite wrote:
Thanks for quick reply. Yes agree just was unsure about the extra $18.50 for the reflash kit. So much capability already! Would be nice policy to always ship these with latest software. Actually, Hank replied just a moment ago saying he would indeed reflash before sending. :-)
I wish I did the same and messages him before ordering. I ordered the flashlight after reading your post about Wang reflashing yours before sending, and YAY, ordered one myself. But stupid as I was, I wrongfully took for granted he would update the rest of the orders. When I recieved the light, the FW was not upgraded, and sent him an email.

The reply:

 

Please understand that the light was ordered after 28.9 does not mean the 

firmware is with the 28.9 firmware, the stock flashlight is not updating immediately

with the firmware.I

f you want the latest firmware, please buy the relfashing kit and reflash it.

 

Moral of this, order the reflash kit! The flashlight is amazing, and having an up2date light is worth it! 

f0xx
f0xx's picture
Offline
Last seen: 3 hours 17 min ago
Joined: 02/27/2019 - 18:44
Posts: 368
Location: Near Dallas, Texas
Ponduz wrote:

On the bright side, with the kit you can reflash your light each time a new firmware comes out. TK is always adding or improving something. I believe Hank is putting the same flashing pads on all his new lights, so it is a useful tool to have around.

80T
80T's picture
Offline
Last seen: 12 hours 38 min ago
Joined: 01/24/2019 - 18:11
Posts: 168
Location: Romania/Ireland

DarkShot wrote:
Don't know if it was covered earlier in the thread, but is it possible to alter the Anduril source to change the colors of the battery status aux leds? Like change it from the stock blue/green/red to green/yellow/red or green/blue/red, for instance?

 

Look up this part of code in the "anduril.c" and replace the following three marked relevant lines:

 

    uint8_t colors[] = {

     // 0b00010101 = ????BBGGRR
        0b00000001,  // 0: red
        0b00000101,  // 1: yellow
        0b00000100,  // 2: green
        0b00010100,  // 3: cyan
        0b00010000,  // 4: blue
        0b00010001,  // 5: purple
        0b00010101,  // 6: white
    };
    uint8_t actual_color = 0;
    if (color < 7) {  // normal color
        actual_color = colors[color];
    }
    else if (color == 7) {  // rainbow
        if (0 == (arg & 0x03)) {
            rainbow = (rainbow + 1) % 6;
        }
        actual_color = colors[rainbow];
    }
    else {  // voltage
        // show actual voltage while asleep...
        if (go_to_standby) {
            // choose a color based on battery voltage
            if (volts >= 38) actual_color = colors[2];                       // these are the three relevant lines to replace*
            else if (volts >= 33) actual_color = colors[1];               // these are the three relevant lines to replace*
            else actual_color = colors[0];                                       // these are the three relevant lines to replace*
        }
        // ... but during preview, cycle colors quickly
        else {
            actual_color = colors[((arg>>1) % 3) << 1];
        }
    }

 

I've left the full block so it'd be easier to spot and to understand where are the colors defined

The above change would be Green > Yellow > Red

The code snippet it's taken of rev. 450 Anduril: Anduril Rev. 450

 

 

Bonus, Beacon mode more like a camera blitz"

 

inline void beacon_mode_iter() {
    // one iteration of main loop()
    set_level(MAX_LEVEL);                                               // these are the three relevant lines to replace* (don't change this line if you want to keep the memorized brightness lvl. ability)
    nice_delay_ms(5);                                                        // these are the three relevant lines to replace*
    set_level(0);
    nice_delay_ms(((beacon_seconds) * 1000) - 5);          // these are the three relevant lines to replace*
}
#endif  // #ifdef USE_BEACON_MODE

 

 

Cheers!

Grieflar
Grieflar's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 03/06/2013 - 13:20
Posts: 73
Location: Sweden
ToyKeeper wrote:
Valynor wrote:
anduril.2019-09-28.emisar-d4v2.hex has been released. What’s new? Smile

Mostly just two things:

  • Stuck-button safety — ramps back down, then goes to lockout mode, when the button is held for too long in ramping mode.
  • Version check function — click 15+ times from off and it blinks out the firmware’s build date in YYYYMMDD format. In this case, it says “2 0 1 9 0 9 2 8” and then shuts itself off.

I’m undecided about whether version check should remain at “15+ clicks from off” or if it should go somewhere else, but that’s where it is for now.

My two D4V2 sent from intl-outdoor at October 25th had the upgraded firmware.

Gotta love the Swedish postal service – $9 added to every package from China…

vresto
vresto's picture
Offline
Last seen: 12 hours 35 min ago
Joined: 01/25/2011 - 17:49
Posts: 832
Location: slovakia

well…..i couldnt resist.i bought also one for me….:)

EDC- Jetbeam E40R,Emisar D4V2 XPLHI

Headlamp-Thrunite th30

atobe
Offline
Last seen: 2 hours 32 min ago
Joined: 09/14/2019 - 23:27
Posts: 135
Location: California

Oh neat, I didn’t noticed that. I have 09/28 firmware.

ᕦ(ò_óˇ)ᕤ

hank
hank's picture
Offline
Last seen: 4 hours 48 min ago
Joined: 09/04/2011 - 21:52
Posts: 8171
Location: Berkeley, California

Is anyone in the business of reflashing the early models, to put Anduril in? I’ve got one I“d pay to bring up to spec.

I find going from Anduril to any other interface makes great demands on my ability to remember what to click when.

Man Without Shadow
Man Without Shadow's picture
Offline
Last seen: 3 hours 34 min ago
Joined: 02/20/2017 - 18:17
Posts: 442
Location: Wisconsin

You mean unsoldering the driver, connecting a clip to the chip, flashing the chip and resoldering the driver?

To remove the driver (tight fit and/or glued) i put a small allen wrench in the wire holes and carefully tapped it out. One came out using a toothpick and tapping with a hammer, the other took the sturdiness of an allen wrench.

I got brave and did that to my D1 and D1S…with the Android phone app and a USB programmer.

both have latest version of Anduril now.

Do you have the hardware to flash? SOIC8 clip, dupont cables, USB programmer?
Able to remove the driver?

It’s probably less expensive to buy the parts than to pay someone to do it and shipping costs…

Though it is pretty “fiddly” with the wires and all that…

When I'm spending mony foolishly, I like to do it wi$ely...

I have all the flashlights I need, but not as many as I want...

 

hank
hank's picture
Offline
Last seen: 4 hours 48 min ago
Joined: 09/04/2011 - 21:52
Posts: 8171
Location: Berkeley, California

Quote:
It’s probably less expensive to buy the parts than to pay someone to do it and shipping costs…

Though it is pretty “fiddly” with the wires and all that…

Age, carpal tunnel, and shaky hands have interfered with my ability to do fiddly stuff of late, that’s why I’m hoping someone’s making a business of upgrading flashlights and other small electronics.

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

hank wrote:
Quote:
It’s probably less expensive to buy the parts than to pay someone to do it and shipping costs…

Though it is pretty “fiddly” with the wires and all that…

Age, carpal tunnel, and shaky hands have interfered with my ability to do fiddly stuff of late, that’s why I’m hoping someone’s making a business of upgrading flashlights and other small electronics.


I resemble that remark! Realizing the creeping sedimentation of self, I made finacial arrangement to be able to care for this property which I always enjoyed the upkeep chores. Now when I need assistance of robust high-schoolers for heavy lifting, I find them out on their ATVs, Jet Skis, lifted 4bys on the weekends or work one day and chase skirt til it’s gone.
We used to save cans and plastic bottles for the local HS teams until a few months ago we were told that iffn we would stand at the collection machine and collect the tokens that they would thankfully accept them.
Sorry, pet peeve.
Agro
Agro's picture
Online
Last seen: 1 min 14 sec ago
Joined: 05/14/2017 - 11:16
Posts: 4786
Location: Ślōnsk

I just got Emisar D4SV2 in my hands.
I find Andruil amazing….
I’ve got some comments.

1. I used to think that aux LEDs were pure bling. A better tritium replacement. Nice for a light that’s primarily meant to look good but useless for pure tools. Since I bought a tool – I didn’t care about them the slightest.
To my surprise now I view them as one of the biggest features.

I set them up to show voltage when the light is locked out, with low level. And to show a solid, bright colour when not locked out.
This way:

  • I have a voltage indicator
  • I can immediately tell whether the light is locked out

2. Momentary 2-level light when locked out is great. Makes the lockout much easier to use.

3. 4 clicks is a lot to enter and leave the lockout. I misclick quite often. At the same time the only blinkie that used to be useful to me was batt check – which seems redundant now that I have aux LEDs showing me the amount of energy. I would much prefer a 3-click lockout.

4. Red MCPCB makes it harder to see red LEDs when they are in low mode.

5. I see that RGB aux LED support is not open sourced yet. I bought the light with the flashing tool in order to be able to tweak the light to my needs – but I can’t do it. That said I recognise how you need it to give your customer a competitive edge. I respect and I accept that.

Many thanks TK for this great firmware that you gave us.

ToyKeeper
ToyKeeper's picture
Offline
Last seen: 17 min 12 sec ago
Joined: 01/12/2013 - 14:40
Posts: 10005
Location: (469219) 2016 HO3

Agro wrote:
I just got Emisar D4SV2 in my hands…

1. aux LEDs … I set them up to show voltage when the light is locked out, with low level. And to show a solid, bright colour when not locked out.

3. I would much prefer a 3-click lockout.

5. I see that RGB aux LED support is not open sourced yet.

1. To make the battery last longer, I’d suggest using “low” and “blinking” as the two aux LED modes. The “high” mode uses more power than simply leaving the main LEDs on all the time at moon level.

3. I can definitely see the usefulness of doing it that way… I almost made 3-click lockout the default, with battcheck on 4 clicks. But to make the UI more compatible with Narsil, I swapped them. It should be reasonably simple to swap them back in the source code though.

5. That code was published 3 months ago.

Agro
Agro's picture
Online
Last seen: 1 min 14 sec ago
Joined: 05/14/2017 - 11:16
Posts: 4786
Location: Ślōnsk

ToyKeeper wrote:
1. To make the battery last longer, I’d suggest using “low” and “blinking” as the two aux LED modes. The “high” mode uses more power than simply leaving the main LEDs on all the time at moon level.

High power consumption is OK. I don’t want to keep it unlocked anyway.

ToyKeeper wrote:
3. I can definitely see the usefulness of doing it that way… I almost made 3-click lockout the default, with battcheck on 4 clicks. But to make the UI more compatible with Narsil, I swapped them. It should be reasonably simple to swap them back in the source code though.

5. That code was published 3 months ago.


Now that’s a good news!
I remember that you published some limited 1634 compatibility but I thought that RGB support was not included. Nice! Party

And thanks again. Smile

Pages