Go Down

Topic: Reading microSD card directly from USB serial port (Read 15391 times) previous topic - next topic



Is it possible to read a microSD card (on a breakout) through the USB port on the arduino? or perhaps another USB port I could attach to the breakout?  Basically, I would like to read data off the card with my laptop without having to go and remove it each time!



Is it possible to read a microSD card (on a breakout) through the USB port on the arduino?

From the PC, no. The SD card reader is not a separate piece of hardware that you can connect directly to.

You could program the Arduino to respond to serial commands that direct it to return data from/about the SD card. Then, you'd need to write an application on the PC that could send the relevant commands and react to the returned information.


Sounds easy, but not for a newbee 8)
Is is possible with a ethetnet shield?
I have an Seeeduino stalker and i want to copy the log file from the SD card to my pc once a while.
Does anyone know how i can do this easy?


Is is possible with a ethetnet shield?



Thats not what i want to hear, but i have to live whit this fact.

There is also a serial connection on the board. Does somebody know if its possible to dowlaod the lof file on the SD card by using de serial connection?


Does somebody know

I know but you don't want to here that either.


mmm, so the only possibility is to remove the SD card and put in my PC?
Thats too bad....


An SD card uses an SPI interface. You can talk to it with any device that can handle SPI, like the arduino. So the arduino can talk to your card and then use that data for something. Like in the Lady Ada sound shield or in various graphics LCD shields.

However, SPI is not a protocol that the PC talks, things like card readers convert the USB protocol to SPI and back to USB so the PC can make sense of it.



It seems thats it is possible, but i realise i have to learn more first, before i start this project......


There is an example that uses a webserver to allow you to download the files on the SD.

I am using the version 22 compiler. I found this on the first look through the examples and libraries.

I am using the standard Arduino Wiznet Ethernet shield with the micro-SD card. I tested this -- it works fine on my Mega2560.
Just another Hacker


Is is possible with a ethetnet shield?


what is this?




So the arduino can talk to your card and then use that data for something.

The Arduino can also talk to the serial port. You could develop an application on the PC that would tell the Arduino to spool data from the SD card back to the PC, via the serial port. The PC application would then need to store the data spooled back.

Pretty simple application for the PC and for the Arduino.


Arduino isn't the right tool for this job.

Ask not "can I do this with Arduino", ask "what I need to get this done."

I suggest a Teensy, or a Teensy++, they have built-in USB

Freelance engineer, consultant, contractor. Graduated from UW in 2013.


It wouldn't be possible to connect directly with the sd card trough a separate usb cable hooked onto the sd shield?
Not going trough Arduino, so the sd cards looks just like a normal card connected directly to the pc.

My problems is that I need to make a watertight enclosure and i need access to the sd card files.


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131