Canreef Aquatics Bulletin Board

Canreef Aquatics Bulletin Board (http://www.canreef.com/vbulletin/index.php)
-   DIY (http://www.canreef.com/vbulletin/forumdisplay.php?f=13)
-   -   Meanwell LPF Series Dimming Solved (http://www.canreef.com/vbulletin/showthread.php?t=97154)

Vancouver Reefer 04-26-2013 04:24 PM

Meanwell LPF Series Dimming Solved
 
Hi All,

I had bought a pair of Meanwell LPF series drivers for my project. However i soon found out these could not be dimmed using the conventional ways used to dim the popular ELN series drivers.

After much head banging and some help from Fungus on the Arduino forum we found a solution that works great!

You can use an Arduino to output the 0-5V PWM signal and the circuit turns it into 0-10V needed for the LPF series driver.

http://farm9.staticflickr.com/8544/8...26655fa6_b.jpg

I hope this may help some of you and prevent the pure frustration i experienced!!! :laluot_08:


VR

Cjm 04-26-2013 06:06 PM

For those of us with minimal electronics experience, how could we achieve this?

ScubaSteve 04-26-2013 08:08 PM

It's fairly straight forward. All you are doing in this set up is using the 0-5V PWM signal from the arduino to drive a 10V source - basically the same idea as an audio amplifier. You could easily solder this up on a proto board. Seems intimidating now but once you do it you'll see it's pretty easy. Probably take you 30-60 mins depending on your comfort level with circuitry and a soldering iron.

VR - What's with the NPN into the PNP? I'm not sure I get what that's for. Are you just trying to achieve higher gains to reduce the load on the arduino? If so, why not use a single darlington transistor instead?

Vancouver Reefer 04-27-2013 12:53 AM

No Idea Steve. My head was blown apart trying to figure this one and the guy on the arduino forum told me to try that circuit. I did not try driving the PNP directly from the arduino and my protoboard is now built, installed and running. Would be interesting to see without the 2n2222 in there.

ScubaSteve 04-27-2013 06:52 AM

Ah, after looking at it more I see what he's doing. Ultra conservative design (in terms of current draw through the Arduino). You really could simplify it and just use the NPN. You'd have to drop the value of R3 to 5-10K butit'd work just the same.

Thanks for posting this. It'd be great to see people doing more DIY electronics. It's intimidating at first but easy once you get into it. Stuff like this really helps!

Vancouver Reefer 04-27-2013 12:42 PM

oops i forgot to add on a 1K pulldown resistor between the Meanwell + and 0V. This will prevent the driver from going to 100% brightness in the event the driver circuit stops working or has a power failure.

Steve,

I tried using a NPN before and it would not drive the LPF series driver. Here is what i had tried before but with no luck:

Controlling + lead:

http://img265.imageshack.us/img265/7613/pcb.jpg


So next i tried this circuit using the 10v supply to control the - lead:

http://nano-reef.pl/uploads/gallery/...2048_78007.jpg


I then tried the following circuit as the 2 previous would not work. This i could get the drivers to dim but with the Arduino fading from 0-5v i could only get the circuit to output 3.5v-6.5v.

http://i74.photobucket.com/albums/i2...ps1018b58d.png

I hope the background helps.

ScubaSteve 04-27-2013 03:57 PM

Interesting. I'd have to run the math to check it but I think the problem you were having here was the 1K resistor. The transistor might not have been at saturation and so the gain may have been too low for amplifying the PWM. I'm surprised it didn't work. I use the same circuit to control the fans on my tank.

Good call on the pull-down resistor. I always surprised people neglect them, not just for safety but also to just have a nice product. Why would you want you LEDs going to 100% any time you unplug something?

Vancouver Reefer 04-27-2013 04:08 PM

I have been using the 2n2222 for all my power control on my controller with no problem, but those LPF drivers nearly got my controller launched out the window!

:smash:

ScubaSteve 04-27-2013 04:26 PM

Time to make the switch to the LDD drivers :wink:

Vancouver Reefer 04-27-2013 05:50 PM

Next time!


All times are GMT. The time now is 11:35 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.