Build your own instruments! DIY data loggers with no custom PCBs


We wanted to let you know about our groups contribution to the world of open science hardware, with the hope that you could pass the word on to your members who are working to decentralize science. Instruments that work in aquatic environments are among the most expensive environmental sensors available, and this can be a significant barrier for researchers, and citizen scientists who want to protect wetlands and aquifers.

For the last four years, the Cave Pearl Project has been developing and testing underwater prototypes built around the Arduino electronics platform. The goal has been to create a robust data logger system that is inexpensive enough to bring multi-unit deployments within the range of very limited budgets, while still being buildable by to those with modest electronics experience. That work has been published in the open access journal Sensors (free PDF download)

Step by step build instructions are on the projects website:

And operating code that is easy to understand & modify is available on Github:

These resources provide a complete DIY data logger solution that can be constructed from inexpensive components, and programmed to support sensors for a range of monitoring applications using code libraries from the Arduino community. Two different environmental housings can be constructed from PVC fittings using basic shop tools, including one that covers the full depth range available to research divers on air. Open source prototyping platforms are enabling people around the globe to build their own instruments and do primary research. It is hoped that the release of the Cave Pearl paper supports this endeavor in both research and education.


Elliot Williams writes

“Modular design, with well-defined sub-units whenever possible, encourages improvement… Can you use off-the-shelf breakout modules that are sourceable on the cheap that can be unplugged and reused in the next revision? Maybe you should.”

Music to our ears!


This is Great :slight_smile: Do you guys come to AfricaOSH? I wish to hear more from you…


I’m afraid not. We would have to trade several visits to our fieldwork sites for a trip like that. To be honest we only get to one conference per year, and that’s usually the GSA because so many of our academic partners also go there.

But we have made the entire project accessible via the website and the pub. There is a Google translate button on the upper right corner of each page. But I have no idea how well it actually translates those build instructions.


Thanks. I did read a little bit of the project today. Didn’t have much time though. I couldn’t find explanation on how you retrieve data from the data logger. I will go through your project slowly. But I can’t wait to find the answer to this. Can you tel me in one sentence how you collect the logs from the device. Do not worry about technical words. I have some knowledge in electronics and embedded systems.


The code saves the data on an SD card as time-stamped comma separated text. Simply disconnect the battery, and replace the sd card with a new one. Then open those data files open directly on your computer with any spreadsheet like Excel or open office.

One of our biggest problems with commercial sensors is that they make you buy expensive download cables, and then pay for custom software just to view the data. Both of those steps are un-necessary.


A visiting researcher dropped by our humble basement workshop with questions about the physical skill level students would need if they added one of DIY data loggers to their environmental curriculum. I figured the easiest way to cover that was to simply build one, while they recorded the process. The result of that three hour session is now available on YouTube:


Great approach. We have also developed this ultra simple and low cost version of our Attiny sensor boards. aka 8Bit Mixtape aka CocoMake7, with a similar approach. it doesnt even need an “arduino”, the Attiny85 is widely available, it can be re-programmed using an audio signal (no drivers needed, and communicate to an app through mini-jack) and also has USB-HID capability for sending numbers as keyboard." 234".
A true open hardware project should be easy to redesign, repurpose etc. and not rely on buying dedicated boards.

But the same board can still be made with custom PCB for a workshop and souvenir. can save time during the session.
See this:


We love the tinys too!, and your project is a brilliant example of how much can be done with those little uCs. But for our data logging application they just didn’t have enough i/o lines for the number of different sensors we need to use (and now adding display screens too!) The 328p’s built in I2C peripheral frees up significant memory on the chip for data processing which has also become important for us to handle noise suppression in turbulent environments. The little pro mini clones we based our logger on are now so generic that you can find dozens of variants on ebay & allibaba so I think of them as simply breakout boards for the 328p processor rather than as Arduinos…


While the Arduino logger core is generic, the surface deployments tend to use the 4" housing (which is easy to build) while the underwater deployments (about half of the current fleet) use the 2" body style. Usually those deployments are too deep to record with our little point & shoot camera, but we recently did an install in a coastal outflow that was shallow enough to capture a clip of the method we use to anchor the sensors into place.

In the first video we are placing the anchor in the fresh water, with extension rods to move the actual sensor into the zone where saline water (the silty brown layer) in intruding into the system. Like the housings, all the pieces of the deployment system are made from zip ties and cheap plumbing parts that anyone can buy at any hardware store:

and once the flow sensors are installed, we check on them occasionally to see how they behave different flow conditions.

These units are accompanied by other sensors for temp, pressure ,etc.


We’ve added a new Tutorial to the projects website that might be of interest to people for their own projects:

This is the third in our series about using shift-out and unused analog lines to drive SPI displays. The primary reason to use this method is to save power in data logging applications that need to run for years at a time. When you drive the pin-power line down the screen is completely disabled and draws no current.


Posted a new build guide to youTube:
which walks through mounting the logger “stack” on a platform with batteries. Like others in the series, this was a result of a walk through with someone who’s building Cave Pearl loggers for use on their own independent project. Will add another vid on sensor caps and epoxy potting when time permits.



Added a new tutorial video to the set: how to pot sensors & build waterproof cable connectors