New Convoy C8 – Clearly better

I got a new Convoy C8 today. Just a few minutes ago, actually. Haven’t even had time to take it apart.

Most of it is nice, but I’ve noticed two issues on mine:

  • Everything seems to go a little over 2X as fast as intended.
  • I can’t get it to disable mode memory. (changing the mode group works fine though)

Not sure yet what’s going on there. I’d think the attiny was overclocked or something, except the code was calibrated to run at its fastest speed. But I’ll still make sure the fuses and the ROM match what I was expecting, and measure the PWM speed to double check.

Okay, these are the PWM speeds I’m seeing:

  • Moon: ~1.8 kHz? (hard to measure at low intensity)
  • Low: 18 kHz
  • Everything else: 36 kHz
  • Strobe: 24.8 Hz

The attiny13a isn’t generally capable of running that fast. Normally it maxes out at 16 kHz (plus or minus individual unit tolerances of about 2kHz, so 14-18kHz). Something is definiely weird here. Will have to un-solder some things to get the driver out for more details.

Just now I measured a sample driver I used for development, and found the following:

  • Moon: 1.0 kHz
  • Low: 9 kHz
  • Other modes: 18 kHz
  • Strobe: 12 Hz

Did some quick measurements before I take it apart… On a 4.05V 25R cell, I got:

  • 0.1: 2.81 lm (0.33) (visually 1.41)
  • 1: 26.55 lm (3.13) (visually 2.98)
  • 10: 111.5 lm (13.1) (visually 4.81)
  • 35: 377 lm (44.5) (visually 7.23)
  • 100: 848 lm (100) (visually 9.47)

Mode spacing: 1.57, 1.83, 2.42, 2.24

The outputs and spacing are significantly different than what I used for testing. Let’s un-solder some things and see what’s inside…

Okay, got the driver out. It says on the outside it’s an attiny13a. Which is curious, because it’s going twice as fast as the attiny13a’s spec says it should be able to. 4.8 MHz / 256 cycles per PWM loop = 18.75 kHz PWM, but it’s actually running at 36 kHz. (and the attiny13a usually runs between 3.6 MHz and 4.4 MHz, highly variable per unit and slower than spec… but this one seems to be more like 9.6 MHz?)

Also, the markings on the 7135 chips are different than the drivers used for testing, which probably explains why the output levels are different. These new chips appear to have a more linear response curve, which is good except that the code was calibrated to a non-linear curve.

Maybe it’s using weird fuse settings or the firmware changed. I’ll check…

Dangit, can’t get the SOIC8 clip to connect because a capacitor is in the way. The MCU doesn’t have enough clearance on one side. Maybe I can get my janky old clip to connect instead, since I filed the edges off it.

Looks like the older clip fits, and it works on other drivers, but I can’t get it to connect to this particular chip. Will keep trying, but it looks like this is as far as I can go for now.

It seems the new drivers have different enough hardware to make some calibration changes necessary. And I’m guessing it was flashed with different fuses or something, because it’s running at the wrong speed. Plus, the driver layout has the really unfortunate quirk of not letting a SOIC8 clip fit. Hopefully I can figure out more of the details soon.

Ohhhh boy. I just placed an order for a batch of those drivers and was planning on flashing a customized Biscotti. Appreciate the play-by-play!

:person_facepalming:
I knew I should have stayed in bed today… TK please keep me posted on your findings so I can communicate them directly to Simon. Hopefully there isn’t anything more than a few quirky ones in this first run. I just got mine today too. I don’t have any way to test driver output levels but everything seems about right. I’d guesstimate the lowest mode somewhere between 1 and 2 lumens. I have no problem switching between mode groups and mode memory toggles on and off just like it should. Please PM me with any specifics that need to be sent to Simon.

TK, why don’t you just pull the MCU and flash it, then put it back on? I was told a neat trick to make removing the MCU easy, Put a big dollop of solder on the iron and apply it to all 4 legs at once on one side. It’ll heat up the legs quicker and the entire component will easily lift off within a couple of seconds. Surprisingly, when it comes off the legs are usually separate and clear of excess solder, it seems to go back to the iron.

I might, unless I can get it to talk to the usbasp otherwise.

… And I just got a hot-air solder station, which might help quite a bit. Haven’t even taken it out of the box yet.

Don’t have my scope to test pwm right now but here’s the relative output steps (fully charged 30Q)

  • 0.1: 0.39
  • 1: 3.31
  • 10: 14.9
  • 35: 46.6
  • 100: 100

