Tags: , SIM900, Replacement, A6, GPRS, GSM, Antenna

GSM SIM900 Replacement A6 GPRS GSM With Antenna

  • 49.00 AED
    • Ex Tax:49.00 AED
    • Product Code: A6
    • Availability: In Stock
    This is professional version serial GSM / GPRS core development board based on GPRS A6 module. It supports dual-band GSM/GPRS network, available for GPRS and SMS message data remote transmission.The board features compact size and low current consumption. With power saving technique, the current con..
    This is professional version serial GSM / GPRS core development board based on GPRS A6 module. It supports dual-band GSM/GPRS network, available for GPRS and SMS message data remote transmission.
    The board features compact size and low current consumption. With power saving technique, the current consumption is as low as 3mA in sleep mode.
    It communicates with microcontroller via UART port, supports command including GSM 07.07, GSM 07.05 and Ai-Thinker enhanced AT Commands.
     
    Features:
    - Working frequency: quad-band network, 850 / 900 / 1800 / 1900MHz
    - Working voltage: 4.8-9VDC(On-board voltage regulator circuit supply power for A6 module)
    - Working Current: maximum of 2A
    - Sleep Current: 5mA
    - Onboard Micro SIM card holder, you can install Micro SIM card
    - Onboard Micro USB interface for external power supply
    - Communication Interface: TTL serial port / RS232 serial port
    - Baud rate: 115200bps and it can also be set by AT command.
    - Interface logic voltage: 3.3V
    - Make and answer phone calls using a headset and electret microphone.
    - Send and receive SMS messages.
    - Send and receive GPRS data (TCP/IP, HTTP, etc.) .
    - Be used to test the Ai-Thinker GPRS A6 module
    - Pin pitch: 2.54mm
    - Onboard antenna interface: SMA and IPX
     
    About the Antenna:
    - Suitable for SIM800L GSM modules / for Arduino SIM900 GPRS Shield
    - Frequency: 780MHz ~ 960MHz .1710MHz ~ 2170MHz
    - Antenna gain: +2.0 ± 0.7 dBi @ 880 MHz, +2.0 ± 0.7 dBi @ 1800 MHz
    - S.W.R <= 2.0 @ 2100 MHz ~ 2500 MHz
    - Output Impedance: 50 Ohm
    - Antenna interface: SMA

    Arduino Code – Testing AT Commands

    For sending AT commands and communicating with the A6 module, we will use the serial monitor. The sketch below will enable the Arduino to communicate with the A6 module on serial monitor. Before we proceed with detailed breakdown of code, connect your Arduino to PC, compile below code and upload it to the Arduino.

    Once you open a serial monitor, make sure that ‘Both NL & CR’ option is selected!

    #include <SoftwareSerial.h>
    
    //Create software serial object to communicate with A6
    SoftwareSerial mySerial(3, 2); //A6 Tx & Rx is connected to Arduino #3 & #2
    
    void setup()
    {
      //Begin serial communication with Arduino and Arduino IDE (Serial Monitor)
      Serial.begin(9600);
      
      //Begin serial communication with Arduino and A6
      mySerial.begin(9600);
    
      Serial.println("Initializing...");
      delay(1000);
    
      mySerial.println("AT"); //Once the handshake test is successful, it will back to OK
      updateSerial();
      mySerial.println("AT+CSQ"); //Signal quality test, value range is 0-31 , 31 is the best
      updateSerial();
      mySerial.println("AT+CCID"); //Read SIM information to confirm whether the SIM is plugged
      updateSerial();
      mySerial.println("AT+CREG?"); //Check whether it has registered in the network
      updateSerial();
    }
    
    void loop()
    {
      updateSerial();
    }
    
    void updateSerial()
    {
      delay(500);
      while (Serial.available()) 
      {
        mySerial.write(Serial.read());//Forward what Serial received to Software Serial Port
      }
      while(mySerial.available()) 
      {
        Serial.write(mySerial.read());//Forward what Software Serial received to Serial Port
      }
    }

    The sketch starts by including a SoftwareSerial.h library and initializing it with the Arduino pins to which Tx and Rx of A6 module is connected.

    #include <SoftwareSerial.h>
    
    //Create software serial object to communicate with A6
    SoftwareSerial mySerial(3, 2); //A6 Tx & Rx is connected to Arduino #3 & #2

    In setup function: we initialize a serial communication link between Arduino, Arduino IDE and A6 module at a baud rate of 9600.

    //Begin serial communication with Arduino and Arduino IDE (Serial Monitor)
      Serial.begin(9600);
      
      //Begin serial communication with Arduino and A6
      mySerial.begin(9600);

    Now that we have established a basic connection, we will try to communicate with the A6 module by sending AT commands.

    AT – It is the most basic AT command. It also initializes Auto-baud’er. If it works you should see the AT characters echo and then OK, telling you it’s OK and it’s understanding you correctly! You can then send some commands to query the module and get information about it such as

    AT+CSQ – Check the ‘signal strength’ – the first # is dB strength, it should be higher than around 5. Higher is better. Of course it depends on your antenna and location!

    AT+CCID – get the SIM card number – this tests that the SIM card is found OK and you can verify the number is written on the card.

    AT+CREG? Check that you’re registered on the network. The second # should be 1 or 5. 1 indicates you are registered to home network and 5 indicates roaming network. Other than these two numbers indicate you are not registered to any network.

      mySerial.println("AT"); //Once the handshake test is successful, it will back to OK
      updateSerial();
      mySerial.println("AT+CSQ"); //Signal quality test, value range is 0-31 , 31 is the best
      updateSerial();
      mySerial.

    There are no reviews for this product.

    Write a review

    Please login or register to review