The A9G is a compact GSM/GPRS module with integrated GPS/AGPS functionality, designed for tracking and communication in IoT applications. This versatile module allows for both data transmission over GSM/GPRS networks and precise location tracking via GPS/AGPS. Its small form factor and low power consumption make it ideal for a wide range of applications, including asset tracking, vehicle monitoring, and remote data logging.
Parameter | Value |
---|---|
Supply Voltage | 3.3V - 4.2V |
Operating Current | 20mA (idle), 200mA (max) |
GSM Frequency | 850/900/1800/1900 MHz |
GPRS Class | Class 12 |
GPS Sensitivity | -165 dBm |
GPS Accuracy | < 2.5m CEP |
Operating Temperature | -40°C to +85°C |
Dimensions | 22mm x 20mm x 2.3mm |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V - 4.2V) |
2 | GND | Ground |
3 | TXD | UART Transmit Data |
4 | RXD | UART Receive Data |
5 | PWRKEY | Power on/off control |
6 | NETLIGHT | Network status indicator |
7 | GPS_TXD | GPS UART Transmit Data |
8 | GPS_RXD | GPS UART Receive Data |
9 | RST | Reset |
10 | ANT_GSM | GSM antenna |
11 | ANT_GPS | GPS antenna |
#include <SoftwareSerial.h>
// Create a software serial port for the A9G module
SoftwareSerial A9G(7, 8); // RX, TX
void setup() {
// Initialize serial communication with the A9G module
A9G.begin(9600);
// Initialize serial communication with the computer
Serial.begin(9600);
// Power on the A9G module
pinMode(9, OUTPUT);
digitalWrite(9, LOW);
delay(1000);
digitalWrite(9, HIGH);
delay(5000); // Wait for the module to initialize
}
void loop() {
// Check if data is available from the A9G module
if (A9G.available()) {
// Read data from the A9G module and print it to the serial monitor
while (A9G.available()) {
char c = A9G.read();
Serial.print(c);
}
}
// Check if data is available from the serial monitor
if (Serial.available()) {
// Read data from the serial monitor and send it to the A9G module
while (Serial.available()) {
char c = Serial.read();
A9G.print(c);
}
}
}
Module Not Powering On:
No GPS Fix:
No GSM Network Connection:
By following these guidelines and best practices, you can effectively integrate the A9G module into your IoT projects for reliable tracking and communication.