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 | "Chris, This is such a beautiful project! The lapse rate calculation is so fun to see. Quick reactions: That power switch goof is annoying. I w..." | Read more » | over 8 years ago | |||
cfastie | "George, that's my experience too. I was in a rush to update the sketch on an Arduino so I installed the Arduino IDE on a new Windows 10 machine and..." | Read more » | over 8 years ago | |||
ggallant | "I just got a new laptop with Windows 10. Installed the Arduino IDE and plugged in the riffle. Couple of sounds relative to a new device being plugg..." | Read more » | over 8 years ago | |||
ggallant | "Don, I have a small list of suggested modifications, all dealing with power. What / where / when is it appropriate to comment? George " | Read more » | over 8 years ago | |||
donblair | "Wow, great work. Sorry that there's so much trouble dealing with drivers for this USB-Serial chip! Re: the capacitive sensor circuit ... do you s..." | Read more » | over 8 years ago | |||
donblair | "@ggallant -- Wow, this is fantastic detective work. Does it seem that you were able to resolve the uC resetting issue with the extra cap parallel ..." | Read more » | over 8 years ago | |||
ggallant | "D5 appears to connect the INT/SQW on the RTC to PD5 on the CPU. I would be very interested in how one uses the feature. I'm assuming that it requir..." | Read more » | over 8 years ago | |||
mathew | "@donblair more sensor info for Diana? " | Read more » | over 8 years ago | |||
mathew | "The RTC can be set to shutdown and wake the AT328P, it just uses another pin that could be used for a sensor. @donblair left an exposed pin availa..." | Read more » | over 8 years ago | |||
ggallant | "Chris, I really don't know the actual time but assuming 800usec (nice for the math) to sleep and wake up it would be 800 / 8,000,000 or 0.01% whi..." | Read more » | over 8 years ago | |||
cfastie | "George that's a good point. Although the real time clock is running all the time, it is not smart enough to do something as complicated as setting ..." | Read more » | over 8 years ago | |||
ggallant | "I think 8 seconds is the "maximum" interval with a 16MHz crystal. You wake up every 8 seconds and can go back to sleep if there is no work to be do..." | Read more » | over 8 years ago | |||
cfastie | "Don thinks that eight seconds might be the minimum interval during which the system can be put into deep sleep. So all the sleep stuff happens in m..." | Read more » | over 8 years ago | |||
ddileona | "Cool! One question: I thought I read in the riffle documentation that you could only log in multiples of 8 seconds. That seemed liked a weird mult..." | Read more » | over 8 years ago | |||
cfastie | "Thanks Bob, that's encouraging. My bricked card just gets hot to the touch when I put it into a card reader. I don't have much hope for it. " | Read more » | over 8 years ago | |||
Bob | "While working on my Riffle beta datalogging program, I also corrupted the micro SD card. The Riffle was no longer able to initialize the card. Stra..." | Read more » | over 8 years ago | |||
ggallant | "I think the 500ma that can be supplied by the host USB port can be misleading. The spec says it must be able to supply 100ma and can switch to 500m..." | Read more » | over 8 years ago | |||
mathew | "It would make sense that the riffle's boot up over draws one of the capacitors. On the Lithium Ion battery issue, can you clarify a little for me?..." | Read more » | over 8 years ago | |||
ggallant | "Mathew - This is probably the result of a capacitor discharging, C9 is only 0.1uf. I suspect that C14 needs to be much larger (100uf) or add multi..." | Read more » | over 8 years ago | |||
cfastie | "Hi Gretchen, I also wondered whether the change in logging frequency was caused by the Riffle dropping below 0°C. There is more about that possibi..." | Read more » | over 8 years ago | |||
gretchengehrke | "Interesting! At first I was wondering if the change in time-step occurred after the Riffle reached 0 deg-C, but then when I looked at your data tab..." | Read more » | over 8 years ago | |||
mathew | "i'm talking out of my depth here-- I know basic electronics and am not an electrical engineer by any stretch-- but a quick 1.9v dip sounds to me li..." | Read more » | over 8 years ago | |||
donblair | "Hi Chris! This is fantastic research. So many interesting questions coming up already via your testing. Thank you. Riffleman! These rechargeabl..." | Read more » | over 8 years ago | |||
ggallant | " This is a screen shot of the noise spike when turning on power to the SD card. The yellow signal is the CPU D10 line being used as a sync signal...." | Read more » | over 8 years ago |