About This Project

In this tutorial, we will learn about IoT (Internet of Things) on how to make real-time GPS location tracker through the help of NodeMCU ESP 12E by using our mobile phones.

Project Info

  • Programming Platform: Arduino IDE
  • Difficulty: Intermediate
  • Estimated Time: 3 Hrs
  • Category: IoT

Introduction

Everyday we use Google Maps to track a location. So, this tutorial is to let you understand the logic behind how it actually is working. By using the NodeMCU ESP 12E module we can make the same thing that we see on our mobile phones. We can attach this module on our luggage, vehicle, etc in order to find the location if somebody steals away our properties.

What is NodeMCU ESP 12E ?

In NodeMCU ESP 12E, there are 30 pins in total, out of which there are 17 GPIO (General Purpose Input Output) pins. There are 9 digital pins ranging from D0-D8. It’s only one analog pin “A0” which is a 10 bit ADC. The “D0” pin can only be used to read or write data and can not perform other options. It is enabled when the EN pin is HIGH. When this pin is LOW the chip works at minimum power. The board has a 2.4 GHz antenna for a long range of network, the CP2102 is a USB to TTL converter. The development board equips the ESP 12E module, containing ESP8266 a chip having Tensilica Xtensa 32-bit, LX106 RISC microprocessor which can operate ranging from 80 to 160 MHz, and Clock Frequency can be adjusted.

It has 128KB RAM, and also 4MB of Flash memory for program and data storage just enough to cope with the large strings that makeup web pages. It is an Integrated board, equipped with 802.11/b/g/n HT40 WiFi transceiver, so it can not only connect to a WiFi network and interact with the Internet. The NodeMCU ESP 12E can also set up a network of its own and allow other devices to connect directly. Due to this, ESP8266 NodeMCU makes it more versatile.

Project: IoT Based GPS Location Tracker Using NodeMCU and GPS Module

Now that we have a clear understanding of the project and the components used, let’s start the project.

soil-motsture-notification

Components Required

IMAGE COMPONENT QUANTITY

nodemcu-sp-12E

NodeMCU ESP 12E

1

android-phone

Android Phone

1

Breadboard

Breadboard

1

jumper-wire

Jumper Wires

As Per Required

cable-a-to-b

USB a to b

1

GPS Location Tracker module

1

Building Guide

Step 1: Assembly

  • Collect all the required components and place them on the breadboard.

Step 2: Connections

  • As per the below given connections.

gps-location-tracker-connection

Step 3: When the connections are done, start the coding as given below.

CODING:




Step 4: Now, go to the Blynk App and create a new project. Then, set up the necessary settings.

  • Generate the authentication code and replace the default code in the program with the new code received from an email ID.

Step 5: To set up the necessary settings for making real-time GPS location tracker follow the below-given steps.

gps-location-tracker-creat-new-project
select-gps-tracker-map
select-gps-tracker-map-1
gps-location-tracker-satellite-mode
gps-location-tracker-satellite-mode-1

  • Set Longitude Pin according to the defined pin in the program.

  • Set Satellite Pin according to the defined pin in the program.

set-satellite-pin-according-to-the-defined-pin-in-the-program

  • Set Direction Pin according to the defined pin in the program.

set-direction-pin

With this we have come to an end of making the real-time GPS location tracker. This is how easy it is to track the location with accurate IST time with real rime GPS location tracker. Have you tried working on the project? If yes, how was your experience? Leave your comments below to let us know.

Code

DESCRIPTION

DOWNLOAD CODE

IoT Based GPS Location Tracker Using NodeMUC Code


Download Code

Libraries

Blynk Library Master


Download Code

Tiny GPS Plus Master


Download Code