Jump to content

LED Controller?


illumnae
 Share

Recommended Posts

  • SRC Member

Has anyone DIY-ed a LED set up controlled by a pre-programmed microchip? This would allow fading of lights (simulate sunrise and sunset) as well as other cool features like noon burst, moonlights etc all automated instead of having to connect different banks of lights to different power plugs and doing it manually via lights timer.

I'm thinking of doing something like this with a friend, so would appreciate any input :)

Link to comment
Share on other sites

Has anyone DIY-ed a LED set up controlled by a pre-programmed microchip? This would allow fading of lights (simulate sunrise and sunset) as well as other cool features like noon burst, moonlights etc all automated instead of having to connect different banks of lights to different power plugs and doing it manually via lights timer.

I'm thinking of doing something like this with a friend, so would appreciate any input :)

Good if u can design one as current off the shelf controller(branded) is very Ex :thumbsup: !

post-1182-049500100201281969137_thumb.gi

Knowing is not enough; we must apply. Willing is not enough; we must do. - Goethe

Link to comment
Share on other sites

  • SRC Member

I have done some testing with a PICAXE controller using PWM.

It works quite well on test bed but not on the tank yet.

The whole PICAXE controls whole tanks...

It is a very tedious project to undertake as one will burnt IC/LED/Drivers and in the end burnt pocket... and almost like a full time job

Equipment:

30G Corner Tank with 10G Sump, 2 x 24W artinic T5, 1 x 24W 10K, 1x 24W 20K, 3" Grade 0 sand & Live rocks, Activated Carbon, Bio-home, 2 x Seio M620, Hailea 1/2HP Chiller, Redsea Pro Skimmer

Live Stock:

Turbo Snail x 1, Green Mandarin Dragonet X 2, Blue Tang X 2, True percular x 2, 1 x Algae Bleenie, Clarke clown x 2

Reef:

1 x 2" Blue maxima, Red/Brown/Purple Mushroom (Discosoma), Pink Ricordea yuma, A little colony Brown/Green common Zoanthus, Red/Pink/Green US Zoanthus, Eagle-eye Zoathus, 14 Branch Goniopora Pandoraensis, 1 Starburst Polyps, 3 + 2 Branch Frogspawn, 4 Blasto, palythoa, Cheato

RIPs (Since June 2005):

1. Sabae clown (KO by Clarke clown) 2. 1 branch melted frogspawn 4 branch 3. Golden maxima (Ripe the base off rock by me) 4. Algae Bleenie x 2 (Starvation) 5. Blue Maxima x 1, 2 x Maxima, 1 x frogspawn, rics (Overtemp...)

Old 30G Corner Tank.

Restarted 30G Corner Tank.

Link to comment
Share on other sites

Well say bro.

Often we end up very busy and spend more then initially plan.

But the satisfaction is something what you will never get if

you get something off the shelf.

6.5 * 2 * 2 + 3.75 * 1.5 *1.5,(Decomn on 14/9/08)
4*2*2 + 2.5*1.25*1.25 (Decomn on 1/8/09)
5*2*2 (Fully LED light system, 140 3 watt SSC leds with 60 degree lens)(Decomm)
2.5*2*2(Fully LED Light System,96 3 watt SSC leds with 60 degree lens)(Decomm)

5*2.5*2(LED only)

Eheim return 1 * pump

1 HP Daikin compressor with cooling coil
2 Jebao OW40, 1 ecotech MP40,
1X6085 Tunze wm,

1 CURVE 7 Skimmer

  1 DIY 80 led control by Bluefish mini 

1 radion XR30W G2, 2 Radion XR15G3

Sump area lite by 5 ft T5 , 6 * SSC 3 watt red LED for refugium

1 Full spectrum E27 led light

1 CR control by bubble count

Start No Water Change since 1st Dec 2016

Add new 2.5x2x 1.5 ft 

 nLekOfpYts.jpg
[/quote]


 

Link to comment
Share on other sites

So after months of reading and gathering the parts and more reading, i finally managed to put together an arduino controller that does the following:

- Fade in/out blue & white LEDs (i have 4 different strings) to simulate sunrise/sunset at pre-set time with pre-set fade duration

- Control overall intensity of the LEDs

- Display date / time

- Display room & tank temperature

- Control wavemaker (set at random intervals of 3-8 secs on/off)

Next add on:

- ATO = a very simple add on, don't even need any change in program just need to find a way to mount 2 float switches which i am currently too lazy to do

