Hey Guys,
Looking at uploading a flow water sensor every 5minutes or so to Xively.com
The flow sensor works by a simple rotating wheel that pulses a hall effect sensor. According to the site, "By reading these pulses and implementing a little math, we can read the liquids flow rate accurate to within 3%."
The code for the HallSensor can be found at http://www.seeedstudio.com/wiki/G3/4_Water_Flow_sensor
^The problem with the above code provided by SeedStudio is that this program stores the data as a float and to upload to Xively.com, one needs to send the site a String.
I wrote some different code that creates a new String (for the flowsensor) which does upload the flow sensor but without the decimal.
If someone could find a way to fix my code to send the actual correct value and/or record continuous values during the downtime of the 5 minutes (sample every 1min) then send all that data you would make me the happiest!
I have attached my code if you would like to view it.
Thanks,
Andy
DOWaterPump3.ino (8.36 KB)