Skip to main content
edited title
Link
Steve Robillard
  • 34.9k
  • 18
  • 104
  • 109

The easyesteasiest way to make some rasberry pi communicate

I need to make few rasberry piRaspberry Pi communicate (but should be nice to have a system that can be easily scaled up). The boards could be at big distance from each other (from few centemetrscentimeters to 15 meters one from each others), and iI need them to communicate. I think the best for my need shouldwould be a master-slavesslave communication, and a doubletwo-way communications (master sends commands to the slaves and recivesreceives a data back when the board has finished its job).

The communications hasI need the communication to be more realtimesas realtime as possible, thread-based (if a slave is doing some computationally heavy job it has to answer anyway), doubletwo way (master to slave and slave to master asynchronously), and the message has tomessages will be short (fewa few numbers, some strings, no more).

I think iI have some different possibilities, the first came up in my mind is ethernetEthernet (but iI need the extra cost of a router).

Someone point me out that it could be more lower communication (talking about electronicalelectronic protocols like SPI, i2cI²C, etc). This could be more general considering to use as slave (or even the master) an arduinoArduino.

I would use any programming languages but iI would like very much to use pythonPython :-)

I need to make few rasberry pi communicate (but should be nice to have a system that can be easily scaled up). The boards could be at big distance from each other (from few centemetrs to 15 meters one from each others), and i need them to communicate. I think the best for my need should be a master-slaves communication, and a double-way communications (master sends commands to the slaves and recives a data back when the board has finished its job).

The communications has to be more realtimes as possible, thread-based (if a slave is doing some computationally heavy job it has to answer anyway), double way (master to slave and slave to master asynchronously), and the message has to be short (few numbers, some strings, no more).

I think i have some different possibilities, the first came up in my mind is ethernet (but i need the extra cost of a router).

Someone point me out that it could be more lower communication (talking about electronical protocols like SPI, i2c, etc). This could be more general considering to use as slave (or even the master) an arduino.

I would use any programming languages but i would like very much to use python :-)

I need to make few Raspberry Pi communicate (but should be nice to have a system that can be easily scaled up). The boards could be at big distance from each other (from few centimeters to 15 meters one from each others), and I need them to communicate. I think the best for my need would be a master-slave communication, and a two-way communications (master sends commands to the slaves and receives a data back when the board has finished its job).

The I need the communication to be as realtime as possible, thread-based (if a slave is doing some computationally heavy job it has to answer anyway), two way (master to slave and slave to master asynchronously), and the messages will be short (a few numbers, some strings, no more).

I think I have some different possibilities, the first came up in my mind is Ethernet (but I need the extra cost of a router).

Someone point me out that it could be more lower communication (talking about electronic protocols like SPI, I²C, etc). This could be more general considering to use as slave (or even the master) an Arduino.

I would use any programming languages but I would like very much to use Python :-)

Source Link
nkint
  • 215
  • 3
  • 9

The easyest way to make some rasberry pi communicate

I need to make few rasberry pi communicate (but should be nice to have a system that can be easily scaled up). The boards could be at big distance from each other (from few centemetrs to 15 meters one from each others), and i need them to communicate. I think the best for my need should be a master-slaves communication, and a double-way communications (master sends commands to the slaves and recives a data back when the board has finished its job).

The communications has to be more realtimes as possible, thread-based (if a slave is doing some computationally heavy job it has to answer anyway), double way (master to slave and slave to master asynchronously), and the message has to be short (few numbers, some strings, no more).

I think i have some different possibilities, the first came up in my mind is ethernet (but i need the extra cost of a router).

Someone point me out that it could be more lower communication (talking about electronical protocols like SPI, i2c, etc). This could be more general considering to use as slave (or even the master) an arduino.

I would use any programming languages but i would like very much to use python :-)