- Tidy up the wires, connectors & casing

- Get a bigger LCD display to display more stuff like blue/white LED intensity %, etc

- PH monitor (this is alot of work, don't know if I want to go into this for now)

All the talk isn't worth a cent without any pictures, so here you go...

Tank with DIY LED

IMG_0056.jpg

Testing Controller with relays

Con-Test1.jpg

Con-Box1.jpg

Completed unit

Con-Tempsensor.jpg

Con-Complete1.jpg

Link to comment
Share on other sites

  • 2 weeks later...
  • SRC Member

Hi Bezz, neat work! :welldone:

Where did you buy your Arduino from? I saw that there are only 2 resellers in Singapore.

Is it easy to program? I haven't done any programming in donkey years since my JC days. :blink:

Do you have to get any of the shields to interface with the LED?

Link to comment
Share on other sites

Hi Bezz, neat work! :welldone:

Where did you buy your Arduino from? I saw that there are only 2 resellers in Singapore.

Is it easy to program? I haven't done any programming in donkey years since my JC days. :blink:

Do you have to get any of the shields to interface with the LED?

I bought the arduino online thru ebay, its much cheaper than those resellers in SG.

Programming was a pain...took me a long time to get it to work properly.

Once the programming is solved, a shield can easily be made. But again, time is limited.

Link to comment
Share on other sites

  • SRC Member

Hi Bezz,

I'm doing up my LED using the Meanwell ELN-60-48P driver. Probably the Arduino controller will be a later project. How are you driving your LED - by buckpuck or Meanwell?

If you are using the Meanwell, I would like to check how you pull up the 0-5V PWM output of the Arduino to match the 0-10V PWM input of the Meanwell.

Link to comment
Share on other sites

Hi Bezz,

I'm doing up my LED using the Meanwell ELN-60-48P driver. Probably the Arduino controller will be a later project. How are you driving your LED - by buckpuck or Meanwell?

If you are using the Meanwell, I would like to check how you pull up the 0-5V PWM output of the Arduino to match the 0-10V PWM input of the Meanwell.

I choose to use arduino because I am using some cheap china constant current drivers I got off Ebay. Each driver cost about USD8-9 and they can drive up to 8 LEDs at 700ma though I drive only 5 with each.

This driver takes a 0-5v PWM dimming control current so I can connect the driver directly to arduino. But the downside of this driver is, the input voltage must be between 12-32V DC. So I have a 24V 7A powersupply connected to 5 drivers to power my LEDs.

I found that contrary to many believe, running my LEDs at about 600ma (voltage drawn will be about 3.3V at that current) is more than enough for my corals. My SPSs are growing very fast. And at that current, my whole lightset is drawing only about 30W (i'll post a photo with my current meter when I have time).

Using Meanwells are easy to hook up but dimming will be a pain as you have stated, arduino's PWM is only 0-5V. There are some solutions to this on reefcentral but it involves alot of electronic work which I don't want and neither do I have time to go into.

Link to comment
Share on other sites

Bezz, Do you have a part list of your controller? I'm doing some basic research now :ThanxSmiley:

The following links are useful for reading up on arduino and using it as a reef controller:

Very complex DIY Reef Controller - www.reefprojects.com/

General Arduino information - www.Arduino.cc

My hardware list for the controller:

- Arduino

- Real Time Clock (RTC)

- 16 x 2 HD44780 LCD (bought a 20 x 4 but I think I shorted it accidentally)

- Serial Link for LCD (cut down the wires & ports needed from >10 to 4 wires)

- DS18D20 temperature sensors (can connect up to >200 of these)

- Solid State Relays (for switching wavermaker, ATO, etc)

The most challenging part of the project is the programming. This is because every controller is unique depending on the hardware used, so I can't just cut and paste someone else's program unless I use exactly the same hardware and then the functions available will also be customised to that person's needs and not mine.

My advice is to not buy anything until you are sure of how to put everything together. And make sure you have many many nights and weekends to burn on this project before you embark on it.

Good Luck!

Link to comment
Share on other sites

  • SRC Member

Yup! I agree that programming is the most pain-in-the-butt job. Experienced it while debugging ladder diagrams for PLC last time. And that was before the time of Windows based s/w :pinch:

My first Arduino project should be simple. Just a light controller with sunrise, sunset, moonlight function. At most a temperature monitering for the heatsink with cut-off if over-temp.

Link to comment
Share on other sites

  • 2 weeks later...

Add me in the list if you do your purchase, Bro Rocky

6.5 * 2 * 2 + 3.75 * 1.5 *1.5,(Decomn on 14/9/08)
4*2*2 + 2.5*1.25*1.25 (Decomn on 1/8/09)
5*2*2 (Fully LED light system, 140 3 watt SSC leds with 60 degree lens)(Decomm)
2.5*2*2(Fully LED Light System,96 3 watt SSC leds with 60 degree lens)(Decomm)

5*2.5*2(LED only)

Eheim return 1 * pump

1 HP Daikin compressor with cooling coil
2 Jebao OW40, 1 ecotech MP40,
1X6085 Tunze wm,

1 CURVE 7 Skimmer

  1 DIY 80 led control by Bluefish mini 

1 radion XR30W G2, 2 Radion XR15G3

Sump area lite by 5 ft T5 , 6 * SSC 3 watt red LED for refugium

1 Full spectrum E27 led light

1 CR control by bubble count

Start No Water Change since 1st Dec 2016

Add new 2.5x2x 1.5 ft 

 nLekOfpYts.jpg
[/quote]


 

Link to comment
Share on other sites

  • 3 weeks later...

Can someone advise why it is better to use a big spread of LEDs vs a lesser number but high power LEDs ?

I noticed that most of the DIY fixtures are using a long string of LEDs but no one is using those 10w/20w LEDs for reef lighting - Is there any reason behind it?

I have some 10w (12V, 1A) LEDs that I intend to put over my 4x2x2, based on the current brightness, I think I might just need 8 of these if I can get the dimming function to work correctly. I've my Arudino already and will be getting some components and a Meanwell ELN60 to try the PWM function by next week (if my work schedule allows!) and brush up my rusty electronics before I start- LOL

Link to comment
Share on other sites

Can someone advise why it is better to use a big spread of LEDs vs a lesser number but high power LEDs ?

I noticed that most of the DIY fixtures are using a long string of LEDs but no one is using those 10w/20w LEDs for reef lighting - Is there any reason behind it?

I have some 10w (12V, 1A) LEDs that I intend to put over my 4x2x2, based on the current brightness, I think I might just need 8 of these if I can get the dimming function to work correctly. I've my Arudino already and will be getting some components and a Meanwell ELN60 to try the PWM function by next week (if my work schedule allows!) and brush up my rusty electronics before I start- LOL

From my experience, if by bulk purchase, 3w is cheaper compare to buying a few of 12w LEDs so majority reefer will go for more 3w instead of 12w leds.

btw, I'm using 8x 12W SSC P7 white and 30x 3w Royal blue leds combination w/o lens and the cost of completed project was Wow.........EX :rolleyes:!

post-1182-049500100201281969137_thumb.gi

Knowing is not enough; we must apply. Willing is not enough; we must do. - Goethe

Link to comment
Share on other sites

  • SRC Member

So after months of reading and gathering the parts and more reading, i finally managed to put together an arduino controller that does the following:

- Fade in/out blue & white LEDs (i have 4 different strings) to simulate sunrise/sunset at pre-set time with pre-set fade duration

- Control overall intensity of the LEDs

- Display date / time

- Display room & tank temperature

- Control wavemaker (set at random intervals of 3-8 secs on/off)

Next add on:

- ATO = a very simple add on, don't even need any change in program just need to find a way to mount 2 float switches which i am currently too lazy to do

- Tidy up the wires, connectors & casing

- Get a bigger LCD display to display more stuff like blue/white LED intensity %, etc

- PH monitor (this is alot of work, don't know if I want to go into this for now)

All the talk isn't worth a cent without any pictures, so here you go...

Tank with DIY LED

IMG_0056.jpg

Testing Controller with relays

Con-Test1.jpg

Con-Box1.jpg

Completed unit

Con-Tempsensor.jpg

Con-Complete1.jpg

Hi bro....

PMed you on some information.

:ThanxSmiley:

Tank : 3 x 2 x 1.8 ( setup end Feb 2014 ) --> 4 x 2 x 1.8 ( setup early Nov 2016 )
Skimmer : Bubble Magus NAC6 --> Bubble Magus Curve 7
Return pump : Jebao 10000l/h ( down in 17th December 2014 ) --> Jebao DC-12000 ( 19th December 2014 )
Compressor drop-in coil
Wavemaker : Tunze 6105 x 1
Lights : Modular based DIY LED light x 4

Chaeto in the sump

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...