Can I use two Software Serial. For first software serial is for Neo6mv2 gps Module and for the second one is sim800lv2 gsm module. For example:
#include"TinyGps++.h"
#include"SoftwareSerial.h"
SoftwareSerial sim800l(2,3); //Rx, Tx
SoftwareSerial serial_connection(12,13); //Rx,tx
You can, but only one can be listening for received characters at a time. See: SoftwareSerial::listen()
https://docs.arduino.cc/learn/built-in-libraries/software-serial
You can. Here is a video that may help you: SoftwareSerial Library for making Multiple Ports using Arduino and Proteus | multi ports - YouTube
@
Your other topic on the same subject deleted.
Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.
Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.
Repeated duplicate posting could result in a temporary or permanent ban from the forum.
Could you take a few moments to Learn How To Use The Forum
It will help you get the best out of the forum in the future.
Thank you.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.