Panic Button With SMS+GPS (Linkit One)

5,056

26

4

Introduction: Panic Button With SMS+GPS (Linkit One)

About: IT-professional by day, DIY hobbyist (among other things) on my free time. I always have one or more projects going on. Usually something to do with home improvement or a tech project or a combination of the t…

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

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.

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    4 Discussions

    0
    nwortham
    nwortham

    11 months ago

    Hi. Can you tell us the pieces that you need to do this project? I have a student who would like to make it but we are struggling to identify the components.

    0
    PawanB16
    PawanB16

    2 years ago

    Dude this was awsome , i made it, the project is working like a charm

    0
    PawanB16
    PawanB16

    Question 2 years ago on Step 2

    Hi, i followed your tutorial step by step , everything was working fine ,even the blink sketch was making the LED blink in linket one, however, i have tried to set up the cct as you explained, i have flashed the code, changing the mobile numbers, i just can't get this to work, i have tried all sorts of permutation and combination.Can you help me please?Is their something in the code that has to be changed when location changes? For eg Iam in India.My email id is pbisht800@gmail.com

    2
    GeraldS48
    GeraldS48

    4 years ago

    Will this work with an Arduino board with GPS and GSM shield?