Stufin
Home Quick Cart Profile

A6 GSM Module

Buy Now on Stufin

Frequency Bands

Quad-band (850/900/1800/1900 MHz)

GPRS Class

Class 12

Data Transfer Rate

Up to 85.6 kbps

SMS

Supports sending and receiving SMS

Voice

Supports making and receiving voice calls

Interface

Serial (UART)

Power Consumption

1.5W

Operating Voltage

3.5V - 4.5V

Dimensions

24.5 x 24.5 x 3.5 mm

Operating Temperature

-20C to +70C

Applications

The A6 GSM Module is suitable for various applications, including

IoT projects (e.g., remote monitoring, tracking, and control systems)

M2M applications (e.g., industrial automation, fleet management, and smart energy management)

Wireless sensors and monitoring systems

GPS tracking devices

Security systems

Conclusion

The A6 GSM Module is a reliable and efficient wireless communication solution for IoT and M2M applications. Its compact size, low power consumption, and quad-band support make it an ideal choice for device manufacturers and developers.

Pin Configuration

  • A6 GSM Module Pinout Explanation
  • The A6 GSM module is a compact and versatile module that provides GSM/GPRS connectivity for IoT applications. It has a total of 24 pins, which can be categorized into power supply, communication, control, and antenna interface. Here's a detailed explanation of each pin:
  • Power Supply Pins
  • 1. VDD (Pin 1): Input power supply pin, typically connected to a 3.7V to 4.2V DC power source.
  • 2. VDD_IO (Pin 2): I/O power supply pin, typically connected to a 1.8V to 3.3V DC power source.
  • 3. GND (Pin 3 and 24): Ground pins, connected to the system ground.
  • Communication Pins
  • 4. TXD (Pin 4):Transmit data pin, connected to the RXD pin of the microcontroller or serial interface.
  • 5. RXD (Pin 5): Receive data pin, connected to the TXD pin of the microcontroller or serial interface.
  • 6. RTS (Pin 6): Request-to-Send pin, connected to the RTS pin of the microcontroller or serial interface (optional).
  • 7. CTS (Pin 7): Clear-to-Send pin, connected to the CTS pin of the microcontroller or serial interface (optional).
  • Control Pins
  • 8. PWRKEY (Pin 8): Power on/off control pin, connected to a microcontroller or a switch to control the module's power state.
  • 9. RESET (Pin 9): Reset pin, connected to a microcontroller or a switch to reset the module.
  • 10. STATUS (Pin 10): Status indicator pin, connected to a microcontroller or an LED to indicate the module's status.
  • Antenna Interface Pins
  • 11. ANT1 (Pin 11): Main antenna pin, connected to a GSM antenna.
  • 12. ANT2 (Pin 12): Diversity antenna pin, connected to a second GSM antenna (optional).
  • Miscellaneous Pins
  • 13. SIM_VCC (Pin 13): SIM card power supply pin, connected to a 1.8V to 3.3V DC power source.
  • 14. SIM_CLK (Pin 14): SIM card clock pin, connected to the SIM card's clock signal.
  • 15. SIM_IO (Pin 15): SIM card I/O pin, connected to the SIM card's I/O signal.
  • 16. MICP (Pin 16): Microphone positive pin, connected to a microphone.
  • 17. MICN (Pin 17): Microphone negative pin, connected to a microphone.
  • 18. SPKP (Pin 18): Speaker positive pin, connected to a speaker.
  • 19. SPKN (Pin 19): Speaker negative pin, connected to a speaker.
  • 20. ADC (Pin 20): Analog-to-digital converter input pin, connected to an analog signal source.
  • 21. DAC (Pin 21): Digital-to-analog converter output pin, connected to a DAC converter.
  • 22. GPIO1 (Pin 22): General-purpose input/output pin, can be configured as an input or output.
  • 23. GPIO2 (Pin 23): General-purpose input/output pin, can be configured as an input or output.
  • Note: The GPIO pins can be used for various purposes such as controlling external devices, reading sensors, or generating signal pulses. Consult the module's datasheet for specific configuration and usage guidelines.
  • When connecting the pins, ensure that you follow the correct polarity and voltage ratings to avoid damage to the module or other components. It's recommended to use a breadboard or a custom PCB with proper soldering and electrical connections.

