I've built a switching constant current LED driver, and currently to adjust the output I use a 25 turn 10ohm potentiomter, useful for the first 3 or 4 turns.
The Rsns resistance starts at 0.18ohm which is a achieved through a combination of slight minimum resistance of the pot and a length of 32 gauge wire.
This setup works, but I have a couple issues with it.
The first issue is that these 25 turn pots only have a rotational life of 200cyles, Delta Total Resistance 3%, I suppose that means after 200 cycles it doesn't just break, but the resistance deviates by another 3%? anyway, I'd prefer a longer life pot for adjustment.
An issue of lesser importance is the fact that these pots are only available in a linear style, a log pot would be ideal for this adjustment. I've heard you can add external resistors to make a linear pot act like a log pot, but I'm not sure how, have to search some more on that.
The ideal situation would somehow use a more common high resistance single turn log pot to somehow create a slight shift in resistance from the 0.18ohm to 3ohm to bring the current down from 1200mA to 100mA
Another option I thought of, using a pot to create a voltage divider on the 0.125V signal that goes through the Rsns resistor to set the current, but I'm completely unsure how exactly to implement that, or if it's a good idea for that matter.. following a datasheet to create the driver isn't so tough.. but I just don't have the experience or know how when it comes to custom modifications like this
And finally, where the picaxe comes in.. it would be a more involved solution, but possibly using a digital pot controlled by the picaxe to adjust the resistance?
I know there must be some effective way to accomplish this, I'm just not sure exactly how. Too bad nobody makes a 3-5ohm log pot (that I could find) There are some 5ohm linear pots I've seen, but they're expensive usually because they're designed for high current. Also they wouldn't offer good adjustment at all in the upper current region unless I could somehow make it act like a log pot.
Now a couple pics of the driver to spice up the thread... 2 of them, larger one was made specifically for a high power flashlight and is equipped with an older (and therefore solid, and quite hefty) copper penny heatsink painted flat black for more emissivity. The second one was just made to see how small I could get it.
The Rsns resistance starts at 0.18ohm which is a achieved through a combination of slight minimum resistance of the pot and a length of 32 gauge wire.
This setup works, but I have a couple issues with it.
The first issue is that these 25 turn pots only have a rotational life of 200cyles, Delta Total Resistance 3%, I suppose that means after 200 cycles it doesn't just break, but the resistance deviates by another 3%? anyway, I'd prefer a longer life pot for adjustment.
An issue of lesser importance is the fact that these pots are only available in a linear style, a log pot would be ideal for this adjustment. I've heard you can add external resistors to make a linear pot act like a log pot, but I'm not sure how, have to search some more on that.
The ideal situation would somehow use a more common high resistance single turn log pot to somehow create a slight shift in resistance from the 0.18ohm to 3ohm to bring the current down from 1200mA to 100mA
Another option I thought of, using a pot to create a voltage divider on the 0.125V signal that goes through the Rsns resistor to set the current, but I'm completely unsure how exactly to implement that, or if it's a good idea for that matter.. following a datasheet to create the driver isn't so tough.. but I just don't have the experience or know how when it comes to custom modifications like this
And finally, where the picaxe comes in.. it would be a more involved solution, but possibly using a digital pot controlled by the picaxe to adjust the resistance?
I know there must be some effective way to accomplish this, I'm just not sure exactly how. Too bad nobody makes a 3-5ohm log pot (that I could find) There are some 5ohm linear pots I've seen, but they're expensive usually because they're designed for high current. Also they wouldn't offer good adjustment at all in the upper current region unless I could somehow make it act like a log pot.
Now a couple pics of the driver to spice up the thread... 2 of them, larger one was made specifically for a high power flashlight and is equipped with an older (and therefore solid, and quite hefty) copper penny heatsink painted flat black for more emissivity. The second one was just made to see how small I could get it.
Last edited: