Comments on: ESP32 TFT with LVGL: Display GPS Location, Date, and Time https://randomnerdtutorials.com/esp32-tft-lvgl-gps-data/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 23 Jul 2025 08:08:36 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Matheww https://randomnerdtutorials.com/esp32-tft-lvgl-gps-data/#comment-1073661 Wed, 23 Jul 2025 08:08:36 +0000 https://randomnerdtutorials.com/?p=163170#comment-1073661 Is it possible to put this GPS in the car or even on the keys to avoid or detect theft faster?

]]>
By: omega https://randomnerdtutorials.com/esp32-tft-lvgl-gps-data/#comment-1026462 Sun, 13 Apr 2025 08:35:34 +0000 https://randomnerdtutorials.com/?p=163170#comment-1026462 Hi,
the position on the map is correct, but the time is wrong. I have it 2 hours less than it actually is. Is there any way to fix this?
Thanks for your help.

]]>
By: Renzo https://randomnerdtutorials.com/esp32-tft-lvgl-gps-data/#comment-1012115 Sat, 01 Mar 2025 10:16:04 +0000 https://randomnerdtutorials.com/?p=163170#comment-1012115 In reply to Renzo.

Solved
#define RXD2 3 //Instead of 27
#define TXD2 1 //Instead of 22

]]>
By: Renzo https://randomnerdtutorials.com/esp32-tft-lvgl-gps-data/#comment-1011929 Fri, 28 Feb 2025 17:35:28 +0000 https://randomnerdtutorials.com/?p=163170#comment-1011929 Hi Sara,
I uploaded the sketch to ESP32-2432S028R.
The display appears but no data appears.
Maybe Rx and Tx of the board are not connected to pins 22 and 27 or the GPS is not working.
To which pins are Rx and Tx really connected?
Tanks
Renzo

]]>
By: Kumar https://randomnerdtutorials.com/esp32-tft-lvgl-gps-data/#comment-1008117 Sat, 15 Feb 2025 14:03:48 +0000 https://randomnerdtutorials.com/?p=163170#comment-1008117 Hi, I have complied your ESP32 TFT GPS Data – Arduino Code sketch and it returned compilation error as given below:

In file included from C:\Users\kumar\Documents\Arduino\sketch_feb13a\sketch_feb13a.ino:25:0:
C:\Users\kumar\Documents\Arduino\sketch_feb13a\gps_image.h:169:1: sorry, unimplemented: non-trivial designated initializers not supported
};
^

exit status 1

Compilation error: exit status 1

Please help to fix this error. Thanks.

]]>
By: Roni Difabel https://randomnerdtutorials.com/esp32-tft-lvgl-gps-data/#comment-1000028 Wed, 15 Jan 2025 07:26:58 +0000 https://randomnerdtutorials.com/?p=163170#comment-1000028 Thank you, this tutorial really helps me and here I want to ask what if I want to monitor using a cellphone, so that when I install it in a vehicle it can be monitored properly. Thank you

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-tft-lvgl-gps-data/#comment-998553 Thu, 09 Jan 2025 14:20:02 +0000 https://randomnerdtutorials.com/?p=163170#comment-998553 In reply to Jan Weiss.

