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

Sensors | Free Full-Text | Cave Pearl Data Logger: A Flexible Arduino-Based Logging Platform for Long-Term Monitoring in Harsh Environments (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.

7 Likes

https://hackaday.com/2018/02/27/can-open-source-hardware-be-like-open-source-software/

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!

3 Likes

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:

1 Like

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:

2 Likes

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: https://youtu.be/SPeUWtE0pIYt
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.

cheers!

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

New ā€œEDU versionā€ of the Cave Pearl Logger released for 2019

Dr. Beddowā€™s instrumentation class has been building the 2016 version of the Cave Pearl datalogger for more than three years, and feedback from that experience motivated a redesign to accommodate a wider range of student projects while staying within the time constraints of a typical lab-time schedule. The rugged PVC housing from the older build has been replaced with an inexpensive pre-made box more suitable for ā€œlight dutyā€ classroom project deployments. The tutorial includes a full set of youtube videos to explain the assembly. We hope this simplified build supports other STEM educators who want to add Arduino-based experiments to their own portfolio of activities that develop programming and ā€œmakerā€ skills.

1 Like

A teacher friend asked us for faster build that is less dependent on soldering because they donā€™t have the budget for that kit. So weā€™ve developed a ā€œminimum versionā€ of the 2019 classroom logger using pre-made Dupont jumper cables to reduce the build time to about 1 hour. Iā€™ve also added support to the code base for using the indicator LED as a light sensor, so they can use the logger with their existing curriculum right away.

This version of the Cave Pearl is probably the best starting point for people building their very first Arduino-based data logger.

1 hour Logger Project for the Classroom [Feb 2019 Update ]

You can use a Pro Mini (or any other Arduino with an Atmel processor) to measure temperature to 0.0025 C or better using only the mcu. I think this is the best ā€œNo-Partsā€ temperature method I ever noodled around with:

ā€˜No-Partsā€™ Temperature Measurement with Arduino Pro Mini

This method generalizes to any other processor with a hardware driven watchdog timer, and should be easy to adapt for other projects.

This is fantastic work youā€™ve done! Iā€™ll need something similar to a cave pearl soon, and decently accurate temperature measurement is a problem. For the narrow range of temperatures that weā€™re usually interested in, I think it comes down to calibration, which Iā€™m still grappling with.

If you are working with a tight range of temps this no parts technique might not be the best option for you. The oversampling I developed last year gives a similar resolution, but with far less noise in the signal. see:

Have you any thoughts on how to best go about calibrating a sensor?

This is really impressive!
Itā€™s both simple and robust!
One thing I saw the group is working on the calibration of sensors, which in many project is considered as a ā€œnext stepā€, something secondaryā€¦ or a complete black box!
congrats!