/Raspberry-Pi-GSM-GPS-WIFI

This project includes a python module with functions to send-receive SMS, get GPS coordinates, interfacing Raspberry Pi with GSM/GPS/GPRS module " A7 AI Thinker" using serial UART. It also has additional modules that enable the user to automatically connect to a wifi when SMS received in a format with UserName and Password (when interfaced with GSM module- A7 AI Thinker).

Primary LanguagePython

This repo contains codes to perform following operations in raspberry PI zero/3 Model B interfaced with A7 AI Thinker GSM/GPRS module :

  1. Sent a message using A7 AI Thinker GSM/GPRS module.

  2. Get the GPS NMEA information.

  3. receive SMS with ssid and password in a format, read the sms and automatically connect to the given wifi in the raspberry pi Zero.

  4. Send the DATA to a network over TCP using A7 AI Thinker GSM/GPRS module.



  • First, Connect A7 AI Thinker UART to Raspberry Pi UART (Tx/Rx = Rx/Tx).
  • Run, gsm2.py. The program polls for the matching SMS. If a match is found, connects the Raspberry Pi to that WIFI.

Note: Change string format in gsm2.py to modify sms format.