Hi.
Please double-check the location of the library files as mentioned in this tutorial: https://randomnerdtutorials.com/lvgl-esp32-tft-touchscreen-display-ili9341-arduino/
Regards,
Sara

]]>
By: Jan Weiss https://randomnerdtutorials.com/esp32-tft-lvgl-gps-data/#comment-998407 Wed, 08 Jan 2025 21:40:24 +0000 https://randomnerdtutorials.com/?p=163170#comment-998407 Deleted all the libraries and files I copied for this, and re-downloaded the libraries and copied the files again into the directory. This time I got the same warnings except x not naming a type, and it then uploaded to my board. And writes a picture to it.
Having soldered the pins to a GPS and continuity-checked my pins I attached it to the ESP. Now the LED on the GPS comes on but no LEDs for TX and RX. Not massively worried as I am indoors and can test the GPS on an arduino using the Examples in TinyGPS.
BTW withe the GPS attached my ESP does not produce enough juice to run both the screen and the GPS (a GT-U7), but from the 5V pin the Led on the GPS burns and I get a picture on the screen.

]]>
By: Jan Weiss https://randomnerdtutorials.com/esp32-tft-lvgl-gps-data/#comment-998367 Wed, 08 Jan 2025 17:49:41 +0000 https://randomnerdtutorials.com/?p=163170#comment-998367 File attachment went well!
Here’s the text
In file included from /Users/vlad/Documents/Arduino/Mysketches/4 -Tests- kit and programs/RandomgeekespGPS/RandomgeekespGPS.ino:25:
/Users/vlad/Documents/Arduino/Mysketches/4 -Tests- kit and programs/RandomgeekespGPS/gps_image.h:15: warning: “LV_BIG_ENDIAN_SYSTEM” redefined
15 | #define LV_BIG_ENDIAN_SYSTEM
|
In file included from /Users/vlad/Documents/Arduino/libraries/lvgl/src/../src/lv_conf_internal.h:60,
from /Users/vlad/Documents/Arduino/libraries/lvgl/src/../src/lv_init.h:16,
from /Users/vlad/Documents/Arduino/libraries/lvgl/src/../lvgl.h:21,
from /Users/vlad/Documents/Arduino/libraries/lvgl/src/lvgl.h:16,
from /Users/vlad/Documents/Arduino/Mysketches/4 -Tests- kit and programs/RandomgeekespGPS/RandomgeekespGPS.ino:15:
/Users/vlad/Documents/Arduino/libraries/lvgl/src/../src/../../lv_conf.h:350: note: this is the location of the previous definition
350 | #define LV_BIG_ENDIAN_SYSTEM 0
|
In file included from /Users/vlad/Documents/Arduino/Mysketches/4 -Tests- kit and programs/RandomgeekespGPS/RandomgeekespGPS.ino:21:
/Users/vlad/Documents/Arduino/libraries/TFT_eSPI/TFT_eSPI.h:1:1: error: ‘x’ does not name a type
1 | x/***************************************************
| ^
In file included from /Users/vlad/Documents/Arduino/libraries/TFT_eSPI/TFT_eSPI.h:33:
/Users/vlad/Library/Arduino15/packages/esp32/hardware/esp32/3.0.7/libraries/SPI/src/SPI.h:75:25: error: ‘SPISettings’ has not been declared
75 | void beginTransaction(SPISettings settings);
| ^~~~~~~~~~~
/Users/vlad/Documents/Arduino/Mysketches/4 -Tests- kit and programs/RandomgeekespGPS/RandomgeekespGPS.ino:69:19: warning: ‘text_label_speed’ defined but not used [-Wunused-variable]
69 | static lv_obj_t * text_label_speed;
| ^~~~~~~~~~~~~~~~
/Users/vlad/Documents/Arduino/Mysketches/4 -Tests- kit and programs/RandomgeekespGPS/RandomgeekespGPS.ino:68:19: warning: ‘text_label_altitude’ defined but not used [-Wunused-variable]
68 | static lv_obj_t * text_label_altitude;
| ^~~~~~~~~~~~~~~~~~~
/Users/vlad/Documents/Arduino/Mysketches/4 -Tests- kit and programs/RandomgeekespGPS/RandomgeekespGPS.ino:67:19: warning: ‘text_label_longitude’ defined but not used [-Wunused-variable]
67 | static lv_obj_t * text_label_longitude;
| ^~~~~~~~~~~~~~~~~~~~
/Users/vlad/Documents/Arduino/Mysketches/4 -Tests- kit and programs/RandomgeekespGPS/RandomgeekespGPS.ino:66:19: warning: ‘text_label_latitude’ defined but not used [-Wunused-variable]
66 | static lv_obj_t * text_label_latitude;
| ^~~~~~~~~~~~~~~~~~~

exit status 1

Compilation error: exit status 1

]]>
By: jan Weiss https://randomnerdtutorials.com/esp32-tft-lvgl-gps-data/#comment-998365 Wed, 08 Jan 2025 17:48:23 +0000 https://randomnerdtutorials.com/?p=163170#comment-998365 In reply to Sara Santos.

Thank you. I have sorted it. I spent an afternoon trying to find the pin definitions in the header files (including those in a project that had worked for me) and couldn’t find the ones for T_IRQ or T_OUT. Luckily the seller linked me to a proper manual for the board with an accurate pin definition picture. On my board GPIO34 is marked “VP” and GPIO39 is marked “VN”.
Sadly the code failed to compile both in IDE 1.8 and 2.3.3
/Users/vlad/Desktop/GPSfail-IDE2.3.3.txt

]]>