Canreef Aquatics Bulletin Board  

Go Back   Canreef Aquatics Bulletin Board > General > DIY

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2013, 06:52 AM
ScubaSteve ScubaSteve is offline
Member
 
Join Date: Nov 2009
Location: Vancouver
Posts: 1,591
ScubaSteve is on a distinguished road
Default

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!
Reply With Quote
  #2  
Old 04-27-2013, 12:42 PM
Vancouver Reefer's Avatar
Vancouver Reefer Vancouver Reefer is offline
Member
 
Join Date: Mar 2009
Location: Kenora, ON
Posts: 135
Vancouver Reefer is on a distinguished road
Default

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:




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




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.



I hope the background helps.
__________________
View my Aquarium & Reef Controller build here:


The Ultimate DIY Aquarium Controller of the 21st Century!!!


LED's, PH, Salinity, Clock, LCD, ATO, Auto Water Changer, Variable Speed Cooling Fan Control and lots, lots more......


Reply With Quote
  #3  
Old 04-27-2013, 03:57 PM
ScubaSteve ScubaSteve is offline
Member
 
Join Date: Nov 2009
Location: Vancouver
Posts: 1,591
ScubaSteve is on a distinguished road
Default

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?
Reply With Quote
  #4  
Old 04-27-2013, 04:08 PM
Vancouver Reefer's Avatar
Vancouver Reefer Vancouver Reefer is offline
Member
 
Join Date: Mar 2009
Location: Kenora, ON
Posts: 135
Vancouver Reefer is on a distinguished road
Default

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!

__________________
View my Aquarium & Reef Controller build here:


The Ultimate DIY Aquarium Controller of the 21st Century!!!


LED's, PH, Salinity, Clock, LCD, ATO, Auto Water Changer, Variable Speed Cooling Fan Control and lots, lots more......


Reply With Quote
  #5  
Old 04-27-2013, 04:26 PM
ScubaSteve ScubaSteve is offline
Member
 
Join Date: Nov 2009
Location: Vancouver
Posts: 1,591
ScubaSteve is on a distinguished road
Default

Time to make the switch to the LDD drivers
Reply With Quote
  #6  
Old 04-27-2013, 05:50 PM
Vancouver Reefer's Avatar
Vancouver Reefer Vancouver Reefer is offline
Member
 
Join Date: Mar 2009
Location: Kenora, ON
Posts: 135
Vancouver Reefer is on a distinguished road
Default

Next time!
__________________
View my Aquarium & Reef Controller build here:


The Ultimate DIY Aquarium Controller of the 21st Century!!!


LED's, PH, Salinity, Clock, LCD, ATO, Auto Water Changer, Variable Speed Cooling Fan Control and lots, lots more......


Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:33 PM.


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