<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>SD read write tutorials?</title>
        <description> I am looking for a good tutorial on reading and writing to the SD card. I would like to be able to write a standard txt file that I can open on the pc.
I am currently using PICs in basic, but have started venturing into the Sanguino (for generation 2 or 3) which I guess is Arduino compatible. I would also like to be able to make the card readable from my hardware to the pc with it&#039;s usb cable, but that&#039;s a luxury I might put aside.
Any ideas?

thanks.</description>
        <link>https://reprap.org/forum/read.php?13,20795,20795#msg-20795</link>
        <lastBuildDate>Wed, 13 May 2026 21:14:32 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?13,20795,21352#msg-21352</guid>
            <title>Re: SD read write tutorials?</title>
            <link>https://reprap.org/forum/read.php?13,20795,21352#msg-21352</link>
            <description><![CDATA[ I do know Zach has a 2nd revision on the motherboard. I think he is going to or is having them made now or when he gets back from Spain. <br />
<br />
Bruce]]></description>
            <dc:creator>brucew</dc:creator>
            <category>Controllers</category>
            <pubDate>Wed, 11 Feb 2009 12:57:57 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,20795,21341#msg-21341</guid>
            <title>Re: SD read write tutorials?</title>
            <link>https://reprap.org/forum/read.php?13,20795,21341#msg-21341</link>
            <description><![CDATA[ Marius, nice hack!<br />
<br />
I look forward to trying to replicate your results.<br />
<br />
I'm looking for the mini-SD-card component (to put the SD card in). I prefer the one that is compatible to Zach's RepRap Motherboard (which you also seem to be using). I was intending to have a couple of them manufactured. It seems Zach has already had some produced?! I'm very interested in using a motherboard due to the clean wiring and such. After moving my RepRap once again it's broken (loose connection somewhere). I've moved it around a lot. Too much actually, but hey, it is a machine to show off with ;)!]]></description>
            <dc:creator>ErikDeBruijn</dc:creator>
            <category>Controllers</category>
            <pubDate>Wed, 11 Feb 2009 09:41:51 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,20795,21273#msg-21273</guid>
            <title>Re: SD read write tutorials?</title>
            <link>https://reprap.org/forum/read.php?13,20795,21273#msg-21273</link>
            <description><![CDATA[ The original SD card firmware, on which the LadyAda and Zach's firmwares are based, has been updated to support FAT32 and SDHC:<br />
[<a href="http://www.roland-riegel.de/sd-reader/index.html" target="_blank"  rel="nofollow">www.roland-riegel.de</a>]<br />
<br />
I just tested the new version on a Motherboard:<br />
[<a href="http://www.flickr.com/photos/kintel/3265016934/" target="_blank"  rel="nofollow">www.flickr.com</a>]<br />
<br />
My dirty hack is here:<br />
[<a href="http://reprap.svn.sourceforge.net/viewvc/reprap/trunk/users/metalab/GCode_Interpreter_SD/" target="_blank"  rel="nofollow">reprap.svn.sourceforge.net</a>]<br />
<br />
Cleanup pending.]]></description>
            <dc:creator>kintel</dc:creator>
            <category>Controllers</category>
            <pubDate>Sun, 08 Feb 2009 22:27:15 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,20795,20823#msg-20823</guid>
            <title>Re: SD read write tutorials?</title>
            <link>https://reprap.org/forum/read.php?13,20795,20823#msg-20823</link>
            <description><![CDATA[ FAT16 means that you cant put SDHC in the machine, so you're limited to 2 Gb.<br />
<br />
I am not a guru with programming pics, stopped learning programming langues when vb6 turned over to .net but i got this idea:<br />
<br />
- Read the file letter by letter, and put them in a memory slot.<br />
- When coming to the character 10 or 13(enter key), execute the text in the memory slot.<br />
- Start over until character is 3 (EOF).<br />
<br />
This could be easy done by the reader that Tobi suggested. Note that the reader position does not return to the home position (thus creating a loop)]]></description>
            <dc:creator>Mr. Seeker</dc:creator>
            <category>Controllers</category>
            <pubDate>Sun, 25 Jan 2009 05:24:42 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,20795,20813#msg-20813</guid>
            <title>Re: SD read write tutorials?</title>
            <link>https://reprap.org/forum/read.php?13,20795,20813#msg-20813</link>
            <description><![CDATA[ Hello all <br />
<br />
I have been working on this for the last week off and on. I have found 3 different libraries they are all very close here are the links and some comments on what I have found. <br />
<br />
[<a href="http://www.ladyada.net/make/waveshield/" target="_blank"  rel="nofollow">www.ladyada.net</a>]<br />
<br />
the first was Lady ADA's this was the Arduino wave shield library it is very good but it is not made for .txt files.<br />
<br />
<br />
<br />
[<a href="http://code.google.com/p/fat16lib/" target="_blank"  rel="nofollow">code.google.com</a>]<br />
<br />
<br />
This one I found it was a replacement for the Lady ADA's GPS shield. I found that this was smaller then the wave shield library Zach's library. <br />
<br />
[<a href="http://reprap.svn.sourceforge.net/viewvc/reprap/trunk/users/hoeken/sanguino-motherboard/" target="_blank"  rel="nofollow">reprap.svn.sourceforge.net</a>]<br />
<br />
this was one that zach has done some work on. The test code he has made works very well it could use code added to list all files in the root directory. (the original lady ada has that code.)<br />
<br />
As far as what I have done so far. <br />
<br />
I have tested these and have found that the 2nd one works very well and so does Zach's  I have not been able to read a line at a time and get it to work with the Gcode software. <br />
<br />
My goals have been to be able to list the file that are on the SD card and also read a gcode file line by line so the Gcode software can process. I think any of these will be able to do this. <br />
<br />
Bruce Wattendorf]]></description>
            <dc:creator>brucew</dc:creator>
            <category>Controllers</category>
            <pubDate>Sat, 24 Jan 2009 22:18:11 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,20795,20809#msg-20809</guid>
            <title>Re: SD read write tutorials?</title>
            <link>https://reprap.org/forum/read.php?13,20795,20809#msg-20809</link>
            <description><![CDATA[ [<a href="http://elm-chan.org/docs/mmc/mmc_e.html" target="_blank"  rel="nofollow">elm-chan.org</a>]  Is a good place to start for how to setup the card and the basics of communicating with SD.<br />
<br />
There are also some good tutorials and Libraries on AVRFreaks,net forums.  Use the search function.  This question gets asked a lot.]]></description>
            <dc:creator>sheep</dc:creator>
            <category>Controllers</category>
            <pubDate>Sat, 24 Jan 2009 15:38:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,20795,20807#msg-20807</guid>
            <title>Re: SD read write tutorials?</title>
            <link>https://reprap.org/forum/read.php?13,20795,20807#msg-20807</link>
            <description><![CDATA[ thanks guys, that's a really good starting point.<br />
I'll let you know how it comes]]></description>
            <dc:creator>Dylan</dc:creator>
            <category>Controllers</category>
            <pubDate>Sat, 24 Jan 2009 13:29:05 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,20795,20800#msg-20800</guid>
            <title>Re: SD read write tutorials?</title>
            <link>https://reprap.org/forum/read.php?13,20795,20800#msg-20800</link>
            <description><![CDATA[ I just got a cheap commercial compiler that has SD library functions included.<br />
<br />
[<a href="http://www.mikroe.com/pdf/mikrobasic/mikrobasic_manual.pdf" target="_blank"  rel="nofollow">www.mikroe.com</a>]<br />
<br />
Mikroelektronika has compilers in C, Basic and Pascal.  I use their Pic Basic compiler but they also have ports to other microcontroller families, AVR being one of them.  Their library functions are the most extensive I've seen.]]></description>
            <dc:creator>Forrest Higgs</dc:creator>
            <category>Controllers</category>
            <pubDate>Sat, 24 Jan 2009 09:22:26 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,20795,20797#msg-20797</guid>
            <title>Re: SD read write tutorials?</title>
            <link>https://reprap.org/forum/read.php?13,20795,20797#msg-20797</link>
            <description><![CDATA[ Some days ago, I was looking for this, too. I found out that interfacing an sd-card seems to be quite difficult - You have to handle the Sd-Card itself, FAT16 and all the files.<br />
<br />
But there is a nice library that does all this stuff here: [<a href="http://www.roland-riegel.de/sd-reader/index.html" target="_blank"  rel="nofollow">www.roland-riegel.de</a>]<br />
I also think that Bruce Wattendorf is working on this stuff, isn't he?<br />
Bruce, did you already managed to get the sd card working?]]></description>
            <dc:creator>Tobias Fleig</dc:creator>
            <category>Controllers</category>
            <pubDate>Sat, 24 Jan 2009 05:53:16 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?13,20795,20795#msg-20795</guid>
            <title>SD read write tutorials?</title>
            <link>https://reprap.org/forum/read.php?13,20795,20795#msg-20795</link>
            <description><![CDATA[ I am looking for a good tutorial on reading and writing to the SD card. I would like to be able to write a standard txt file that I can open on the pc.<br />
I am currently using PICs in basic, but have started venturing into the Sanguino (for generation 2 or 3) which I guess is Arduino compatible. I would also like to be able to make the card readable from my hardware to the pc with it's usb cable, but that's a luxury I might put aside.<br />
Any ideas?<br />
<br />
thanks.]]></description>
            <dc:creator>Dylan</dc:creator>
            <category>Controllers</category>
            <pubDate>Sat, 24 Jan 2009 04:29:06 -0500</pubDate>
        </item>
    </channel>
</rss>
