This article guides the user to position the SMS coordinates and display them on a Google Map using the SIM908 Easy GSM / GPS board and the Arduino UNO Easy shield board from AT-COM and the Arduino UNO R3 board.

    1. Introduction of Arduino UNO R3

       Arduino UNO R3 is a microcontroller board based on the ATmega328P, it has 14 digital I/O pins, inside 6 pins can be used as PWM (Pulse-width modulation) outputs, 6 Analog inputs, a 16MHz quartz crystal, a USB connection, An ICSP Header...  

    2. Introduction of GSM/GPS SIM908 Easy 

      Designed for the international market, the SIM908 module is equipped with a GSM / GPRS module and a powerful GPS receiver. Quad band GSM / GPRS GSM 850MHz, EGSM 900MHz, DCS 1800MHz and PCS 1900MHz. The SIM908 supports GPRS class 10 / class 8 GPRS and encodes CS1, CS2, CS3 and CS4. The SIM908's GPS unit gives you the best start-up time, accuracy and sensitivity.

      With its compact packaging, the SIM908 can provide good space for applications such as M2M, Smart phones, PDAs, navigation devices and other mobile devices.

 

 

 

    GSM / GPS SIM908 Easy is a product developed by AT-COM based on the features of the SIM908 module. GSM / GPS SIM908 Easy is designed to help users easily research and deploy applications related to GSM, GPRS such as control, monitoring, data transmission, ... and GPS applications such as positioning coordinates display on Google maps, speed, time ... with high accuracy.

     In addition, the product also has a built-in Battery and Li-ion Battery charger provides users with high mobility and convenience.Besides with its compact size, convenient data output, GSM / GPS SIM908 Easy will bring the most modern and refined design inspiration.

     3. Introduction of Arduino UNO Easy shield

 

 

  Arduino UNO Easy Shield is an extended board for Arduino UNO and Arduino-compatible boards. The product supports 2 ATCBus sockets that allow users to connect the Easy Board with Arduino UNO quickly and easily to perform applications such as GSM, GPS, Wifi, Bluetooth, etc. In addition, board support "Switch" allows the program to load Arduino without removing the board mounted on the shield. Also, with the same size as the Arduino UNO, handy data output, the Arduino UNO Easy Shield brings subtle inspiration when combined with the Arduino and Easy Board.

    4.The application coordinates through SMS and displays on Google Map

 To implement the application we perform the steps follow:

    Step 1: Preparation

    •   Hardware: 

                              + Board Arduino UNO R3.

                             + Board GSM/GPS SIM908 Easy.

                             + Board Arduino UNO Easy shield.

                             + Android-based phones have installed Google Map software and SMS2Map software.

  •  Hardware:    

                             + Arduino IDE.

                             + SMS2Map.

 

Step 2: Connect the Hardware

  We proceed to connect the system according to the following diagram:

 

   

 Step 3: Setup Driver and Arduino IDE 

 Step 4: Load application program for Arduino UNO R3

    Select program load for Arduino, switch the switch to position 1 (PROG).

 

 

    The source code presented in the article uses the Arduino programming environment Arduino IDE to compile and load the Arduino board. Source code can be downloaded in GSM / GPS SIM908 Easy.

     After downloading the code, the code needs to be edited and recompiled using the Arduino IDE.

    After unpacking SIM908_Arduino_UNO.ino file to open up, proceed to correct the phone number in the code to send message board containing coordinates.

  • Then we change the password of the board.
 
  • After editing the code we proceed to recompile the file: Go to Sketch -> Verify / Compile.
 

   

     After successfully compiling, we will load code for Atmega328 of Arduino board UNO R3.

     Connect the Arduino board to the computer via the USB cable and open the code using the Arduino IDE software (installed Driver and Arduino IDE in Step 3).

     On the Arduino IDE software interface, go to Tools -> Board -> Arduino Uno.

  • Select the COM port to connect the Arduino board to the computer: go to Tools -> Serial Port -> select the COM port you are connecting.

 

  • Enter the code for the Arduino board: go to File -> Upload.

 

  • To run the application switch the switch to position 2 (UART).

 

 

   Step 5: Take control of the coordinates and display on Google Map

     12VDC power supply to the system through the DC jack on the Arduino Board UNO R3, after powering the board will start and configure the SIM908 module, after booting and configuration module is finished, will automatically send the message SMS notices to phone numbers that we fixed in the code above.

Text messaging to get coordinates to phone with syntax:

The system returns the message containing the coordinates

 

  • Click on the link and select the Google Map application to display the coordinates

 

  • Coordinates are displayed on Google Map

 Use SMS2Map software to display the location of the system

     + Install the SMS2Map software to your phone.

     + Open the SMS2Map software on your phone and then text the coordinates to the phone by syntax:

   

   + When the message contains the coordinates sent to the user's phone number, SMS2Map will automatically display the location on the map of the software.

 

When the user clicks on the map, the software displays the address of the current system.

 

   5. Video Demo