Riffle: an Open Source Water Monitoring Approach
riffle

The **Riffle** is a collection of designs that take an open source approach to water monitoring, with the intent of making gathering water information easier and more accessible. It is part of Public Lab's [Open Water Project](https://publiclab.org/wiki/open-water). (Lead image by @cfastie) For an overview of the design philosophy behind the Riffle, and **what constraints and uses it was aimed at**, see [this wiki page](https://publiclab.org/wiki/riffle_design_philosophy). Public Lab has supported development of an [Arduino](https://www.arduino.cc)-compatible [Riffle version - a datalogger enclosed in a water bottle](https://github.com/OpenWaterProject/riffle_328). This is great, because the Arduino community is huge, and lots of knowledge and troubleshooting resources are now applicable to the Riffle project. (The first **Riffle** design was an [ARM-based datalogger board enclosed in PVC](https://github.com/bgamari/riffle)) **** # Riffle Water Monitor Designs By now, several instrument designs have been constructed around the **Riffle**, some of which of are described in an array of Github repositories: - [Openwaterproject](https://github.com/OpenWaterProject) -- the main organization on github - [riffle_328](https://github.com/OpenWaterProject/riffle_328) -- hardware designs, instructions and software for getting started with the Riffle_328 datalogger - [riffle_328-conductivity](https://github.com/OpenWaterProject/riffle_328-conductivity) -- Design considerations around conductivity - [riffle_328-depth](https://github.com/OpenWaterProject/riffle_328-depth) -- Depth measurement circuit prototype - [riffle_328-turbidity](https://github.com/OpenWaterProject/riffle_328-turbidity) -- Turbidity sensor prototype - [riffle_328-thermistor](https://github.com/OpenWaterProject/riffle_328-thermistor) -- Connecting a thermistor to a Riffle - [riffle_328-i2c](https://github.com/OpenWaterProject/riffle_328-i2c) -- Connecting i2c sensors to a Riffle - [riffle_328-one-wire](https://github.com/OpenWaterProject/riffle_328-one-wire) -- Connecting one-wire sensors to a Riffle # Sensor Designs We've started to summarize some of the approaches to sensing water parameters like conductivity and turbidity: - [Sensing conductivity](https://publiclab.org/wiki/conductivity_sensing) - [Sensing turbidity](https://publiclab.org/wiki/turbidity_sensing) # Activities Here are some activities the Public Lab community has conducted using the Riffle [activities:riffle] # Project Status 2017: A second small order of Riffle_328 boards was shipped on May 30th, and is on its way to the Public Lab kits department in Portland, Oregon. From there it will be sent to Public Lab community members who ordered them. The Riffle was available for pre-order until March 17. https://publiclab.org/questions/warren/06-12-2017/what-s-the-battery-life-of-the-nano-data-logger#answer-comment-16862 2016: A small order of Riffle_328 boards arrived late April 2016, and were sent to Public Lab community members as a way of testing the design and informing further development. Projects using this riffle can be found at https://publiclab.org/tag/riffle and https://publiclab.org/tag/riffle-beta # How to get a Riffle Datalogger The Riffle is open source, so if Public Lab is not currently offering it for sale, anyone can take the designs above to a PCB fabricator and have one made, copy and remix the design, or investigate other dataloggers. # Riffle Alternatives The following dataloggers also have a real time clock and log to a micro SD card as the Riffle does. All of them are based on Arduino and will run more or less the same sketches. These are all open source hardware. 1. [EnviroDIY Mayfly Logger](https://envirodiy.org/mayfly/). Designed at the Stroud Water Research Center and commercially available through Amazon but currently out of stock (as of Feb 2017). 2. [Adafruit Feather M0](https://www.adafruit.com/products/2772) and [Adalogger FeatherWing RTC + SD Add-on](https://www.adafruit.com/products/2922). These are two commercial products which snap together. 3. [Cave Pearl Project logger](https://hackaday.io/project/6961-the-cave-pearl-project). Ed Mallon's design for a DIY data logger made from very inexpensive clone components (Arduino Pro Mini, SD card board, RTC board). Requires soldering and care. 4. see more open source data loggers collected on the [Data Logging page](/wiki/data-logging) **** ## Questions [questions:riffle] **** ###All updates related to the Riffle [notes:riffle] **** ##Related Questions Since the Riffle is Arduino-compatible, here are also some Q&A for Arduinos in general: [questions:arduino] The Riffle is also a part of a larger area on data logging. Here are some Q&A asked more generally: [questions:data_logging] [questions:nano-data-logger]...


Author Comment Last activity Moderation
cfastie "Nice battery clip. I covered the back of my Riffle with adhesive Velcro hooks and wrapped some adhesive Velcro loops around the battery. But I migh..." | Read more » over 8 years ago
kinasmith "I am also very curious how much temperature affects the batteries in very low current applications. I haven't found good documentation about that. ..." | Read more » over 8 years ago
cfastie "This is probably not the best data set to do calculus on. The air temperature data is from a sensor in a jug suspended above the pile, and the batt..." | Read more » over 8 years ago
donblair "Yay, data!! Neat observation about the battery voltage and the temperature. Makes me want to compare the rate of battery voltage drop to the temp..." | Read more » over 8 years ago
donblair "Bravo!! This is amazing. This makes me wonder what accounts for the rest of that quiescent current draw ... maybe the majority of it is due to th..." | Read more » over 8 years ago
eustatic "great work! " | Read more » over 8 years ago
ddileona "I am so excited to try this out. 8 seconds is a ridiculous interval! (Sorry Don.) " | Read more » over 8 years ago
cfastie "Great discovery. @donblair will be pleased. " | Read more » over 8 years ago
kinasmith "Nicely done, and nice temps for such a small pile too! I'm curious to see how long they can sustain that heat. I've done some work with compost in ..." | Read more » over 8 years ago
donblair "This is so fantastic. So neat to see the current spikes with the SD card writes! ANd ... oh, my, what a terribly high sleeping current ... I sho..." | Read more » over 8 years ago
david-days "I imagine so (regarding the grass). If it's fairly fresh, there's probably enough water content to feed the bacteria as things break down. We use..." | Read more » over 8 years ago
eustatic "thanks for this. I do think 9 days is good for some use cases, and not great for others " | Read more » over 8 years ago
cfastie "Thanks David, I wish I had some of your manures to spice up my pile. I'm surprised at how hot this pile is without the addition of any N-rich mater..." | Read more » over 8 years ago
david-days "Excellent work, @cfastie! I live on a farm in Ohio, and we use cleanup from the chicken house and the horse/goat barns to make our compost piles. ..." | Read more » over 8 years ago
kinasmith "Awesome, I'm glad it worked for you. I did an afternoon/overnight test and it seems reliable. This is the plot of the time difference between loggi..." | Read more » over 8 years ago
cfastie "Holy cow, it works. I modified your SHT21_Logger.ino sketch to log data from two MCP9808 sensors and one DHT22 sensor and it seems to work great. I..." | Read more » over 8 years ago
kinasmith "I forked the seed Studio DS3231 library and made a little more straightforward and easy to use. Library is here. Example Code is here. " | Read more » over 8 years ago
cfastie " The names of the libraries which are in < > brackets don't display. I deleted the brackets in my comment above so the libraries would disp..." | Read more » over 8 years ago
kinasmith "Well. I just used <pre and <code tags to wrap the code in, and that worked. would also be super cool to be able to embed Gists i n a post. T..." | Read more » over 8 years ago
liz "The lead image reveals your profound research strategy and rigorous philosophy of open science. " | Read more » over 8 years ago
cfastie "Wow, I'm going to have to try this. I tested some markdown below to see if it could display your code. The editor won't let me preview this comment..." | Read more » over 8 years ago
kinasmith "Wow, so that might be a bug in the post writing front end. I used a standard markdown formatting for code input, which worked in preview, but broke..." | Read more » over 8 years ago
pdhixenbaugh "Wow, thanks for this note! " | Read more » over 8 years ago
cfastie " I kinda like the switch on the Riffle and now I know that it is something to pay more attention to. But I guess it adds much more complexity that ..." | Read more » over 8 years ago