both responses are above my pay grade.
i would like to run LEDs at 450mA down to 0. yes, i was intending to vary the current sense resistor to change current. how do i vary reference voltage for ZLED7020? or any other solution for this chip? thanks
for the benefit of other readers, the datasheet for this converter is here:
http://www.mouser.com/catalog/specsheets/ZLED7020_Data_Sheet_rev1.2_01.pdf
paragraph 2.2 does provide the equation for calculating the sense resistor, so the 0.25 ohm value is roughly correct for the desired 0.45A output.
I would wire a pot in series with a 0.25 ohm sense resistor... this avoids accidentally dialing the pot below 0.25 ohms (if it is possible).
If you want to dial it down to 0 amps, then you'll need a pot that goes up to infinity (or something close), which is a bit problematic. A logarithmic pot might be better than a linear pot. These are usually used in audio applications, so that will really limit the values available, as well as the styles.
Since the pot would be wired in series with the sense resistor, it'll need to stay close to the converter chip. Not sure if this is convenient for you.
So many aspects of adding a pot in series with the sense resistor are messy and could cause circuit problems. It wouldn't be my first choice.
The best way to dim the LEDs is to do what both Semiman and the datasheet recommend... run a pwm signal into the "Adj" input and vary the pwm duty cycle. If it was me, I'd just throw together a circuit with a 555 timer chip or something. There may be some sort of module that does this, perhaps??