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

  Рет қаралды 19,175

Electronic Clinic

Electronic Clinic

2 жыл бұрын

Altium Designer:
www.altium.com/yt/electronicl...
Download circuit diagram and code:
www.electroniclinic.com/geofe...
Subscribe to my New KZfaq Channel, if you want to watch my videos in Hindi/Urdu
/ @letsgetstartedd
related projects:
Real-Time GPS Tracker using SIM7600G and Adafruit Map:
• Real Time GPS Tracker ...
SIM7600G and ESP32 getting started tutorial:
• SIM7600G LTE GSM with ...
ESP32 GPS Tracker using SIM7600G-H 4G LTE module and Google Maps
• GPS Tracking System us...
SIM900A GSM module:
• GSM based Home Automat...
SIM800L GSM/GPRS module getting started video:
• Sim800L GSM GPRS Modul...
SIM800L with Blynk IoT Cloud:
• SIM800L Blynk, Arduino...
Women safety project:
• Women Safety Device, S...
Real-time GPS tracker IoT Project using Nodemcu ESP8266 & Blynk:
• Arduino Project: GPS T...
Support me on Patreon and get access to hundreds of projects:
/ electroniclinic
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):
amzn.to/4ahGLdk
ESP32 WiFi + Bluetooth Module for iOT Projects (recommended), more IO pins, improved speed, and supports a Lipo Battery:
amzn.to/3v40DkE
Neo 6M GPS
amzn.to/3qKU3KI
GSM SIM900A
amzn.to/3NzD8nT
Other must-have Tools and Components:
Top Arduino Sensors:
amzn.to/3vZbnfM
Super Starter kit for Beginners
amzn.to/3cq56C5
Top Oscilloscopes
amzn.to/3ctF3d8
Variable Supply:
amzn.to/2PEAqE7
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:
www.electroniclinic.com/
Programming Digest:
programmingdigest.com/
Follow me on Instagram:
/ electroniclinic
Follow my Facebook Page Electronic Clinic:
web. profile.php?...
Follow my Facebook Group, Arduino Projects:
/ 190031841821771
Email:
stu_engineering@yahoo.com
#Geofencing
#GPSTracker
#ArduinoGps&GSM

