Using two serial ports[SOLVED]


Hello, I would like to use two serial ports. I am using a RaspberryPi 3 and GrovePi. I have two sensors, one grove GPS and one Grove CO2 sensor. Both need to work on serial port. I tried with RaspberryPi Serial (’/dev/ttyUSB0’) and I don’t know which one to open for the Grove PI Serial

Can we use these two serial ports simultaneously? if not, how I can connect and acquire data from both serial sensors?



You can only connect once serial sensor at a time to the GrovePi/Raspberry Pi. The sensor you connect to the RPISER port is accessible on /dev/ttyAMA0. To connect more serial sensors, the easiest way would be to use Serial to USB convertors like the FTDI. You’ll have to breakout the serial pins like this and use a module like this to connect it to the USB ports.


ok, thank you for the information and the fast reply.

closed #4

This topic was automatically closed after 24 hours. New replies are no longer allowed.