element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Ben Heck Featured Content
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • Ben Heck Featured Content
  • More
  • Cancel
Ben Heck Featured Content
Forum ARDUINO reef tank controller
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Ben Heck Featured Content to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 10 replies
  • Subscribers 44 subscribers
  • Views 883 views
  • Users 0 members are here
Related

ARDUINO reef tank controller

Former Member
Former Member over 10 years ago

reef tank controller.  Control light , water tem,  PH, dosing ,

  • Sign in to reply
  • Cancel

Top Replies

  • frankenpc
    frankenpc over 10 years ago +3
    I made one of those. Background I'm a salt water tank enthusiast. I wanted something sophisticated so I could automate many of the dull tasks. I started with a Arduino Mega as the foundation. I added an…
  • frankenpc
    frankenpc over 10 years ago in reply to balearicdynamics +1
    I used Atlas Scientific modules. All you do is solder on a BNC connector and a I2C bus to an Arduino and you can then issue a command to calibrate the new PH probe using three different PH solutions (low…
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to frankenpc +1
    Thank you Roger. It sounds strange to me that calibration don't need a precise ... calibrated value but only three average low/med/high. How can it be precise? Is there some trick ?
Parents
  • frankenpc
    frankenpc over 10 years ago

    I made one of those.  Background I'm a salt water tank enthusiast.  I wanted something sophisticated so I could automate many of the dull tasks. I started with a Arduino Mega as the foundation.  I added an ethernet/SD card shield.  I added PH and TDS probe I2C modules from Atlas Scientific and a RTC module (temperature compensated for accuracy). 

     

    I then built a bus based on RJ45 connectors.  It had 1 serial, 1 1-wire, I2C, and gnd/+5. 


    For power, I purchased one of those 8 channel DJ power centers.  It's just a glorified power strip with the ability to manually turn on/off each individual plug.  I created a I2C 8 channel relay module that I piggy-backed on the power center and wired it in. 

    For communications, I added two RJ45 jacks wired in parallel.  This allows me to run standard CAT 5 Ethernet between it and the Arduino while leaving a jack free to daisy chain to another power center if I so choose.

     

    On the power center I plugged in the following:

    • Main lighting
    • Moon light
    • Left wave pumps (for wave motion control)
    • Right wave pumps (for wave motion control)
    • Skimmer
    • Heater
    • Dosing pump 1
    • aux

     

    So in total, I had the following talking to the Arduino:

    • 8 channel power
    • 1 wire thermometer
    • PH
    • TDS
    • Clock
    • Keypad
    • LCD

     

    The application ran a sequential timer system along with the LCD update and keypad polling algorithms.  I integrated calibration routines in addition to everything else so I could do the three stage sensor calibrations (low/med/high solution calibration).  As far as the dosing pump goes, it was only doing kalkwasser top offs.  But I could easily done PH adjustments.  But I found the kalkwasser did fine.  The whole thing logged to a simple web page so I could monitor everything over Ethernet.  It stored the logs on the SD card in CSV format so I could dump it into a spreadsheet and view the trends.

     

    Yack yack yack...if you have any questions, let me know.


    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to frankenpc

    It is an excellent implementation.

     

    Roger, how did you created the Ph-meter ? I am curious as I have done one but so many years ago that I remembered just now reading your post image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • frankenpc
    frankenpc over 10 years ago in reply to balearicdynamics

    I used Atlas Scientific modules.  All you do is solder on a BNC connector and a I2C bus to an Arduino and you can then issue a command to calibrate the new PH probe using three different PH solutions (low/med/high) and you are set!  The module then polls the probe and sends the PH reading back to the Arduino.  It's a smart module as well.  As it polls the probe, it's averaging measurements to get a more reliable reading to compensate for noise.  Atlas makes taking measurements really easy.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to frankenpc

    Thank you Roger. It sounds strange to me that calibration don't need a precise ... calibrated value but only three average low/med/high. How can it be precise? Is there some trick ?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • frankenpc
    frankenpc over 10 years ago in reply to balearicdynamics

    The three are very precise calibration fluids.  I can't remember the exact numbers.  I THINK they were 2, 7, 10 if I remember correctly.  So, once the device knows which one the probe is immersed in, it knows exactly what the value should be.  Then, it calibrates a curve based on those three.  When you think about it, how would you obtain hundreds of precision PH mixtures necessary to exactly calibrate a PH probe?  For our purposes, it's accurate enough. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 10 years ago in reply to frankenpc

    Mathematically 3 points determine a curve or straight line.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to clem57

    Clem,

     

    in the cases of chemical measures - as many other environmental measures - it is not really true. Ph has not always a true linear conductivity variation but follows several kind of curves and there are many parameters that can influence the measure.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to clem57

    Clem,

     

    in the cases of chemical measures - as many other environmental measures - it is not really true. Ph has not always a true linear conductivity variation but follows several kind of curves and there are many parameters that can influence the measure.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • clem57
    clem57 over 10 years ago in reply to balearicdynamics

    No, I understand the nonlinear qualities of Ph. I just stated in Math 3 points are needed to determine if and only if one has a curve (Ph) or a straight line (some linear model). Aw many a angle as well. LOL

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube