Simple Arduino Data Logger
A data logger is an electronic device or instrument that records data over a period of time. It allows the user to record time or location stamped data which can be viewed at a later time or real time.
Irrespective of the type of data being logged or the kind of data logger, these devices usually contain two main units, the sensor unit and the storage/communication unit. The sensor unit may involve the use of an external instrument or a sensor embedded within the device. Increasingly, but not entirely, data logging devices are becoming more based on micro processors and microcontrollers, which has opened up a whole new level of data gathering and storage.
For today’s tutorial, our focus will be on building an Arduino based data logger that reads the temperature of the environment every few minutes and saves the data in a micro sd card.
The Project is based on the Arduino nano and the DS3231 RTC Module which has a temperature sensor and a real time clock on board.
The following components are required to build this project:
- DS3231 RTC
- Micro SD card module
- Arduino Nano
- Multimeter Mastech 8268
- AA Battery holder
- Small Breadboard
Connect the components as shown in the circuit diagram below.
The data logger is made up of the Arduino Nano, the Ds3231 RTC Module, and a micro SD card module. The micro SD card module communicates with the arduino over SPI as explained in a detailed tutorial here, while the DS3231 module communicates with the arduino over I2C. A detailed tutorial on the DS3231 module can also be found here.
To simplify the connection further, a pin map of the connections in the schematics is done below.
Connection between Arduino and Micro SD card Module:
Read more: Simple Arduino Data Logger
This Post / Project can also be found using search terms:
- msp430 w600