Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking by kimp0gi

View this thread on steempeak.com
· @kimp0gi · (edited)
$7.63
Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking
> Finding someone is hard, especially if you have no idea where he/she is. But with the use of *tracking device* it eases the problem. You can now easily monitor the person, your car and etc. whenever it's lost. So now, let's build our own tracking device as easy as counting 1 2 3.

# Materials Needed:
* Arduino Uno
* GPS Module
* GSM Module
* Connecting Wires
* USB - type connector connected to a computer with Arduino IDE
* Breadboard is optional

# GPS Module
<center>![0002126_ublox-neo6mv2-gps-module-aircraft-flight-controller-for-arduino.jpeg](https://steemitimages.com/DQmUNMy8Ud7TPTrgxuQL5r1EiffrAaWXZrrdWcBpzqvGMAh/0002126_ublox-neo6mv2-gps-module-aircraft-flight-controller-for-arduino.jpeg)
[photo credits](http://www.hobbyandyou.com/content/images/thumbs/0002126_ublox-neo6mv2-gps-module-aircraft-flight-controller-for-arduino.jpeg)</center>

GPS stands for **Global Positioning System** and used to detect the Latitude and Longitude of any location on the Earth, with exact UTC time (Universal Time Coordinated). This device receives the coordinates from the satellite for each and every second, with time and date. GPS offers great accuracy and also provides other data besides position coordinates which we can use later on.
> I'm using the NEO-6MV2 because it's very small in size(1.5"x1.0").

# GSM Module
<center>![SIM800L-V2-0-5V-Wireless-GPRS-GSM.png_350x350.png](https://steemitimages.com/DQmYJVWiLPz72Kh6FZXULtMZEEKUYwWVtDrr5dwDN9LnAhv/SIM800L-V2-0-5V-Wireless-GPRS-GSM.png_350x350.png)
[photo credits](https://sc01.alicdn.com/kf/HTB1L2OeLpXXXXXDXpXX760XFXXX6/SIM800L-V2-0-5V-Wireless-GPRS-GSM.png_350x350.png)</center>

GSM is a mobile communication modem; it stands for *Global System for Mobile Communication (GSM). It was created to describe the protocols for second-generation (2G) digital cellular networks used by mobile phones and is now the default global standard for mobile communications. We will use this in order to send the coordinates that we can receive from the GPS Module to the third party whom will receive the message.

> I'm using the GSM 800l Module because just like the GPS Module it's small. We will use a micro sim on this, and take note that the sim must have load.

# Step 1: Connecting GSM and GPS Module to the Arduino


![Untitled.png](https://steemitimages.com/DQmbSdypjSkSf7WuNvJM6AjU5VyXy2msJVjrit6qw6auhSz/Untitled.png)

GSM Module to Arduino
* TX connected to pin 11
* RX connected to pin 10
* 5V from the module to 5V of Arduino
* two Grounds from the module to the Ground to Arduino


GPS Module to Arduino
* Vcc connected to 5V of Arduino
* RX from the module to the TX of Arduino (pin 1) 
* TX from the module to the RX of Arduino (pin 2)
* GND to GND

# Step 2: Software Connection
* Connect the USB Cable to a PC or Laptop
* Open Arduino IDE, change your board to Arduino Uno: Go to Tools > Board: > Arduino/Genuino Uno 
![2.png](https://steemitimages.com/DQmR1PdLdx1Ev7NDJRMLU3cQ33fDuwkxZ55i8gAVo9pLoJ5/2.png)

* Also change the Port settings: Go to Tools > Port: > COM6 (Arduino/ Genuino Uno)
![4.png](https://steemitimages.com/DQmSK9kvS1sk8zyZXBtcgJUmj5xMXCwvqGsMBHfD7z9NaSv/4.png)

* Then, download the library [TinyGPS++](http://arduiniana.org/libraries/tinygpsplus/) this will be used for later purposes. After which, extract the file and copy the folder then Go to your Program Files and find the Arduino Folder > libraries then paste the folder of TinyGPS++.

# Step 3: The Code
![oka.png](https://steemitimages.com/DQmdK78VtDcC61EWDzQP3vGUvMCDgZyk8rVKxemvFkot3Zx/oka.png)
> Copy the code then compile. If it has no error then you can now upload the code but before that make sure that the TX and RX (pin 0 and pin 1) in the Arduino Uno are disconnected to the GPS Module so that it won't give you errors while uploading the code. And if it's done uploading you can re-connect it again. 

# Step 4: Viewing the Result
* You will receive a message from the sim you inserted to the GSM Module
![26034859_1747380298635156_458908646_n.png](https://steemitimages.com/DQmeLZGgcjwkAo5dLC8Ziz4CH4NWYSykkicUM6kLLtMnEYB/26034859_1747380298635156_458908646_n.png)
> Click the link on the message. And take note that you must have to be connected to the internet so that you can view the location. 

* You can now see the location where he/she is.
![26034717_1747380411968478_1496134154_n.png](https://steemitimages.com/DQmeTwoiHeoRHSo8FSYacmmpMTGhAwJSxZAwTc5b7FhaPx3/26034717_1747380411968478_1496134154_n.png)

# My Circuit:
![26829107_1800931489918627_1592755674_o.jpg](https://steemitimages.com/DQmSueZK4to5FcvEkvRmAMXhy4FJ93VvtwALZ3BcC55BNiH/26829107_1800931489918627_1592755674_o.jpg)

*Tip to remember: The GPS Module will take time to receive data to the satellite if you can see a green amber blinking it means it's receiving the data. And it is more convenient to go outside so that the module can receive the data faster.*

--------------------------------------------------------------------------------------
<center>  **Thanks for reading! Hope you learn something.**</center>     
<center>*For comments and suggestions please feel free to comment below.*</center>
<center> Upvote | Follow | Resteem [@kimp0gi](https://steemit.com/@kimp0gi)</center>

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@kimp0gi/interfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
šŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
post_id25,261,020
authorkimp0gi
permlinkinterfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking
categoryutopian-io
json_metadata"{"repository": {"owner": {"login": "iBrick"}, "id": 76031123, "full_name": "iBrick/GPS_Arduino", "fork": false, "name": "GPS_Arduino", "html_url": "https://github.com/iBrick/GPS_Arduino"}, "moderator": {"flagged": true, "account": "manishmike10", "reviewed": false, "pending": false, "time": "2018-01-13T03:56:47.480Z"}, "format": "markdown", "platform": "github", "tags": ["utopian-io", "utopian-io", "steemit-engineering", "cebu", "philippines"], "community": "utopian", "type": "tutorials", "pullRequests": [], "links": ["https://steemitimages.com/DQmUNMy8Ud7TPTrgxuQL5r1EiffrAaWXZrrdWcBpzqvGMAh/0002126_ublox-neo6mv2-gps-module-aircraft-flight-controller-for-arduino.jpeg", "http://www.hobbyandyou.com/content/images/thumbs/0002126_ublox-neo6mv2-gps-module-aircraft-flight-controller-for-arduino.jpeg", "https://steemitimages.com/DQmYJVWiLPz72Kh6FZXULtMZEEKUYwWVtDrr5dwDN9LnAhv/SIM800L-V2-0-5V-Wireless-GPRS-GSM.png_350x350.png", "https://sc01.alicdn.com/kf/HTB1L2OeLpXXXXXDXpXX760XFXXX6/SIM800L-V2-0-5V-Wireless-GPRS-GSM.png_350x350.png", "https://steemitimages.com/DQmbSdypjSkSf7WuNvJM6AjU5VyXy2msJVjrit6qw6auhSz/Untitled.png", "https://steemitimages.com/DQmR1PdLdx1Ev7NDJRMLU3cQ33fDuwkxZ55i8gAVo9pLoJ5/2.png", "https://steemitimages.com/DQmSK9kvS1sk8zyZXBtcgJUmj5xMXCwvqGsMBHfD7z9NaSv/4.png", "http://arduiniana.org/libraries/tinygpsplus/", "https://steemitimages.com/DQmdK78VtDcC61EWDzQP3vGUvMCDgZyk8rVKxemvFkot3Zx/oka.png", "https://steemitimages.com/DQmeLZGgcjwkAo5dLC8Ziz4CH4NWYSykkicUM6kLLtMnEYB/26034859_1747380298635156_458908646_n.png", "https://steemitimages.com/DQmeTwoiHeoRHSo8FSYacmmpMTGhAwJSxZAwTc5b7FhaPx3/26034717_1747380411968478_1496134154_n.png", "https://steemitimages.com/DQmSueZK4to5FcvEkvRmAMXhy4FJ93VvtwALZ3BcC55BNiH/26829107_1800931489918627_1592755674_o.jpg", "https://steemit.com/@kimp0gi"], "app": "utopian/1.0.0", "users": ["kimp0gi"], "image": ["https://steemitimages.com/DQmUNMy8Ud7TPTrgxuQL5r1EiffrAaWXZrrdWcBpzqvGMAh/0002126_ublox-neo6mv2-gps-module-aircraft-flight-controller-for-arduino.jpeg"]}"
created2018-01-12 16:28:36
last_update2018-01-13 03:56:48
depth0
children15
net_rshares1,206,578,704,035
last_payout2018-01-19 16:28:36
cashout_time1969-12-31 23:59:59
total_payout_value5.832 SBD
curator_payout_value1.795 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length5,456
author_reputation3,211,194,909,364
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries
0.
accountutopian.pay
weight2,500
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (43)
@aribalcristian ·
# w0w!!!
properties (22)
post_id25,261,684
authoraribalcristian
permlinkre-kimp0gi-interfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking-20180112t163224687z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2018-01-12 16:32:27
last_update2018-01-12 16:32:27
depth1
children0
net_rshares0
last_payout2018-01-19 16:32:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length8
author_reputation950,118,507,318
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@bayanihan ·
Upvoted.
properties (22)
post_id25,262,223
authorbayanihan
permlinkre-kimp0gi-interfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking-20180112t163539049z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2018-01-12 16:35:42
last_update2018-01-12 16:35:42
depth1
children2
net_rshares0
last_payout2018-01-19 16:35:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length8
author_reputation2,083,957,649,352
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@kimp0gi ·
thank you sir!
properties (22)
post_id25,262,344
authorkimp0gi
permlinkre-bayanihan-re-kimp0gi-interfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking-20180112t163629436z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2018-01-12 16:36:24
last_update2018-01-12 16:36:24
depth2
children1
net_rshares0
last_payout2018-01-19 16:36:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length14
author_reputation3,211,194,909,364
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@msdilan ·
where can i find the code sir
properties (22)
post_id95,073,378
authormsdilan
permlinkr1mcvf
categoryutopian-io
json_metadata{"app":"steemit\/0.2"}
created2021-10-27 04:38:03
last_update2021-10-27 04:38:03
depth3
children0
net_rshares0
last_payout2021-11-03 04:38:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length29
author_reputation0
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@japh ·
Wow! this is exceptional @kimp0gi! This is a complete step-by-step procedure of a project. It is very helpful to the community. Truly, engineering makes our life easier.
šŸ‘  
properties (23)
post_id25,264,824
authorjaph
permlinkre-kimp0gi-interfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking-20180112t165039482z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "users": ["kimp0gi"], "tags": ["utopian-io"]}"
created2018-01-12 16:50:42
last_update2018-01-12 16:50:42
depth1
children2
net_rshares0
last_payout2018-01-19 16:50:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length169
author_reputation2,046,968,271,807
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@kimp0gi ·
iā€™m blushing šŸ˜Š hahaha thanks @japh hope this will help to a lot of engineering student. kay usa pod kos naglisod ani sauna pero sus easy rajud diay hahaha
properties (22)
post_id25,265,611
authorkimp0gi
permlinkre-japh-re-kimp0gi-interfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking-20180112t165529904z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "users": ["japh"], "tags": ["utopian-io"]}"
created2018-01-12 16:55:30
last_update2018-01-12 16:55:30
depth2
children1
net_rshares0
last_payout2018-01-19 16:55:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length154
author_reputation3,211,194,909,364
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@blink26 ·
Hi thanks for this post vry good step b step proc

Could send us  the entire  code ?
properties (22)
post_id90,579,898
authorblink26
permlinkqrvc4l
categoryutopian-io
json_metadata{"app":"steemit\/0.2"}
created2021-04-20 15:24:21
last_update2021-04-20 15:24:21
depth3
children0
net_rshares0
last_payout2021-04-27 15:24:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length84
author_reputation0
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@nizaefanda ·
Thank you for sharing!
I will definitely use it.
properties (22)
post_id25,267,704
authornizaefanda
permlinkre-kimp0gi-interfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking-20180112t170734131z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2018-01-12 17:07:36
last_update2018-01-12 17:07:36
depth1
children0
net_rshares0
last_payout2018-01-19 17:07:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length48
author_reputation-136,283,865,883
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@manishmike10 ·
$0.15
Your contribution cannot be approved because it does not follow the [Utopian Rules](https://utopian.io/rules).
* Asking for upvote follow and resteem is prohibited.
You can contact us on [Discord](https://discord.gg/UCvqCsx).
**[[utopian-moderator]](https://utopian.io/moderators)**
šŸ‘  
properties (23)
post_id25,350,631
authormanishmike10
permlinkre-kimp0gi-interfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking-20180113t035744933z
categoryutopian-io
json_metadata"{"app": "utopian/1.0.0", "community": "utopian", "tags": ["utopian-io"]}"
created2018-01-13 03:57:48
last_update2018-01-13 03:57:48
depth1
children2
net_rshares19,308,144,456
last_payout2018-01-20 03:57:48
cashout_time1969-12-31 23:59:59
total_payout_value0.150 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length282
author_reputation20,365,209,818,432
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@kimp0gi ·
Hi sir! is it okay to edit this and repost it again? šŸ™‚
properties (22)
post_id25,563,385
authorkimp0gi
permlinkre-manishmike10-re-kimp0gi-interfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking-20180114t061811494z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2018-01-14 06:18:12
last_update2018-01-14 06:18:12
depth2
children1
net_rshares0
last_payout2018-01-21 06:18:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length54
author_reputation3,211,194,909,364
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@manishmike10 ·
No
properties (22)
post_id25,571,394
authormanishmike10
permlinkre-kimp0gi-re-manishmike10-re-kimp0gi-interfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking-20180114t072308313z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2018-01-14 07:23:09
last_update2018-01-14 07:23:09
depth3
children0
net_rshares0
last_payout2018-01-21 07:23:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length2
author_reputation20,365,209,818,432
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@fatoom ·
i know it had been long time but sir i need the code i don't know from where i can get
šŸ‘  
properties (23)
post_id70,180,672
authorfatoom
permlinkre-kimp0gi-interfacing-gsm-and-gps-module-using-arduino-a-step-by-step-guide-tutorial-for-tracking-20190215t095647969z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit\/0.1"}
created2019-02-15 09:56:45
last_update2019-02-15 09:56:45
depth1
children0
net_rshares0
last_payout2019-02-22 09:56:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length86
author_reputation0
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@moazum ·
where can i find the code
šŸ‘  
properties (23)
post_id91,437,650
authormoazum
permlinkqtns9q
categoryutopian-io
json_metadata{"app":"steemit\/0.2"}
created2021-05-25 10:39:27
last_update2021-05-25 10:39:27
depth1
children0
net_rshares0
last_payout2021-06-01 10:39:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length25
author_reputation0
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@moazum ·
where can i find the code
šŸ‘  
properties (23)
post_id91,437,664
authormoazum
permlinkqtnsb2
categoryutopian-io
json_metadata{"app":"steemit\/0.2"}
created2021-05-25 10:40:15
last_update2021-05-25 10:40:15
depth1
children0
net_rshares0
last_payout2021-06-01 10:40:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length25
author_reputation0
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@brice3010 ·
Where is the code?
properties (22)
post_id95,478,938
authorbrice3010
permlinkr2g6vz
categoryutopian-io
json_metadata{"app":"steemit\/0.2"}
created2021-11-12 07:17:09
last_update2021-11-12 07:17:09
depth1
children0
net_rshares0
last_payout2021-11-19 07:17:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length18
author_reputation0
root_title"Interfacing GSM and GPS Module using Arduino: A step-by-step guide tutorial for tracking"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000