Custom SkyRay King SRK Driver

Wow! Great looking board and look at all those features! Yike! Not sure I'll ever need all those programmed features, but interested in a board for sure.

I'm a little bit scared of how difficult will be to memorize how many settings one can have with one button only... maybe I'd prefer just 3-4 modes preprogrammed (from moonlight to fullblast) without blinkies and be very well set!

Let us know if/when those will be available.

If you can compile a C program for the Atmel chip (i.e. WINAVR) and program the chip, the driver code is very easy to setup for whatever modes and features you want… I am looking into making the modes programmable from the light.

Great job on your build :slight_smile:
I would be in for a kit or any other way you would do this.

I think I would need 2 because this would be so great of a setup I would buy another SRK!!!

either way, i will be in for one… kit, assembled….

Quick quesion: is (or are) there any conditions( s ) one could utilize to program a function that informs the user that Vbatt has dropped or will imminently drop below the point needed for regulation (e.g. very quick and subtle double PWM blink back and forth from 100 down to 50% or similar)?

It’s superfluous but as a flashie I’ve always wanted that feature. Done properly I think one should have to be looking for it in order to see such a notification.

I was avoiding SRK because it's stupid modes but with this driver, situation would change for sure so, if I ever manage to get SRK for 15$ (or at least under 20$) I will definitivly buy this driver.

Anyway, subscribed and watching :)

What a great idea texaspyro! Its nice to see that youre making some positive headway on your driver. If you can do these for under $20, please include me for at least 2. This would make a very good light a truly exceptional one. Good luck to you!

I would be interested, but I don't know if it would be one or more, till you know more.Wink

I just put in some hooks for the user to program their desired modes… if the button is pressed when power is applied to the light, it will erase the current configuration to the default and enter programming mode (indicated by three blinks). You then click through the default mode list to the desired mode and hold the button down for a second to store the mode. Repeat the mode selections for the modes you want then power down the light (loosen the tailcap) to exit programming mode.

I’m in too, if selling.

I'll finally get a SRK if you'll sell me this driver.

great work texaspyro

Im also try to do pcb layout 7135 based driver (used Tiny13A instead of 85)
sadly pcb manufacturing company here quoted me a cost which was higher than price of SRK

idea:
its better if you can add input capacitor and output capacitors (3)
new 7135 datasheet has input cap and another one between ground and output

Try OSHPARK.COM and Seeedstudio’s Fusion PC board services. OSHPARK will make you three boards for $5 a square inch ($1.67 per square inch per board). Price includes shipping(at least in the US).

Seedstudio is a bit less, but you need to buy more buy more boards.

I have the user mode programming code working.

You can set up the mode list in any order that you want (OK, the first mode is always set to OFF) and include any of the standard levels (currently moon, 10, 25, 50, 100) and patterns. The mode list is stored in EEPROM and is maintained between battery changes.

Sweeeeet…

BTW, moon mode on a SRK could be 50 lumens or so…

How low do you think moon mode could go?

Unknown at this time… AMC7135 chips require a certain minimum pulse width to turn on. At 15 kHz PWM, this is around 1.5-2% of the full PWM range. That produces a very dim output. Couple that with the capacitive load of driving 24 chips and you may need to boost the PWM some more to get the LEDs to light up. The minimum setting might vary depending up the LEDs and AMC7135 chips that are used. A setting that just lights one light could put 50 lumens out another one.

Once you get the width wide enough to turn on the LEDs, each PWM step should increase the output around 10-12 lumens.

I’m in for one if these become available

I was tempted to ask you for you a low moon mode, but it might be better to handle this with the ramping mode you're already planning on doing. It could start ramping at crazy low levels that might just barely light up one LED. That would be good enough if there's mode memory or if it's user programmable. Hell, I don't think I'd even care if you share the code. It'd finally motivate me to buy the tools to program the chips, and I could tweak your program to suit my needs perfectly. You're putting in a lot of special code though, so I would understand if you wanted to keep it to yourself.

I should buy three :slight_smile: