Go Down

Topic: Direct File Transfer From SD to PC (Read 125 times) previous topic - next topic

Bailor16

I am trying to get files from an SD card on to a PC.  The SD will not be accessible to take out and the system that has the SD card will not be connected to anything while it takes readings.  The Serial Monitor can tell it saves data to newly created files yet the project will be given to people who do not have programs that work like the Arduino IDE Serial Monitor.  Is there a reference program that can tell the Arduino to open up the files to allow the PC to see or interact, through the Arduino, the files on the SD card?

Grumpy_Mike

Quote
Is there a reference program that can tell the Arduino to open up the files to allow the PC to see or interact, through the Arduino, the files on the SD card?
No, but it would not be hard to write such a thing.

Quote
The Serial Monitor can tell it saves data to newly created files yet the project will be given to people who do not have programs that work like the Arduino IDE Serial Monitor.
So what you need to do is to write something on the PC with a nice friendly user interface and get them to use that.

allanhurst

You can buy usb interfaced  sd-card read/writers on eg ebay for a few pounds.

Allan

Nick_Pyner

#3
Jul 04, 2017, 02:11 am Last Edit: Jul 04, 2017, 02:14 am by Nick_Pyner
the system that has the SD card will not be connected to anything while it takes readings...........
yet the project will be given to people who do not have programs that work like the Arduino IDE Serial Monitor.
This seems rather like nonsense. Anybody who has the PC the you expect them to have, and are actually inclined do whatever it is that you expect them to do with the files, will have the wherewithall to do it, and somewhat better than the Arduino IDE serial monitor. They just need a proper terminal programme, like RealTerm, which are made for the purpose. There are others like it, and they are all free.

It seems that all you really need at the Arduino end is to include some code from the DumpFile example that is included in the IDE, and does exactly what your headline requires.  There would be several ways to arrange the transfer. I simply send the date via bluetooth and receive the relevant file whenever convenient.  While it is always a good idea to have recording to SD, it may not be actually needed, and it takes no more to have the same data, or part thereof, broadcast live simultaneously. This means the same terminal can pick up the data live, or on demand off the SD.

Go Up