Getting two serial communication in ESP8266

Hi everyone,
Currently I'm working on a project which is using two NEO 6m GPS modules. Previously I used Arduino NANO board to my project and I used Software Serial and tiny GPS++ libraries to connect GPS modules to Arduino and getting position.
Now I moves to ESP8266 board because it is more powerful than Arduino NANO. But I don't know how to connect two GPS modules to ESP8266. I have download library which named SoftwareSerial but I cant understand it clearly. Software Serial in Arduino is clearly defined pin numbers for RX and TX but that's not in this library. I'm new to ESP8266 and this library is very complex to me.
So I need your help to getting an idea abut using software serial in ESP8266. If you can provide any kind of example code (pin define and void setup section), I really appreciate it.
Thank you.

Just have a look at the documentation/README or the examples, as you should do every time you use a new library. (see the begin() method...)

1 Like

This one may help a bit: https://www.instructables.com/ESP8266-Two-Serial-Ports-With-SoftwareSerial-Libra/

1 Like

is there any specific reason why you have chosen the ESP8266?
If you check the ESP32 you will see, that the ESP32 has 3 HW Serials. If you haven't invested to much time in the ESP8266 I suggest to use a ESP32 for two GPS Modules.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.