+21622886281
ESP32 Internet of things Project

GPS tracking using ESP32 and IoT platform on MQTT

Objective of this project:

This tutorial shows how to connect NEO-6M GPS module to ESP32 development board, get GPS data and publish latitude and longitude positions to Ubidots IoT cloud in real time via MQTT protocol.

NEO-6M GPS Module Specifications

Basically, the NEO-6M GPS module works by determining how far away it is from a number of satellites. It is preprogrammed to know where the GPS satellites are at any given time and then calculate the location on Earth using the well-known trilateration process.

This project uses the low-power NEO-6M GPS module, battery-friendly, inexpensive, easy to interface with microcontrollers, and incredibly popular among hobbyists.

Necessary components

  • ESP32
  • GPS NEO-6M module
  • SSD1306 display
  • Connecting wires

Mounting

To perform the assembly, you must connect:

For GPS NEO-6M module:

  • the TX pin to the RX pin of the ESP32 board

  • the RX pin to the TX pin of the ESP32 board

  • the GND pin to the GND pin of the ESP32 board

  • the VCC pin to the 3.3V pin of the ESP32 board

For SSD1306 display:

  • the SDA pin to the D21 pin of the ESP32 board

  • the SCL pin to pin D22 of the ESP32 board

  • the GND pin to the GND pin of the ESP32 board

  • the VCC pin to the 3.3V pin of the ESP32 board

Programme en micropython

Remarque: il faut importer ces bibliothèque suivantes: ssd1306, simple, nmea et micropyGPS




1 commentaire

Hans 26-05-2222

I have read so many posts concerning the blogger lovers but this article is actually a nice post, keep it up.


Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top