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
mathew "files above didn't prep for print right. Updated: riffle-blank2.zip " | Read more » about 9 years ago
mathew "here are some blanks for the riffle+CT board housing-- just a rectangle that is 134mm with screw holes centered in the 106mm riffle section at 65mm..." | Read more » about 9 years ago
mathew "currently the schematic links to github are broken. @donblair can you re-link please? " | Read more » about 9 years ago
warren "No, sorry - it just came on another product. " | Read more » about 9 years ago
donblair "@mathew -- great stuff! I really like the stud ring + nut replacement for the alligator clips. More secure, and likely available at a typical hard..." | Read more » about 9 years ago
warren "Just a quick note - found these sorta interesting "solderless" connectors - you just shove a wire in -- and they're surface-mount, too. I tried the..." | Read more » about 9 years ago
mathew "+1 to not putting units on the CSV file. The 'signal' that this data needs further work/calibration is important and I think well articulated her..." | Read more » about 9 years ago
donblair "Ah, great -- yes, that's what seems most sensible to me, too. TMI: By frequency I meant the "555 timer output frequency" for the conductivity rea..." | Read more » about 9 years ago
gretchengehrke "Hi Don, I was assuming the output would be in frequency for both, but there would be an algorithm before the graphing step to do a unit conversion,..." | Read more » about 9 years ago
donblair "The basic trade-off I see is that: it's actually a pain to reprogram the device with calibration corrections every time you do calibration, even t..." | Read more » about 9 years ago
donblair "Great point! @warren and @gretchengehrke Need to figure out those default units. Was actually just musing about that, and wrote this: https://pub..." | Read more » about 9 years ago
gretchengehrke "Looks great! Two thoughts: (1) definitely important comment by Jeff about units and potentially a post-data-retrieval function for units conversio..." | Read more » about 9 years ago
warren "What are the default units? I'm thinking about how the CSV will be uploaded and graphed. Looks great! " | Read more » about 9 years ago
tonyc "the other context for that nutty housing with zip ties was for aerial use. if we flew a riffle, with the protection of the bottle/ties harness, it ..." | Read more » about 9 years ago
donblair "To be more specific ... The goal is for the microcontroller (uC) brain (Atmel 328p), and the sensor boards it connects to, to be running at 3.3V. ..." | Read more » about 9 years ago
donblair "Thanks @danbeavers! The PDF you just linked to seems empty -- if you get a chance, could you link to a URL with the part? I have share your feeli..." | Read more » about 9 years ago
danbeavers "The surface mount connector has plastic pins protruding on the bottom to help with mechanical rigidity. SMconnectorF.pdf Click on the box in the..." | Read more » about 9 years ago
donblair "Ah, okay, issue: I can drop the charging chip; but currently the charging chip performs a useful additional function: it allows voltage to be com..." | Read more » about 9 years ago
tonyc "I support the idea of giving up recharging in order to handle more types of batteries. That seems a higher likelihood use case. We could offer the ..." | Read more » about 9 years ago
donblair "Oh, and @warren & @tonyc -- so some notches on the edges of the board, yeah? Will play with the idea ... " | Read more » about 9 years ago
donblair "connector Aj, cool ideas @warren and @tonyc! Also: I just heard back from MacroFab -- they can do through-hole soldering for a little more (per ..." | Read more » about 9 years ago
tonyc "Those recesses look like the ones I was reqeusting for the zip-tie mounting idea. should be simple manufacturing-wise, and if we had recess on fron..." | Read more » about 9 years ago
warren "I wonder if the connector were recessed from the edge of the board, and perhaps wrapped around some kind of supporting shape of the board itself? I..." | Read more » about 9 years ago
donblair "My impression, from what I've heard, read, is that it's a bad idea to use SMT components when there is any regular mechanical stress expected. Cf...." | Read more » about 9 years ago