Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.42 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.42 KB

Irrigation meter

Connect your IoT beaglebone black to a cheap flow meter and get graphes for current flow rate and accumalated water flow.

Result would look like this:

  1. bounces is the current flow rate, and as you can see, when opening a faucet, the air is pushed out of the pipe causing bouncy flow rate.
  2. flow counter , is the accumalated bounces throgh the sensor.

Hardware:

  1. Beaglebone black
  2. Water Flow sensor

Connection:

  • connect the beaglebone pin P9_15 to the yellow sensor pin. Also supply +5V to the red sensor and GND.
  • You need to use a pull-up for P5_15, either via using the beaglebone devicetree or by a 1K resistor from this pin to 3.3v+

Software:

  • install the image for debian 8.4 from rcn-ee

Notes:

  • This installs the graphite packages and uses gunicorn to serve the graphes.
  • To reduce flash wear due to many writes, I use the Ram to store the graphitefiles, and copy them to flash every 15 min.
  • I use systemd service to run a simple python script to epoll the GPIO sensor
  • Graphite webapp is available at port 8888 of the beaglebone IP.