Aquaponic Gardening

A Community and Forum For Aquaponic Gardeners

Automation and Remote Monitoring

Information

Automation and Remote Monitoring

Designs, Experiences, and Ideas for automating an AP greenhouse.

Alerts, Webcams, Temperature, Ventilation, PH, Logging, Graphing, Triggered Responses, Notifications, Remote Control, etc...

Members: 199
Latest Activity: Sep 18, 2018

Discussion Forum

arduino -- Aquaponic automation development

Started by Rik Kretzinger. Last reply by David Leithauser Mar 27, 2017. 46 Replies

arduino's have a future in aquaponics in my mind.  Not many people talking about their use of arduino's and aquaponics.  Windowfarm groups are much more active with arduino's and control of systems. …Continue

Tags: feed, valve, relays, gravity, control

Automatic Fish Feeder Went Online Today

Started by Jim Fisk. Last reply by Alan Feb 3, 2015. 31 Replies

Well this could be considered a banner day around here as the Trout will be so happy to get their meals on time. I only have around 40 Trout divided between two 330 gal ibcs so I only needed 2…Continue

smart aquaponics

Started by eric maundu. Last reply by Michael M. Moore Apr 18, 2013. 5 Replies

after years of killing fish, we are excited to reveal our first smart aquaponics controller v1.this is basically 10+ years of aquaponics experience in a microchip.…Continue

Aquaponics sensor network project in need of help...

Started by Shaun Mavronicolas. Last reply by Shaun Mavronicolas Mar 29, 2013. 6 Replies

This was posted to the group initially but I felt it would be better suited to have a place for discussion here. I do apologize for double posting this, I should have posted this here at the outset…Continue

Tags: network, sensor, XBEE, FIO, arduino

Comment Wall

Comment

You need to be a member of Automation and Remote Monitoring to add comments!

Comment by Matt Miskinnis on August 22, 2013 at 7:14pm

Nice Job John,  I know that troubleshooting this stuff can make you want to pull your hair out.  Did you ever consider using the arduino ethernet shield?  Or were you more concerned on keeping the price low and DIY?  I bought some xbee's to do wireless serial communication between the arduinos and my raspberry pi that will be the brain of the operation.  I'm thinking I will either do what you did and log a database or spreadhseet or try realtime reading, but I'm not quite there yet in the planning stage.  Are you using apache for the web server?  I need to get up to speed on my PHP and see how to read the data and display it.

Currently I have been working on my webcam bot, I got it working running through the raspberry pi using WebioPi to control the servo motors through a web interface to pan and tilt cam.  I need to move it outside, but I have been hesitant as I need to plan out the location so when I add on other sensors and the fish feeder that everything will be centralized.  Ugh, I thought just doing aquaponics could be time consuming! 

Comment by John Malone on August 22, 2013 at 6:37pm

Speaking of Instructables, this is the one I used to make the Arduino compatible circuit.

http://www.instructables.com/id/Perfboard-Hackduino-Arduino-compati...

It's very good, although there is a discrepancy with capacitor selection between the circuit diagram and the Instructable steps.  No biggie.

Comment by John Malone on August 22, 2013 at 6:34pm

@Bob Campbell

Those temperature reading are from the unit sitting on my work bench.

I've got a programmable thermostat that lets the house get warm while no-one is home and kicks on to get the house cool in time for people to arrive home from work.

The severe fluctuations are due to the fact that the unit is right under a cooling vent so it cools rapidly in the cold air flow.

I don't expect a water thermometer to change that rapidly.  Poor fish, if it did!

I've never done an Instructable.  Maybe it's time I did.

Comment by John Malone on August 22, 2013 at 3:50pm

Wiring / Breadboards

BTW, the #1 problem I had was the wiring between the Arduino and the network module.   I came within a whisker of tossing the whole project over this one.  Took me FOREVER to find.

I had a breadboard between the Arduino and the network module because it was easier to develop that way.   This resulted in frequent, irregular and untraceable loss of communications between the two units.

Even when I direct wired the Arduino to the network module using short pieces of wire, I would have occasional loss of comms.  A wiggle of the wires would see it come back to life.

This drove me to distraction, and because I'm a programmer first and an electronics guy second, I had a heck of a time tracking it down.   Now that I know the weakness, if I start to see loss of communication I'm going to solder those leads down tight!

Comment by John Malone on August 22, 2013 at 3:45pm

@Matt Miskinnis

I'm currently waiting on some 1-wire temperature sensors from China (eBay) and then it'll be time to stick it in a box and see it work.

I've had a heck of a time getting it reliable, but I'm fairly confident that I've got it beat, or at least good enough for a home monitoring system.

If you're curious I have a couple of data pages on the web that show the progress of the device.   Currently it samples temperature data every 4 seconds.   I don't think I'll do it that often when the project is finished, but this is a good stress test of all the moving parts.

Reliability Details : This page shows the last 10 data records inserted in to the database.

It also gives a breakdown of the internal buffer usage.

To get reliability I have done the following:

  1. Programmed an internal data buffer in the Arduino with a depth of 10 readings.  i.e. The Arduino code will save up to 10 data sets at one time, giving the web posting routine time to catch up if it has temporary problems.
  2. Send data to the web at twice the data sample frequency, so if the message to the web gets lost for any reason it doesn't take too long to catch up.
  3. If the buffer gets full, reset the network module and try again.  This results in the loss of 1 data record. 
  4. If the buffer gets full 10 times in a row, then something is screwed up and reboot the Arduino.  This results in the loss of all data in the buffer (10 readings) and a delay in more readings until the Arduino has restarted.
  5. Turn on the WatchDog timer on the Arduino.  If the WatchDog times out more than 8 times then it's all locked up, so reboot the Arduino.  (LOVE the watchdog!)

Hourly Record Counts : This page shows the number of records per hour over the last 24 hours.   At a data sample rate of 4 seconds, that equals 900 records per hour.  When there is a count of 899, it probably indicates a network module reset.  When the count is way below 900, it indicates that the Arduino performed a full reset or has stopped working.  (Or that I've taken it offline to further tweak the code or add more hardware!)

Cheers,

John

Comment by Matt Miskinnis on August 22, 2013 at 3:22pm

Cool John, im working on something similar let us know now it works out.

Comment by John Malone on August 22, 2013 at 2:57pm

After a long, long, long, development process, I'm just about at the point of having a DIY Arduino-based, wireless, self-resetting, web-posting temperature sensor for my AP system.

It's rough, but it works.  (Most of the time.)

Results chart is currently being show on http://arduino.clanteam.com/chart.php

Total cost of the parts for the project?  < $25

DIY Arduino

DIY Arduino (Wiring Side)

Cheapo Network Module (Thanks eBay)

Comment by Mark on August 13, 2013 at 2:15pm

Samson are you still looking to automate your system?

Comment by Samson J. Loo on August 4, 2013 at 9:41am

Hey all. I'm now at a point where I need to start thinking automation. I have done some preliminary research and it seems that people are having great luck using arduino. I wanted to get your take on how I should get started and which arduino board to start with. Any help is appreciated and as always thank you for your time.

Comment by Rik Kretzinger on July 5, 2013 at 9:15am

INTERNET-OF-FARMING -- via aquaponics

Kirsten Dirksen of www.faircompanies.com just released the youtube on the "Internet -of-Farming" It is based on aquaponic system.

Internet-of-Farming

YouTube Channel

 

Members (199)

 
 
 

© 2024   Created by Sylvia Bernstein.   Powered by

Badges  |  Report an Issue  |  Terms of Service