My attempt at a professional style DIY light - The Planted Tank Forum
 7Likes
Reply
 
LinkBack Thread Tools Display Modes
post #1 of 81 (permalink) Old 12-22-2017, 10:04 PM Thread Starter
Planted Member
 
MrMan's Avatar
 
PTrader: (0/0%)
Join Date: Dec 2014
Location: Vancouver
Posts: 224
My attempt at a professional style DIY light

So I figured I'd start a thread for my new DIY project, now that I'm actually building it thanks to some interest from @Lingwendil . It's a wifi enabled LED controller/driver.

I wanted my light to look more like a professional light, which meant only one cable going to the light, ideally with a connector. So that meant the board needed to take a single voltage and step it down to 12V to run a fan and 3.3/5V for the controller. This is what I came up with:



Designed to fit the spacings on the RapidLED premium heatsink, barrel connector for power, onboard DC-DC converter steps voltage down to 6.5-12V (adjustable with a pot) and then down to 3.3V for the Wemos. Has 6 drivers although with an on-board connector 8 PWM channels can be brought out for additional drivers. Each driver can accept up to 65V and the DC-DC is also rated for 60V. Output is adjustable from 350mA to 1A.

Since it's an ESP using a PCA9685 for PWM there are a couple options for code. I originally looked at the SSLAC code which is very programmable but I don't think you can view anything outside of your network and I don't think it has much for fan control or temperature reading. Then I saw O2's Blynk based controller for the LED he made, decided it looked like a good base for a project like this and started my own code.

The Blynk code is setup to have a dim sunrise/sunset mode, full daylight mode and moonlight. Each channel can be individually adjusted for each of the modes to allow warmer sunrise/sunset and whatever color moonlight. It will read the heatsink temperature from one or more DS18B20 sensors and turn a fan on when the temperature exceeds a controllable setpoint.

I've started building the first board and tested the DC-DC circuit, over the holidays I plan on finishing the board and testing it out while building my light. Starting with 2 fresh-fish and 2 crisp white COBs, this is over a 36x18x18 tank so each set of COBs basically be over an 18" cube. I'll see how it looks and may need to add more lights or may want to add some supplemental colors.

Also did up a Fritzing schematic which would let you use the code without the PCB for more DIY style:

Fritzing schematic

Blynk code is on Github here.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by MrMan; 12-22-2017 at 10:06 PM. Reason: edit
MrMan is offline  
Sponsored Links
Advertisement
 
post #2 of 81 (permalink) Old 12-23-2017, 12:43 PM
Algae Grower
 
PTrader: (0/0%)
Join Date: Dec 2017
Posts: 70
Thanks for the schematics
eltila is offline  
post #3 of 81 (permalink) Old 12-23-2017, 04:52 PM
Planted Member
 
Lingwendil's Avatar
 
PTrader: (0/0%)
Join Date: Nov 2012
Location: Oakley, Ca
Posts: 255
Can't wait to get mine in. I guess that makes me a beta tester?

It'll be nice to have it all on one board! Perfect for the rapidLED enclosures.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Lingwendil is offline  
 
post #4 of 81 (permalink) Old 12-23-2017, 05:13 PM Thread Starter
Planted Member
 
MrMan's Avatar
 
PTrader: (0/0%)
Join Date: Dec 2014
Location: Vancouver
Posts: 224
Quote:
Originally Posted by Lingwendil View Post
Can't wait to get mine in. I guess that makes me a beta tester?

It'll be nice to have it all on one board! Perfect for the rapidLED enclosures.
Pretty much I emailed rapid and couldn't get an extra end cap without the hole so I'm thinking maybe 3d printing an new one with the proper opening for the connector will be my best bet. Just have to learn CAD modeling now lol

Sent from my Nexus 6P using Tapatalk


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
MrMan is offline  
post #5 of 81 (permalink) Old 12-23-2017, 05:56 PM
Planted Member
 
Lingwendil's Avatar
 
PTrader: (0/0%)
Join Date: Nov 2012
Location: Oakley, Ca
Posts: 255
Quote:
Originally Posted by MrMan View Post
Pretty much I emailed rapid and couldn't get an extra end cap without the hole so I'm thinking maybe 3d printing an new one with the proper opening for the connector will be my best bet. Just have to learn CAD modeling now lol

Sent from my Nexus 6P using Tapatalk
Maybe try these guys? I used them for some audio gear a while back...

https://www.frontpanelexpress.com


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Lingwendil is offline  
post #6 of 81 (permalink) Old 12-23-2017, 09:33 PM Thread Starter
Planted Member
 
MrMan's Avatar
 
PTrader: (0/0%)
Join Date: Dec 2014
Location: Vancouver
Posts: 224
Quote:
Originally Posted by Lingwendil View Post
Maybe try these guys? I used them for some audio gear a while back...

https://www.frontpanelexpress.com
Might be overkill for what I need but I'll keep them in mind. Hard to tell how much it would end up being since their price options are just examples for much larger pieces.

Found this place:
https://www.elecrow.com/5pcs-acrylic...g-service.html

Can do black plastic pieces for pretty cheap, could even get a logo engraved. Are the endcaps plastic or metal?


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
MrMan is offline  
post #7 of 81 (permalink) Old 12-23-2017, 11:24 PM
Planted Member
 
Lingwendil's Avatar
 
PTrader: (0/0%)
Join Date: Nov 2012
Location: Oakley, Ca
Posts: 255
I think its 3/32~1/8" aluminum. Easy to drill at least. They also acted like it was nigh impossible to source extra endplates when I asked too. Strange, but since everyone farms out mfg services nowadays it makes sense.


Silly question, but do you think a relocation of the barrel jack, spaced to fit through the existing hole on the endcaps could work on later revisions? If it's possible to reconfigure the PCB to work that way it could be a viable option I suppose. Otherwise its trivial to drill a hole and simply pop a plastic blockoff plug into the existing hole.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Lingwendil is offline  
post #8 of 81 (permalink) Old 12-24-2017, 12:16 AM
Planted Tank Enthusiast
 
PTrader: (1/100%)
Join Date: Nov 2015
Location: Kalamazoo Mi
Posts: 504
This looks really sweet...if I had not already bought my setups I'd be all over buying one of these boards to test
Kampo is offline  
post #9 of 81 (permalink) Old 12-24-2017, 07:02 PM Thread Starter
Planted Member
 
MrMan's Avatar
 
PTrader: (0/0%)
Join Date: Dec 2014
Location: Vancouver
Posts: 224
Quote:
Originally Posted by Lingwendil View Post
I think its 3/32~1/8" aluminum. Easy to drill at least. They also acted like it was nigh impossible to source extra endplates when I asked too. Strange, but since everyone farms out mfg services nowadays it makes sense.


Silly question, but do you think a relocation of the barrel jack, spaced to fit through the existing hole on the endcaps could work on later revisions? If it's possible to reconfigure the PCB to work that way it could be a viable option I suppose. Otherwise its trivial to drill a hole and simply pop a plastic blockoff plug into the existing hole.
If I moved the connector to the middle the DC-DC circuit would push over and the wemos would have to move. It could work, but might make the board wider which I'd like to avoid to keep as much room for LEDs as possible. Currently the board is 50mm wide which is under 2 inches.

Quote:
Originally Posted by Kampo View Post
This looks really sweet...if I had not already bought my setups I'd be all over buying one of these boards to test
Easy solution, just start another tank


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
MrMan is offline  
post #10 of 81 (permalink) Old 12-24-2017, 08:50 PM
Planted Member
 
Lingwendil's Avatar
 
PTrader: (0/0%)
Join Date: Nov 2012
Location: Oakley, Ca
Posts: 255
Quote:
Originally Posted by MrMan View Post
If I moved the connector to the middle the DC-DC circuit would push over and the wemos would have to move. It could work, but might make the board wider which I'd like to avoid to keep as much room for LEDs as possible. Currently the board is 50mm wide which is under 2"
Understandable. I'm braindead with PCB design so I was just curious.

