Romisen mod with RGB emitters, custom software

Everett

Newly Enlightened
Joined
Sep 30, 2004
Messages
177
2752e4d5-285b-4d77-8b19-99078fe80d67.jpg


f4080eb3-73c3-4ec1-8487-9399160f5cd2.jpg


Here's a mod I did to put RGB functionality into a light without sacrificing the white beam. I've done a lot with the multi-die color emitters (MCE and XML), but using the white emitters in those usually result in a poor beam (especially with reflectors).

For this one, I took one of my favorite cheap lights, the Romisen RC-A4, and set red, green, and blue emitters into the reflector. The primary emitter was upgraded to XML, and the driver electronics were highly customized to operate all the LEDs.

For the driver, I removed the 8-pin microcontroller from the stock boost driver, and replaced it with a PIC12F617 with custom software. The PIC takes over the job of the original chip by sending a PWM signal into the boost driver to control the brightness of the white LED, and it uses three other pins to control the color LEDs. Each color LED uses a single 7135 350mA current regulator, and gets its positive supply from the output of the boost driver. This allows me to operate each LED independently and simultaneously, so I can do PWM for each color channel and mix colors.

The software is an adaptation of the code I originally wrote for my RGBWUV flashlights that I put into the Romisen RC-C6 aspheric light: http://tterev3.blogspot.com/2012/10/super-rgbwuv-flashlights.html. It has a number of improvements over that light, including more strobe options and the ability to customize the low level. I know many here on CPF hate having too many modes, but I build these multicolor lights because they're fun to play with and show off the LEDs, so I have a strict policy of adding more modes every time I revise the code and never removing any. I'm up to 28 modes on the most recent revision…

49af4562-ab80-4b74-9122-090e821a0a0e.jpg


I used a small manual mill to add the spots for the RGB emitters, milling down to leave about a 1/16th wall on the inside of the reflector, and then drilled a hole to fit the domes of the LEDs. I drilled wire routing holes down the base of the reflector, and then installed the LEDs by filling in behind them with Arctic Silver. This is possible because the AS isn't electrically conductive, and the end result is that the reflector can still slide right into the host and the LEDs have a good thermal path.

7f24e4ad-7d08-4694-b1b3-d22fd90fb0fb.jpg


The stock driver only needs 1 output from the microcontroller to send PWM to the boost driver, so I just ran wires from 3 other pins. The 7135s are sealed in shrink tube to insulate them. There's plenty of room in the driver cavity for all the extra wiring. There was a tricky issue with not being able to screw the base into the reflector with the added wiring, so I drilled axial holes into the base and ran the wires around the outside. It still fits into the host because the base is narrower than the reflector.

ea99228b-aecd-4b67-9613-b712794637f5.jpg


035c8125-a74e-409a-a239-88585dabb192.jpg


Here's a demo of the modes and user interface. Here's a link to the source code in case anyone is interested in developing their own drivers: http://code.google.com/p/everetts-blog-code-uploads/downloads/detail?name=utility RGBW v1.ASM

 

mash.m

Enlightened
Joined
Nov 24, 2007
Messages
666
Location
Germany
Thanks for sharing this. Really nice Software. I wish it where for the atmel pentand...

markus
 
Top