ESP8266 GPS TRACKING SYSTEM

0

ESP8266 GPS TRACKING SYSTEM – Hello creators In this tutorial we are going to make  Real-Time GPS tracking system using , NodeMCU ESP8266 wifi, Neo 6M GPS module module and GSM 900a module.

What is ESP8266 GPS TRACKING SYSTEM

With all technology available to us in this time , it’s not hard to build a safety device for women or children which will send a message to your friends, family, or concerned person So that they will be able to track with the message sent by us

With that point keeping in mind Here we will build a ESP8266 GPS TRACKING SYSTEM, which they can inform police or anyone, using the current live location

To make this, here we are using an NODEMCU ESP8266  which can be interfaced with GPS and GSM module for sending SMS alerts and getting the location of coordinates.

How to Send GPS Location Via SMS using GSM and NODEMCU?

The three main components of this project are GPS module(Global Positioning System), GSM Module (Global System for Mobile), and ESP8266 . Here we are sending the live location when we press push switch then it will be our real time location by SMS through GSM module.

 Required components for this project

ESP8266 Nodemcu (CLICK HERE)

NEO-6M GPS  ( CLICK HERE)

900A GSM Module (CLICK HERE)

Push switch  (CLICK  HERE)

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way! thank you *

GPS Module

Here we are using the NEO6M GPS module , The NEO-6M GPS module is a on of the popular GPS receiver

NEO-6 devices are a family of receivers manufactured by U-Blox , which can be easily connected to an automaton.

The NEO-6 family of GPS receivers are designed to have a small size, low cost, and low consumption. The required current intensity is about 37mA in continuous measurement mode.

The NEO-6 GPS have a UART, SPI, DDC (I2C) and USB communication interface. NMEA, UBX binary and RTCM protocols are supported.

The supply voltage is 2.7 to 3.6V for the NEO-6Q / 6M models, and 1.75-2.0V for the NEO-6G models.

GPS are widely used in electronics and Arduino projects, IOT projects for tracking or especially in the case of robots and vehicles such as quadcopters to be tracked in case if its lost while operation

Features: 

  • Communication Protocol: NEMA
  • Interface: UART
  • Operating voltage: (2.7-3.6)V DC
  • Operating Current: 67 mA
  • Baud rate: 4800-230400 bps (9600 Default)
  • External antenna and built-in EEPROM.

Pinout of GPS module:

  • VCC: Input voltage pin of Module( positive power supply)
  • GND: Ground pin to which negative power supply will be given
  • RX, TX: UART communication pins with Microcontroller

GSM Module SIM900

The GPRS / GSM SIM900 is the simplest way to connect your projects with Arduino or nodemcu  to the cellular network and in this way to be able to send and receive text messages (SMS).

The SIM900 works in the GSM bands of 850/900/1800 / 1900MHz. All you need to add cellular functionality to your project is a SIM card and you can now start sending messages, making calls, among others.

The main chip of the Shield is the SIM900: a low cost and widely supported GSM / GPRS modem. The SIM900 supports AT commands by Serial UART, through the use of the commands it allows to send and receive SMS, make calls and connect to the Internet.

Introduction to AT Commands  (CLICK HERE

Features:

  • Supply voltage: 5V –12V
  • SIM Card Socket
  • Frequency bands: SIM900A Dual-band: EGSM900, DCS1800.
  • Operating Temperature: -30ºC to +80ºC
  • Supports MIC and Audio Input
  • Speaker Input
  • UART interface support
  • Firmware upgrade by debug port
  • Communication: AT Commands

Schematic Diagram

The circuit diagram is shown below:

we will add small push switch that works as SOS button along with NODEMCU.

How the SOS function works?

When the victim presses the SOS push switch then a HIGH signal gets generate and passes to the NODEMCU side, and then NODEMCU sends a signal to SIM900 model.

Later send an SMS to Registered user along with the GPS coordinate which has already been store in the eESP8266 by the help of NEO6M GPS module.

After successful completion of the Hardware connections, now it’s time for programming in the NodeMCU Esp8266

Code for ESP8266 GPS TRACKING SYSTEM project

Click here to download code for this project

How to upload code?

  • Connect your Node MCU to computer later open Arduino IDE
  • Just copy and paste the above given code in IDE
  • Make sure to select proper port number and type of board before you click on Upload
  • Click on upload and wait for some time if you are using Node mcu for first time
  • After some time code will be upload successfully, if you get any error it might be due to missing library
  • You can download missing library from git-hub for free
  • Just type in google your desired library which is missing(you can check this on error tab)
  • Search for those libraries and download
  • Open IDE and add library from functions which can be seen on menus above
  • Try to upload

NextPCB PCB Manufacturers Company 

1st Thanks NextPCB  for sponsor this project. Nextpcb offer  For New Customer, Your First Order Will Be 10 PCBs for just $0 at Free.

NextPCB   one of the world’s most professional                PCB manufacturers based in China. With professional PCB manufacturing capabilities, for each file of our customer will be double-checked by more than 14 years PCB engineers. they handle the whole process of PCBs including the PCB assembly ,PCB manufacturing, testing and final shipment.

If you get any other issues while upload process i will be helping you!, Just make sure to leave type of error which you are getting in comment box

 GPS Tracking 

When the push switch button is press,  an SMS will come to the authorize number containing the latitude and longitude of the location of the victim.

The video of how this entire tracking system works is shown below :

Share.

About Author

Leave A Reply