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 "@pdhixenbaugh -- Good point! I do think the self-discharge rate on these various battery chemistries does differ, but I don't know by how much. Le..." | Read more » almost 9 years ago
pdhixenbaugh "For the long-life 2xAA-battery configuration, would Alkaline batteries last significantly longer than NiMH (less self-discharge?) " | Read more » almost 9 years ago
donblair "Hey All! Okay, after a bunch of discussion last night, it seems that the above P-Mos circuit will work, but the battery leakage is significant. A..." | Read more » almost 9 years ago
donblair "Further elaboration on this circuit solution: The idea (nicely described in the blog post) is to use a P-channel Mosfet arranged so that when USB ..." | Read more » almost 9 years ago
donblair "(Also note: I've added an extra capacitor to the circuit, so that I'll have a 10uF close to the lithium charger, and on both sides of the LDO) " | Read more » almost 9 years ago
donblair "Okay, here's my interpretation of the more advanced circuit: Full schematic: Close-up on the relevant power circuitry: Load balancing is ac..." | Read more » almost 9 years ago
donblair "For further reference (both of the below pics are from the above-referenced blog post, the minimal schematic for the charger chip (which I'd been u..." | Read more » almost 9 years ago
donblair "Update: What I'd observed was that the previous version of the riffle -- 0.96 -- seemed to allow for USB programming even when a battery wasn't pl..." | Read more » almost 9 years ago
donblair "Update: I've attempted to incorporate both the fix to the switch, and the new diode-based power management strategy, in the Riffle 0.1.4 schematic..." | Read more » almost 9 years ago
donblair "Update -- based on some tinkering, and some great feedback from folks on the plots-waterquality google group: The power issues no longer seem myst..." | Read more » almost 9 years ago
pdhixenbaugh "Just wanted to comment here if anyone finds this page, that there are new ideas about using lower voltage in the water and amplifying using an OpAm..." | Read more » almost 9 years ago
tonyc "Update on this: hardware testing is on hold while we ship these back to our fab to work on the procedure for flashing firmware on their end. We're ..." | Read more » almost 9 years ago
tonyc "Cern licence is on there: " | Read more » almost 9 years ago
donblair "Also need to add CERN open hardware license info to board artwork " | Read more » almost 9 years ago
donblair "Ah, yes -- just now seeing Mathew's email -- we should also put a grid of pinout artwork on the back, corresponding to the arrangement of the pins ..." | Read more » almost 9 years ago
donblair "Great to see the photos -- thanks for taking them so quickly! Quick items: Looks from the photo that the USB part did in fact stay within the ~ ..." | Read more » almost 9 years ago
liz "Since the two main ways to control the sound are the saltiness of the water and the size of the capacitor, it would be cool if this list of parts i..." | Read more » almost 9 years ago
warren "large yogurt container Love this idea for standardization; used yogurt containers pile up quickly in my house. Or a mason jar! I'd guess material ..." | Read more » almost 9 years ago
donblair "Hah, just saw that @mathew posted a link I was reading this morning, but forgot to include: http://www.electroschematics.com/6923/555-low-voltage-..." | Read more » almost 9 years ago
donblair "@pdhixenbaugh -- the latest version of the Riffle (Beta 0.1.1) will have two battery ports -- one for rechargeable Lipos, and one that can take in ..." | Read more » almost 9 years ago
pdhixenbaugh "Would it be possible to have a variant using standard batteries? It's not too big of a deal to order a special battery, but in some places and situ..." | Read more » almost 9 years ago
donblair "Thanks for the heads up @mathew -- I've replaced the previous links with a more stable link to the repo " | Read more » about 9 years ago
donblair "Note: fixed the broken link to the riffle datalogger, above. Cheers! " | Read more » about 9 years ago
mathew "re: do we need to pop the thermistor outside the cap? the smallest , most easily filled hole would be a 'vented' screw. You'd probably want a 6-..." | Read more » about 9 years ago