I'm trying to design an interface to a meanwell LDD-700LW, a constant curre nt regulator for LEDs. I'm having trouble understanding the spec sheet. (I' m no guru and spec sheets often confuse me a little).
It has a PWM input to provide dimming. If left floating, some internal pull up causes the device to go full on. If pulled to ground, it turns the light off. Cycled at some rate, it provides dimming. Simple enough.
The device gets fed (in my application) 20v or 24v, depending on where I ho ok it up. Well within range. But the PWM input is marked differently:
Leave open if not use Power ON with dimming: DIM ~ -Vin >3.5 ~ 8VDC or open circuit Power OFF : DIM ~ -Vin < 0.5VDC or short
I can't figure out if that's trying to say the safe range for turning the L ED on is 3.5-8v (and bad things happen above 8v)... or if it's saying that the voltage needed to turn it on is, eh, maybe 3.5v will do it, you might n eed as much as 8v...
Leaving me confused. If I want reliable operation, do I feed it a little ov er 8v, or strictly less? Clarity appreciated.
For the curious, here's why I care. On/Of/Dim is to be controlled by a micr oprocessor, via a ULN2003A (originally, the ULN2003A was going to drive the LED directly). So I was planning to use the ULN2003A to pull the LDD's inp ut to ground when I want the light off, and do PWM through it as needed. Th e pullup voltage would be the LDD's problem and all I had to do was pull do wn. Simple, right? Except...
If the microprocessor fails or reboots, the ULN will stop conducting and th e PWM input will go high, turning on the LED. NOT what I want. The uncontro lled state has to keep the LED off. Maybe I just bought the wrong part, but since I have it I'd like to make it work. (If someone knows of an equivale nt that is active low, mention it!)
So my thought was to use a 2N222A as a logic inverter. Pull up the base so it conducts by default. Use the ULN to pull the base back to ground as need ed. Use the transistor's collector to pull down on the LDD input. If the pr ocessor doesn't boot, fine, the ULN won't conduct, the NPN will, and the LD D won't. All good.
It didn't work - the transistor never conducts - and by fussing I found I ( apparently) needed to tie the transistor's collector to +24v via a 68k resi stor to load it. Great, now the transistor will turn on, but when it's off that means the +24v is being applied to the dimmer input, and see above for why that might be a bad idea.
I'd like this circuit to work reliably for years, so I'd like to understand what the part needs. It's easy enough to make voltage dividers to make the high signal be whatever voltage it likes, and I suppose I could just aim f or 8v and hope. (I'd rather not because the system voltage does vary a bit, so the "8v" would drift up and down a little).
If someone can definitively interpret the spec - or maybe better, suggest a n active low equivalent that will handle, say, 16v-25v and provide 700ma to a 12v Vf LED, that would be a help. TIA.
(Yes, I can just stick a fat resistor between the ULN and the LED and have done with it, but ugh. I want the LED to last for years; the darn thing cos ts $16 and will be annoying to replace.)