NarsilM - configurable e-switch firmware for Multi channels, v1.3

513 posts / 0 new
Last post
ToyKeeper
ToyKeeper's picture
Offline
Last seen: 1 hour 41 min ago
Joined: 01/12/2013 - 14:40
Posts: 10834
Location: (469219) 2016 HO3 // I get way more privmsgs than I can respond to, so please ask in a public thread if possible, for a faster answer.
Lexel wrote:
I was playing today with my Q8 … When I turn on strobe … no step down … I have a feeling LVP will not kick in

I looked through the code just now to see how it handles LVP. It appears to have cases to handle ramping and mode sets, but nothing else. It sets LowBattSignal when LVP should happen, but doesn’t do anything with it when the light is in any mode except ramping or mode sets.

The method I normally use is a bit different. In regular steady modes, it drops output or shuts off, similar to Narsil. In strobey modes it “steps down” to a low steady mode, then follows the same drop/off pattern as before. In any other mode (like battcheck), it just shuts off.

LightRider
LightRider's picture
Offline
Last seen: 3 years 9 months ago
Joined: 08/05/2015 - 09:52
Posts: 2007
Location: U.P. MI, USA
JasonWW wrote:
LightRider wrote:
JasonWW wrote:
joechina wrote:
The command for TURBO in MODES is: The lamp is OFF: Click&hold Nothing else
Are you sure? It seems a click&hold from OFF first goes to strobe, then goes to the menu options.

For me, click&hold goes to max, then strobe, then menu

The click&hold to max may be a new option in the latest version only. Not sure


Your right, when you click and hold it goes to turbo first, then strobe, then the menu. I don’t have my lights right now, so I had to look at my own videos. Lol

I’m not a fan of mode sets. I learned them for the videos, but have appearantly forgot some stuff already. Silly

I dont konw if i would call it turbo as if the max fet level in mode sets is set under max, it will go to that level. so the clickhold goes to the highest level in that mode set. It will not go to full turbo 255 pwm though. I supose its a matter of symantics.

JasonWW
JasonWW's picture
Offline
Last seen: 11 hours 16 min ago
Joined: 10/22/2016 - 11:41
Posts: 12913
Location: Houston Texas
LightRider wrote:
JasonWW wrote:
LightRider wrote:
JasonWW wrote:
joechina wrote:
The command for TURBO in MODES is: The lamp is OFF: Click&hold Nothing else
Are you sure? It seems a click&hold from OFF first goes to strobe, then goes to the menu options.

For me, click&hold goes to max, then strobe, then menu

The click&hold to max may be a new option in the latest version only. Not sure


Your right, when you click and hold it goes to turbo first, then strobe, then the menu. I don’t have my lights right now, so I had to look at my own videos. Lol

I’m not a fan of mode sets. I learned them for the videos, but have appearantly forgot some stuff already. Silly

I dont konw if i would call it turbo as if the max fet level in mode sets is set under max, it will go to that level. so the clickhold goes to the highest level in that mode set. It will not go to full turbo 255 pwm though. I supose its a matter of symantics.


Are you talking about NarsilM v1 or the special GT version of NarsilM?

Texas Ace Lumen Tube and JoshK Sphere calibrated with Maukka lights

Click this to go to signature links. I'm still around, just not reading many new threads.

Lexel
Lexel's picture
Offline
Last seen: 1 year 2 months ago
Joined: 11/01/2016 - 08:00
Posts: 5895
Location: Germany
ToyKeeper wrote:
Lexel wrote:
I was playing today with my Q8 … When I turn on strobe … no step down … I have a feeling LVP will not kick in

I looked through the code just now to see how it handles LVP. It appears to have cases to handle ramping and mode sets, but nothing else. It sets LowBattSignal when LVP should happen, but doesn’t do anything with it when the light is in any mode except ramping or mode sets.

The method I normally use is a bit different. In regular steady modes, it drops output or shuts off, similar to Narsil. In strobey modes it “steps down” to a low steady mode, then follows the same drop/off pattern as before. In any other mode (like battcheck), it just shuts off.

Yeah it looks like in special modes there has to be code added or changed to handle LVP as well

LightRider
LightRider's picture
Offline
Last seen: 3 years 9 months ago
Joined: 08/05/2015 - 09:52
Posts: 2007
Location: U.P. MI, USA
JasonWW wrote:
LightRider wrote:
JasonWW wrote:
LightRider wrote:
JasonWW wrote:
joechina wrote:
The command for TURBO in MODES is: The lamp is OFF: Click&hold Nothing else
Are you sure? It seems a click&hold from OFF first goes to strobe, then goes to the menu options.

For me, click&hold goes to max, then strobe, then menu

The click&hold to max may be a new option in the latest version only. Not sure


Your right, when you click and hold it goes to turbo first, then strobe, then the menu. I don’t have my lights right now, so I had to look at my own videos. Lol

I’m not a fan of mode sets. I learned them for the videos, but have appearantly forgot some stuff already. Silly

I dont konw if i would call it turbo as if the max fet level in mode sets is set under max, it will go to that level. so the clickhold goes to the highest level in that mode set. It will not go to full turbo 255 pwm though. I supose its a matter of symantics.


Are you talking about NarsilM v1 or the special GT version of NarsilM?

Narsilm v1.2

JasonWW
JasonWW's picture
Offline
Last seen: 11 hours 16 min ago
Joined: 10/22/2016 - 11:41
Posts: 12913
Location: Houston Texas
LightRider wrote:
JasonWW wrote:
LightRider wrote:
I dont konw if i would call it turbo as if the max fet level in mode sets is set under max, it will go to that level. so the clickhold goes to the highest level in that mode set. It will not go to full turbo 255 pwm though. I supose its a matter of symantics.
Are you talking about NarsilM v1 or the special GT version of NarsilM?

Narsilm v1.2


Okay, that’s not used yet, you and Tom are the only ones using it.

Everybody else is using the older versions where ramping does go to full power, turbo, 255.

Texas Ace Lumen Tube and JoshK Sphere calibrated with Maukka lights

Click this to go to signature links. I'm still around, just not reading many new threads.

LightRider
LightRider's picture
Offline
Last seen: 3 years 9 months ago
Joined: 08/05/2015 - 09:52
Posts: 2007
Location: U.P. MI, USA
JasonWW wrote:
LightRider wrote:
JasonWW wrote:
LightRider wrote:
I dont konw if i would call it turbo as if the max fet level in mode sets is set under max, it will go to that level. so the clickhold goes to the highest level in that mode set. It will not go to full turbo 255 pwm though. I supose its a matter of symantics.
Are you talking about NarsilM v1 or the special GT version of NarsilM?

Narsilm v1.2


Okay, that’s not used yet, you and Tom are the only ones using it.

Everybody else is using the older versions where ramping does go to full power, turbo, 255.

Just to be clear, v1.2 allows for this option at compile time otherwise ramping is to turbo like normal. Smile

joechina
Offline
Last seen: 6 months 2 weeks ago
Joined: 03/05/2016 - 08:23
Posts: 1459
Location: Germany

ToyKeeper wrote:

The method I normally use is a bit different. In regular steady modes, it drops output or shuts off, similar to Narsil. In strobey modes it “steps down” to a low steady mode, then follows the same drop/off pattern as before. In any other mode (like battcheck), it just shuts off.

So when the user needs battcheck you shut it off?
That’s like the range calculator in my RENAULT. It goes down till 80km than its dead. o_O
I don’t need a value for range when the gas tank is full. I need it when I want to know can I reach the gas station 15km away.

ToyKeeper
ToyKeeper's picture
Offline
Last seen: 1 hour 41 min ago
Joined: 01/12/2013 - 14:40
Posts: 10834
Location: (469219) 2016 HO3 // I get way more privmsgs than I can respond to, so please ask in a public thread if possible, for a faster answer.
joechina wrote:
So when the user needs battcheck you shut it off? That’s like the range calculator in my RENAULT. It goes down till 80km than its dead. o_O

The idea is to avoid over-discharging the cells, since if they get too low they can be permanently damaged or destroyed.

It’ll blink out voltage until it drops below 2.9V (about 99.9% empty), and then it shuts off. It’d be like if your Renault gave estimates down to 0.5km before it shut off the engine to avoid damaging the fuel tank.

If the user turns it back on, it’ll blink out voltage again, but may shut off after 6+ seconds if the voltage stays low.

