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); gps_serial(GPSBaud); // ... (within a loop/smart delay) while (gps_serial.available()) gps.encode(gps_serial.read());
For the SIM800L you can use the regular configuration without changing anything:
... #define SerialAT Serial2 TinyGsm modem(SerialAT); TinyGsmClient client(modem); ...
-
Thx sir.
-
esptool.py v2.6-beta1
Serial port COM3
Connecting......................................_____A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
-
@poydevelop Try to clean the flash
-
how to cutting the existing bridge?
-
I re-soldering RX-1 and TX-3. is it correct?
-
@poydevelop Need to cut the two lines which are RX-17, TX-16 with a knife first, then re-sold RX-1, TX-3
-
@watson
Thank you sir, knife it work.