Arduino SD Cards and Datalogging

This is my first in a series of more advanced Arduino tutorials.

Arduino SD Cards and Datalogging

[box type=”note” color=” #202020 ” bg=”#ffbb00 ” font=”verdana” fontsize=”14″ radius=”20 ” border=”#000″ float=”right” head=”Attributes”]Thanks to Jeremy , for this articles[/box]

Now that we’ve covered the basics in tutorials 1-10 (you have watched them all right!?), it’s time to start pursuing some more complex projects! In this episode, we’ll utilize an SD card shield from cooking-hacks.com to create a datalogger.


First, I’ll walk you through the process of reading from, and writing to an SD card. Then, we’ll utilize some of our knowledge from tutorials 4, 6, 7, and 8 to add several sensors that we can poll periodically using our datalogger. The logger will record sensor values to its SD card in a useful format so that we can later use a computer program like Microsoft Excel to visualize the data. Download the schematics and source code first so you can reference them while you watch the video. For the first time, I’m using fritzing to draw the circuit schematics. So, take a look at them, and let me know what you think!

 Arduino SD Cards and Datalogging Schematic

You can download the files associated with this episode here:

 

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]PARTS LIST
1.   Arduino Uno:  http://us.element-14.com/arduino/a000046/arduino-uno -board/dp/13T9285
2.   SD Card Shield w/ Card:  http://www.cooking-hacks.com/index.php/microsd-2gb -module-for-arduino.html
3.   USB Cable: http://us.element- 14.com/jsp/search/productdetail.jsp?SKU=73H0884
4.   Arduino Software:  http://arduino.cc/en/Main/Software
5.   Breadboard: http://us.element-14.com/jsp/search/productdetail.jsp?SKU=17C6965
6.   Jumper Kit:   http://us.element-14.com/3m/923351-i/pcb-accessories/dp/65F2290
7.   IR Distance Sensor   (x2) :  http://us.element-14.com/sharp/gp20a41sk0f/dp/14N9318
8.   I2C Celsius   Temperature Sensor:  http://us.element-14.com/microchip/tc74a0 -5- 0vat/ic -thermal- sensor – 2-c-to220 -5/dp/92C6554
9.   Photoresistor:   http://us.element-14.com/eg- g- vactec/vt90n1/ldr-200kohm -80mw – vt900-series/dp/99F4265
10.  12V Power Supply:  http://www.sparkfun.com/products/9442
11.  10k ohm Resistor  (x3) :  http://us.element-14.com/multicomp/mccfr0w4j0103a50/resistor-carbon -film -10kohm-250mw/dp/58K5002[/box]

For more detail: Arduino SD Cards and Datalogging


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top