Mike C drivers: v8 series, ATtiny1634 based.

Cool. I’ve got new ones from OSH Park on the way, I’ll have a few to spare so I’ll make one for you. I’ll ask about what UI, modes, volt levels and so on once it’s built.

I don’t remember who it was that had the original idea to do it with 7135s. It was some guy using a PIC MCU instead of AVR, and maybe had a USB cable interface directly on the driver (maybe mixing up projects here). Anyhow, I wasn’t first and it sure wasn’t my idea… but I liked it :slight_smile:

Edit: I found it… the project didn’t see completion, at least here at BLF: The World's Most Advanced AMC7135 * 8 Driver

Oh yeah. I’m subscribed to that thread! But I forgot about him, to be honest.

I’ve fully converted my 841 firmware to the 1634. However, the 841 firmware wasn’t fully completed but it’s good enough to go. Still interested? If so I have a few questions for you:

Currently only 1S configuration supported. Is that what you had in mind? I haven’t gotten around to 2S yet, it requires some firmware changes that I won’t be doing before I go on two months vacation in September.

Do you want it configured for E-switch, Off-switch or dual switch? Can be changed in config menu, but to do the change the driver has to be in a light that supports current switch config before installing in the new light.

What UI? Currently I have three UIs:
1: “Traditional” UI with up to 4 modes. Short press up, long press down. If UI1, how many modes do you want?
2: UI with two modes. Short press cycles between them, long press enables ramping for current mode (Short press brighter, long press dimmer). 2 seconds of inactivity saves new mode level, blinks and returns to normal.
3: Constant ramping mode. Short press brighter, long press dimmer. I use this as “campsite” mode so that no accidental single press can flash full boost in someone’s face.

Voltage monitoring on or off? When on, critical voltage level can either warn or turn off and put light in sleep mode. If on, what levels?

Temperature monitoring on or off? When on, critical temperature can either warn or turn off and put light in sleep mode. Critical level is about 5 degrees Celsius higher than configurable high temp. Default high temp is set to 70 degrees Celsius. How hot this actually is depends on host as MCU is measuring the temp, and MCU placement and thermal isolation will impact.

I have 4 user modes (higher user mode includes all lower user mode functionality):
1 - Normal: Can’t do any read outs, functions or configuration changes except change the user mode (requires a timed sequence of 10 presses).
2 - Advanced: Voltage and temperature readouts, can change UIs, mode settings and boost timers.
3 - Expert: Able to configure voltage and temperature monitoring settings and levels.
4 - Engineer: Calibrations. Your driver will be calibrated, so you shouldn’t need to calibrate unless you want to play around with it.

Do you use any blinkies? I have a simple strobe, beacon and SOS. Not fully implemented though.

Finally, do you flash drivers yourself? If so I can send you the driver earlier and later send you hex files for updated firmware.

OK. I’ve been really busy at work lately. I’ll try to get answers to your questions soon.

OKAY. I have some answers for you now…

  1. 1S operation? Yes - 1S only
  2. E-switch, Power cycle, or Dual switch? Power cycle switching
  3. Which UI? Traditional, with 4 modes. First mode 1 lumen - possible?
  4. Voltage Monitoring? Yes - 2.8V warn only
  5. Temp Monitoring? Yes - Sleep at Critical temp
  6. User Mode? 3 - Expert
  7. Blinkies? No thanks
  8. Do I flash drivers? Not currently, but I hope to some day

Thanks. First mode 1 lumen is a little bit unsure as I don’t actually know what 1 lumen looks like. Is that just enough to find your keys and unlock a door?

I forgot to mention that with voltage monitoring I have both low and critical levels. Low voltage disengages boost/turbo, otherwise by default it doesn’t step down (only blinks a warning). Critical (if not set to sleep) steps down to the highest mode under a set limit, which is 1 x 7135 full on (at 2.8V the LED won’t shine any brighter anyway). The 2.8V you specified, as that low or critical? If critical, what do you want low at (or vice versa).

Depends on the eyes.
See What moonlight output do you prefer and why?
For some 1 lm is disturbingly high, for some it’s uselessly low. It seems that for good majority it would indeed be enough.

Yeah, I’m just throwing 1lm out there as a general idea, really. I want it bright enough to see around with dark adjusted eyes. My real use for this is early rising, trying not to disturb my wife. So, a low level, but enough to see within 3 to 4 meters, maybe. My Olight S1A is rated at 0.5lm and that isn’t quite enough.

I don’t know enough about low voltage settings. I would like for the light to be useful at low output for a while in case that is ever needed. But, I don’t want to endanger my cells. So, it would be nice if it had Critical Shut-down set to the lowest safe voltage, and maybe the Low Warning at a few tenths of a volt higher. I don’t want a low voltage step down. Just a warning, then sleep will be fine.

Perfect. All the voltage settings and mode brightness levels are configurable in the setup menu anyway, so if you need to change something it’s just a matter of figuring the menu system out. It’s rather straightforward if you are comfortable with off presses and counting. I’ll provide instructions once your driver is ready.

Thanks Mike!

I was just looking at the first post again. I noticed that it says

and further down

but then in post 2 you say

Are both being actively developed? Or did you settle on one of those chips? Which one were planning on you making for me?

I kept the 841 post because the 1634 versions where based on it. I stopped using the 841 once I started with the 1634. The 841 based v6 series is obsolete and I’ve added that to the v6 series post.
Edit: Yours will actually be the 1634 based v9 series. The differences between v8 and v9 aren’t really worth writing about, a couple of minor changes.