EasyMades
Published © CERN-OHL

A6 GSM GPRS Module AT Commands

How to connect A6 GSM GPRS module with Arduino and also work with “AT” commands.

EasyFull instructions provided453
A6 GSM GPRS Module AT Commands

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
A6 GPRS Module
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Hand tools and fabrication machines

Mastech MS8217 Autorange Digital Multimeter
Digilent Mastech MS8217 Autorange Digital Multimeter

Story

Read more

Schematics

Wiring

Code

Code

Arduino
Once the wiring is completed, you can start programming.


How to work with AT commands.?


#include <SoftwareSerial.h> 

SoftwareSerial A6MODULE(2,3);

void setup() {
  // put your setup code here, to run once:
 Serial.begin(9600);
delay(1000);
  A6MODULE.begin(9600);
delay(1000);
}

void loop() {
 
 while(A6MODULE.available()){
  Serial.write(A6MODULE.read());
 }

  
 while(Serial.available()){
  A6MODULE.write(Serial.read());
 }

}

After Uploading codes, run the serial monitor.

Now type AT and press enter. If all the things are in order, Serial monitor will say OK

HOW TO CALL?
ATD command is used for dial a phone call.

Eg: Type ATD+123456789 then enter (your phone number)

 HOW TO SEND SMS?
Type AT+CMGF = 1  then enter  Answer should be OK

Then Type AT+CMGS = +123456786 then enter (your phone number)

Credits

EasyMades

EasyMades

4 projects • 0 followers

Comments

Add projectSign up / Login