Shop OBEX P1 Docs P2 Docs Learn Events
advice needed for aquaponics sensors — Parallax Forums

advice needed for aquaponics sensors

mrsauciermrsaucier Posts: 3
edited 2011-09-11 09:36 in Accessories
Howdy Parallax community members and electronics enthusiasts.

I need some serious advice concerning the choice of sensors I need for an aquaponics automation project...

WTF is Aquaponics?

Aquaponics is a method for growing plants in a hydroponic setup and using fish waste and various beneficial bacterias for fertilization. Basically the aquarium water is circulated in the hydroponics growing beds and gets filtered by the plants.

The project
.

I am planning to gradually automate the whole setup by monitoring various environment caracteristics and taking various actions accordingly. I plan to build an embedded solution based on the maple board from leaflabs. Here are the details of each aspects of my project.

Phase 1 : Lighting

The lighting solution will consist of a light sensor capable of measuring ambient light from 0 lux to direct sunlight. Exact measurment is not required, the unit will be calibrated using the direct sun as maximum reference. The microcontroller will then read the ambient light value and drive high power leds to maintain optimal light level for the plants without wasting energy. I would also like my light fixture to be able to move up and down over the plants using motors driven by the microcontroller to keep it at a constant distance from the plants, using a distance sensor (ultrasound?)

Phase 2 : sensing the environment

I need (wish) to monitor those various conditions :
- air temperature
- air humidity
- air CO2
- water temperature
- water ph
- water dissolved oxygen
- water nitrate level
- water on the floor (detecting leaks)

Your comments will be much appreciated.

Comments

  • ElectricAyeElectricAye Posts: 4,561
    edited 2011-09-08 18:18
    mrsaucier wrote: »
    Howdy Parallax community members and electronics enthusiasts.

    I need some serious advice concerning the choice of sensors I need for an aquaponics automation project......

    Welcome to the forums,

    Parallax sells a lot of different sensors and you might find that the Propeller chip works well with practically all of them. The Propeller chip handles sensors, information display, data recording, and servo motors, etc. very well - and often at the same time thanks to its parallel processing capabilities.


    My advice would be to poke around their selection of sensors and see what strikes your fancy. But, just as an example, check out these:

    For light sensing, you might consider this:
    http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/tsl230/List/0/SortField/4/ProductID/88/Default.aspx


    For CO2, maybe consider this:
    http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/co2/List/0/SortField/4/ProductID/598/Default.aspx


    For temperature, I like to use the DS18B20. http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=DS18B20%2B-ND
  • mrsauciermrsaucier Posts: 3
    edited 2011-09-08 18:41
    Thank you for the information, especially propeller. This board have some serious muscle!

    More specifically, I was wondering if the ultrasoud PING))) sensor would be suitable to detect distance from a plant, and which light detector would suits best the application (rough estimate of light level from 0 to full sunlight), would a photo resistor be suitable for that application?

    Thank you for your time.
  • ElectricAyeElectricAye Posts: 4,561
    edited 2011-09-08 21:11
    mrsaucier wrote: »
    Thank you for the information, especially propeller. This board have some serious muscle!

    More specifically, I was wondering if the ultrasoud PING))) sensor would be suitable to detect distance from a plant, and which light detector would suits best the application (rough estimate of light level from 0 to full sunlight), would a photo resistor be suitable for that application?

    Thank you for your time.

    I don't have any experience with the PING but I'm guessing it might suffer from having its sound waves pass through the plants and not really give a good reading on distance. Perhaps a system that detects the shadow of the plants projected on a wall or something might be a better way to go but it wouldn't give you three-dimensional information, just a profile of the plants.

    The TSL230 chip that I pointed out can give light readings that range from about, say, the light level of a basement with a single window during a cloudy daytime... up to an above-ground room with many windows on a sunny day, though not in direct sunlight. It interfaces very easily with a Propeller because the output of the TSL230 is a simple frequency that I think relates in linear fashion to the light it detects. If you were to use a photoresistor, then you would need peripheral circuitry to convert the resistance values into something your Propeller or Stamp chip can read. Such peripheral circuits aren't difficult to do, but I think the TSL230 makes things a lot easier.
  • ElectricAyeElectricAye Posts: 4,561
    edited 2011-09-08 22:03
    I guess I should also mention that, for sensing distance, there are sensors like this one:
    http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=QRE1113-ND
    These emit infrared light from one point and detect it at another so if an object gets within a certain distance, the sensor will emit a signal back to your processor.
    You can make your own from IR emitters and detectors, too. So, if you've got some way to move such a sensor toward your plants, you can measure the distance to a leaf that way.

    It's just a thought.
  • kwinnkwinn Posts: 8,697
    edited 2011-09-10 10:37
    For temperature (air and water), humidity, and CO2 take a look at the Parallax gas sensors as the forum members have already suggested. Ph, dissolved O2, and nitrate sensors are available commercially but they do tend to be expensive. If you should find some reasonably inexpensive units please post the info.

    For detecting leaks (water on the floor) you can build your own simple conductive or capacitive sensors.

    To maintain the light fixture a fixed distance above the plant tops I would suggest one of three approaches. The first would be to measure the reflected light from the plants using a photosensor. Since you are also measuring the amount of light on the plants you could use the ratio between the incoming and reflected light to control the light fixture height.

    The alternative would be to have several IR leds along one side/end of the plants and photosensors on the other side.

    The third (and probably over the top as far as compexity) would be to use a camera and analyze the image to determine the average plant height.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2011-09-10 12:36
    I just tested my Ping sensor with some plants. It does depend on the density of the plant some but I thought it worked fine. I thought it was easier to measure distance with broad leaf plants than with grassy plants.

    Duane
  • mrsauciermrsaucier Posts: 3
    edited 2011-09-11 02:55
    Thank you all for your input.

    I know this project will end up being expensive. I will take it one chew at a time. I will post my progress here, be patient.
  • Adam WieslerAdam Wiesler Posts: 81
    edited 2011-09-11 09:36
    For the ph sensor, you may want to take a look here:
    http://atlas-scientific.com/

    They make little boards that take an imput from a normal ph, orp,etc. Sensor, and convert it to a serial signal that just about any micro can read. I haven't used them yet, but plan to for an automated pool system.

    Also, they have the probes that might also be good for your aplication.
Sign In or Register to comment.