Пікірлер: 60
@PhG1961
@PhG1961 2 жыл бұрын
Amazing ! I might try this in combination with my robot lawn mower. In case of someone would get over interested in it !
@vladimirfilipovic7893
@vladimirfilipovic7893 Жыл бұрын
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!
@romeohamzakhan787
@romeohamzakhan787 2 жыл бұрын
Amazing project on geo fencing.
@creativeelectronicchannel7647
@creativeelectronicchannel7647 2 жыл бұрын
Very useful project keep it up bro😎😎
@nonono999fk
@nonono999fk 3 ай бұрын
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?
@ElectroniClinic
@ElectroniClinic 3 ай бұрын
First of all thank you. And yes you can add multiple geofencing regions. Very soon I will make the LTE version of the same project, and I will try to cover multiple regions.
@heyitstech4557
@heyitstech4557 2 жыл бұрын
I'm also going to try this projects in my class.
@electronic7979
@electronic7979 2 жыл бұрын
👏👏👏
@Gichuhi_Ernest
@Gichuhi_Ernest 4 ай бұрын
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.
@skjcreation24
@skjcreation24 2 ай бұрын
Thank you
@balajzubairbajwa773
@balajzubairbajwa773 2 жыл бұрын
What should i learn to be able to create these kind of amazing Products Btw amazing Video Bro @Electronics clinic
@ElectroniClinic
@ElectroniClinic 2 жыл бұрын
start with basic electronics projects.
@hat_guy9
@hat_guy9 Жыл бұрын
can you do this geo fence using the a9g module??
@masoudjafarzadeh
@masoudjafarzadeh 2 жыл бұрын
In this project my arduino can not conect to sim800 Why? Is conflict bud rate betwen gps and gsm
@latestmovie-bu8xm
@latestmovie-bu8xm 5 ай бұрын
@ElectroniClinic please upload pcb desing which you use to join all components
@ProPro-li4mz
@ProPro-li4mz 2 жыл бұрын
How can we create a road geofence(ie. Any specific root between places)
@CarlsuuuDesuu0723
@CarlsuuuDesuu0723 9 ай бұрын
what map app did you use to create geofence sirr?
@heilmannsvej
@heilmannsvej Жыл бұрын
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.
@torivicz
@torivicz 6 ай бұрын
Im wondering if this is possible with sim800L?
@wanicharles8306
@wanicharles8306 Жыл бұрын
thank you for this video, its awesome, how do i get the code
@sologrind9895
@sologrind9895 Жыл бұрын
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 :)
@ElectroniClinic
@ElectroniClinic Жыл бұрын
Instead using a keypad you can use Bluetooth for sending these values, it will increase security.
@bibikwah1841
@bibikwah1841 Жыл бұрын
@@ElectroniClinic This is interesting. If it isn't too much, could you please elaborate?
@sologrind9895
@sologrind9895 Жыл бұрын
@@ElectroniClinic Oww! Thank you for the fast response sir! And an idea with that! But how would I attempt that? Sorry for asking too much
@ElectroniClinic
@ElectroniClinic Жыл бұрын
@@sologrind9895 watch my videos on Bluetooth and android app. You can serially send data from cell phone to Arduino or any other controller board.
@sologrind9895
@sologrind9895 Жыл бұрын
@@ElectroniClinic Okay Sir! Will look onto that! Sorry but can you direct me to that? This'll be the last hahaha I really appreciate your patience sir. I've already subscribed
@aliibrahim8257
@aliibrahim8257 2 жыл бұрын
Awesome demo 😎 . Is there a way we can send the gps geofence coordinates from a web app so you can automate the input function
@ElectroniClinic
@ElectroniClinic 2 жыл бұрын
my next video will be on lora and geofence, then you can enter any location.
@latestmovie-bu8xm
@latestmovie-bu8xm 5 ай бұрын
​@@ElectroniClinic please upload pcb desing which you use to join all components
@junaidali8006
@junaidali8006 2 жыл бұрын
How can i find my theft car? please help. No tracker in the car
@zedy215
@zedy215 Жыл бұрын
I tried this project but the receiver do not show the longitude
@ProPro-li4mz
@ProPro-li4mz 2 жыл бұрын
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 ?
@ElectroniClinic
@ElectroniClinic 2 жыл бұрын
ya it is possible. you can define multiple initial gps coordinates and define maxdistances as per your needs.
@ProPro-li4mz
@ProPro-li4mz 2 жыл бұрын
@@ElectroniClinic so we should check the distance for each initial gps coordinates right ? What i am looking is if a car is moving through a road and road is divided in to three zones (south ,north, mid). If we check the position randomly how can we identify that vehicle is in which zone ? Any technique for that please help me
@ElectroniClinic
@ElectroniClinic 2 жыл бұрын
@@ProPro-li4mz through measured distance.
@ElectroniClinic
@ElectroniClinic 2 жыл бұрын
@@ProPro-li4mz define three intial postions and first measured the distance between gps and initial position 1, then initial position2, and so on. then you will get 3 measured distances. compare these and you will get the result.
@ProPro-li4mz
@ProPro-li4mz 2 жыл бұрын
@@ElectroniClinic thank you brother
@rachelchow4512
@rachelchow4512 2 жыл бұрын
I would like to know the business cooperation conditions in your channel. DWIN technology.
@ElectroniClinic
@ElectroniClinic 2 жыл бұрын
you can contact via my email, stu_engineering@yahoo.com or through my whatsapp +923339218213
@11.manish8
@11.manish8 Жыл бұрын
Can we also use arduino uno instead or arduino nano ???
@ElectroniClinic
@ElectroniClinic Жыл бұрын
yes
@internetdailynews99
@internetdailynews99 3 ай бұрын
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?
@gonthetroll
@gonthetroll 2 ай бұрын
Were you able to figure it out?
@gonthetroll
@gonthetroll 2 ай бұрын
I'm in the same boat as you 😓
@tophebarcebal1267
@tophebarcebal1267 2 жыл бұрын
Is 4G sim works with this amazing project?
@ElectroniClinic
@ElectroniClinic 2 жыл бұрын
yes.
@gari_003
@gari_003 9 ай бұрын
code is in which language? can it be done in python
@souk-tv
@souk-tv 8 ай бұрын
What's the maximum range of lora point to point?
@ElectroniClinic
@ElectroniClinic 8 ай бұрын
You can watch my video Lora range test using different types of Antennas
@longhuynh7306
@longhuynh7306 Жыл бұрын
if i go back to the fence will it continue to send messages?
@ElectroniClinic
@ElectroniClinic Жыл бұрын
you can do it.
@longhuynh7306
@longhuynh7306 Жыл бұрын
@@ElectroniClinic does that mean i need to add code for this feature?
@CarlsuuuDesuu0723
@CarlsuuuDesuu0723 Жыл бұрын
​@@longhuynh7306 yeh
@krishnagondkar2217
@krishnagondkar2217 8 ай бұрын
Sir we are using 3G and 4G Sim cards but its not working
@ElectroniClinic
@ElectroniClinic 8 ай бұрын
The 3g and 4g versions will be available soon. I have already ordered latest gsm modules.
@latestmovie-bu8xm
@latestmovie-bu8xm 5 ай бұрын
@ElectroniClinic please upload pcb desing which you use to join all components
@latestmovie-bu8xm
@latestmovie-bu8xm 5 ай бұрын
please upload pcb desing which you use to join all components
@Gichuhi_Ernest
@Gichuhi_Ernest 4 ай бұрын
Please do this
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 58 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 92 МЛН
Now THIS is entertainment! 🤣
00:59
America's Got Talent
Рет қаралды 33 МЛН
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 47 МЛН
What are Geofences? - All about Geofencing in 5 min
4:46
Proximi.io
Рет қаралды 181 М.
Getting Started with A9G Board | GSM + GPRS + GPS 🔥🔥
25:49
Making the most EQUIPPED DIY Security Camera with ESP32-CAM
26:36
Max Imagination
Рет қаралды 345 М.
Sensors - which one to use
17:06
Electronoobs
Рет қаралды 1,3 МЛН
13 Brilliant IoT Projects!!! (2024 Edition)
10:25
ToP Projects Compilation
Рет қаралды 103 М.
Geofencing with GPS Module & ESP8266 for monitoring Target or Location
7:25
Arduino Projects - 12 GREAT Ideas for you!!!
9:00
ToP Projects Compilation
Рет қаралды 353 М.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 598 М.
GPS Modules with Arduino and Raspberry Pi
50:00
DroneBot Workshop
Рет қаралды 246 М.
Я УКРАЛ ТЕЛЕФОН В МИЛАНЕ
9:18
Игорь Линк
Рет қаралды 124 М.
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 14 МЛН
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 1,2 МЛН
EXEED VX 2024: Не өзгерді?
9:06
Oljas Oqas
Рет қаралды 42 М.
Top 50 Amazon Prime Day 2024 Deals 🤑 (Updated Hourly!!)
12:37
The Deal Guy
Рет қаралды 1,4 МЛН