Quote:
Originally Posted by MrMan View Post
Easy solution, just start another tank
I am fighting all of my instincts to not grab another 20 long to do another planted. I've got a 55 in storage that is earmarked for a freshwater build once we move in a few months, and the current 20 long reef is slated to be replaced by a 40 breeder or similar (36x18) footprint tank around the same time. Multiple tank syndrome is a hell of a drug

I think the Petco doller-per-gallon sale is coming up again soon, always a good time to grab a few 10's or 20's to play with


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Lingwendil is offline  
post #11 of 81 (permalink) Old 12-27-2017, 10:18 PM Thread Starter
Planted Member
 
MrMan's Avatar
 
PTrader: (0/0%)
Join Date: Dec 2014
Location: Vancouver
Posts: 224
Finished building the PCB, heatsink has been shipped and should be ready to pickup on Friday.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by MrMan; 12-27-2017 at 10:19 PM. Reason: fixing image
MrMan is offline  
post #12 of 81 (permalink) Old 12-30-2017, 03:15 AM Thread Starter
Planted Member
 
MrMan's Avatar
 
PTrader: (0/0%)
Join Date: Dec 2014
Location: Vancouver
Posts: 224
So I picked up my heatsink today and went to check the fit of the PCB on the slots and found they're slightly off, which is annoying since I got a drawing from them and did the PCB based on that. I should be able to drill out one edge of the holes and it'll work but shouldn't have been necessary. Also noticed that the board bows a bit when both sides are tightened so I'm going to use a thermally conductive double sided tape between the board and heatsink to ensure everything stays cool.

I'm curious though if the COBs should be installed beside each other or in front/behind eachother. I'm leaning towards this but I suppose I could always change it:

Joshism and Joshism like this.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
MrMan is offline  
post #13 of 81 (permalink) Old 12-30-2017, 10:37 PM
Planted Member
 
Lingwendil's Avatar
 
PTrader: (0/0%)
Join Date: Nov 2012
Location: Oakley, Ca
Posts: 255


Can't wait!


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Lingwendil is offline  
post #14 of 81 (permalink) Old 01-03-2018, 02:53 AM Thread Starter
Planted Member
 
MrMan's Avatar
 
PTrader: (0/0%)
Join Date: Dec 2014
Location: Vancouver
Posts: 224
We have light!



I don't have my proper power supply yet so I'm making do with a 50W supply I had which will let me test each LED at full brightness. They all run as expected, fan works properly, havn't tested the daily fading cycle yet but that'll be done soon. The only weird thing is that the warm white COBs are always on even when the dimming is set to 0, it's so dim you can see the individual LEDs in the COB but it's strange. They still work as expected from 1-100 though so I'm sure I can ignore it.

This is the supply I am going to use:
Meanwell GST120A48-P1M


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
MrMan is offline  
post #15 of 81 (permalink) Old 01-03-2018, 03:28 AM
Planted Tank Enthusiast
 
PTrader: (1/100%)
Join Date: Nov 2015
Location: Kalamazoo Mi
Posts: 504
Quote:
Originally Posted by MrMan View Post
We have light!

I don't have my proper power supply yet so I'm making do with a 50W supply I had which will let me test each LED at full brightness. They all run as expected, fan works properly, havn't tested the daily fading cycle yet but that'll be done soon. The only weird thing is that the warm white COBs are always on even when the dimming is set to 0, it's so dim you can see the individual LEDs in the COB but it's strange. They still work as expected from 1-100 though so I'm sure I can ignore it.

This is the supply I am going to use:
Meanwell GST120A48-P1M
love that psu, makes it look even more professional. but wow 50 bucks is a lot of coin for a power brick...that said i've looked and there are not many options for 48v psus that don't look like a metal cage. i found a few chinese built ones that woudl work for my proejct in powerbrick form...but chinese powersupplies always worry me
Kampo is offline  
Reply

Tags
None

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the The Planted Tank Forum forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Posting Rules  
You may post new threads
You may 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
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome