|
03/13/2011, 05:35 PM | #76 | |
Moved On
Join Date: Feb 2003
Location: Kent, WA
Posts: 1,548
|
Quote:
If I understand you correctly, then you will only have 1 ramp up for Blue and another ramp up for white. |
|
03/13/2011, 05:38 PM | #77 |
Moved On
Join Date: Feb 2003
Location: Kent, WA
Posts: 1,548
|
Lets continue.
Here is the wiring diagram complete with RTC1307...
You will notice that they share common ground and 5v supply. |
03/13/2011, 05:44 PM | #78 |
Moved On
Join Date: Feb 2003
Location: Kent, WA
Posts: 1,548
|
Wiring diagram
Do you remember this? This is the original wiring diagram "with pot" and without Arduino...
Well the only change we will do with this wiring is to "tap" or "cut" the negative side from the "10v" signal going to the LED driver. This diagram is only for one channel and for one Arduino pin. It means 1 ramp up and down. One channel can have 1,2 or 4 LED drivers connected to it, but this only means that all of them will ramp up and ramp down at the same time. If you need to put another channel, example... white, then you just need to duplicate the wiring, resistor, transistor and use another arduino pin. Last edited by katchupoy; 03/13/2011 at 05:55 PM. |
03/13/2011, 06:06 PM | #79 |
Moved On
Join Date: Feb 2003
Location: Kent, WA
Posts: 1,548
|
I believe thats it for the hardware side of simple LED Controller using Arduino. Simple Ramp Up and Ramp Down.
So if you have questions before we go to the software side, please do so... |
03/13/2011, 07:29 PM | #80 |
Registered Member
Join Date: Mar 2010
Location: NY
Posts: 38
|
Hi, I have 6 blue drivers and 6 white drivers
|
03/13/2011, 07:44 PM | #81 |
Registered Member
Join Date: Mar 2010
Location: NY
Posts: 38
|
How many drivers can I put on 1 output? Do I have to run each driver on its own channel?? thanks , and good night! J
|
03/13/2011, 08:05 PM | #82 |
Moved On
Join Date: Feb 2003
Location: Kent, WA
Posts: 1,548
|
What happens is 1 channel (transistor) can handle many drivers. So 6 drivers in one transistor... and another 6 drivers for another transistor.
each transistor will have their schedule ramp up and down, thus you will only have two channel. |
03/13/2011, 08:16 PM | #83 |
Moved On
Join Date: Feb 2003
Location: Kent, WA
Posts: 1,548
|
Here is a simple breadboard diagram.... for those people who havent use breadboard before... you will notice there are vertical dots and horizontal dots .... I added a note how they are link or connected together.
|
03/13/2011, 10:36 PM | #84 |
Imagination superfreak
Join Date: Jan 2011
Location: West Chicago, IL. near RT. 59 and RT. 64
Posts: 1,698
|
katchupoy awesome work. Great images even a monkey could assemble it.
Ok so I talked to Bill from reefledlights at my local swap and he does not recommend the PWM output and said idealy we should make a circuit to convert that to a analog 10v claiming that the constant on/off signal might lower the life significantly... which we already knew. I dont care as I only have 2 drivers and live 20 minutes from him if I ever need a replacement, but those with 6-7+ drivers that could be costly if it did happen. I have seen on the hydra project they made a ELN shield ( http://code.google.com/p/hydra-reef/...e%2FELN_shield ) that I am not sure if it just converts the PWM sig to 10v or converts it analog 10v might be worth looking into could be a simple circuit. I know your a newb too but I think we may be able to make a cheap simple circuit or one may exist to convert the pwm to a clean dc signal, at least then our signal going to the transistor will be a constant one. I will have a look on google in the morning to see what I can find on this. Any chance you could post or pm me the code for the arduino so I can take a look how it all works. I picked up a few digital temp sensors for under $2 each and I want to look at how I will have to include one in my heat sink for led temp. I know how to wire the temp sensor already. I found a chunk of code to read it and wanted to see if it is easy to include. I also need to look into getting this IR remote to work with it but thats for a later day.
__________________
Regards, Tom Current tank: 45g acrylic cube, Sunpod 150w 14k bulb Current Fish: Hey I gots some fish.. |
03/14/2011, 06:49 AM | #85 |
Registered Member
Join Date: Aug 2009
Location: Northern VA
Posts: 4,618
|
The shield you are referring to is a 10 V PWM.
__________________
Click my home page for Thread Summaries Current Tank Info: 75 gallon lps and fish |
03/14/2011, 07:05 AM | #86 |
Registered Member
Join Date: Dec 2010
Posts: 164
|
Using a PWM to dim will not affect the LEDs life expectancy, these components are made with the capability of withstanding those quick changes as PWM is the optimum way of controlling strings of LEDs.
|
03/14/2011, 07:11 AM | #87 |
Registered Member
Join Date: Aug 2009
Location: Northern VA
Posts: 4,618
|
They are worried about burning out the ELN-XX-XXD driver. The Ds have an analog dimming signal and the ELN-XX-XXPs use a PWM singal.
__________________
Click my home page for Thread Summaries Current Tank Info: 75 gallon lps and fish |
03/14/2011, 09:58 AM | #88 |
Registered Member
Join Date: Mar 2011
Posts: 5
|
Great project following with interest and easy to follow upto now.
Just one thing what powers up the Ardunio board and breadboard for the 5v? Or have i missed something? Cheers Gordon. |
03/14/2011, 10:24 AM | #89 | |
Moved On
Join Date: Feb 2003
Location: Kent, WA
Posts: 1,548
|
Quote:
Updated Parts List... If you check the current checklist. There is this 6V power supply that will power the Arduino. In reality, you can just use the same 10V power supply that you use to your LED drivers. This is my current setup right now. . Last edited by katchupoy; 03/14/2011 at 10:44 AM. |
|
03/14/2011, 11:22 AM | #90 |
Registered Member
Join Date: Mar 2011
Posts: 5
|
Sorry overlooked that in the parts list. Does the 5v supply connect to the breadboard or the power jack on the Adrunio?
Cheers Gordon. |
03/14/2011, 12:04 PM | #91 |
Moved On
Join Date: Feb 2003
Location: Kent, WA
Posts: 1,548
|
your external power supply goes to the power jack. now the one that goes to the bread board comes from 5V of arduino...
|
03/14/2011, 12:07 PM | #92 |
Registered Member
Join Date: Mar 2011
Posts: 5
|
Thanks for clearing that up. Makes perfect sense now.
Cheers Gordon. |
03/14/2011, 12:26 PM | #93 |
Moved On
Join Date: Feb 2003
Location: Kent, WA
Posts: 1,548
|
The good thing with Arduino board, is that it can handle a wide range of volts thru power jack. Right now im using 10V thru power jack. And then arduino will regulate it down to 5V. Thats why you have 5V pins so you can tap power from here.
Unfortunately, the "amps" on the pins are not that great. We are just talking about "40 ma" at the most. Not even enough to power a servo (later on this project). But enough to control logic level power, example: IC, transistors and some very small relays. |
03/14/2011, 03:36 PM | #94 |
the H is silent
Join Date: Feb 2011
Location: Gurnee, IL
Posts: 297
|
So if I'm getting a P series driver then my setup will be a little different but slightly simpler on the hardware side? And instead of a manual analog dimmer it would be done in the coding with buttons, yes?
__________________
"Do amphipods dream of underwater sheep?" |
03/14/2011, 03:49 PM | #95 |
Registered Member
Join Date: Aug 2009
Location: Northern VA
Posts: 4,618
|
I think so, but I haven't seen the code.
__________________
Click my home page for Thread Summaries Current Tank Info: 75 gallon lps and fish |
03/14/2011, 04:08 PM | #96 |
Registered Member
Join Date: Mar 2011
Posts: 5
|
If im using an LED driver that can accept low frequency PWM signal would that mean i would not need the transistors and resistors? and connect directly to the PWM output on the Ardunio?
Cheers Gordon. |
03/14/2011, 04:50 PM | #97 |
Registered Member
Join Date: Aug 2009
Location: Northern VA
Posts: 4,618
|
It depends on the voltage required by the PWM input of the driver. If the driver only takes 5 volts then yes it can drive it directly. If it takes more or less then you cannot.
Next question is how many drivers do you need to control with each PWM signal. The Arduino IIRC can supply 40 ma. If your driver needs more than that you can not drive it directly. If less than you can drive 40 divided by the current required. You must roung down. So if you need 21 ma you can only drive 1.
__________________
Click my home page for Thread Summaries Current Tank Info: 75 gallon lps and fish |
03/14/2011, 05:06 PM | #98 |
Registered Member
Join Date: Mar 2011
Posts: 5
|
Thanks for your reply, sounds like it would be best to use transistors and resistors to be on the safe side.
Would be looking at 2 drivers per PWM signal usind a total of 6 drivers, so need 3 PWM outputs. Cheers Gordon. Cheers Gordon. |
03/14/2011, 05:09 PM | #99 |
1x10^12 Hz
Join Date: Oct 2009
Location: Stamford, CT
Posts: 1,185
|
My guess would be that you will be able to power the 6 drives without problems. I'm currently driving 8 on 4 PWM pins without issues.
__________________
Аз съм българче! Current Tank Info: DIY 40 Breeder with LEDs |
03/14/2011, 06:25 PM | #100 | |
Moved On
Join Date: Feb 2003
Location: Kent, WA
Posts: 1,548
|
Quote:
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DIY Led Build of the Month | plankton99 | Do It Yourself | 11 | 11/20/2011 08:21 AM |
DIY leds...now with arduino Controlled lights... | António Vitor | Do It Yourself | 4 | 05/18/2011 02:13 AM |
Yet Another DIY LED Build Thread | csarkar001 | Do It Yourself | 54 | 05/11/2011 05:55 PM |
One quick DIY LED question | Impossible | Do It Yourself | 4 | 10/27/2010 09:50 AM |
Anyone DIY LEDs in their Biocube? | bassplaya12 | Do It Yourself | 13 | 08/15/2010 01:03 PM |