7

I have three separate devices that all need access to a data serial port on the pi. My devices are an accelerometer, a GPS unit, and a GMS cell service chip. I've found tutorials on how to attach these to the pi and manipulate each individually, but my experiment really needs all three attached at once, and it is my understanding that the pi only has one serial data input.

Is there a solution to attach all three devices to my pi? I'm using a raspberry pi 2.

Steve Robillard
  • 34,988
  • 18
  • 106
  • 110
jake9115
  • 299
  • 1
  • 3
  • 9

1 Answers1

6

You could:

  • utilize a couple of USB to serial adapters like this one.
  • you could use a microcontroller that has multiple serial ports (e.g. arduino mega) to gather the data and transfer it to the Pi, or
  • you could get a serial to I2c or spi adapter that connects to the GPIO pins.

More info can be found in this thread.

Steve Robillard
  • 34,988
  • 18
  • 106
  • 110