Arduino ProjectsLORA PROJECTS

Arduino LoRa GPS Tracker for Car, GPS Lora Tracker, Geofence tracker, GPS Vehicle Tracking

Arduino LoRa GPS Tracker for a Car:

Arduino LoRa GPS Tracker

Arduino LoRa GPS Tracker for Car- In this article, you will learn how to make a Car/Vehicle tracking system using Arduino, Neo 6M GPS module, a pair of SX1278 LoRa transceiver modules, a 1-channel relay module, SSD1306 Oled display module, and a 5V buzzer.

Besides the car GPS coordinates, this LoRa GPS tracker also informs you whether the car is within the Geofence region or is it outside the Geofence. So, you may also call this GPS LoRa tracker a Geofence tracker. Further, this Arduino-based LoRa tracker also displays the distance and by using this button, you can also disable a car’s computer system, and then nobody can start your car. A lot of things are going to be explained within this article. So, relax and keep reading this article. And, if you have any sort of query in your mind, you can ask about it in the comments section or if you have any suggestions, you are most welcome.

Anyhow, before a practical demonstration, there are certain points, which are very important and which I want to share with you. In my last two projects, I designed two different types of trackers.

In my first project, I implemented Geofencing technology in an attempt to reinforce my car security.

Arduino LoRa GPS Tracker

As I have elaborated in my previous article, you can define a virtual boundary around any area with the help of Geofencing by means of using GPS coordinates. In a similar fashion, I built up a virtual fence for my car so that whenever my car happened to go out of that prescribed area, I received an alert message on my cell phone which prompted me that “the car is outside the fence”.

Arduino LoRa GPS Tracker

The vehicle tracking system, which I designed in my 2nd project, was quite amazing. You can request your car’s GPS coordinates at any time by sending a message from your cell phone.

Arduino LoRa GPS Tracker

The best thing about my designed tracker is that it also sends you a Google map link apart from the GPS coordinates. By using this link, you can find your car or any other vehicle by tracking it. To clearly explain the GSM-based car tracking system, I used my car to be stolen and then I located it with the help of the tracker.

Arduino LoRa GPS Tracker

Moreover, I also introduced the accident monitoring feature in my car tracker. Whenever the car’s front bumper was hit, I received an accident alert message on my cell phone.  Furthermore, I also added the function of over-speed monitoring in my car’s tracker. Whenever a car’s speed exceeded a certain limit, the buzzer always turned ON and it kept turning ON as long the car speed was not reduced.

Guys, you might think that when I have already done all this on such an advanced level, then what is the need for making a LoRa GPS tracker? The answer is pretty simple. I used GSM in those two trackers, and in today’s car tracker, I am going to use LoRa.

Arduino LoRa GPS Tracker

Now it is up to you to decide whether you have to use a GSM or LoRa for your car’s tracking. If you want to track your car within a range of thousands of kilometers, then I suggest you use GSM. However, it is worth remembering here that thieves have GSM jammers nowadays, and when they plan to steal your car, you will not receive any message on your cell phone. This is one of the greatest drawbacks of the GSM-based tracking system.

And, if you use the long-range LoRa tracker, you can track your car within a range of up to 10 km in real-time. And, if you use LoRaWAN, then you can even track your car within thousands of km range.

As you know LoRa GPS is an absolutely new technology, so thieves do not have jammers for it as yet, which is obviously a plus point.

Arduino LoRa GPS Tracker

My designed LoRa GPS tracker is pretty tension free because I have applied Geofencing technology to it. So, as soon as the car drives out from the Geofence, the buzzer will turn ON, and then I can wirelessly disable the management system of my car by pressing this button. For practical demonstration watch the video tutorial given at the end of this Article.

Altium Designer & Altium 365:

Altium 365

Altium 365 lets you hold the fastest design reviews ever. Share your designs from anywhere and with anyone with a single click. it’s easy, leave a comment tagging your teammate and they’ll instantly receive an email with a link to the design. Anyone you invite can open the design using a web browser. Using the browser interface, you’re able to comment, markup, cross probe, inspect, and more. Comments are attached directly to the project, making them viewable within Altium designer as well as through the browser interface. Design, share, and manufacture, all in the same space with nothing extra to install or configure. Connect to the platform directly from Altium Designer without changing how you already design electronics. Altium 365 requires no additional licenses and comes included with your subscription plan. Start with Altium Designer and Activate Altium 365.

Practical demonstration:

Arduino LoRa GPS Tracker

This place is the center point of my Geofence and the maximum distance which I have selected is 30 meters. I have already explained the Geofencing technology and its implementation in detail.

Arduino LoRa GPS Tracker

For demonstration purposes, I have connected a relay with the front lights of my car. While in its real implementation, you have to make this connection with the wire, through which the car’s entire computer system can be turned ON or OFF. For this purpose, you can view the wiring diagram of your car, otherwise, you may contact an experienced car technician.

Anyway, now I can control the front lights of my Car using button on the receiver side.

Arduino LoRa GPS Tracker

Right now, the lights are ON, which means that the car’s computer system is ON and my brother can start the car. Now as soon as my brother drives out the car from the Geofence, the buzzer on the receiver’s side will turn ON, which will indicate that the car has gone out from the Geofence, and then I can disable the car’s computer system by pressing this button. Now you can view the car’s real location on the display. As the car is still within the limits of the Geofence, therefore 0 is written on the display. When the car gets out from the Geofence, then 1 will be displayed here.

There is a distance on its side, which is actually the distance between the car and the Geofence center. It means that this distance shows how much the car is away from the center of the Geofence.

Arduino LoRa GPS Tracker

On the display you can see the D:31 this means the distance has exceeded the maximum limit which is 30 meters, this means the car has moved outside the Geofence and this is why you can see 1 next to S. When the receiver gets S:1 the buzzer is turned ON.

Now by pressing this button, I can turn OFF the Car’s computer system, which I am presenting through lights.

So, you have watched practically, how useful this system is. Not only a car, but you can track down any object through this system. You can track your animals, to be more specific, you can use it as a dog tracker, and so on. I am sure by now you might have got an idea of how does this system works. So, without any further delay, let’s get started!!!

Amazon Links:

Arduino Nano

Arduino Uno

Neo 6M GPS

LoRa SX1278 Module

SSD1306 128×64 Oled i2c display Module

Other Tools and Components:

Top Arduino Sensors:

Super Starter kit for Beginners

Digital Oscilloscopes

Variable Supply

Digital Multimeter

Soldering iron kits

PCB small portable drill machines

*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!

SX1278 LoRa Module:

In this project we are using the same SX-1278 LoRa modules for the transmitter and receiver. In order to use it as a receiver and transmitter we will make change in the code. Lora SX-1278 long distance wireless transceiver module integrates Semtech RF transceiver chip SX1278, which adopts LoRa TM Spread Spectrum modulation frequency hopping technique. The features of long distance and high sensitivity (-139dBm) make this module perform better than FSK and GFSK module. Multi-signal won’t affect each other even in crowd frequency environment; it comes with strong anti-interference performance. This module is 100mW and ultra small size, widely used in AMR , remote industrial control filed.

Arduino LoRa GPS Tracker


  • Frequency Range: 868 / 915 MHz
  • Sensitivity up to -139dBm @Lora
  • Maximum output power: 20 dBm
  • 13mA@receiver mode
  • Sleep current <200 nA
  • Data transfer rate: @FSK,1.2-300 Kbps
  • @Lora TM, 0.018-37.5 Kbps
  • Lora TM, FSK, GFSK & OOK Modulation mode
  • Built-in ESD Protection
  • 127 dB Dynamic Range RSSI
  • Packet engine up to 256 bytes with FIFO and CRC
  • Hopping frequency
  • Built-in temperature sensor and low battery indicator
  • Excellent blocking immunity
  • Operating Temperature Range:-40 ~ + 85 °C


  • Remote control
  • Remote meter reading
  • Home security alarm and remote keyless entry
  • Industrial control
  • Home automation remote sensing
  • Individual data records
  • Toys control
  • Sensor network
  • Tire pressure monitoring
  • Health monitoring
  • Wireless PC peripherals
  • Tag reading and writing

Neo 6M GPS Module:

Arduino LoRa GPS Tracker

