Skip to main content
3 of 3
added 18 characters in body
Anonymous Penguin
  • 6.4k
  • 10
  • 34
  • 62

I'm working on the same project (with the same hardware) and I have an identical problem. Seems like an HTTP request blows up your serial monitor, but is not true in my view. In fact, if you use the TinyGPS++ library will not have this problem anymore. Take as reference the GsmWebClient example, you can add a few lines of code.

This is all you need for parse with tinyGPS:

#include <AltSoftSerial.h>

#include <TinyGPS++.h>

TinyGPSPlus gps;

AltSoftSerial ss;

//Add this to your sketch, in loop() or setup()

ss.begin(9600);

while (ss.available() > 0)
 
    if (gps.encode(ss.read())) {
        gps.location.lat(); //return latitude as a double
        gps.location.lng(); //return longitude as a double
}