Geofencing in Cars using Arduino, GPS, and GSM, Geofence GPS Tracker, Geofence Technology

preview_player
Показать описание
Altium Designer:

Download circuit diagram and code:

Subscribe to my New YouTube Channel, if you want to watch my videos in Hindi/Urdu

related projects:

Real-Time GPS Tracker using SIM7600G and Adafruit Map:

SIM7600G and ESP32 getting started tutorial:

Indoor position tracking with MaUWB ESP32S3:

ESP32 GPS Tracker using SIM7600G-H 4G LTE module and Google Maps

SIM900A GSM module:

SIM800L GSM/GPRS module getting started video:

SIM800L with Blynk IoT Cloud:

Women safety project:

Real-time GPS tracker IoT Project using Nodemcu ESP8266 & Blynk:

Support me on Patreon and get access to hundreds of projects:

Project Description:
********************
In today’s episode, you will learn how to define a geographical zone to track if your car is leaving or entering that zone using Geofencing technology. With Geofencing the system uses the GPS signals from the tracking device to pinpoint the location and marks the limits of an area. This ‘area’ is the Geofence.

A Geofence is a virtual fence or an imaginary border drawn around a point by a GPS tracking system. Once a Geofence is created, it can be used as a trigger for alerts and events. For example, your tracker system can tell you whenever one of your vehicles enters or leaves the area. A geofence can be of any size or shape, it can be a straight line, a rectangle, a square, a circle, or an irregular shape.

A circular type Geofence is very easy to implement, we simply define the center of the circle with the initial Latitude and longitude values and then we compare these latitude and longitude values with the Latitude and longitude values of the GPS module fixed inside a car. We calculate the distance between any two GPS co-ordinates using the Haversine Formula.

The calculated distance is then compared with the pre-defined distance value. So, if the calculated distance is greater than the pre-defined distance then it means the Car or any other object has moved outside the Geofence. Now, it depends on you, what activity do you want the Controller board to perform, you want to stop the car? Or do you want to send an Alert message? Or do you want to activate the Buzzer? It totally depends on you, what activity you want to perform when the car leaves the Geofence. In my case, I will use the SMS alert along with Google’s map GPS coordinates. So, this was a brief introduction about, what is a Geofence? And how I am going to implement this technology.

Due to the ongoing construction in my home, for the next few days, I will be parking my car over here. This location is about half a kilometer away from my house, this area is quite secured but still, I want my car to be under my observation. I have already designed an anti-theft system for my car which is currently installed, I have a very detailed video on this. I will provide a link in the description if you want to make a smartphone-controlled Car automation and Anti-theft system.

Anyways, to create a Geofence for my car, I am going to use Arduino Nano, Neo 6M GPS Module, and the SIM900A GSM module. Before I am going to explain the circuit diagram and programming, first let’s watch the Geofence technology in action.

********************

Amazon Purchase links:
*****************
Arduino Nano USB-C Type ( recommended):

ESP32 WiFi + Bluetooth Module for iOT Projects (recommended), more IO pins, improved speed, and supports a Lipo Battery:

Neo 6M GPS

GSM SIM900A

Other must-have Tools and Components:

Top Arduino Sensors:

Super Starter kit for Beginners

DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for your support!
****************

For more Projects and tutorials visit my Websites

Electronic Clinic:

Programming Digest:

Follow me on Instagram:

Follow my Facebook Page Electronic Clinic:

Follow my Facebook Group, Arduino Projects:

Email:
#Geofencing
#GPSTracker
#ArduinoGps&GSM
Рекомендации по теме
Комментарии
Автор

Amazing ! I might try this in combination with my robot lawn mower. In case of someone would get over interested in it !

PhG
Автор

Great project and beautifully explained. Thank you. Would love to see adding few cutoff relay modules, an PIR sensor for presence in the car, on voltage change event (for car ignition), setting parameters and controlling everything via sms messages, ..Continue the great work!

vladimirfilipovic
Автор

I appreciate how you explained geofencing from real, simple concept to more technical discussion; it's very effective. I have a question though. In your case, you have defined one geofence. Is it possible that I define two or more geofences then I can track if the car arrives to/departs from there?

nononofk
Автор

Hi, I am new to this field and this demo is so wow, Quick question though, can you please elaborate the specific components I will need to have and the how to connect them, all ends, especially for ground.

Gichuhi_Ernest
Автор

I'm also going to try this projects in my class.

heyitstech
Автор

In this project my arduino can not conect to sim800
Why?
Is conflict bud rate betwen gps and gsm

masoudjafarzadeh
Автор

@ElectroniClinic please upload pcb desing which you use to join all components

latestmovie-buxm
Автор

What should i learn to be able to create these kind of amazing Products
Btw amazing Video Bro
@Electronics clinic

balajzubairbajwa
Автор

I did all the code and the wirings and it doesn't text when i reached the max distance, please help me it's for my final project. Tell me what's wrong or any tips?

randomshtsifoundoninternet
Автор

If we create 3 areas with 3 geofence( 3 circles) and a car move along it how can we find that vehicle is in which circle or geofence is it possible ?

ProPro-limz
Автор

HEY i am new with arduino. could you help me out with my boat alarm projekt ? with my skills now its to big. I need geo fence, room sensor. water sensor, battery sensor, door sensor. and on/off out to the heater system.

heilmannsvej
Автор

Im wondering if this is possible with sim800L?

torivicz
Автор

what map app did you use to create geofence sirr?

CarlsuuuDesuu
Автор

can you do this geo fence using the a9g module??

hat_guy
Автор

How can we create a road geofence(ie. Any specific root between places)

ProPro-limz
Автор

What's the maximum range of lora point to point?

souk-tv
Автор

please upload pcb desing which you use to join all components

latestmovie-buxm
Автор

How can i find my theft car? please help. No tracker in the car

junaidali
Автор

I tried this project but the receiver do not show the longitude

myzdmymn
Автор

Hi! I loved your video! I'm new to this field so can I ask something? Is it possible to attach a keypad here and an LCD display where so I can input the latitude and longitude on it and its maxDistance so that I don't have to go to the arduino IDE back to back? I would really appreciate if you respond to this :)

sologrind