GPS Tracker and Spy Microphone With Google Map API (A9G-NANO/UNO)

Other projects from this group

GPS Tracker and Spy Microphone With Google Map API (A9G-NANO/UNO)

This project is an Arduino source code for AVR-based Arduino boards and handles the A9G GPS/GSM module. and you can see the location on the google map

GPS Tracker and Spy Microphone with A9G and AVR boards Arduino Source Code - Rev 1.1


Price:

 

Other projects from this group

 

This project is a GPS Tracker (Locator) with Arduino AVR board (UNO/NANO) and Ai thinker A9G GPS/GSM/GPRS module.

The Arduino board reads the GPS data and sends it to the web server/host via GPRS. Then you can see the location on map with the Google Map API.

You can call to your “SIM Card” number, then it will be answered automatically and you can hear the voices with the A9G board’s microphone.

For the google map api, you need a web server or host, including a domain address.

There are the following files in this project:

  1. gpsLocator/gpsLocator.ino - Main handler file.
  2. gps/gps.php – Google Map API .php file.
  3. gps/current_loc.txt – The last geo location and update date.
  4. gps/all_loc.txt – All received locations and dates.


The file in the “gpsLocator” folder must upload on the Arduino board and the file in the “gps” folder must upload to your server/host.

Your server/host must support php.

A9G GPS/GSM Module

The “AI Thinker A9G Module” (board) has a SIM card slot (bottom of the board) and supports GSM/GPRS protocol. Also it has an internal GPS module.

The above board has a standard GSM/GPRS antenna (connect it to the right connector between the pin headers) and a standard GPS antenna (left connector).

gps tracker a9g arduino

There’s an on-board microphone on this module which is using as a voice transmitter for this project.

  • Before using this board for this project, be sure that it supports the “AT Commands”. Otherwise you can simply flash the “A9G AT Commands Firmware”.

GPS Tracker Schematic

Use the schematic/connections in the manual file for the project.

In case you’re using Arduino Nano (or other similar boards), just connect the Tx of your board to the Rx of A9G (Red wire) and the Rx of your board to the Tx of A9G (Blue wire).

And also tie the grounds (Black wire).

  • It’s recommended to use a standard and separate power source for the A9G board.

GPS Tracker Google Map API

Upload the “gps” folder (and all of the files inside) on your host. If you upload it in your “www” or “public_html” folder, then you can access the web api and see the last location on the google map, with this address: “your-domain.x/gps/gps.php”.

Then open the Arduino file (gpsLocator.ino) and insert your domain address in the following “define” variable:

#define DOMAIN_NAME%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp; "your-domain.com"

If you’re going to change the .php file name or its directory path, set it in the following variable too:

#define GPS_PATH%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp; "gps/gps.php"

You can change the location update interval timer of the map api, with changing “setTimeout(update, 20000);” in the .php file. The unit of timer is milliseconds.

1.1
- Google Map API

1.0
- Auto incoming call answer
- Sending the geo data to the web server
- Storing the locations in the web server


Similar Projects: