Here’s an odd one for me: no colors! The Xeno G42 is a big super thrower tactical light, and someone recently gave me a broken one to resurrect. I hadn’t heard of Xeno before but it is a very well built light.
First I stripped it all apart. The pill was a bit tough to get apart. The dead driver was fully potted—I stripped the potting off to check out what they used on it:
Well, nothing in there I want to keep, chuck it! Here’s what I’ll be using: XP-L, 9 AMC7135 regulators, and a PIC12F617 with my basic power cycle firmware:
First I wired up the emitter. Three strands of 30AWG on each connection:
Then I made all the connections to the contact board. Three strands from B+ to LED and one to the microcontroller; the same from B-:
I grouped the regulators into three groups and tied all the connections together. Then I made the ground and LED- connections:
And the final piece of wiring: Microcontroller gets wired to B+ and B-, and a single connection out to the gates of all 9 regulators. I tacked the decoupling capacitor (2.2uF) right on top of the micro, and I parallel a 150k resistor which sets my reset time to about 2.5 seconds:
Then everything gets heatshrinked to prevent shorts:
Press it in, reassemble, and done:
The UI on this is a basic one I created for my power-cycle lights (usually throwers). There are 3 modes: maximum (default after reset), user-configurable brightness, and beacon strobe (1 pulse per second). Quick power cycles change mode, and if you cycle through all modes twice quickly (6 cycles), the light will start ramping brightness (logarithmic ramp) up and down. Quick tap on the desired brightness, and it will then be permanently memorized as the level for the second mode. I will gladly share my source code—let me know if you want it, I don’t have a place to host it since google code stopped taking files