I'm thinking of creating a board to drive six MightyMini's using the Supertex CL6N constant current device. I'm not crystal on how the thing should be configured to operate under PIC control.
Can someone smarter than me recommend a particular configuration to use? I drew up a couple configs (leaning towards #1) that I think might work but if you can suggest either or something different that would be great.
It would use a 16F688 PIC in regular Renard or Renard/DMX configurations.
I would do configuration 1, but would probably replace the transistor with a N-channel MOSFET. Config 2 has two problems - you would need a PNP transistor or P-channel MOSFET, and I am not sure how the CL6N likes having Vdd off while the LEDs are connected to Vout. I'd tie Vdd and the top of the LEDs together and switch that instead.
/mike
n1ist wrote:I would do configuration 1, but would probably replace the transistor with a N-channel MOSFET. Config 2 has two problems - you would need a PNP transistor or P-channel MOSFET, and I am not sure how the CL6N likes having Vdd off while the LEDs are connected to Vout. I'd tie Vdd and the top of the LEDs together and switch that instead./mike
Could you suggest an appropriate MOSFET to use - the current draw would be fairly small so I'm thinking a TO-92 type package or MOSFET array chip would work.
I do see the problem with Config 2 - thanks for that.
I am toying with the other suggestion of looking at the LM317 as well. It would be much cheaper (.25 each at Jameco!) - perhaps not quite the precision but probably close enough - and it would allow you to run 300mA LEDs if you wanted with just a resistor change. While at Jameco I found 4.3 ohm (291 mA +/- ~5%) and 13 ohm (96 mA +/- ~5%) resistors (1/2W) which would work well with the LM317... Perhaps a small daughterboard inside the MM? Not sure if there's enough room in the enclosures folks are using but it could be a cheap retrofit if it did...
Thanks again!
This is a dead end - at least from the controller end. I forgot that the MM has two runs of LEDs at 100mA for each channel, not one, so this will not work. It would also not be good to send 200mA using an LM317 since you would be relying upon the LEDs to divide the current equally between them (bad idea...).
It appears that the only other option is to put the current limiting on the MM itself. This would require eight CL6N ($$$) for each board so I don't think I'll be pursuing using those.
I did get some LM317 regulators in so I'll see how hard it will be to modify the MMs this way... It's only about $2.10 in parts so still viable.
You should be able to wire an LM317+resistor in a combination that lets you stick it into the holes of the MM that were reserved for just a resistor previously. Might need to do a little bit of fancy soldering of the current sense resistor to the LM317 part.
