2

I want to exchange data from a Raspberry Pi A+ and a Raspberry Pi 2 B+. I want to transfer files on the Micro SD Card from the first raspberry pi to the other one.

What are the best solution for this ? A USB to USB Direct Cable Device ? Connect some GPIO Pin of the Raspberry Pi A+ on some GPIO Pin of the Raspberry Pi 2 B+ ?

How can I do this and with what material ?

Thanks, I'm a beginner !

3

There are a couple of ways this could be done:

  • USB drive - copy the files from one Pi on to the drive, and then move them to the other.
  • Network transfer - via a protocol such as FTP, SFTP. The Pi's have to be connected to the same network (e.g. via wireless USB adapters), you will also need their IP addresses and a server running on at least one of them
  • Serial - there are two serial Pins on each Pi's GPIO, you should be able to connect them to get a basic serial connection:

    enter image description here Source

    You could then emulate a network connection over that.

  • 1
    Or a pair of bluetooth dongles? – SlySven Nov 26 '15 at 7:25
  • Forgot about that - I think they use serial as well – Wilf Nov 26 '15 at 12:40
1

One suggestion that has not yet been made is to use a PC with a card reader/writer (or if you are really well equipped, two of such things, which means you can do without the stashing mentioned below) to transfer the files between the Pis in an "off-line" way. If your PC is a Linux machine it will probably auto-mount the card(s) as you insert them so it just becomes a question of finding an area to temporarily stash the files between reading and writing the two cards.

For those of you who still remember what a floppy disk is, this process will seem reminiscent of disk swapping and MSDOS xcopy /v /s /m A:\*.* B:\...!

  • 1
    Note - you probably don't need to use the MSDOS xcopy xD – Wilf Nov 26 '15 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.