Code Examples

A6 GSM Module Documentation
Overview
The A6 GSM Module is a compact, low-power wireless communication module that enables SMS, voice, and GPRS data transmission over a cellular network. This module is based on the A6 chipset and supports quad-band GSM frequencies, making it compatible with most cellular networks worldwide.
Key Features
Quad-band GSM frequencies (850/900/1800/1900 MHz)
 SMS, voice, and GPRS data transmission
 Low power consumption ( typical 30mA in standby mode)
 Compact size (24mm x 24mm x 4mm)
 Operating voltage: 3.4V to 4.5V
 TTL UART interface for communication with microcontrollers
Pinouts
The A6 GSM Module has a 24-pin interface, with the following pinouts:
| Pin # | Function |
| --- | --- |
| 1 | VBAT (Power supply) |
| 2 | GND (Ground) |
| 3 | RXD (Receive data) |
| 4 | TXD (Transmit data) |
| 5 | PWR_KEY (Power on/off) |
| 6-24 | NC (Not connected) |
Example 1: Sending SMS using Arduino
In this example, we will demonstrate how to send an SMS using the A6 GSM Module with an Arduino Uno board.
Hardware Requirements
A6 GSM Module
 Arduino Uno board
 Breadboard and jumper wires
Software Requirements
Arduino IDE (version 1.8.x or higher)
Code
```c++
#include <SoftwareSerial.h>
#define GSM_RX 2
#define GSM_TX 3
#define GSM_PWR_KEY 4
SoftwareSerial gsm Serial(GSM_RX, GSM_TX);
void setup() {
  pinMode(GSM_PWR_KEY, OUTPUT);
  digitalWrite(GSM_PWR_KEY, HIGH);
  delay(1000);
  digitalWrite(GSM_PWR_KEY, LOW);
  delay(1000);
gsm.begin(9600);
  Serial.begin(9600);
delay(1000);
  gsm.println("AT");
  delay(1000);
  gsm.println("AT+CMGF=1");
  delay(1000);
  gsm.println("AT+CMGS=""+1234567890""");
  delay(1000);
  gsm.println("Hello from A6 GSM Module!");
  delay(1000);
  gsm.println((char)26);
  delay(1000);
}
void loop() {
  // Nothing to do here
}
```
Example 2: Making a Voice Call using Raspberry Pi
In this example, we will demonstrate how to make a voice call using the A6 GSM Module with a Raspberry Pi board.
Hardware Requirements
A6 GSM Module
 Raspberry Pi board
 Breadboard and jumper wires
Software Requirements
Raspbian OS (latest version)
 Python 3.x
Code
```python
import serial
import time
gsm_port = '/dev/ttyUSB0'
gsm_baudrate = 9600
def make_call(number):
    gsm = serial.Serial(gsm_port, gsm_baudrate, timeout=1)
    gsm.write(b'AT
')
    time.sleep(1)
    gsm.write(b'ATD' + number + b';
')
    time.sleep(30)  # wait for 30 seconds
    gsm.write(b'ATH
')
number = '+1234567890'
make_call(number)
```
Example 3: GPRS Data Transmission using ESP32
In this example, we will demonstrate how to transmit GPRS data using the A6 GSM Module with an ESP32 board.
Hardware Requirements
A6 GSM Module
 ESP32 board
 Breadboard and jumper wires
Software Requirements
ESP32 Arduino Core (version 1.0.5 or higher)
Code
```c++
#include <WiFi.h>
#include <GPRS.h>
#define GSM_RX 16
#define GSM_TX 17
#define GSM_PWR_KEY 4
GPRS gsm(GSM_RX, GSM_TX, GSM_PWR_KEY);
void setup() {
  Serial.begin(115200);
  gsm.begin(9600);
// Initialize GPRS
  gsm.sendCommand("AT+SAPBR=3,1,""CONTYPE"