{"id":1155,"date":"2012-03-13T16:06:13","date_gmt":"2012-03-13T14:06:13","guid":{"rendered":"http:\/\/blog.cipworx.org\/laserman\/?p=1155"},"modified":"2012-03-13T17:53:28","modified_gmt":"2012-03-13T15:53:28","slug":"arduino-sd-card-success","status":"publish","type":"post","link":"https:\/\/blog.cipworx.org\/laserman\/2012\/03\/13\/arduino-sd-card-success\/","title":{"rendered":"arduino: SD-card success!"},"content":{"rendered":"<p>Mein erstes Projekt, welches komplett mit 3,3V l\u00e4uft. Ich habe keinen 3,3V Festspannungsregler auf Lager aber einen DC-DC Wandler den ich auf 3,30V einstellen konnte. Ein Atmega328 l\u00e4uft mit 16MHz Quarz, daran angeschossen mein USB-serial Kabel und mein DIY micro-SD card slot: Ein handels\u00fcblicher microSD nach SD Adapter steckt in einem alten ISA Steckplatz-Sockel. Vermutlich kann ich die 6 Kabel auch direkt an den Adapter anl\u00f6ten und somit viel Platz sparen.<br \/>\nDie Br\u00fccke f\u00fcr GND von Pin 3 auf 6 ist \u00fcbrigens in dem Adapter schon eingebaut.<br \/>\nIn den Beispiel-Sketches &#8220;DumpFile&#8221; und &#8220;ReadWrite&#8221; musste ich jeweils<br \/>\nden ChipSelect Ausgang bei SD.begin() von 4 auf 10 \u00e4ndern.<\/p>\n<p>Binary sketch size: 11698 bytes (of a 30720 byte maximum)<\/p>\n<p><strong>Pinbelegung (ohne Gew\u00e4hr)<\/strong><\/p>\n<pre>\r\nmicro-SD card\r\n-------------\r\n1 n.c.\r\n2 CS\r\n3 DI\r\n4 +3,3V\r\n5 CLK\r\n6 GND\r\n7 DO\r\n8 n.c.\r\n\r\nSD card\r\n-------\r\n9 n.c.\r\n1 CS\r\n2 DI\r\n3 GND\r\n4 +3,3V\r\n5 CLK\r\n6 GND\r\n7 DO\r\n8 n.c.\r\n\r\nSD-Card    Arduino (Atmega)\r\n---------------------------\r\n+3,3V      +3,3V\r\nGND        GND  \r\nCLK        Digital 13, SCK (PB5)\r\nDO         Digital 12, MISO (PB4)\r\nDI         Digital 11, MOSI (PB3)\r\nCS         Digital 10,      (PB2)\r\n<\/pre>\n<p><a href=\"http:\/\/www.dharmanitech.com\/2009\/01\/sd-card-interfacing-with-atmega8-fat32.html\">http:\/\/www.dharmanitech.com\/2009\/01\/sd-card-interfacing-with-atmega8-fat32.html<br \/>\n<\/a><\/p>\n<p><a href=\"http:\/\/www.frank-zhao.com\/cache\/fat_sd.php\">http:\/\/www.frank-zhao.com\/cache\/fat_sd.php<\/a><\/p>\n<p><a href=\"http:\/\/www.avrprojects.info\/avr-interfacing\/reading-and-writing-sd-card-using-atmega16\/\">http:\/\/www.avrprojects.info\/avr-interfacing\/reading-and-writing-sd-card-using-atmega16\/<\/a><\/p>\n<p><a href=\"http:\/\/elasticsheep.com\/2010\/01\/reading-an-sd-card-with-an-atmega168\/\" title=\"elasticsheep.com\">http:\/\/elasticsheep.com\/2010\/01\/reading-an-sd-card-with-an-atmega168\/<\/a><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.23hq.com\/6812767\/7685810_f03c504de6d16d8db333322d887bcf60_large.jpg\" alt=\"atmega with SD card\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mein erstes Projekt, welches komplett mit 3,3V l\u00e4uft. Ich habe keinen 3,3V Festspannungsregler auf Lager aber einen DC-DC Wandler den ich auf 3,30V einstellen konnte. Ein Atmega328 l\u00e4uft mit 16MHz Quarz, daran angeschossen mein USB-serial Kabel und mein DIY micro-SD card slot: Ein handels\u00fcblicher microSD nach SD Adapter steckt in einem alten ISA Steckplatz-Sockel. Vermutlich [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1155","post","type-post","status-publish","format-standard","hentry","category-electronics"],"_links":{"self":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/1155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/comments?post=1155"}],"version-history":[{"count":5,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/1155\/revisions"}],"predecessor-version":[{"id":1160,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/1155\/revisions\/1160"}],"wp:attachment":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/media?parent=1155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/categories?post=1155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/tags?post=1155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}