Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35
  1. #31
    Members
    Join Date
    Sep 2013
    Posts
    5

    Re: Automation controled aquaponic systems

    Quote Originally Posted by Mr. Ninja
    Just looking at that code, you may want to look into using the avr chips in-built timers.

    Da' reason:

    using the delay() function actually stops the board from doing anything at all for however long you specify. Timers are literally just that: timers. You start a clock built into the avr chips, and call an interrupt when that hits a certain level.
    You may want to look up arduino timers. The code all looked great.
    Good point. The delay setup is just for controlling the pumps. Once we add complexity, I will change accordingly later. Any thoughts on pros-cons of just using millis() (for those who don't know, it records the time since the device was turned on). I know it resets after a few days, but if I'm just concerned with dt (time differences), would it matter?

    I really like the idea of using a Pi, but how well do the two interface? Would you write the code for an arduino sketch or just have it connected to the Pi and write the code through that?

  2. #32
    Members dead_sled's Avatar
    Join Date
    Jan 2012
    Location
    Nebraska
    Posts
    197

    Re: Automation controled aquaponic systems

    The arduino and the raspberry pi play very well together. There are many examples of this on the net. The arduino is programmed to control the system. The RPi collects the data from the arduino and allows it to be displayed. The RPi is basically a very lightweight linux computer. It has a small amount of digital inputs and outputs that could be used. There are also add on peripherals such as webcams that can be used (live stream of the system).
    Less irritating avatar since 02/27/14.

  3. #33
    Members
    Join Date
    Sep 2013
    Posts
    5

    Re: Automation controled aquaponic systems

    I think I'll just use an old laptop rather than the Pi since we have an old one, although I might find it easier to use it. And they're cheap so no harm. Word of advice though for anyone interested in doing Microcontrollers, don't go buy little component kits ( the ones with leds, pushbuttons, resistors....) just find some old Free TV, radio, microwave, just about anything you plug into a wall and you'll find all the little toys you want. You may not find what you need for your app, but it will get you through the learning part.

  4. #34
    Members oldSarge's Avatar
    Join Date
    May 2016
    Location
    Southwestern Georgia, USA
    Posts
    9
    Thirty-two months and some days later . . .

    I hope this project hasn't been dropped. I'm very interested in automating a good sized system now.

    I've no experience with the Pi nor the Arduino (is that ar-doo-ee-no or ar-dwee-no?) but I am an app/Web developer and would have little problem powering up in the Linux/Unix arena.

    Please post a progress report if any has been had.
    There are three types of people . . .
    those that can count and
    those that cannot

  5. #35
    Members
    Join Date
    May 2016
    Location
    Southern China
    Posts
    30
    Old Sarge, I think this site is waiting for a few thousand new members. It appears that there are 4 people here now and we missed the boat for 3 years or so. I guess it is nice that they kept the site open. So they have to start again.

Similar Threads

  1. Commercial Systems in TX
    By Ike016 in forum Commercial Systems
    Replies: 2
    Last Post: 04-22-2013, 05:36 PM
  2. Replies: 2
    Last Post: 10-24-2011, 12:05 AM
  3. Carbrooksilkies 2 ibc systems
    By carbrooksilkies in forum Back Yard Systems
    Replies: 13
    Last Post: 11-23-2010, 01:56 AM
  4. Sizing systems
    By Brier in forum Aquaponics Knowhow
    Replies: 37
    Last Post: 10-10-2010, 06:58 PM
  5. Riverbed systems
    By mommyhen42 in forum Back Yard Systems
    Replies: 32
    Last Post: 09-10-2010, 11:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •