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
ggallant "I have isolated it to the SD card power turn on. There is 100% repeatable noise spike that is 1.3usec long and drops 1.9V below 3.3V. Trying to upl..." | Read more » almost 8 years ago
mathew "I'm wondering if it just has to do with the power switch setting. it should be on "USB/Lith" for programming. " | Read more » almost 8 years ago
mathew "Glad to see it got working, at least somewhat. the trouble is troublesome, those are all brand-new errors for me and definitely sound like issues..." | Read more » almost 8 years ago
mathew "I wonder about the erratic battery readings. fascinating. Chris-- which sensors do you want to attach? perhaps we can find an arduino tutorial th..." | Read more » almost 8 years ago
liz "@ggallant check this out " | Read more » almost 8 years ago
liz "Here's a report back (including video!) from a workshop led by John Keefe in August 2015 http://johnkeefe.net/make-every-week-audible-water-sensor " | Read more » about 8 years ago
marlokeno " Our neighbor has the plant camera above, which he uses to take time lapse photos throughout the growing season. This camera is outdoors year-roun..." | Read more » about 8 years ago
gpenzo "check ov7670 with fifo buffer camera. Only use 3.3v no led and enough code to use with a arduino. You cna find them for 10 euro on aliexpress. You ..." | Read more » about 8 years ago
donblair "@cfastie: Power estimates are next on my list :) Looks like I should be able to switch off power to the camera completely using the microcontrolle..." | Read more » about 8 years ago
warren "Also, if that man in the alley turned around, i bet he'd be really creeped out. Were you hiding under the windowsill? :-) " | Read more » about 8 years ago
warren "Wow, don, I love this! Is it possible to get pixel-level data, or raw data? I kind of assume not, but thought I'd ask. " | Read more » about 8 years ago
cfastie "That could very useful. I wonder how long the camera could operate remotely. Will the camera gobble up a lot of power? Does the camera just power..." | Read more » about 8 years ago
mathew "for completeness' sake: Check out @edwardmallon's note: https://publiclab.org/notes/donblair/09-08-2015/rubba-stoppaz#c13904 Chris fastie's Nalgen..." | Read more » about 8 years ago
mathew "Cool! I ordered some of those PEX connectors to try out! We've been discussing a variety of connectors. check out these recent developments: http..." | Read more » about 8 years ago
mathew "beautiful! can't wait to see a submersion test. " | Read more » about 8 years ago
EdMallon "Just a quick suggestion: I've been using pex swivel adapters in my underwater connectors: http://www.menards.com/main/plumbing/rough-plumbing/pip..." | Read more » about 8 years ago
mathew "I wish I had brands to list, but yes, we've seen commercial probes using small (0-80) screws as their probes. " | Read more » about 8 years ago
pdhixenbaugh "What will be the long term corrosive effects of current and salt water on our stainless steel screws? I think we've seen stainless steel probes on ..." | Read more » about 8 years ago
donblair "-- a CR1220 coin cell. " | Read more » about 8 years ago
mathew "@donblair what battery is the coin cell battery? " | Read more » about 8 years ago
liz "@taramei check this out for your venus flytrap work in brackish water!!!!! " | Read more » about 8 years ago
tonyc " hasn't lost a drop! " | Read more » about 8 years ago
tonyc " Tried drilling through bottle cap, then making the hole really jagged using an awl. Then a pen tube through a rubber stopper, thick layer of sili..." | Read more » about 8 years ago
mathew "These 18650 keychain battery holders just arrived. They're great: " | Read more » about 8 years ago