Page 1 of 1

Re: Two Pis talking to each other

Posted: Wed Apr 18, 2012 6:01 am
by svrsig
Is it possible to connect two Pis together via the serial port lines on the header? Obviously connecting other equipment to a Pi this way requires level shifting etc but connecting two Pis together should not need any such?

Re: Two Pis talking to each other

Posted: Wed Apr 18, 2012 6:27 am
by spurious
Ethernet is probably the easiest way to connect them.

But if you are determined to connect them together directly, you will be able to, but it will require you to write code to act as the communication, and do some soldering to get a small circuit together, connection the GPIO.

All sounds like too much hassle to me.

Re: Two Pis talking to each other

Posted: Wed Apr 18, 2012 6:31 am
by naicheben
I think you can connect the without levelshifter via SPI or if you need longer distances (more than side by side) try with serial to RS232 chips from Maxim. Look at Gerts examplecode for the Gertboard inthe Downloadsection.