Interfacing GSM Modem & GPS Module

In Arduino default serial communication pins are Pin 0 for Rx and Pin 1 for TX but by using SoftwareSerial library, we can allow serial communication on other digital pins of the Arduino. we have allowed serial communication on pin 10 and 11, and made them Rx and Tx respectively and left the Rx pin of GPS Module open. In this Tx pin of GPS module is directly connected to digital pin number 10 of Arduino.

We have connected Tx Pin of GSM modem to Rx Pin 0 of Arduino and Rx Pin of GSM Modem to TX Pin 1 of Arduino so that we can send and receiver SMS to or from GSM Modem. The circuit connections of these peripherals is shown in diagram.  Regulated Power Supply  is used to power the GSM Modem & GPS Module.

LCD’s data pins D4, D5, D6 and D7 are connected to pin number 5, 4, 3, and 2 of Arduino. Command pin RS and EN of LCD are connected with pin number 2 and 3 of Arduino and RW pin is directly connected with ground. A Potentiometer is also used for setting contrast or brightness of LCD.

Working Explanation:

In this project, Arduino is used for controlling entire process with a GPS Receiver and GSM module. GPS Receiver is used for detecting coordinates of the vehicle, GSM module is used for sending the coordinates to user by SMS. The 16×2 LCD is also used for displaying status messages or coordinates.

When we assemble hardware components with proper connection, after programming, we can install it in our vehicle and power it up.  We are using speedometer constructed with the help of inductive proximity sensor. Based on number of pulses in predefined time interval , we can estimate the vehicle speed. If speed limit is crossed by the vehicle , Arduino reads GPS coordinates by extracting actual GPS data from  satellite  and send back same information  to user by using GSM modem. This message contains the coordinates of vehicle location. If we have internet facility in phone , we can directly get location map with the help of these coordinates.

Thus, we get alert SMS with location details in case of over speeding of a vehicle.