{"id":908,"date":"2014-03-09T19:04:33","date_gmt":"2014-03-09T18:04:33","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=908"},"modified":"2014-03-09T19:05:15","modified_gmt":"2014-03-09T18:05:15","slug":"arduino-use-a-sd-card-reader","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=908","title":{"rendered":"Arduino : use a SD Card Reader"},"content":{"rendered":"<p>Today, something easy : lets use a SD Card Reader with our arduino.<\/p>\n<p>Can be useful for instance when you want to log datas such as temperatures or any other sensor.<\/p>\n<p>I use this component from DS : <a href=\"http:\/\/dx.com\/p\/meeeno-sd-card-slot-socket-reader-module-for-arduino-orange-silver-223653\">SD Card Slot Socket Reader<\/a>.<\/p>\n<p>First the wiring : standard SPI (SCK\/MOSI\/MISO\/CS).<\/p>\n<p><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/sd_bb.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/sd_bb-279x300.png\" alt=\"sd_bb\" width=\"279\" height=\"300\" class=\"alignnone size-medium wp-image-909\" srcset=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/sd_bb-279x300.png 279w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/sd_bb-954x1024.png 954w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/sd_bb.png 1368w\" sizes=\"auto, (max-width: 279px) 100vw, 279px\" \/><\/a><\/p>\n<p>Then some arduino skeches taken from the Arduino examples (note that I use CS=10 with my arduino uno, adapt if needed) :<\/p>\n<p><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/SD_CardInfo.txt\">Retrieve basic infos from your SD card and list files<\/a><br \/>\n<a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/SD_ReadWrite.txt\">Read and Write to a file (test.txt)<\/a><br \/>\n<a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/SD_DumpFile.txt\">Dump the content from a file (test.txt)<\/a><\/p>\n<p>That was it : quick and easy !<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, something easy : lets use a SD Card Reader with our arduino. Can be useful for instance when you want to log datas such as temperatures or any other sensor. I use this component from DS : SD Card Slot Socket Reader. First the wiring : standard SPI (SCK\/MOSI\/MISO\/CS). Then some arduino skeches taken <a href='https:\/\/labalec.fr\/erwan\/?p=908' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-908","post","type-post","status-publish","format-standard","hentry","category-arduino","category-18-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=908"}],"version-history":[{"count":2,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/908\/revisions"}],"predecessor-version":[{"id":914,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/908\/revisions\/914"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}