Convert 3-12 VDC PWM to On/Off
MisterJJ
Posts: 6
I'm trying to get a 3-12 VDC PWM to operate a relay.· The source is·automobile instrument lighting (on dimmer control) and the relay will be driving a set of three LED's.· I tried hooking up a·Clare LBA110 OptoMOS relay and had strange results.· It took me a while to figure out that the 3-12 VDC was actually a PWM signal and the relay was just rapidly switching on and off.· I wanted it to be·on with no voltage and·off with any voltage above 3 VDC.· I tried adding·an RC circuit with 2 microFarads of capacitor and didn't get any better results.
So does someone know how I can make this work?· Is there a better (simpler) way to do this?· My electronics knowledge doesn't go much further than Ohms law so I'm probably making this much more complicated than it needs to be.
I hope this isn't too off-topic.· I know it's not directly stamp related but it could certainly have stamp related applications.· If there's a better place to ask this question, please let me know.
Thanks!
So does someone know how I can make this work?· Is there a better (simpler) way to do this?· My electronics knowledge doesn't go much further than Ohms law so I'm probably making this much more complicated than it needs to be.
I hope this isn't too off-topic.· I know it's not directly stamp related but it could certainly have stamp related applications.· If there's a better place to ask this question, please let me know.
Thanks!
Comments
[noparse][[/noparse]As this doesn't involve a STAMP at all, it would have been better placed over in "The Sandbox".]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Cheers
If the sensor is on the lights are on your led's are off
course I dont know where you are putting your led's, parhaps they are inside the dash as well
or a thermistor attached to the headlights could tell you when they are on
course there will be a delay and that may not work so good.
Hmmm helps to know the full scoop I guess to brainstorm it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think outside the BOX!
It's not an expensive circuit to build and experiment.
Otherwise, unless you have +12V available, I figure you're stuck.
[noparse][[/noparse] N.B. -- The "3-12V" isn't a variable voltage as such, it's the DC-equivalent of the PWMing, probably 25-99%. ]
Post Edited (PJ Allen) : 7/6/2006 9:43:04 PM GMT
Thanks.
Post Edited (bennettdan) : 7/7/2006 10:25:55 PM GMT
NUD4001 High Current LED Driver,
This device is designed to replace discrete solutions for driving
LEDs in low voltage AC−DC applications 5.0 V, 12 V or 24 V. An
external resistor allows the circuit designer to set the drive current for
different LED arrays. This discrete integration technology eliminates
individual components by combining them into a single package,
which results in a significant reduction of both system cost and board
space. The device is a small surface mount package (SO–8).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think outside the BOX!
What software do you need to read the file attached?· I searched and it looks like it might be Cadsoft-Eagle.· Couldn't download the software to find out though because the download link gets me the standard "Page not found" error.
Post Edited (bennettdan) : 7/7/2006 10:26:45 PM GMT
I still want to see how the comparator circuit would work since I may wind up doing this a few more times and my current circuit with three solid state relays is rather onerous. ·I'm just soldering jumper wires on a thru-hole board.· (The circuit does a few more things as well that I didn't mention·in order to avoid unecessary complication.)
Much thanks to all those that helped.
P.S. I'm a former forum regular from several years ago.· I changed jobs and haven't·had the chance to play·with "stamps" since.· This·forum was (still is) awesome.
It's only necessary·unnecessary if everything else on that circuit using the "PWM" is OK with the Cap's effect/s. Post Edited (PJ Allen) : 7/8/2006 6:50:13 PM GMT
I think you meant "It's only unnecessary" or various equivalent phrasings.
Mike