Look for DIY Timer for Chinese Blackbox

Javamahn

Active Member
View Badges
Joined
May 20, 2017
Messages
350
Reaction score
168
Has anyone made a DIY Timer that can be used with the dimming feature of the Meanwell drivers? Something that can ramp up and down and set intensity of the 2 channels?
 

dantimdad

Valuable Member
View Badges
Joined
Jun 24, 2009
Messages
7,118
Reaction score
28,952
Location
North Alabama
Working on it with a buddy.

We are doing 0-10v with a raspberry pi. Meeting with him Friday for an update on his part.

Meanwhile, the blufish does it, so does the storm and several others. But, I want it for a specific purpose that will have a thread later on if we succeed.
 
OP
J

Javamahn

Active Member
View Badges
Joined
May 20, 2017
Messages
350
Reaction score
168
Working on it with a buddy.

We are doing 0-10v with a raspberry pi. Meeting with him Friday for an update on his part.

Meanwhile, the blufish does it, so does the storm and several others. But, I want it for a specific purpose that will have a thread later on if we succeed.
I saw the bluefish do you know if the Current will work? I assume most of these boxes are 0-10v and not pwm. Considering that bluefish is more expensive then many of the LEDs themselves I was looking at DIY to minimize costs of modding some existing Black boxes I have for a lowboy frag tank. Good Luck and keep us posted on your progress
 

dantimdad

Valuable Member
View Badges
Joined
Jun 24, 2009
Messages
7,118
Reaction score
28,952
Location
North Alabama
That's my argument against a premade controller.

I like to DIY but, cost is also a factor. If it costs almost as much to DIY then why bother?

Our total cost should be under $30 and it will control 4 channels. We could control 8 channels for about $50 according to my buddy.
 
Top Shelf Aquatics

cvrle1

Active Member
View Badges
Joined
Sep 13, 2018
Messages
251
Reaction score
317
Working on it with a buddy.

We are doing 0-10v with a raspberry pi. Meeting with him Friday for an update on his part.

Meanwhile, the blufish does it, so does the storm and several others. But, I want it for a specific purpose that will have a thread later on if we succeed.
Not sure if you looked at reef-pi build thread. They were just talking about light controllers in there, so perhaps you can join in the fun and share your knowledge with @Ranjib and rest of the builders. Could be beneficial for all parties involved :)
 

dantimdad

Valuable Member
View Badges
Joined
Jun 24, 2009
Messages
7,118
Reaction score
28,952
Location
North Alabama
ok so I just talked with my buddy. Code is done for 6 channels. I just have to get my end of it done and build a voltage doubling circuit and an enclosure to pretty it up.

This is getting fun.

Basically, an Arduino has 6 controllable 0-5v outputs what we are doing is converting the signal to them via (up to 256) steps multiplied 51 to get the output desired. That goes through an OPAMP then to the 0-10v analog input of a driver (or up to 6). I am using inventronics and meanwell with 0-10v inputs. Theoretically, this could directly control Kessils or what have you.

In all honesty, I am not sure why more folks haven't done this.

Judging from the code, it's super simple stuff.

But, again, I haven't implemented it yet. I may hate myself for saying it's simple. LOL
 

tonkaoz

Active Member
View Badges
Joined
Nov 23, 2014
Messages
260
Reaction score
66
Location
bristol pa
i bought an outdoor timer from home depot for mine . works great . i bought 2 . one for blue one for white
 

dantimdad

Valuable Member
View Badges
Joined
Jun 24, 2009
Messages
7,118
Reaction score
28,952
Location
North Alabama
Keep in mind, that this must be hooked up to a computer to program it and test it.

No wifi/Bluetooth.

There is not storms or crazy mood lighting or anything of the sort.

It is simple 6 channel control with ramping up -> staying on a preset time at a certain power -> ramping down

Right now, he said the ramp up and down are 30 minutes but we could adjust it easily.

I can't wait to get the parts in I need.
 

dantimdad

