Arduino Based Data Logger (Temperature)

The project described here is a simple Arduino Based Data Logger which can be used at any place where data is needed to be stored for further processing and monitoring.

The project posted here basically store temperature, humidity with date and time in regular intervals on an SD card or a computer, or both. The wide range of operations and data rate of 12 samples per minute make this circuit more versatile and attractive at the same time. The data logging can be adjusted as per desire by changing the delay function in the program.

Other Data Logger projects posted in bestengineeringprojects.com

  1. Data Logger Using Computer
  2. ESP8266 Temperature Logger using PIC16F887

Circuit Description of Arduino Based Data Logger

The circuit of Arduino Based Data Logger is shown in figure 1, employs four main particular electronics components i.e. Arduino Uno Board, Real-Time Clock Module (RTC DS3231), SDcard Module, and Temperature and humidity sensor module (DHT-11). An Arduino Uno board is the heart of this project. Arduino Uno Board has 14 digital pins and 6 analog pins out of which all the pins can be used for input and output.

arduino based data logger

For date and time, we had utilized an RTC (Real Time Clock) module. The module we had used here is DS3231. This module is equipped with a real-time clock IC. The various functions of RTC module DS3231 are calendar, 24-hour, and 12-hour time format with AM and PM indication. The two pins SDA and SCL of DS3231 module are connected to analog pin A4 and A5 of Arduino uno board respectively as shown in the circuit diagram. This module is equipped with a 3-volt CMOS bottom cell thus no need for an external power supply to run the RTC module internally.

For storing data (date, time, temperature, and humidity) we had using a MicroSD card. For interfacing MicroSD cards with Arduino UNO, we had used a MicroSD card module. The four lines CS, MOSI, MISO, and SCK of MicroSD card are connected to digital pin 4, 11, 12, and 13 of Arduino uno board respectively as shown in figure 1.

A temperature and humidity sensor module DHT-11 is used here to monitor the temperature and humidity of the environment. The output of this sensor is digital thus DOUT pin of DHT-11 is connected to digital pin 7 of the Arduino uno board.

All the module used in this project (RCT Module, SD card Module, and Temperature and humidity sensor module DHT-11) is powered using an Arduino board. The Arduino uno board gets its input voltage from the 9V power supply through the DC jack line.

PARTS LIST OF ARDUINO BASED DATA LOGGER

Arduino Uno Board

RTC Module – DS3231

Temperature and Humidity Sensor – DHT-11

MicroSD Card Module

MicroSD Card

Software Code: The software code for Arduino Based Data Logger is written in Arduino Programming Language and is burn-in Arduino Uno Board using Arduino IDE. You can directly download the software code folder from the link given below. The folder contains the DHT-11 Sensor Library and software code.

Click Here To Download Software Code

Working on the project Arduino Based Data Logger:

The working procedure of the project is summarized in a few points shown below:

  1. Connect all the circuits as shown in the circuit diagram.
  2. Burn the program on Arduino uno board using Arduino IDE
  3. Wait a few seconds for the initialization of the sensor module.
  4. Temperature, humidity with date and time is stored on an SD card in .txt format. (log.txt)
  5. Connect the SD card module to the computer and open Log.txt. The Log.txt file looks like the below image when opened.

Leave a Comment