3

I'm doing my final year project, My project is based on "Arduino Real Time Gprs/Gsm & GPS Tracker". So Now I have purchased the hardware components such as:

  1. Arduino UNO R3
  2. GSM Shield SIM900 V2.0
  3. Ublox GPS Neo - 6M Module

I'm a begginer to this project, I have a doubt connecting these components together. I have stack the GSM Shield with the Arduino Uno but I don't know how to connect the GPS module to the GSM Shield (How to wire the components). because as you see my pic you might see on the top of the GSM shield there are no female headers except one which comes for the display.

  1. So do I need to implement a female header on the GSM Shield and solder it to conncet the GPS module?

  2. Can't I connect the GPS module to the GSM Shield's UART Pins?

    Please Help me Guys :)

Hardware Components

1 Answer 1

1

For your program, I'll highly suggest to use softwareSerial. It pretty much emulates the serial communication on other pins (NOT PIN 0 & 1). Then connect it like if you would normaly connect an UART device to your Arduino on the 2 other pins that you chose (NOT PIN 0 & 1). This should make it easy to prorgam your Arduino while having the GPS and GSM module connected to your Arduino.

The shield can cause problems if it uses Tx and Rx on pins 0 & 1, WHICH ARE THE PINS NOT TO USE IF YOU USE SOFTWARE SERIAL, so you might as well connect it with jumper wires. Take the TXs from both of your module and connected to whatever GPIO you want and do the same to the RXs, NOT ON PIN 0 & 1.

Once again, softwareSerial is NOT ON PIN 0 & 1.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.