Valuable Member
View Badges
Joined
Jun 24, 2009
Messages
7,118
Reaction score
28,952
Location
North Alabama
i bought an outdoor timer from home depot for mine . works great . i bought 2 . one for blue one for white
That's what I did when I had black boxes but I wished it would have had a ramp up down.

That's why I have worked on this.
 

dantimdad

Valuable Member
View Badges
Joined
Jun 24, 2009
Messages
7,118
Reaction score
28,952
Location
North Alabama
Not sure if you looked at reef-pi build thread. They were just talking about light controllers in there, so perhaps you can join in the fun and share your knowledge with @Ranjib and rest of the builders. Could be beneficial for all parties involved :)

I didn't realize my buddy switched it to Arduino. He said it was much easier.
 
OP
J

Javamahn

Active Member
View Badges
Joined
May 20, 2017
Messages
350
Reaction score
168
That's what I did when I had black boxes but I wished it would have had a ramp up down.

That's why I have worked on this.
Agreed think of the "flashbulb effect" when you turn on the lights in the morning..:) Will the programming of the arduino will allow for a daily schedule? I saw many mods that used 2 POTs hooked to a 10v wallwort and then to the lights but was not sure if anyone had even considered a programmable controller. Glad you went Arduino. Less expensive than Pi which would be overkill for this application considering you would have to program based on an OS which I would assume is would have been linux.

Also not to sidetrack your concept but maybe look into a wifi shield and web interface as an eventual alternative to PC to USB setup.
 
Last edited:

dantimdad

Valuable Member
View Badges
Joined
Jun 24, 2009
Messages
7,118
Reaction score
28,952
Location
North Alabama
Well, I wasn't really planning on further development beyond setting up my lighting schedule and letting it run. :)

But, I may get bitten by the bug to do more.

Yes, it will allow for a daily schedule but, you would have to manually change the code. I am not doing a user interface. Just too complicated for the scope of what I am wanting to do.

When we finish it, I will post a thread and instructions for how to change the code to alter the schedule and such.
 

Ranjib

Valuable Member
View Badges
Joined
Apr 16, 2016
Messages
6,905
Reaction score
12,105
Location
Palo Alto, Bay Area
Almost all the LED lights can be hacked to make dimmable.
- The blackboxes can vary significantly depending upon the manufacturer. I personally have not tested them, but aware of some members build involving viperspactra, with very good feedback.
- The electronics knowledge involved in hacking them is trivial, if you have some background, or have some0ne to help you out if you are stuck. The build costs are also fairly low, but remember this does not include time, reading up and the tools required, something not everyone has.
- You can go with Arduino or Pi. Most embedded programmers will choose Arduino, while most web programmer will go for Pi. Arduino has both analog and digital input and output. Pi will be cheaper (pi zero W is 10$), more powerful, will come with wifi and all the good things, has 10 times bigger community then arduino (they went pretty shady for couple of years in between). Unless the builder has prior experience/competency with embedded systems (such as PLC), pi zero is almost always a better choice. You can connect it to your TV and configure it with a normal keyboard, without needing any extra laptop.
-Almost all the light that we tried that expects a 0-10V input, works just fine with straight 10V PWM signal as well, which is easy to generate using a common transistor, let me know if you need any help with circuits. You can use opamp and some extra RC circuit to get a somewhat triangular signal (better than PWM but not exactly 0-10V smooth wave)
- Pi has two hardware based timer/pwm, Arduino has 4 (if I recall correctly). If you need more, throw in a pca9685 IC, which will give you 10 PWM channels.

Hope this help and godspeed
 

baldbrah

Member
View Badges
Joined
Sep 20, 2018
Messages
31
Reaction score
34
interested to see where this is heading. looking to build one for my viparspectra as well.
 

Can you run a a successful reef long term without some type of reactor and media?

  • Yes

    Votes: 273 72.2%
  • No

    Votes: 44 11.6%
  • Not sure

    Votes: 61 16.1%

Online statistics

Members online
1,001
Guests online
2,629
Total visitors
3,630
Underwater Creations, Inc.
Live Fish Food Combo Packs - AlgaeBarn.com
Top