Meanwell LDD driver: for those who want to dim to 0 using Arduino

3 weeks to get a set of ds18b20 temp probe's pre made from china. next time just going to make the things out of phone wire and have them same day.
 
I bought some parts from a RC member in Cleveland that changed his mind on a build,...let me know if you need something sooner than 3 weeks :D I'll run it by,....always like to chat.
 
Can I hook up a SSRelay to turn off my scw psu for my fans? Meaning, can I use the pwm for my leds to also provide the 0-5V to enable/disable the SSrelay to cut power to the scw when the PWM is 0V?

Can the scw handle this intermittent style of duty cycle or do I need to find another way to cut power?
 
Can I hook up a SSRelay to turn off my scw psu for my fans? Meaning, can I use the pwm for my leds to also provide the 0-5V to enable/disable the SSrelay to cut power to the scw when the PWM is 0V?

Can the scw handle this intermittent style of duty cycle or do I need to find another way to cut power?

I forget what controller and boards are you running?(so many posts so little time to cross reference :) )possibly but you might have a spare pin that could be programmed for on/off more effectively. Probably not going to work well on the same channel as an LED string though. but maybe could be run on a stand alone channel, depending.......
 
I guess I am just unclear as to whether a pwm signal from an arduino can act as the 0-5v reference voltage to enable/disable a ssrelay...and if that constant on/off from the varying duty cycles is fine for the scw Vcc in...I definitely have extra channels available that I could use...I just dont ant to blow my scw given the long lead time on delivery if I blow it up =)
 
Registered Member
*

*
Join Date: Dec 2011
Location: Appleton, WI
Posts: 590
I guess I am just unclear as to whether a pwm signal from an arduino can act as the 0-5v reference voltage to enable/disable a ssrelay...and if that constant on/off from the varying duty cycles is fine for the scw Vcc in...I definitely have extra channels available that I could use...I just dont ant to blow my scw given the long lead time on delivery if I blow it up =)

You can always convert the PWM using a RC filter
 
If you only switch the PWM from 0% to 100% it should work fine as a control signal for an SSR. The SCW wouldn't know you are using a PWM signal (as effectively you aren't - just 0V or 5V).

Tim
 
I guess I am just unclear as to whether a pwm signal from an arduino can act as the 0-5v reference voltage to enable/disable a ssrelay...and if that constant on/off from the varying duty cycles is fine for the scw Vcc in...I definitely have extra channels available that I could use...I just dont ant to blow my scw given the long lead time on delivery if I blow it up =)
I may not understand what you are trying to do, but would think your relay would give out sooner than you'd like if you are trying to PWM 'through' it. They typically only have x amount of cycles. I'd think a transistor circuit would be much better. It's good practice to have an alternative 5v power source to drive the relays from a controller output anyway, so for purposes of only driving fans it seems the relay idea really only complicates it and probably makes it less reliable.
 
But even if using a PWM capable control signal, if you only use it as on/off (ie 0 or 100%) then you are not actually switching the relay any more often than if using a none PWM control :confused:

Tim
 
But even if using a PWM capable control signal, if you only use it as on/off (ie 0 or 100%) then you are not actually switching the relay any more often than if using a none PWM control :confused:

Tim

Right, I agree with you. I'd guess that running at only 0 & 100% should be like running any standard digital out pin. I'd think you'd have more digital pins than PWM pins available, though. That's why I expressed what I did, thinking that they may be wanting to pulse through the relay.
 
Last edited:
Well im just looking for a quick and easy solution that I can use with the current coding...without have to take the time to learn how to program in a controlled standard digital pin.

I think Ill just use one of the preprogrammed pwms and either run them at 0 or 100%. Thanks for the help guys :) I know it's not the best option in the end...but for right now it will work.
 
Well im just looking for a quick and easy solution that I can use with the current coding...without have to take the time to learn how to program in a controlled standard digital pin.

I think Ill just use one of the preprogrammed pwms and either run them at 0 or 100%. Thanks for the help guys :) I know it's not the best option in the end...but for right now it will work.

On/Off coding within an existing controller sketch to use an extra digital or analog pin is really, really simple. Just needs a few lines of basic code for an if something then On and if something else then off type program. Could use the screen display lines as a trigger or the clock whatever works for your application.

read up on using "if" and "else" statements on the arduino home page, very basic stuff and really powerful for tweaking and adding functions to an existing sketch.
 
Thanks Zachts...I really shouldve done it ages ago, but I guess tonight is the night. appreciate the guidance as always :)
 
Hey perkint,...I bought one of these timers,..http://www.ebay.com/itm/New-1s-20h-Adjustable-Delay-Timer-Module-for-Delay-Time-Switch-Relay-/300946549770 ...I need a momentary trigger signal to activate it. I want a high signal controlled from a rtc. I though I was going to use the feed trigger on my Jarduino but pin 50 for the feeder is always high and goes low when the feeder mode is triggered, I want low and goes momentary high. Any thoughts?---Rick
Easiest solution would be to use another pin if you have any spare?
Right, I agree with you. I'd guess that running at only 0 & 100% should be like running any standard digital out pin. I'd think you'd have more digital pins than PWM pins available, though. That's why I expressed what I did, thinking that they may be wanting to pulse through the relay.
You are right. I wasn't really thinking about why use PWM, more just whether you could.
Well im just looking for a quick and easy solution that I can use with the current coding...without have to take the time to learn how to program in a controlled standard digital pin.
As has been said, it is very simple to learn and once you have learnt it, you'll find lots more things to do and customise :)

Tim
 
Must be trying to get rid of stock, the CLG were replaced by the HLG, which are more efficient, so snag em while they're still up! :)
 
Must be trying to get rid of stock, the CLG were replaced by the HLG, which are more efficient, so snag em while they're still up! :)

That's true but not by much, the CLG are still over 90% efficent witch is better than many of the other PSUs available and used. Also have a high power factor rating which is a bonus!

Judging from their other stuff they look to be a wholesale/surplus liquidator. selling large lots of stuff from stores that wanted old stock gone fast or places that went out of business.
 
Back
Top