Build Your Own Data Logger – The Sensor, Heart of the Logger

The first thing that can do things that actually DOES things for the TECHNOSEUM: A data logger that records the climate in a certain area of our museum.

The “Q-Tip-Logger”, a simple logger that writes temperature and humidity to a SD card

Quite to my surprise the last post about building a data logger caused quite a discussion. As I mentioned, this is not concurring with professional solutions. It’s an alternative for people who like to build things or who are searching for ideas for projects when cooperating with schools and STEM classes. For someone who isn’t keen on learning something new, maybe a bit unusual and building something, this project is not interesting. For someone who has a sufficient collections care budget to buy professional loggers and send them in for calibration regularly it might be interesting anyway to compare the professional loggers with the DIY versions. For someone with a collections management budget next to zero who sees a chance to find sponsors for buying the parts if he or she initializes a cooperation project with a school group, it opens up the possibility to have an alternative to the cheap loggers from the hardware store and spark interest for collections care in young people at the same time.

The critical questions – which I really appreciated – made me switch the order of this guide: instead of starting with the main parts, the arduino and the data logger shield, I start with the very heart of the logger: the sensor.

The sensor is the part that decides how good or bad the logger is suited for its purpose. No matter how careful you are building your project, if the sensor is bad, the results will not be satisfying. On the other hand, good sensors have their price. Like often it’s up to you to weigh the pro’s and con’s and decide how good your sensor has to be for your purpose. What helped me a lot were the tests conducted by Robert Smith with the most used sensors in the hobbyist sector, the DHT11, DHT22 and SHT71: http://www.kandrsmith.org/RJS/Misc/Hygrometers/calib_dht22_dht11_sht71.html. This comparison, together with his previous analysis of six DHT22 sensors made me use the DHT22/AM2302 which measures temperature and relative humidity for my projects.

Der DHT22, auch unter der Bezeichnung AM2302 zu finden.

The DHT22, also named AM2302.

Under real testing conditions it doesn’t reach the +/- 2% accuracy in measuring relative humidity mentioned in the data sheet on page 3 (which would have been a real surprise as only really high-prized loggers reach that accuracy in real life) but they bring good enough value for the money invested in my opinion. It can be found in electronic stores, in the adafruit store or on ebay and is easy to integrate into a project.

Sensors are generally not built for eternity. That’s why you have to send in the professional loggers for calibration. Fortunately, there is a method for testing loggers for accuracy by using saturated salt solutions described by Samantha Alderson and Rachael Perkins on the website of Connecting to Collections Care: http://www.connectingtocollections.org/wp-content/uploads/2012/03/Calibration-using-saturated-salt-solutions.pdf
That’s what you should do with your homebrew loggers, too. You can even built a little testing device so you only have to expose the sensors to the test, not the whole logger.

Before you let your logger log the first time you should check it against a reliable professional device. In two occasions I found linear differences between my own logger and the other device (for example one was always 1% below the reference device), which I could correct in the software. Then it’s important like I already mentioned to check your sensor regularly. If the sensor is not reliable anymore you should replace it. That’s where the price of about 9 USD comes in handy.

So much for the sensor. The next part will be about the arduino and the logger shield.

Angela Kipp

Read the other posts for this project:

This post is also available in Russian translated by Helena Tomashevskaya.

Facebooktwitterredditpinterestlinkedintumblrmail

Leave a Reply

Your email address will not be published. Required fields are marked *