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
warren "Awesome -- does John have a PL username to cite? I also wanted to connect the dots with the live sensor graphing work you and I planned out on Fri..." | Read more » over 8 years ago
warren "Wow, this is great to hear. Is Juan Camilo Cardenas on the laboratoriopublico list or interested in being in touch with the south american & sp..." | Read more » over 8 years ago
tonyc "Nah, you can pull it right out again. The little loop part is reachable to hook with a finger, and then the whole thing can be coaxed back out of t..." | Read more » over 8 years ago
stevie "And to get it out?? I guess you might need to cut the bottle? " | Read more » over 8 years ago
tonyc "Wanted to see how it would work with battery back included. Mocked up battery pack using a marker of approx. weight, and made little "legs" using z..." | Read more » over 8 years ago
patcoyle "Clever approach. " | Read more » over 8 years ago
warren "Aww we are at LEAFFEST 2015 and just watched the horror film again! It's great! " | Read more » over 8 years ago
DavidMack "@gpenzo the 2 ft. of chain would serve as the counter weight, then the chain would connect to a rope which is connected to an anchor. the foam dis..." | Read more » over 8 years ago
gpenzo "I presume you will use a chain to connect this to a weight. Does this design have enough buoyancy to carry the chain wieght? The PVC design looks g..." | Read more » over 8 years ago
mathew "the #3 stopper just barely fits under a bottle cap. I'd mentioned trying vulcanized rubber stoppers and that they were too hard-- the problem was p..." | Read more » over 8 years ago
cfastie "The configuration with the stopper held in firmly with the threaded bottle cap looks really good. How hard is it to get that to work, i.e., to get ..." | Read more » over 8 years ago
mathew "@DavidMack a silicone stopper would be great! they're better in cold temperatures than natural rubber. It also seems like it would bond better with..." | Read more » over 8 years ago
cfastie "This looks like a surefire way to waterproof the wires. But now you have to waterproof the seal between the stopper and the bottle. Plastic water b..." | Read more » over 8 years ago
DavidMack "what if you got a solid silicone stopper and put two small needle sized holes in it (carefully) and ran each round wire through its own hole. you'..." | Read more » over 8 years ago
mathew "this is interesting! I hadn't thought to just use the stopper directly filled with silicone. " | Read more » over 8 years ago
ajawitz "Check out the waterproof housing I used in this underwater photography project last year- http://publiclab.org/notes/code4maine/07-25-2014/grassroo..." | Read more » over 8 years ago
cfastie "New data: I posted about the SkyShield at the KAP forum and got two orders in 24 hours, both for the solder-yourself kit! So disregard everything I..." | Read more » over 8 years ago
warren "+1 "in-between stage" -- it could invite people into the process earlier without needing to yet 100% "nail it" on a final design, and hopefully fol..." | Read more » over 8 years ago
mathew "Don, that's a pretty good case for project R&D having an "in-between" stage where bigger production runs aren't ready to go but folks are maki..." | Read more » over 8 years ago
donblair "Thanks for all the good thoughts, wow! Chris -- I think you're right -- your experience and our friend Rui's experience is that most folks don't w..." | Read more » over 8 years ago
lperovich "Thanks @DavidMack! I added some comparison summary data and plots to the post. " | Read more » over 8 years ago
mathew "I somewhat agree with @cfastie. I'm skeptical that there is value in a through-hole kit because there are only three components a DIYer would want..." | Read more » over 8 years ago
cfastie "This solder-yourself thing is a tough issue. The Riffle itself is always going to be surface mount, so you are going to have to manufacture them so..." | Read more » over 8 years ago
cfastie "Neil, Yes, the window slime will probably have to be removed every couple of weeks. Or maybe window transparency could be monitored with a separat..." | Read more » over 8 years ago