Uploaded by Khadid Jinbawi

Panic-Button-with-SMSGPS-Linkit-One

advertisement
technology
workshop
craft
home
food
play
outside
costumes
Panic Button with SMS+GPS (Linkit One)
by ehsmaes on November 15, 2015
Table of Contents
Panic Button with SMS+GPS (Linkit One) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
Intro: Panic Button with SMS+GPS (Linkit One) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
Step 1: Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
Step 2: The code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
http://www.instructables.com/id/Panic-Button-with-SMSGPS-Linkit-One/
Author:ehsmaes
IT-professional by day, DIY hobbyist (among other things) on my free time. I allways have one or more projects going on. Usually something to do with home
improvement or a tech project or a combination of the two. After discovering Instructables, I figured, why not document for own reference and hopefully for
enjoyment of others. I hope you will gain some inspiration from my projects when working on you own. Please let me know if you do! I encourage comments.
Intro: Panic Button with SMS+GPS (Linkit One)
This project is for the Linkit One. This prototype board is programed like an Arduino but has a lot more features. This project demonstrates the GSM (SMS) and GPS
units.
The features of this project:
Press the button to send SMS to one or more numbers
The SMS contains "I am in trouble" and a google maps link to current or last known location
Any incoming SMS is replied to with a new google maps link.
In terms of hardware, all you need to add is a pushbutton and some casing if you plan to bring it somewhere.
Step 1: Setup
1. Install the IDE as described by Mediatek:Linkit One IDE
2. Upload a simple blink sketch to the LIO just to get warm.
3. Get your SIM ready:
1. First put the SIM in a phone
2. Use phone settings to remove SIM-lock (PIN). The LIO GSM module doesn't support PIN.
3. Slide the SIM into the holder on the back with the connector facing the board and the cut corner sticking out (see picture)
4. Connect a pushbutton between pin 2 and GND
http://www.instructables.com/id/Panic-Button-with-SMSGPS-Linkit-One/
Step 2: The code
Download the sketch
Open it up in the Arduino IDE
Add one or more destination phone numbers
Upload
That's it! Leave the board somewhere where you should get a GPS fix. Press the button and you should get a SMS with a Google Maps-link. Reply to the SMS (any
body) and you should get a new location. You don't have to be in the list of destination numbers query the position.
File Downloads
lio-panic-button.ino (3 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'lio-panic-button.ino']
http://www.instructables.com/id/Panic-Button-with-SMSGPS-Linkit-One/
Related Instructables
LinkIt ONE GPS
tracker by
cavedu
Child location
monitor using
Linkit ONE by
BharathRam
LinkIt One
Tutorials - #6
GPS device by
gregoryfenton
Linkit ONE: GPS Linkit one Automatic water
Comparison
can SMS using
by sebnibo
with Shields by
Linkit ONE by
jegatheesan.soundarapandian
BharathRam
Advertisements
Comments
http://www.instructables.com/id/Panic-Button-with-SMSGPS-Linkit-One/
Download