Bitraf Green Card

Fra Bitraf
Revisjon per 24. jan. 2015 kl. 23:05 av Jaknil (diskusjon | bidrag) (Prototype build #1)
Hopp til navigering Hopp til søk

What?

Pump control with arduino. Primarily for watering of plants but feel free to hack it and find other uses.

Why?

We envision that this packet will be the common pump control start kit for several different plant growing projects at bitraf.

Where?

How?

We have decided to start with building a simple shield card for the arduino microcontroller.

System Breakdown

Hardware

  • Arduinio UNO, since we sell them at bitraf
  • Assorted components (Please fill in.)
  • 2 of 12V pumps
  • 2 soil moisture sensors (tons are available online, see example)

Software

The latest version of Bitraf-Green-Card can be found at Github. Version history:

Version 0.1 - "SoilMoistBasic"

Function
To test the concept of a automatic watering system
Features
Pumps water for 1 second after 6 seconds if the moisture sensor is dry.
Created 22 Jan 2015
By Jakob Nilsson
No Rights Reserved

In and outputs

  • 2 outputs 12V >1A outputs to drive two pumps
  • 2 input sockets for 4 pin soil moisture sensors
  • 12V input

Features

  • Independent for the two pumps and sensors
    • Pump water for a preset intervall at preset intevalls
    • Detect if soil is moist or dry with a adjustable moisture level (trim-screw)
    • Possibility to choose not to pump depending on if the soil is dry or not
  • Reprogrammable via USB

Examples of use; check once per 24h or every 5 seconds

Later possible features

  • 230V relay for light control with timer
  • LCDisplay output
  • Logging of soil moisture levels over time (USB brodcast)
  • Battery backup for data logging
  • Wireless
    • Data gathering
    • Tuning
    • Reprogramming
    • 230V light control (relay)

Progress

Prototype build #1

We achieved automatic watering of plants in soil at Bitraf 22/1-2015 with version v0.1 of the Bitraf Green Card on a breadboard!

Beta.jpg Plate.jpg Probe.JPG Wrap.JPG

Function

The soil moisture sensor was wrapped in cloth and put in contact with the bottom of the watering tray. When the cloth dried out the pump would fill the tray until the cloth got wet again.

Observations

The system functions as intended but is sensitive to the table being level or sloping away from the sensor. The risk is that the sensor stops the pumping before all plats have been watered. This kind of behavior will always be a risk when a large number of plats are being serviced by one pump.

Lessons learned

The next revision of the software will use a longer pumping time and then a longer delay before the moisture sensor is re-checked, to allow for water absorption.

Shield prototype #1

Work is proceeding to make an arduino shield.

Green1.JPG Green2.JPG