Q8, PMS SEND TO THOSE WITH ISSUES BLF soda can light

Ah yes, that's just the TA SRK board. uhm.. well I couldn't really find a circuit layout for the Q8. Is there one around here? Wasn't this kind of stuff once in the first or second post? It's a piece of cake to define a new builld with different channels and pins, but I have to know what they are first. Of course I like the tripple channel modes, so I might make a new modegroup that re-maps them to one or two ramps, easy.

Agreed, a “partial short” across the whole circuit, (I think that’s what Tom reported) could drag down the MCU output to the point where the voltage across resistor+LED dropped too low, but not just an oily fingerprint (The MCU output pin can drive quite hard, rated for 10mA, max rating 40 mA. and I expect there is more to come even beyond that)

Contamination across the LED could be a plausible cause of a small leakage current, comparable with that set for the LED (150uA-ish) which bypassed the diode and dragged it’s voltage down. If so, a thorough cleaning of the PCB with e.g. IPA and a bristle brush ought to remove any obvious contamination.

Additional resistance in series due to a poor intermittent joint or internal PCB fault (via.) is also another potential mechanism.

In any of these scenarios a basic measurement of voltage across diode, voltage across resistor, battery voltage, and voltage between ground and the end of the resistor connected to the MCU, might be sufficient to narrow it down to which, if any, of these things might be happening, when the LEDs are misbehaving intermittently.

TK good point about OTSM switch cannot do ramping the same way. I'd still prefer a clicky, even for a ramping UI. Off is still off as it always will be and must be. Sure that means you probably need short tap to initiate a ramp, so can't use that for off, but you still have full cllick for off, so, it just means you don't have to hold the button down while it ramps.

Dale, the Emisars don’t actually use Narsil. It’s based on Narsil, but with a lot of small changes. I don’t know if it’s been given its own name yet. EDIT, (It’s called RampingIOS… but people mostly just call it “D4”.)

The Q8 uses NarsilM v1.0

It’s 113uA, if that makes a difference.

DEL has posted a schematic on the modding thread.

Even he’s not sure whether it exactly represents what has been produced.

Depending on battery voltage, 10% resistor tolerance, particular diode Vf at that current, etc. etc. :wink:

OK, well I didn't find an actual schematic but the first board trace image I could find googled up on candlepower. Looks like a BLFA6 layout no? I will conjure up an eswitch build with TA modegroups, or something similar-ish, for a BLFA6 board. Should take all of 3 minutes, mostly to figure out how the ramps should look.

It’s in Narsil’s source code, at least. ‘grep -i diagram *.h’ Or it’s also in the D4’s source code.

 * ATtiny 25/45/85 Diagram
 *              ---
 *   Reset  1 -|   |- 8  VCC
 *  switch  2 -|   |- 7  (unused)
 * Ind.LED  3 -|   |- 6  FET PWM
 *     GND  4 -|   |- 5  7135 PWM
 *              ---

That won’t work if you are expecting to use the voltage divider, R1 R2, because it’s not fitted.

Otherwise it is the good old FET+1, but with subtle improvements to supplying the MCU with clean power, and a properly driven FET gate.

Actually pin 1 is no-connect. Except with programming clip applied ?

It’s called RampingIOS… but people mostly just call it “D4”.

Another idea on current bypass. At the same sort of level you might get with a fingerprint at these currents, how about an improper board cleaning with a conductive film left behind in places. A little etchant residue left behind. Maybe in a thru hole. Poor choice of cleaning material.

That must be a bright moon mode.
I think I have a couple that can run 100+ days on a single cell. Single led.

The Q8’s moon mode isn’t very efficient. Most of the power goes toward keeping the MCU running. It’s a common downside to most BLF drivers created so far. I think the stock Q8 gets about 70 to 90 days in moon mode, if it behaves the same as a stock D4.

I’ve managed to improve this recently, giving moon significantly longer runtime, but it’s still not as efficient as a ZebraLight. I estimate the Q8 (with indicator LED off) should get up to 300 days of moon mode after the changes I made to it. I measured an average of ~1.7 mA, so with four 3000 mAh cells that works out to ~294 days. This was on a D4 though; will have to re-measure when I get a Q8.

With both moon and the indicator LED on, it’s probably more like 270 days. Or with just the indicator LED on, a stock Q8 should emit light for about 10 years per charge. The indicator LED is easily bright enough to be a “firefly” mode.

I was not as elegant about it but I now have a working LED which appears to be holding up. The sequence of events goes like this:

  1. Remove right LED to see if it’s causing the problems. No luck.
  2. Remove left LED to see if there’s still current flowing between the pads. Ripped off the PCB trace by accident but at least I now have 4V across the (remaining) LED pads.
  3. Somehow soldered the right LED back into place without creating a bigger mess.
  4. Washed sweat off and swore never to attempt soldering SMT components again. At least not without better tools.

I’m not sure if I “fixed” the PCB by breaking it or if it’s the left LED which was “bad” and leaking enough current to prevent both from lighting up. The left LED was the brighter one of the pair. The whole thing is still about as bright as before and not much more uneven so I’m tempted to leave good enough alone. There’s a good chance I’ll break the other side of the PCB if I touch it again :frowning:

Right, in idle mode, the lowest mode you can possibly run PWM from, I've typically measure 2mA from an attiny board running at 8mHz. You can do much better on more modern chips, and as TK has showed, a fair amount better just by slowing the clock.

@Tom Tom, thanks, that's about what I came up with, minus the indicator. I have no software yet for the indicator. Hmm.. I might try to at least set it on.

So how much current (or percentage of FET) can this light reasonably run sustained in the hand? 3A?

You have probably got a lot more current going through the one LED now. You can measure it by measuring the voltage across the resistor and dividing by 15,000. Instead of e.g. 113uA shared between two LEDs, it is now all going through one. Overall light output I expect to be similar as with two LEDs, just one is doing all the work, at a current level where it’s probably happier.

Edit: you may have stumbled on a quick fix for those with LED problems, just remove one :wink:

despite BG saying 10/10 for restocking
I just got notice my 2nd Q8 has shipped?
it was ordered 9/26

someone stayed in the shop?

[quote=samnavy]

YT tracking numbers are for Yun Express. From what I can understand after a translation, it looks like packages are not going anywhere until the 5th.

http://www.yunexpress.com/New/NewDetailed/9111

“September 30 received the goods will be arranged in the October 4 port.”