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
donblair "I don't know if this part can be placed by a pick-and-place, but if it can, might be worth trying -- the double row SMT pads might make it sufficie..." | Read more » about 9 years ago
donblair "Receptacle side ... http://www.digikey.com/product-detail/en/610114249221/732-6081-2-ND/5047736 Hmm, maybe we can get away with no soldering requi..." | Read more » about 9 years ago
donblair "male side ... http://www.digikey.com/product-detail/en/610114249121/732-6071-2-ND/5047735 " | Read more » about 9 years ago
mathew "the software directions are looking real promising! as for hardware, I think you're absolutely right, @Donblair-- Expose the RTC alarm and let user..." | Read more » about 9 years ago
donblair "oh, interesting ... i don't know how mechanically stable these will be, but: " | Read more » about 9 years ago
donblair "@warren -- wow, that Pocket Operator looks so cool. It makes me wonder if there are AA battery holders like the one they used with the metal clips..." | Read more » about 9 years ago
donblair "Wow, so many good thoughts .... soldering & accessibility It's a good point that it'd be nice for the kit to be useful without requiring any ..." | Read more » about 9 years ago
donblair "Apparently the "change" code is already part of the Arduino base code ... http://playground.arduino.cc/Main/PinChangeInt I might try this example..." | Read more » about 9 years ago
donblair "Fantastic -- thanks @SteveHicks! Ah, I see the source of my confusion. I was reading the explanation here: https://www.arduino.cc/en/Reference/A..." | Read more » about 9 years ago
SteveHicks "If you use the DS3231 RTC, it has a built-in alarm function that you can use to wake the MCU at a pre-programmed time, allowing you to put the MCU ..." | Read more » about 9 years ago
pdhixenbaugh "Exciting stuff! I'd second the easy AA battery option. I can solder at a basic level, but the less it's required, the less it can go wrong. I don'..." | Read more » about 9 years ago
donblair "Thanks, @cfastie! Background Automated dispensing cabinets were introduced in the late 1980s, and allow for decentralized, automated distribution ..." | Read more » about 9 years ago
warren "The Pocket Operator has a great 2x AA battery clip on the back. I know that's not exactly what you're looking for but I just love my PO so much I h..." | Read more » about 9 years ago
cfastie "Just in case everyone is not familiar with all the acronyms like ADC and RTC: https://en.wikipedia.org/wiki/Automated_dispensing_cabinet https://en..." | Read more » about 9 years ago
tonyc "well, it's all tradeoffs...I'd prefer to have an option to use AAs without a soldering iron, since it's the simplest way to get the thing working o..." | Read more » about 9 years ago
donblair "Note: regarding the RTC wakeup functionality, I posted some thoughts here: https://publiclab.org/notes/donblair/12-02-2015/random-bits-atmel-low-p..." | Read more » about 9 years ago
donblair "Thanks @warren re: Semver -- that looks like just the sort of guidance I was looking for! @tonyc -- I was thinking about this issue ... one of the..." | Read more » about 9 years ago
tonyc "Cool! I super support the easy AA battery option. I have a design for a DIY battery case I can mock up soon, one that will ship flat. I'll watch to..." | Read more » about 9 years ago
warren "For versioning, I'm tending to use Semver. Did you push this announce out to the lists, btw? Great to see it! " | Read more » about 9 years ago
cfastie "As you move to longer wavelengths, contamination by sunlight becomes less of a problem underwater because longer wavelengths can't pass through muc..." | Read more » about 9 years ago
donblair "Wow, such a clever demonstration! Makes me wonder, as an aside, if we could simply stick a piece of filter in front of these sensors before puttin..." | Read more » about 9 years ago
cfastie "Your underwater NIR device would not need as much light baffling as a visible light device, but it might need some. It would depend on how sensitiv..." | Read more » about 9 years ago
lperovich "Here's a picture of one of the riffle-ish boards (currently called "fishnet"): " | Read more » about 9 years ago
warren "Ooh, i love the christmas tree ornament; didn't know those were available in plastic: Do you have some pics or plans for the riffle-based board?..." | Read more » about 9 years ago