Hey everyone
So I'm pretty much a newbie at this and running into some problems early on.
I'm trying to send GPS data (lat, long) through my WiFi module to a Firebase project. So I got my MakerHawk GPS Module hooked up to my Adafruit Feather HUZZAH with ESP8266, from which I'm getting my GPS data in my serial monitor on a baudrate of 9600. RXD from the GPS module is connected to the RX port on the Feather bord, TXD is connected to the TX port and so on.
So now I'm trying to convert the NMEA sentences to readable numbers via TinyGPS++ so I can send them to Firebase. But I am not getting any data once I try to print them on the serial monitor with baudrate 115200 (baudrate needed for the Feather board).
I have currently following code to test (but clearly it's not working):
#include <TinyGPS++.h>
#include "FirebaseESP8266.h"
#include <ESP8266WiFi.h>
#include <SoftwareSerial.h>
TinyGPSPlus gps;
static const int RXPin = 15, TXPin = 16;
static const uint32_t GPSBaud = 9600;
SoftwareSerial ss(RXPin, TXPin);
void setup() {
Serial.begin(115200);
ss.begin(9600);
}
void loop() {
while(ss.available() > 0){
gps.encode(ss.read());
Serial.print(gps.location.lat(), 6);
}
}
When I look at the serial monitor at 115200 baud, it just gives me one line of some weird characters.
What am I missing? Are my pins or my wiring not correct? I tried to follow similar tutorials but it's not working on my part.
Thanks in advance!