Jump to content
Pod Your Reef

Automated Reef Controller Build


Vancouver Reefer

Recommended Posts

Nice start so far. Keep us up to date on your progress. What kind of tank will this be going on? DO you currently have the tank setup or is this a start from scratch project like mine?

 

VR

 

 

The tank is set up and running. I just love DIY projects. Can we take our discussion over to:

 

http://reefprojects.com/w/phpBB3/

 

I want to ask a ton of questions about your setup so far and this thread will end up congested.

Link to comment
  • Replies 159
  • Created
  • Last Reply

Right, but everyone will benefit from it here. Honestly, I check far too many forums each day to add another to the list. It's VR's choice though.

Link to comment
Vancouver Reefer

As evil said......

 

There are alot of people on here that are enjoying the many DIY threads. Many people may be inspired, like i was by reading the threads we all contribute to. By keeping this all on here we can allow everyone to follow our progress and also input their thoughts and ideas.

 

You could always copy and paste our words from here and place them onto your site if you want to let people on their see it too.

 

So please ask away any questions and ill see what i can do!

 

PS: Evil i think you need to add some Royal Blues into your LED Club Signature!!! ;)

 

 

VR

Link to comment
Vancouver Reefer

you can view all the pics you want by clicking on the link in my signature box. I don't have the time at the mo to write 2 websites about it. Once its all complete then i will give it a FULL write up on here.

 

VR

Link to comment
  • 3 weeks later...
jener8tionx

I finished wiring my power box. I used an American DJ and 8 solid state relays. I went with SSRs because the Arduino can run them on its own without any extra circuitry. I have tested it with a temp probe and everything works perfectly. Just waiting for LCD and some misc parts and I will be finished.

 

View the whole build here:

 

DIY Reef Controller

 

Pic so far. The inputs weren't wired, but are now.

pc100e.jpg

Link to comment

SUCKED INTO THE MADNESS

 

Ordered controller, button screen, RTC, and ethernet shield today. Why buy one when you can build it for twice the cost? :lol:

 

Steve

Link to comment
Vancouver Reefer

You have just started the endless spiral of head scratching and dollar decrementing!!!

 

 

Have fun!!!

Link to comment

I already have my Arduino, but I'm very tempted to order that. Sleek little unit, and lots of I/O and memory. I really only have plans for controlling my lights right now, but you never know ;)

Link to comment
  • 4 weeks later...
Vancouver Reefer

I was running out of I/O and programming memory so its now the new brain!!!!!!!!!!!! Lots more room for gadgets!!!!!!!!!! This really is never ending!!!!!!!!!!!!!!!!!!!!!!!!! At this rate i might get this built by the end of the year! lol

Link to comment

yea I saw that Mega get released a week ago or so and thought it was perfect till I saw the $65 price tag. I've got those illuminato's and the Arduinio's. I've also looked hard at the Sanguino which is only $28 in kit format and has the same memory space and about the same IO's as the illuminato. I've finally decided on using the Arduino Dec. and running port expanders and I2C for a few of the functions that would have taken a bunch of IO's. I've set a goal of $75 for everything to build one of these in a kit form. The Mega just kills that goal.

 

Have you guys decided on how to handle relays? I'm thinking of using octocouplers and triacs. I can get the cost of one total relay to less than $2 in parts. Here is a link to something pre kitted. Triacs

 

Steve

Link to comment
've finally decided on using the Arduino Dec. and running port expanders and I2C for a few of the functions that would have taken a bunch of IO's.

 

Yeah the mega looks nice, but $$.... Soooo... I've got most of my parts in, and I also hooked up my LCD using i2c... And it works! yay... Anyways, I was hoping to connect the DS1307 RTC as a slave to the i2c LCD... do you know how this would work? I'm a total noob at electronic stuff and it's amazing that I even was able to hook up the LCD... And after I hook things up right I'm really looking forward to the code (not!)...

 

I think with my current plans the only thing I'll need a relay for is the aqualifter pump for my ATO and for my 2 T-5 light fixtures and moonlight... so that's 4 relays... What would you say is the simplest (and of course cost is an issue, but I don't think I should say "cheapest" because that often involves more DIY and I just don't have the skills currently, though I am learning) way to hook those up? What simple relay will work?

Link to comment

The RTC will just be another node on the I2C network, not a slave to the LCD. It has it's own address and will be addressed as such in the software you write.

 

Relays will be fine, but you need to make sure your driving circuitry can handle the inductive feedback induced by the coil in the relay (feedback/recirculating diode). SSRs are easier to deal with, but are a little more costly.

Link to comment

Yea the SSR's are the way to go I think. The Octocoupler isolates the Microcontroller side from the Triac/AC side completely and can also add more reliability as there are no moving parts. Also only needs 10-20ma to switch so no additonal transisters would be required.

 

On the I2C and the ds1307 Evil is exactly right. Just use the sample code supplied with the RTC and add it to your existing lcd code. The Address of the RTC will be different than the address of the LCD so when a Wire.h command is sent the first thing it does is ask the device at whatever address on the I2C to respond and then it send the data commands to it. You can think of it as an IP address on a network. If I want to talk to any computer on a LAN I submitt a request via it's IP address and it will respond (very simplistic example as much more goes on in the background but you get the point.) Look at your #define statements and you should see one that defines the lcd address and one that defines the RTC address. I2C is really nice cause you can use port expanders to get as many as 127 addtional IO's thereby expanding the inexpensive arduino platform to handle jobs that would require a more expensive controller. The downside is that I2c takes more coding and with the limited code space available you could run into issues.

 

Steve

Link to comment
SSRs are easier to deal with, but are a little more costly.

 

Yea the SSR's are the way to go I think. The Octocoupler isolates the Microcontroller side from the Triac/AC side completely and can also add more reliability as there are no moving parts. Also only needs 10-20ma to switch so no additonal transisters would be required.

 

Great, thank you both for your help. Do you think that you might be able to provide a link to an appropriate solid state relay that I could get? The Octocoupler looks interesting... From what I understand you can operate 4 outlets with it, right? Which would be perfect for me because I want to run 2 T5 fluorescent fixtures (timed independently), a moonlight, and an ATO pump... I looked at the illustrated assembly instructions and it seems idiot proof as long as I can practice my soldering skills a little bit beforehand... What do you think? Should I invest in the Triac?

Link to comment

Thanks for the info. It seems that a lot of these specify 80-120v input voltage... My arduino only supplies 5v, so is that a problem? I assume it's not because on jener8's wiki he uses a similar one to those on mpja. Also, what would my typical maximum amperage requirements be for aquarium use? I mean if I can get away with relays with a <10 amp output that could cut some costs... Plus I can always switch them out later if I get a higher draw device...

Link to comment

Not sure where you were looking, but all but one of the relays from MPJA can be switched by 5VDC.

 

You should be able to control everthing on your tank with 6A relays. For example, a 300W heater at 120v AC is 2.5A. (watts/volts=amps).

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recommended Discussions


×
×
  • Create New...