You have to download the following two libraries The above steps might sound complicated but they are very easy since we have the libraries to do the hard job for us. Store the Date, Time, Temperature and Humidity on a Excel Sheet running on a computer/Laptop.Store the Date, Time, Temperature and Humidity into the SD card.Initialize the SPI bus to interface the SD card module with Arduino.Initialize the I2C bus to read data from RTC module.Read data from DTH11 Sensor (or any other data that you wish to log).We have to write the Arduino program which can do the following. We previously interfaced SD card with Arduino in Music player project. The pins 4 and 7 are defined as the CS pin and output pin by Arduino program, you can change them to any other pin if required. The RTC module DS3231 is interfaced with Arduino using the I2C communication (SCL, SDA) and the SD card module is interfaced using the SPI Communication (MISO, MOSI, SCK, CS). You can check LM35 with Arduino to read temperature. You can replace the DHT11 temperature sensor with any of your sensor from which you need to log the values.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |