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 "Well-commented code is always helpful. At the novice level at which I work, good comments are sometimes hard to come by. I have often stolen uncomm..." | Read more » over 4 years ago
stevie "Hi Kina (and others)! Want to catch up on data loggers? We'll be chatting about it on the next OpenHour " | Read more » over 4 years ago
shanlter "Thanks!!!!! " | Read more » over 4 years ago
donblair "Great question re: whether powering the Feather on the 3V line really does work well ... I don't really know. But: looking at a schematic for one ..." | Read more » over 4 years ago
warren "Fixed! Thanks for finding this issue! " | Read more » over 4 years ago
warren ":-) sorry, i'll push a new change which will fix this in a bit! " | Read more » over 4 years ago
warren "Hey Chris - yep, the different groups developing these projects; i'd love to design t-shirts! Modularizing and annotating code can go a very long ..." | Read more » over 4 years ago
shanlter "OMG, the image layout is horrible from my laptop, help needed @warren " | Read more » over 4 years ago
shanlter "Hi all, third answer here. Thanks for asking the question Gretchen, I actually have the same question. So this is not exact answer, I am hoping som..." | Read more » over 4 years ago
cfastie "That's a really good point that the En pin on the Feather can disable the regulator and reduce power consumption. We need a table of all the featur..." | Read more » over 4 years ago
donblair "Thanks Chris -- this is incredibly useful. So important for folks to have a sense of the trade-offs and considerations when choosing solutions in ..." | Read more » over 4 years ago
cfastie "Teams? There are going to be teams? Will they have T-shirts? I'm still not sure overlapping code is relevant. If you have a working sketch for a K..." | Read more » over 4 years ago
warren "I'd guess that there could be a lot of commonality in cases where you want to set up the same sensor on either device (or any Arduino). It could be..." | Read more » over 4 years ago
warren "A good question for @rockets and @shanlter too! " | Read more » over 4 years ago
cfastie "Cool. We'll have to get a third answer or Gretchen won't know what to think. " | Read more » over 4 years ago
eustatic "dot " | Read more » over 4 years ago
MadTinker "I’m still waiting on my Riffle and I’m a rank beginner so this response needs to be accepted with a grain of salt. I believe that what Chris said i..." | Read more » over 4 years ago
cfastie "I'm not familiar with the KnowFlow, but I would not expect there to be much overlap in the sketches which are typically used to run the two devices..." | Read more » over 4 years ago
shanlter "Hi Dan, thanks very much! So basically, what I need is to connect (at least) DO and pH sensors to Riffle. My collaborator said that using a voltage..." | Read more » over 4 years ago
shanlter "Thanks very much! The link of your website is very helpful! I will try when I receive a riffle : ) " | Read more » over 4 years ago
cfastie "Although there are sensors that require more than 3.3V, most of the simple DIY sensors are designed to use 3.3V. For example, all of the sensors he..." | Read more » over 4 years ago
cfastie "Further empirical evidence suggests that the VBAT pin delivers the voltage of the battery that is plugged into the "Lithium 3.7V" connector, but no..." | Read more » over 4 years ago
donblair "Hi @gretchengehrke! Sorry for the much-delayed reply :) and thanks for the comment. I, too, liked this approach -- basically, using the differenc..." | Read more » over 4 years ago
donblair "Hallo! If the hardware is Riffle version 0.1.8, the relevant schematic is here -- and, so far as I can tell, VBAT should simply be the battery inp..." | Read more » over 4 years ago