How to use GPS module with SIM800L Module?

  • I can't find the document. help me please.

  • Change the pins for the GPS module as follows (by cutting the existing bridge and re-soldering). Only downside is, that the Serial monitor/output is not available anymore

    • RXD: 1
    • TXD: 3
    • PPS (not connected)

    Now, you can use the GPS module on the serial port 0:

    // The TinyGPS++ object
    TinyGPSPlus gps;
    // The serial connection to the GPS device
    HardwareSerial gps_serial(0);
    // ... (within a loop/smart delay)
    while (gps_serial.available())

    For the SIM800L you can use the regular configuration without changing anything:

    #define SerialAT Serial2
    TinyGsm modem(SerialAT);
    TinyGsmClient client(modem);

  • Thx sir.

Log in to reply

Looks like your connection to M5Stack Community was lost, please wait while we try to reconnect.