Send data from sd card through rs232 to a computer

Hello,

I want to do data transfer from SD card through RS232 to a computer. May be I also need some protocol to send the data from SD card to RS232.

Thanks in advance!

There are plenty of threads that deal with the reading of SD cards. Sending it through RS232 is not too difficult either, but you need some extra external hardware. The serial ports on an arduino are at 5v signal level. RS232 uses 12v and has the signal inverted.

Can I ask what device is going to receive this data?

Hi, thanks for the fast reply. I want to send a G-code (NC code for CNC machine) to a CNC machine which don't have internal memory. The CNC machine has only RS232 port and read the data from it.

Ah right!
Then what you want to do is exactly what you asked for :slight_smile:

How much of the hardware do you have sorted so far. (card reader? RS232 for the arduino?)

I have a sd card module and every kind of Arduino controlers - Mega,Uno, Nano, Leonardo etc. Also have RS232 to TTL convertor.

How did you go with this? I am looking at similar project