Arduino Powered Aquarium Controller Project

Discussion in 'Anything DIY Related' started by kiwikid_1, 9 Jul 2011.

  1. kiwikid_1

    kiwikid_1

    Joined:
    31 Dec 2007
    Posts:
    119
    Likes Received:
    1
    Location:
    Hamilton, New Zealand
    Well my controller has been running now on it's own for over a 5mths with no problems, so it's time to share the build

    I've gone with the Arduino Duemilanove as the base unit (There is now an updated board "The UNO")

    [​IMG]

    Cost is $59NZ plus postage and available here in NZ

    To keep the time right on the controller (so if power fails) a RTC (Real time clock) is needed

    [​IMG]

    As you can see this clock comes with a battery backup and will last about 9 years.
    It only uses 2 wires to "Talk" to the controller and 2 wires for +v and -v.
    This I had to bring in from overseas....cost $8US and $6US shipping

    Another item I couldn't get here was the LCD screen
    [​IMG]

    This LCD is a Serial LCD with 20 lines across and 4 rows down. If Serial isn't used all the digital pins will be used up.
    Also a key pad can be wired onto the back of the LCD.
    The Serial LCD is the same as the RTC needing only 2 wires to send and receive and also connects to the same pins as the RTC.

    Thats all that is needed to get the controller up and running BUT it wont take the temp or anything.......

    To read the temp we need a probe and the easiest way is by using a 18B20 Temperature Sensor

    [​IMG]

    Costs $9NZ each plus postage and is available here in NZ

    The wiring side of things isn't too bad once you get your head around it

    Arduino
    [​IMG]

    RTC
    [​IMG]

    Little board for the temperature
    [​IMG]

    I wont get into the wiring side of things unless someone wants to have a go building one
     
  2. AdS Guest




    to hide all adverts.
  3. kiwikid_1

    kiwikid_1 Thread Starter

    Joined:
    31 Dec 2007
    Posts:
    119
    Likes Received:
    1
    Location:
    Hamilton, New Zealand
    Here's the LCD once the code has been uploaded
    [​IMG]

    And all up and running
    [​IMG]
     
  4. kiwikid_1

    kiwikid_1 Thread Starter

    Joined:
    31 Dec 2007
    Posts:
    119
    Likes Received:
    1
    Location:
    Hamilton, New Zealand
    To be able to turn Lights, Fan, Heater etc on and off a relay is required This allows the Arduino's 5v DC to switch 240v AC

    I went with this type
    [​IMG]

    Its a puck style relay.
    This one will work on any DC voltage from +3 to +32
    and will take 24 - 280 VAC at 25amps

    NOW REMEMBER Unless you know what you are doing PLEASE DON'T PLAY AROUND WITH 240v as it can kill you. Get a sparky to do this work for you

    I still wanted to be able to turn the lights etc off myself so I used my old Chauvet 8 way board
    [​IMG]

    These are no longer available in NZ but the USA still sells them

    I mounted 4 relays to the top of the Chauvet and re wired the insides a bit so the relay now turns each output on and off.
    The thin wires are from the outputs of the Arduino
    [​IMG]

    The red wires are 240V
    [​IMG]

    Still have to cover the relays so there is no chance of a shock
     
  5. kiwikid_1

    kiwikid_1 Thread Starter

    Joined:
    31 Dec 2007
    Posts:
    119
    Likes Received:
    1
    Location:
    Hamilton, New Zealand
    Got the Arduino Ethernet Shield just b4 Xmas

    [​IMG]

    This allows the Arduino to serve pages onto the inter webbie :-D

    I've been trying to get it worked out now for a week and today I've made a little headway :ugeek:

    Here's what its reading so far....and this is only Local eg: my network

    [​IMG]
     
  6. kiwikid_1

    kiwikid_1 Thread Starter

    Joined:
    31 Dec 2007
    Posts:
    119
    Likes Received:
    1
    Location:
    Hamilton, New Zealand
    [​IMG]

    Added read out for "Heater" and "Sump pump" the sump pump is really everything in the sump....return, skimmer,etc. At a push of a button the whole sump will turn off if required.

    On a side note I must to an add up just to see what this costs....as long as the wife don't read it :crazy:
     
  7. kiwikid_1

    kiwikid_1 Thread Starter

    Joined:
    31 Dec 2007
    Posts:
    119
    Likes Received:
    1
    Location:
    Hamilton, New Zealand
    The new Box for the controller

    [​IMG]

    Led"s to show which relay is on

    [​IMG]

    The "Back" 25pin computer plug is for the relays (so they can be removed). The BCN plug is for pH later on
    Then there is the ethernet ,USB and power for the Arduino
     
  8. kiwikid_1

    kiwikid_1 Thread Starter

    Joined:
    31 Dec 2007
    Posts:
    119
    Likes Received:
    1
    Location:
    Hamilton, New Zealand
  9. lIghty

    lIghty

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    Looks Awesome Kiwikid, acutally very similar to mine, as I used the same casing for my project.

    [​IMG]

    [​IMG]
     
  10. gavster

    gavster

    Joined:
    4 May 2011
    Posts:
    233
    Likes Received:
    16
    Location:
    Durban
    What did yours cost Lighty???
     
    Last edited: 10 Jul 2011
  11. lIghty

    lIghty

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    By looking at this pic, it appear he is controlling his Mh, Actinics, Moonlight, Chiller, heater and the return pump, And monitoring pH and Temp


    [​IMG]
     
  12. gavster

    gavster

    Joined:
    4 May 2011
    Posts:
    233
    Likes Received:
    16
    Location:
    Durban
    Sorry I "edited" instead of posting "new." Using my BB and the screen is small. What did yours cost lighty?
     
  13. Junz

    Junz

    Joined:
    19 Dec 2008
    Posts:
    899
    Likes Received:
    2
    Location:
    Rustenburg
    dude , your PH is 14 according to the web.... is that right ?
     
  14. lIghty

    lIghty

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    Never really totalled it all, but approx R1000-R1500? And a fair amount of time and patients as I had to make all the PCBs in house, there is another version with pH control. This was designed by Richard, so credit due to him.
     
  15. Tremayn

    Tremayn

    Joined:
    21 Mar 2010
    Posts:
    5,226
    Likes Received:
    69
    Location:
    Lenasia
    awesome guys! :thumbup:
     
  16. Tremayn

    Tremayn

    Joined:
    21 Mar 2010
    Posts:
    5,226
    Likes Received:
    69
    Location:
    Lenasia
    @Loki, you like stuff like this
     
    Last edited by a moderator: 26 Nov 2015
  17. kiwikid_1

    kiwikid_1 Thread Starter

    Joined:
    31 Dec 2007
    Posts:
    119
    Likes Received:
    1
    Location:
    Hamilton, New Zealand
    Na pH isn't plugged in lol
     
  18. lIghty

    lIghty

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    Kiwikid, how do you change the settings etc? Via web interface?
     
  19. kiwikid_1

    kiwikid_1 Thread Starter

    Joined:
    31 Dec 2007
    Posts:
    119
    Likes Received:
    1
    Location:
    Hamilton, New Zealand
    At the moment I hook up the USB cable and make changes to the code, I should also have a 4 x 4 keypad wired into it that allows to set time and feed times plus water changes but i think the controller looks alot nicer without it

    Cheers
    kk
     
  20. lIghty

    lIghty

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    I think a nice small descrete keypad would look nice?
     
  21. kiwikid_1

    kiwikid_1 Thread Starter

    Joined:
    31 Dec 2007
    Posts:
    119
    Likes Received:
    1
    Location:
    Hamilton, New Zealand
    I have had thought of a remote keypad...eg away from the controller but still wired into the LCD I2C.....can run up to about 30feet of cable
     
Recent Posts

Loading...
Similar Threads - Arduino Powered Aquarium Forum Date
Jarduino Aquarium controller v1.2 Test Kits, Controllers, Reactors and Dosers 3 Jan 2016
DIY Arduino monitoring .... while tank cycles I had to do something New Members 13 Jan 2015
Automatic Zeovit Reactor - Arduino Anything DIY Related 2 Jun 2014
Arduino Reference and Design's Anything DIY Related 9 Jan 2014
Arduino Controlled Dosing Pumps Anything DIY Related 6 Jan 2014
Arduino Thread Anything DIY Related 5 Jan 2014
PH and ORP probes for Arduino Test Kits, Controllers, Reactors and Dosers 18 Sep 2013