GPS or Global Positioning System is a satellite navigation system that furnishes location and time information in all climate conditions to the user. GPS is used for navigation in planes, ships, cars, and so on. GPS provides continuous real-time, 3-dimensional positioning, navigation, and timing worldwide. The GPS is used to finding the Longitude and Latitude values.


  • Power supply: 3V-5V
  • Models: GY – GPS6MV2
  • Module with ceramic antenna, signal strong
  • EEPROM save the configuration parameter data when power down
  • With data backup battery
  • The LED signal lights
  • The default baud rate: 9600
  • Compatible with various flight control modules
  • Module size 25 x 35 mm  (0.98” x 1.37”)
  • Antenna size: 25 x 25 mm  (0.98”x 0.98”)

LoRa GPS Tracker Tx, Circuit Diagram:

Arduino LoRa GPS Tracker

The Tx and Rx pins of the Neo 6M GPS module are connected with the Arduino pins 8 and 9, while the VCC and GND pins of the GPS module are connected with the Arduino’s 5V and GND.

One channel relay module is connected with the Arduino digital pin 3. While the voltage and ground pins of the relay module are connected with the 12 volts, and GND.

The VCC of the LoRa module is connected with the 3.3V of the Arduino. The MISO Pin of the LoRa module is connected with the Arduino pin 12. The MOSI pin is connected with pin 11. The SCK pin of the LoRa module is connected with pin 13. The NSS pin is connected with the Arduino’s pin 10 and the ground pin of the LoRa module is connected with the Arduino’s GND.

On the left side, you can see a 5V regulated power supply based on the LM7805 voltage regulator. We use this regulated 5 volts to power up the Arduino and all the other electronics.

LoRa GPS Tracker Rx, Circuit Diagram:

Arduino LoRa GPS Tracker

The connections of the 5V regulated power supply and SX1278 Lora Transceiver module remain exactly the same.

The SDA and SCL or SCK pins of the SSD1306 Oled display module are connected with the A4 and A5 pins of the Arduino. While the VCC and GND pins of the Oled display module are connected with the Arduino’s 5 volts and GND pins.

A Button is connected with Digital pin D4. A 5V buzzer is connected with the Arduino Pin 5. A 2n2222 NPN transistor is used to control the 5V buzzer. Now, let’s take a look at the programming.

LoRa GPS Tracker Programming:

This Arduino and LoRa-based Car GPS tracking system is based on two programs. One program is written for the transmitter side to which GPS is connected, whereas another program is written for the receiver side. Download the following libraries.

Download: LoRa.h

Download: Adafruit_GFX.h

Download: Adafruit_SSD1306.h

LoRa GPS Tracker, Arduino Tx Code:

I created this code by combining the codes of my previous two projects. LoRa based two way communication system and Arduino Geofencing technology. So, the purpose of this code is to find the distance between any two GPS co-ordinates using the Haversine formula and then accordingly set the status.

Finally, I send the complete message which consists of the Latitude, Longitude, Status, and distance values.

It also controls the relay depending on the signal received from the receiver side. So, the transmitter side is able to send and receive the data. Now, let’s take a look at the Receiver side programming.

LoRa GPS Tracker, Arduino Rx Code:

Almost 70% of this code is similar to the transmitter code because I am using the same LoRa code on both the sides. The purpose of this code is to print the Latitude, Longitude, status, and distance on the Oled display module. The receiver side also has a button which is used to control a relay on the transmitter side, the button status is stored in a variable and is then sent in a message.

So, that’s all for, for more detailed explanations watch the video tutorial given below.

Watch Video Tutorial:


Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...


  1. Hi, I am trying a similar project. I am using neo 6m and sim 808 modules with arduino uno to get car’s speed and send a message if the car is exceeding the speed limit. Can you guide me that whether I am using the correct components or not. And what should be my startegy. I have written a code for sending the message which works fine the only problem I am having is defining a speed limit. I have to do that manually right now. But I want it to get it automatically some way, compare the current speed and the speed limit and then go on to sedn the message and ring a buzzer. The major problem is whatever I design has to be placed inside the car for demonstration so I have to make it compact and with minimum alterations to the car.
    If you have any ideas or can help me with my FYP I would love to talk to you more.
    You can even share links of articles from where I might get help.

  2. Thank you for sharing and I hope you will respond.
    Im going to build one and on the TX side will include an mpu6050 like you did in the drowning project.
    On the RX I would like to get info of the signal rssi? How to do it? I see it uncomment in the code.
    I would love also to be able to send notification to my mobile so Im thinking to use a esp8266 and do the telegram bot to push notification.
    What do you think? Or should I go with gsm?

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button