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:
- 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.
- flow counter , is the accumalated bounces throgh the sensor.
- 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+
- install the image for debian 8.4 from rcn-ee
- 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.