TTGO V1 no GPS signal

Thread Starter


Joined Apr 11, 2019
Hey Folks, I am encountering the following problem. I have a TTGo board V1 and i tried compiling this code on it
#include <TinyGPS++.h>

#include <axp20x.h>

TinyGPSPlus gps;

HardwareSerial GPS(1);

AXP20X_Class axp;

void setup()



  Wire.begin(21, 22);

  if (!axp.begin(Wire, AXP192_SLAVE_ADDRESS)) {

    Serial.println("AXP192 Begin PASS");

  } else {

    Serial.println("AXP192 Begin FAIL");


  axp.setPowerOutPut(AXP192_LDO2, AXP202_ON);

  axp.setPowerOutPut(AXP192_LDO3, AXP202_ON);

  axp.setPowerOutPut(AXP192_DCDC2, AXP202_ON);

  axp.setPowerOutPut(AXP192_EXTEN, AXP202_ON);

  axp.setPowerOutPut(AXP192_DCDC1, AXP202_ON);

  GPS.begin(9600, SERIAL_8N1, 34, 12);   //17-TX 18-RX


void loop()


  Serial.print("Latitude  : ");

  Serial.println(, 5);

  Serial.print("Longitude : ");

  Serial.println(gps.location.lng(), 4);

  Serial.print("Satellites: ");


  Serial.print("Altitude  : ");

  Serial.print(gps.altitude.feet() / 3.2808);


  Serial.print("Time      : ");






  Serial.print("Speed     : ");




  if (millis() > 5000 && gps.charsProcessed() < 10)

    Serial.println(F("No GPS data received: check wiring"));


static void smartDelay(unsigned long ms)


  unsigned long start = millis();



    while (GPS.available())


  } while (millis() - start < ms);

I can see that the GPS LED is blinking so it means that i’m getting fixes but i still see “No Gps” on the serial interface, did anyone have the same problem and could be able to solve it?

Thread Starter


Joined Apr 11, 2019
Have you seen the example sketch

The GPS data can be viewed on a standard serial terminal,
Suggest you print the strings received to the terminal
yo should be getting lots of strings,

My guess is you either have corrupted data , or wrong pin out.
The problem is that i have checked the pinout and it's also written on the board. The data that is shown is 0.0.0 and then no GPS signal
if your looking directly at the GPS output , then it should have the NEMA strings,
even with zero values in the strings, you should still be receiving the sentences,

Have you connected the terminal direct to the GPS module ?

Thread Starter


Joined Apr 11, 2019
if your looking directly at the GPS output , then it should have the NEMA strings,
even with zero values in the strings, you should still be receiving the sentences,

Have you connected the terminal direct to the GPS module ?
Is that possible with the TTGO?
in Arduino world yo have the test sketches in the IDE,
are you using the Arduino IDE ?

In the tools, under examples, you have a sketch MultiSerial

What that sketch does is reads one serial port and send the data to the other,
The serial ports can have different baud rates.

Set the sketch up for the two ports your using,
and then whatever the GPS is sending will be sent to your Arduino terminal on the computer.
( Control shift M on the PC )

Now that your connected direct to the GPS,
then you can see what its sending out.

At start up, the GPS module should be sending out a constant string of characters, in a message structure,
if the thing is not locked, you should still be getting the strings out, just with zero data in them,


To understand the NMEA message structure, let’s examine the popular $GPGGA message. This particular message was output from an RTK GPS receiver:


If you get no strings out,
the problem is the GPS to board interface.
If you get strings , but never any data , your GPS is not locking

Give it a go,


Joined Apr 11, 2010
I can’t see the MultiSerial example sketch right now, but if it uses software serial ports, there are restrictions on the software ports. Particularly with regard to simultaneous communications. You might need an Arduino model with multiple hardware serial ports. The Uno is not one. The Mega is.
The sketch is just a few lines, it does not use software serial , but can if needed , just include the library. new software serial is better,

The program just goes around and around in a tight loop, so software serial would not have a problem,

File -> examples -> 04:communication -. Multiserial.

void setup() {
// initialize both serial ports:

void loop() {
// read from port 1, send to port 0:
if (Serial1.available()) {
int inByte =;

// read from port 0, send to port 1:
if (Serial.available()) {
int inByte =;
How are you connecting the board to the GPS module? Is it a direct wire? Or an USB connection.

I am unfamiliar with your board, but have since learned that it has three hardware serial ports. If it’s an USB connection, then you can write a short sketch to test the second serial port using the serial monitor on the USB.

A second question is unlikely to be relevant, but is your GPS module connected to serial1? The articles I found have GOS connected to serisl2