Hi, I have a doubt. I'm working on my ty project. It uses gsm, gps, Arduino uno and raspberry pi. I want to connect gsm, gps and raspberry pi to my Arduino uno. How can I connect all these things?
Sdongre:
Hi, I have a doubt. I'm working on my ty project. It uses gsm, gps, Arduino uno and raspberry pi. I want to connect gsm, gps and raspberry pi to my Arduino uno. How can I connect all these things?
Although there's no need to use Arduino UNO as you can easily interface GPS and GSM module with your Raspberry Pi directly.
But if you wanna work on Arduino UNO, first interface GSM and GPS with UNO and then communicate between UNO and Pi via serial pins. In this case, you will need to send commands from Pi to UNO and UNO will get data from GPS or will send SMS etc as per command.
SoftwareSerial library provides 2 serial connections but I need 3 connection, so is there any library which can provide more serial connections or is there any other way to do this thing?
Sdongre:
SoftwareSerial library provides 2 serial connections but I need 3 connection,
Just to be clear, SoftwareSerial can provide one extra connection.
My recommendation is to use a Mega which has 3 spare HardwareSerial ports.
Alternatively use sensors that use an SPI or I2C interface if you want to stick with an Uno.
...R
Serial Input Basics - simple reliable ways to receive data.