Skip to content

DIY battery powered, weatherproof, multi-sensor temperature logger with real time clock.

Notifications You must be signed in to change notification settings

Fahofah/arduino-outdoor-temperature-sensors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Portable Weatherproof Multi-Sensor Temperature Logger with SD Card

Overview

This project introduces a battery-powered thermometer designed to monitor temperature consistently, recording data onto an SD card. Equipped with an RTC (Real-Time Clock) module, it ensures precise and uninterrupted time tracking, even when not connected to a power source.

The initial intent behind this project was to create a tool for automated temperature monitoring during thermophilic composting. This process requires precise temperature control for specific time periods to achieve optimal results. The logged data serves the purpose of verifying the efficacy of the composting process and provides insights for potential enhancements. However, the tool's flexibility allows for its application in diverse scenarios beyond composting.

box_above

Detailed instructions on how to build one for yourself can be found in the Setup Instructions document.

Code Description

The Arduino code for this project initializes the sensors, RTC module, SD card, and other components. It reads temperature data from DS18B20 sensors, timestamps it using the RTC module, and writes it to a CSV file on the SD card. The code includes functions for initializing the components, reading and writing data, and managing the RTC.

The default logging interval is 30 minutes but that can be adjusted based on your use case, along with some other parameters - check out the Customising the Code document to learn more about these.

Plotting the Results

As the results are outputted to CSV file they can easily be worked on in many applications, including Excel. However, the repo also contains a Python script that plots the temperature logs on a time chart (python dependency installations are not included).

plot_temp_log.py

Potential improvements

  • Error catching/logging
  • Additional LED indicators
  • A button/switch for graceful start/stop
  • Incorporating a weather API to separately add outside temperature for the period readings are taken, so that it can be overlayed onto the time chart/analysis
  • Adding a solar panel for battery recharge during operation

Author

Fahri Ulucay

License

Free to use and distribute.

About

DIY battery powered, weatherproof, multi-sensor temperature logger with real time clock.

Topics

Resources

Stars

Watchers

Forks