joechina
Offline
Last seen: 6 months 2 weeks ago
Joined: 03/05/2016 - 08:23
Posts: 1459
Location: Germany

Thats better than my Renault if you get a reading when you start the light / engine.
Smile

Lexel
Lexel's picture
Offline
Last seen: 1 year 2 months ago
Joined: 11/01/2016 - 08:00
Posts: 5895
Location: Germany

I got a guy reporting, that if NarsilM is set to Turbo when powering on that with thermal stepdown enabled the light steps down after half a second

Here are the videos. I set my camera to have ISO and shutter speed locked. This is while turning the light on from the tail cap. It behaves normally when turning on the light via the front button.

With thermal stepdown disabled (no visible drop in light.)

With thermal stepdown enabled (sharp drop after about 1/2 second).

joechina
Offline
Last seen: 6 months 2 weeks ago
Joined: 03/05/2016 - 08:23
Posts: 1459
Location: Germany

Lexcel
which version of NarsilM?
Version 1.2 has a bug fix for step down, but I don’t know of the head if that fits to your case.

Lexel
Lexel's picture
Offline
Last seen: 1 year 2 months ago
Joined: 11/01/2016 - 08:00
Posts: 5895
Location: Germany

That driver was 1.0

JasonWW
JasonWW's picture
Offline
Last seen: 11 hours 16 min ago
Joined: 10/22/2016 - 11:41
Posts: 12913
Location: Houston Texas

Did he adjust the thermal temp accurately? About how long did he set the light to step down?

Maybe he programmed it to step down at 30°C instead of a normal 50-60?

Texas Ace Lumen Tube and JoshK Sphere calibrated with Maukka lights

Click this to go to signature links. I'm still around, just not reading many new threads.

vestureofblood
vestureofblood's picture
Offline
Last seen: 10 hours 48 min ago
Joined: 08/17/2012 - 15:21
Posts: 2021
Location: Missouri

Tom, I was just now able to finally flash the new firmware to the BLF GT. The change to tactical mode is a nice improvement. This is the only E switch firmware I’ve ever used that could actually be used to tap out morse code. That is so awesome. I love having the battery disconnect be your way out. It seems to work perfectly.

I have one question. Where you said on the update sheet “make click&hold in MODES or STROBES wrap from 1st mode to last.” I am a little confused about what result I’m supposed to be getting here. Can you give me a second example. Say one where the strobes are enabled?

In Him (Jesus Christ) was life; and the life was the light of men. And the light shineth in darkness; and the darkness comprehended it not.
http://asflashlights.com/ Everyday Carry Flashlights, plus Upgrades for Maglite.

LightRider
LightRider's picture
Offline
Last seen: 3 years 9 months ago
Joined: 08/05/2015 - 09:52
Posts: 2007
Location: U.P. MI, USA

vestureofblood wrote:
Tom, I was just now able to finally flash the new firmware to the BLF GT. The change to tactical mode is a nice improvement. This is the only E switch firmware I’ve ever used that could actually be used to tap out morse code. That is so awesome. I love having the battery disconnect be your way out. It seems to work perfectly.

I have one question. Where you said on the update sheet “make click&hold in MODES or STROBES wrap from 1st mode to last.” I am a little confused about what result I’m supposed to be getting here. Can you give me a second example. Say one where the strobes are enabled?

I believe he is talking about mode cycling. When selecting your desired mode one will normally click to advance through the group. When the last mode in the group is reached the next click cycles back to first mode and this continues till one pauses greater than 1.2secs to lock in that mode. The described “wrap from 1st mode to last” then just means that the same will happed with clock&hold but in reverse. Cycling back through the modes will bring you from the first mode to the last mode and then down through the modes as long as the user continues to do a clock&hold. When in strobes, same thing. Going backwards in stones will go from the first strobe directly to the last with a clock&hold.

Does this help? I believe this is what he’s saying anyway…

JasonWW
JasonWW's picture
Offline
Last seen: 11 hours 16 min ago
Joined: 10/22/2016 - 11:41
Posts: 12913
Location: Houston Texas

^ Yes. On NarsilM v1 lets say you go to strobes and stop on the 3rd one, bike strobe. Once it’s locked in, one click goes to off. If you press and hold it goes back to strobe 2 which is the tactical strobe. If you press and hold again it goes back to strobe 1 which is the constant rate strobe. If you press and hold again the light goes off.

In NarsilM v1.2, if you press and hold from strobe 1 it will now go to strobe 5 (10 sec beacon) instead of off.

Some folks had trouble going to the different strobe modes. They would get into the first strobe then get stuck. They couldn’t go forward to the 2nd or 3rd etc… Now they can.

The same should be true for mode sets. When you use the press and hold to go down to the first level you get stuck. Another press and hold would turn the light off. Now it should allow you to keep cycling through all the modes.

Does that make sense?

Texas Ace Lumen Tube and JoshK Sphere calibrated with Maukka lights

Click this to go to signature links. I'm still around, just not reading many new threads.

joechina
Offline
Last seen: 6 months 2 weeks ago
Joined: 03/05/2016 - 08:23
Posts: 1459
Location: Germany

What LightRider and JasonWW said.

You have 5 strobe modes (#1 to #5)
In v1.0 you can only navigate in the borders from #1 to #5. If you go from #1 backwards you switch the lamp off. Or if you go from #5 forward.

In v1.2 you can go backwards from #1 to #5.
So you can search the right strobe endlessly going backwards.

The navigation in STROBES and MODES is the same.
Edit: I shouldn’t write about MODES without checking
The reason why foreward revolving is not there:
When you switch your MODES brighter and brighter you normally want to go to MAXIMUM. This way it stops there.
If you want to go to MOON, switch it off and on.

vestureofblood
vestureofblood's picture
Offline
Last seen: 10 hours 48 min ago
Joined: 08/17/2012 - 15:21
Posts: 2021
Location: Missouri

Thanks gang. I understand now. Where I got lost is at Click&Hold. I was thinking he meant hold continuously, but it’s referring to the 1/3 second press.

That said ever thing I have tested about the UI (which is a lot) works perfectly in the GT Smile

In Him (Jesus Christ) was life; and the life was the light of men. And the light shineth in darkness; and the darkness comprehended it not.
http://asflashlights.com/ Everyday Carry Flashlights, plus Upgrades for Maglite.

JasonWW
JasonWW's picture
Offline
Last seen: 11 hours 16 min ago
Joined: 10/22/2016 - 11:41
Posts: 12913
Location: Houston Texas

Click and hold (till the mode changes) Wink

In mode sets, when you cycle up the brightness levels, does it stop at the brightest level or does the light turn off (like in the old version) or does it wrap around back to the lowest level?

Texas Ace Lumen Tube and JoshK Sphere calibrated with Maukka lights

Click this to go to signature links. I'm still around, just not reading many new threads.

joechina
Offline
Last seen: 6 months 2 weeks ago
Joined: 03/05/2016 - 08:23
Posts: 1459
Location: Germany

sorry, I probably wrote BS about stopping.

steel_1024
steel_1024's picture
Offline
Last seen: 6 days 9 hours ago
Joined: 10/17/2016 - 14:06
Posts: 488
Location: Taiwan

JasonWW wrote:
steel_1024 wrote:

I try NarsilM V1.2 “2S3C” On the MF-01, everything is fine. 5 click Tactical, very nice.

Strobes are also very good operation.


Does mode sets number 8 work well? – 10% 25% and 50%

It acted weird for me. It would not always remember the last level and sometimes only have 25 and 50, no 10. Very strange.

I may need to learn reflashing so I can try out these new features. Or else have Lexel make me a new one once he starts using M v1.2.

Yes, No 10%

Only 25、50%

Sorry for my poor english.

JasonWW
JasonWW's picture
Offline
Last seen: 11 hours 16 min ago
Joined: 10/22/2016 - 11:41
Posts: 12913
Location: Houston Texas

steel_1024 wrote:
JasonWW wrote:
steel_1024 wrote:

I try NarsilM V1.2 “2S3C” On the MF-01, everything is fine. 5 click Tactical, very nice.

Strobes are also very good operation.


Does mode sets number 8 work well? – 10% 25% and 50%

It acted weird for me. It would not always remember the last level and sometimes only have 25 and 50, no 10. Very strange.

I may need to learn reflashing so I can try out these new features. Or else have Lexel make me a new one once he starts using M v1.2.

Yes, No 10%

Only 25、50%


Okay, it’s still a glitch due to the driver being 3 channel.

Texas Ace Lumen Tube and JoshK Sphere calibrated with Maukka lights

Click this to go to signature links. I'm still around, just not reading many new threads.

joechina
Offline
Last seen: 6 months 2 weeks ago
Joined: 03/05/2016 - 08:23
Posts: 1459
Location: Germany

@Tom
I have a new cheat sheet for the GT under http://bit.ly/narsil-cs

I don’t know if the mode table is right.
Can you please check?
I didn’t found a manual for the GT. I added notes from the Q8 feedback. Maybe that can be used in a GT manual?

Joe

steel_1024
steel_1024's picture
Offline
Last seen: 6 days 9 hours ago
Joined: 10/17/2016 - 14:06
Posts: 488
Location: Taiwan

BLF-GT user manual V1.2 draft

Link below:

BLF-GT user manual draft12.pdf

Sorry for my poor english.

Lexel
Lexel's picture
Offline
Last seen: 1 year 2 months ago
Joined: 11/01/2016 - 08:00
Posts: 5895
Location: Germany

I found that in v1.2 the 2S cant be build as in the Narsil.c the line with
tk-calibWight.h
is commented out so it gets build errors missing the #define ADC_22…44

JasonWW
JasonWW's picture
Offline
Last seen: 11 hours 16 min ago
Joined: 10/22/2016 - 11:41
Posts: 12913
Location: Houston Texas

steel_1024 wrote:
BLF-GT user manual V1.2 draft

Link below:

BLF-GT user manual draft12.pdf


I looked through this. It is very well written, but I wanted to make some notes on it.

1. There is no mention that the ramping mode only goes to 75%? (whatever 2A at the emitter is considered) and a dbl click to turbo is the only way to get to full power (100%).

2. On the beginning of page 2 I feel it should be pointed out that after the 8 seconds, and entering the config menu, it should be noted that the first 2 blinks are to be ignored and are just to get you ready to count. This confuses a lot of people. Always ignore the first 2 blinks and only count the blanks after it.

Who wrote this up? They did a good job.

Texas Ace Lumen Tube and JoshK Sphere calibrated with Maukka lights

Click this to go to signature links. I'm still around, just not reading many new threads.

joechina
Offline
Last seen: 6 months 2 weeks ago
Joined: 03/05/2016 - 08:23
Posts: 1459
Location: Germany
Quote:
Who wrote this up? They did a good job.

Thanks JasonWW!

Jacques wrote it, I did prove readings.
We went from draft 3 on Friday to draft 12 on Monday morning.

We don’t know Tom’s opinion about this and hope he is fine with it. But we couldn’t get him.

There is the first sentence on page 3 and on page 5. Yes it would be clearer with “count the …”

JasonWW
JasonWW's picture
Offline
Last seen: 11 hours 16 min ago
Joined: 10/22/2016 - 11:41
Posts: 12913
Location: Houston Texas
joechina wrote:
Quote:
Who wrote this up? They did a good job.

Thanks JasonWW!

Jacques wrote it, I did prove readings.
We went from draft 3 on Friday to draft 12 on Monday morning.

We don’t know Tom’s opinion about this and hope he is fine with it. But we couldn’t get him.

There is the first sentence on page 3 and on page 5. Yes it would be clearer with “count the …”


Ooops, I was counting the pdf pages and not the page numbers printed on the document. Top of page 5 is what I meant.

I somehow read right past the top of page 3 where it says ramping goes to 80%.

Looks good.

Texas Ace Lumen Tube and JoshK Sphere calibrated with Maukka lights

Click this to go to signature links. I'm still around, just not reading many new threads.

ZozzV6
ZozzV6's picture
Offline
Last seen: 4 months 2 days ago
Joined: 03/24/2016 - 12:19
Posts: 2428
Location: Near to my soldering iron.

Does someone has compiled Narsil hex file for 3 channel TA driver with 2S battery config and lower ramping top than turbo like in the GT firmware? I built an Convoy L6 XHP70.2 today and I want the ramping top at about 3000 lumens because the light can handle the heat from that output. Currently it puts out 7800 lumens and gets hot fast. But with ramping I can’t really feel with my eye that level where the 3K lumens are to stop there.

Pages