Pocket-GPS | Simple project with GPS Neo-6m and ESP32

Published on

Category

In today’s fast-paced world, GPS technology has become an essential part of our lives. From navigation to tracking, GPS has a wide range of applications. In this blog, we will discuss a new project called “Pocket-GPS”, which is a compact, portable device that can receive and display values such as Altitude, Latitude, Longitude, Speed, and the number of satellites.


 

🌟 About the Project

in this project, with the help of GPS Neo-6M, We receive and display the values of Altitude, Latitude, Longitude, and Speed. also using TFT LCD I created a beautiful user interface for it. The main components used in this project are the GPS Neo-6M module, the TFT LCD (st7735), and the ESP32 microcontroller. By combining these components, we can create a device that provides accurate GPS information in real-time.

 

🎯 Features

The Pocket-GPS device has several features that make it unique and useful. The first and most important feature is its ability to display the values of Altitude, Latitude, Longitude, and Speed. These values can be displayed in real-time on the TFT LCD screen, making it easy to read and understand.

Another important feature is the number of satellites. The device can display the number of satellites it is currently connected to, allowing the user to know the quality of the GPS signal. This is important because the accuracy of the GPS values is directly related to the number of satellites connected.

 

Display the Values of:

  • • Altitude
  • • Latitude, Longitude
  • • Speed
  • • Number of Satellite

 

🧰 Components

The Pocket-GPS device uses three main components, each of which plays a critical role in the device’s functionality.

  • • GPS Neo-6M
  • • TFT Lcd st7735
  • • ESP32

 

1. GPS Neo-6M: The GPS Neo-6M is a high-performance GPS module that provides accurate GPS information. This module is capable of receiving data from multiple satellites and can calculate the user’s position in real time.

2. TFT LCD (st7735): The TFT LCD (st7735) is used to display the GPS information. The TFT LCD screen has a resolution of 128×160 pixels, making it easy to read and understand. The screen also has a beautiful user interface that makes it easy to navigate through the device’s different functions.

3. ESP32 Microcontroller: The ESP32 microcontroller is the brain of the Pocket-GPS device. It controls all of the device’s functions and communicates with both the GPS Neo-6M and the TFT LCD. The ESP32 also has built-in Wi-Fi, which allows the device to connect to the internet and receive additional data, such as weather information.

 

🔌 Schematic

The Pocket-GPS device is easy to assemble. The connections between the GPS Neo-6M, the TFT LCD, and the ESP32 microcontroller are straightforward and can be made according to the table and schematic below.

 

• ESP32 and GPS Neo-6M Connections:

ESP32 GPS Neo-6M
34 TXD
35 RXD

 

 

 

 

 

 

 

 

 

 

 

 

• ESP32 and st7735 TFT LCD Connections:

ESP32 st7735 TFT LCD
14 CS
33 RST
27 DC
18 CLK
23 DIN
5V VCC
3V3 LED
GND GND

 

 

 

 

 

 

 

 

 

⚙️ Installation

Before uploading the code you need to install ESP32 in your Arduino IDE

  • • In Arduino IDE, go to File > Preferences
  • • Enter URLs Additional Boards Manager URLs field. Then, click the “OK”

Then you need to install the required library in Arduino IDE. Follow these steps:

  • • Follow this path Sketch> Include Library> Manage Libraries
  • • Search for Adafruit_ST7735 and TinyGPS++
  • • Install the library

 

Code

If you’re interested in building this project on your own, the code is available on GitHub. Simply go to the GitHub repository, and download the code.

GitHub repository: github.com/cifertech/Pocket-GPS

 

In conclusion, the Pocket-GPS device is a compact and portable device that provides accurate GPS information in real-time. With its beautiful user interface, easy-to-read TFT LCD screen, and advanced GPS technology, this device is a valuable tool for anyone who needs to know their location and speed. Whether you are hiking, driving, or just walking around town, the Pocket-GPS is a must-have device for anyone who values convenience and accuracy.