Im trying to make a gps tracker with a9g and it doesnt seem to work.Do i need another module than a9g or am i doing something wrong?
Welcome to the forum
More details please
Which Arduino board are you using ?
How is the GPS connected to the Arduino ?
Please post the sketch that you are running, using code tags when you do
What does that mean ?
What should happen and what does happen ?
Does the GPS get a lock on satellites ?
Im using an arduino nano . Im using the diagram in the photo . By not working i mean that i dont get any output.

#include <SoftwareSerial.h>
static const int RXPin = 4, TXPin = 3;
static const uint32_t GPSBaud = 9600;
// The serial connection to the GPS device
SoftwareSerial ss(RXPin, TXPin);
void setup()
{
Serial.begin(115200);
ss.begin(GPSBaud);
}
void loop()
{
// Output raw GPS data to the serial monitor
while (ss.available() > 0){
Serial.write(ss.read());
}
}
The sketch worked fine for me using a different GPS receiver.
It correctly displays NMEA sentences on the serial monitor.
Does the a9g require some command to be sent to it to turn on position reporting ?
Please post a link to a datasheet for the a9g module
Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'
Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination
Do u have any experience with a9g? I think i need to download the firmware on it using a ft232 usb uart . Can i download the firmware on it using the arduino or its working only with ft232 usb uart?
Hi,
Have you got the IDE monitor set to 115200?
Do you get anything in the monitor display?
If so what?
Please add this as the last line in void setup()
Serial.println(" Program has finished setup and is now entering loop");
Tom...
![]()
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