I got 2300Hz PWM on moon using a camera. With a 1/100s shutter speed 23 distinct patterns when moving it very fast across the frame.

A general request for anyone who has a new C8: Could you help me check the driver speed?

All you have to do is get a clock, put the light in biking mode, and then count the pulses like measuring someone’s heart rate. Like, count the pulses for 15 seconds and multiply the number times 4, or count for 30 seconds and multiply by 2. Then tell me the number.


It should be pretty close to one pulse per second. So if it’s 40 to 80 bpm, it’s probably normal. If it’s faster than 80 bpm, it’s probably overclocked. I think mine is doing about 110 bpm.

FWIW, the approximate driver speed in MHz is: BPM * 4 * 1.28 / 60. (or, pulses-per-minute times 1280 ms per pulse at 4.0 MHz, over 60 seconds per minute)
So, if you measure 110, that means about 9.4 MHz. A value of 40 would mean 3.4 MHz. The code assumes the chip runs somewhere near 4.0 MHz.

The bike flasher is definitely about twice per sec.

edit: exactly 120bpm.

Because I forget so much, I must seize the thought process when it hits… maukka can you say which tint bin is closest to pure white? I have been trending towards 3A , is there one that get’s me closer to pure white in your testing?

The variation is too big to make any conclusions. I’ve had great and not so great samples of 3A, 3B, 3C and 3D. But going by specs, I’d choose 3A or 3D. Even then you might not be able to avoid the horrid green. But I’ve also gotten 3B on the rosier side (assuming Banggood’s product pages were correct…)

Could just be my samples and variations thereof, but I liked 3D and 4A for “purest” white.

Appearancewise, I like 4A and 4D for white-white, the 5As for a little warmth.

Past a certain point, you just have to side-by-side compare them to notice anything. Anyone who’s played around with an audio equaliser of at least 10 bands (preferably 20) knows what I mean. Sometimes what you hear as “better” is just simply louder. :smiley:

This is really unfortunate.
My new Clear (Black) C8 is in the mail.

Can you please describe all possible implications of driver running twice faster than expected?

A few implications come to mind:

  • The blinky modes blink faster
  • Bike mode’s pulses look less intense
  • The config mode has shorter windows in which to press the button
  • The “buzz” for each config option looks less like a buzz and more like a steady low
  • Changing mode groups takes half as long
  • Moon mode is probably a bit more voltage-sensitive, but I haven’t tested how much
  • The driver is basically guaranteed not to make an audible whine, since it’s oscillating too fast for humans to hear
  • The light output should look extra-smooth with no visible pulses (except maybe in moon mode)
  • LVP step-down should happen in half the time
  • The lowest modes might be very slightly less efficient, maybe a few percent

Basically, for normal illumination purposes it doesn’t make much difference. But anything involving timing goes faster. A 25 Hz strobe is outside the ideal range for tactical purposes, and when the UI blinks out numbers they’re harder to count, and configuring the light requires faster reflexes.

Chances are, the factory can fix it by changing a single digit in a script somewhere. But I’ll be sure to send in other updates too, since these new drivers appear to have nicer 7135 chips than the old ones and I want to make sure everything is calibrated correctly.

Thanks, not a big deal to me then, since the configuration was easy enough.

Oh dang, I find the buzzes, voltage blinks and tap/long tap difference too fast/close as it was on Bistro (personal just me getting older :wink: )
Have a few drivers on the way.
So setup and forget about playing around then for me :wink:

Can we keep the 46% mode instead of 35% ? :wink:

I actually slowed that stuff down for this driver, because you’re not the only one who thought it was too fast…

… but then it doubled. D’oh.

Weird how much difference it can make to swap a single bit. The speed doubles by setting the low fuse to 0x76 instead of 0x75.

How unstable/unreliable is the Tiny13 overclocking? Is it unlikely to even work with most Tiny13’s or is it something we could make use of somehow? NOT for this driver, obviously. I’m thinking of new BLF driver designs (or actually firmware) that use the higher frequency on purpose.

It’s not unstable or unreliable. It’s within the tiny13’s spec and seems to work fine. However, the shorter pulses aren’t ideal.

The optimal PWM frequency is fast enough that you don’t see or hear it, but otherwise as slow as possible. So, right at the top of human hearing, about 20 kHz. At 4.8 MHz, the attiny13a gets pretty close (18 kHz), while running it at 9.6 MHz goes excessively fast (36 kHz). The faster speed also uses a bit more power and is a bit less efficient at producing light.

So, running it faster isn’t very useful for flashlight purposes.