Temperature and Humidity Data logging to SD card using SD card module and Arduino UNO
-
Arduino Uno
-
SD Card Module
-
DHT22/DHT11 Temperature and Humidity Sensor
-
SD Card (Higher than 8GB)
-
Breadboard(if required)
-
Connecting wires
-
Arduino IDE get it here
-
You need to manually add DHT library to Arduino IDE as it is not included by default. You can ignore it if you have already included it. Otherwise you can do it following the steps below.
a).Open Arduino IDE
b).Go to Sketch >> Include Library >> Manage Libraries
c).Search for DHT sensor library and install it -
A file to store data(in the SD card).
-
SD Card Module Ground to Arduino Ground
-
VCC of the module to 5V output of Arduino
-
MISO of module to pin 12 of Arduino
-
MOSI of module to pin 11 of Arduino
-
SCK of module to pin 13 of Arduino
-
CS of module to pin 10 of Arduino
Then we can connect the DHT22/DHT11 Sensor to the Arduino UNO
-
Connect VCC of DHT22 to 5V output of Arduino
-
Ground to ground of Arduino
-
Data pin of DHT22 to pin 8 of Arduino