In this project, I am going to demonstrate to you how to log data from LM35 temperature sensor values to an SD card and store it as CSV.
- 10,833 views
- 0 comments
- 10 respects
Components and supplies
| × | 1 | |
| × | 1 | |
| × | 1 | |
| × | 2 |
A variety of serial logger, serial recorder, serial data logger, and serial data recorder. 16 gigabytes internal memory; Powered from a USB port, or external power. Card readers; Reverse-engineering of data exchange protocols; Backups of. Serial Data Logger With SD Card This module can very easily be attached to any of the roboteq's motor controller serial port. Then, using microbasic scripting, any operating data can be fetched from the controller and send to the logger.
Apps and online services
About this project
In this project, I am going to demonstrate to you how to log data from LM35 temperature sensor values to an SD card and store it as CSV file, with the help of the idIoTware shield.
Temp:
We are using LM35 temperature sensor to monitor the temperature. The idIoTware shield has a built in, on board, LM35 sensor.
- The sensor has a sensitivity of 10mV / oC.
- We use a reciprocal conversion factor, that is 100 oC/V.
- The output voltage varies linearly with temperature.
- The general equation used to convert output analog voltage (Vout) to temperature is:
- Temperature ( oC) = Vout * (100 oC/V)
![Logger Logger](/uploads/1/2/6/2/126288059/347784805.jpg)
- So if Vout is 0.5V , then, Temperature = 50oC
However on the idIoTware shield, the LM35, temperature sensor is wired such that with a higher temperature we get a higher Analog Voltage on PIn A0.
Working
This example shows how to log data from LM35 temperature sensor to an SD card using the SD library.
![Capture Capture](/uploads/1/2/6/2/126288059/116864319.jpg)
In this example we have created a CSV file with the temperature values every one minute for 15 minutes. This interval rate and duration is configurable. If there is existing file, then it will create new file with different name.
Configuring Idiotware Shield
Once we upload the code in Arduino, you need to test the temperature sensor data on the serial monitor. It's time to keep the device in some place where you want to collect the temperature data for day or even month!
Once you copy the csv file from sd card.you can plot the temperature graph using excel software.
No more connecting leds to breadboard and messy wiring. With the idIoTware shield the sky's the limit.
Code
Schematics
Team members
IdiotWare Team
- 19 projects
- 14 followers
Rupin Chheda
- 36 projects
- 68 followers
Jehangir Khajotia
- 14 projects
- 16 followers
Published on
December 14, 2016Write a comment
Members who respect this project
and 5 others
See similar projectsyou might like
Table of contents
Write a comment