Difference between revisions of "A7600E Cat-1/GSM/GPRS HAT"

From Waveshare Wiki
Jump to: navigation, search
Line 1: Line 1:
<div class="wiki-pages jet-green-color">
{{Infobox item|
{{Infobox item|
Line 26: Line 27:
|More = [http://www.waveshare.com/a7600e-cat-1-gsm-gprs-hat.htm More]}}
|More = [http://www.waveshare.com/a7600e-cat-1-gsm-gprs-hat.htm More]}}
{{A7600X Cat-1/GSM/GPRS HAT User Manual}}
{{A7600X Cat-1/GSM/GPRS HAT User Manual}}
<div class="tabbertab" title="Resources">
== Resources ==
== Resources ==
Line 53: Line 52:
[https://www.simcom.com/product/A7600E.html SIMCom A7600E...]<br />
[https://www.simcom.com/product/A7600E.html SIMCom A7600E...]<br />
[https://www.simcom.com/product/A7600C1.html SIMCom A7600C1...]
[https://www.simcom.com/product/A7600C1.html SIMCom A7600C1...]
<div class="tabbertab" title="FAQ">
== FAQ ==
== FAQ ==
<div class="tabbertab" title="Supports">
[[Category:Modules]][[Category:4G| ]][[Category:GPS/GSM| ]]
[[Category:Modules]][[Category:4G| ]][[Category:GPS/GSM| ]]

Revision as of 06:42, 12 July 2022

mainly applicable in Southeast Asia, West Asia, Europe, Africa
A7600C1 Cat-1/GSM/GPRS HAT
mainly applicable in China




LTE Cat-1/2G HAT for Raspberry Pi, Based on A7600X



  • Standard Raspberry Pi 40PIN GPIO extension header, supports Raspberry Pi series boards, Jetson Nano.
  • Supports protocols including TCP/IP, HTTP(s), MQTT(s), FTP(s), and SSL.
  • Supports dial-up, telephone call, SMS.
  • Supports LBS base station positioning, it is able to get the approximate position info via mobile network.
  • TTS (Text To Speech) feature, texts in Chinese/English can be converted into spoken words.
  • Onboard USB interface, for testing AT Commands, network communication, and so on.
  • Onboard audio jack for sound recording, making telephone call, listening the TTS resulting speech, etc.
  • Onboard USB to UART converter, for serial debugging, or accessing the Raspberry Pi.
  • Breakout common used control pins of the A7600X module, make it easy to connect with hosts boards like Arduino/STM32
  • SIM card slot, supports 1.8V/3V SIM card.
  • TF card slot for storing data like files, audio data, etc.
  • 2x LED indicators, easy to monitor the operating status.
  • Onboard voltage translator, operating voltage can be configured to 3.3V or 5V via 0Ω resistor jumper.
  • Baudrate: 300bps ~ 4Mbps (default: 115200bps).
  • Comes with development resources and manual (examples for Raspberry Pi/Jetson Nano/Arduino/STM32).


Hardware connection

  • Prepare the following things before using the module:
4G SIM card (China Mobile, China Unicom or Telecom card, without shutdown and GPRS enabled); 
Headset cable with microphone (optional); 
Micro SD card (optional);
micro USB cable
LTE antenna
  • When power off, please insert the activated 4G SIM card, TF card (optional), insert the headphone cable with microphone (optional), and then connect the USB cable to the computer.


  • Connect one end of the micro USB cable to the USB port of the PC, and the other end to the USB port of the A7600C1-Cat-1 GSM GPRS-HAT, you can see the PWR light is on, and the NET light is off.
  • Press the PWR button for about 1 second, wait for about ten seconds, and you can see that the NET light starts to flash once every second, then the module starts to work.
  • Open the device manager and install the windows driver file Windows Driver when using it for the first time. Please refer to the figure below:
  • Check the Device Manager of PC, the several COM ports will be recognized::
    A7600X Cat-1 HAT CheckPort.png

PPPD dial-up Internet In Windows system

LTE Cat-1 dial-up Internet operation

  • In Windows 10, the operation is as follows:
  • Connected successfully, start speed test:www.speedtest.cn

The ideal uplink and downlink rates that Cat-1 and 2G can achieve are as follows,The actual test will be affected by network coverage and congestion:

Network Uplink Downlink
LTE Cat-1 5Mbps 10Mbps
EDGE 236.8Kbps 236.8Kbps
GPRS 85.6Kbps 85.6Kbps

Serial assistant debugging

For software settings, refer to the frame selection in the following figure:

Common AT Commands

AT Command Description Return
AT AT test command OK
ATE ATE1 set echo
ATE0 close echo
AT+SIMCOMATI Query module information OK
AT+IPREX Set the module hardware serial port baud rate +IPREX:
AT+CRESET Reset module OK
AT+CSQ Network signal quality query, return signal value +CSQ: 25,99
AT+CPIN? Query the status of the SIM card and return READY, indicating that the SIM card can be recognized normally +CPIN: READY
AT+COPS? Query the current operator, the operator information will be returned after the normal network +COPS:
AT+CREG? Query network registration status +CREG:
AT+CPSI? Query UE system information
AT+CNMP Network mode selection command:
13:GSM only
14:WCDMA only
38:LTE only

TCP/UDP data transparent transmission

AT Command Description Return
AT+NETOPEN Start Socket Service OK
AT+CIPRXGET=1 Set the Mode to Retrieve Data OK
AT+CIPOPEN=0,"TCP","",2317 Establish Connection in Multi-Socket Mode +CIPOPEN: 0,0
AT+CIPSEND=0,9 Send data through TCP or UDP Connection >
wavehare data OK
+CIPSEND: 0,9,9
AT+CIPCLOSE=0 Close TCP or UDP Socket +CSQ: 25,99
AT+NETCLOSE Stop Socket Service OK

A7600X Cat HAT TCP.jpg

TTS text-to-speech

AT commands for TTS text-to-speech are as follows:

AT+CTTSPARAM=? //TTS parameters setting help
AT+CTTSPARAM=1,3,0,1,1 //Set TTS parameters
AT+CTTSPARAM? //Read TTS parameters
AT+CTTS=1,"6B228FCE4F7F75288BED97F3540862107CFB7EDF" //synth and play UCS2 text
AT+CTTS=2,"1234567890" //synth and play ASCII text


LBS (Location Based Services)

LBS Commands:

AT+CLBS=?  //Check base station location parameters
AT+SIMEI=xxxxx //set IMEI first if no IMEI, xxxxx must correspond to the IMEI code on the module label
AT+CLBS=2 //type = 2,get detail address
AT+CLBS=1 ///type = 1,get longitude and latitude


Phone Call

ATD<phone_number>;  //For example, dial 10000: ATD10000;
AT+CHUP //Hang up the call

If you think the output volume is too low, you can use the following command to adjust::

AT+COUTGAIN=?  //Adjust the volume, (0-7)
AT+COUTGAIN=7   //Set the volume to 7, return OK


Send English SMS

AT+CMGF=1 //Set the SMS mode to TEXT
AT+CMGS="phone number" //Set the receiver's mobile phone number

Receive English SMS

AT+CMGR=20 //read the 20th information (AT+CMGL="ALL" means to read all information)

A7600X-Message2.jpg A7600X-Message3.jpg

Raspberry Pi

Hardware connection

  • Onboard Raspberry Pi 40PIN GPIO extension header,can be directly connected to the Raspberry Pi.
  • Pinout Definition:

Note:Set the PWR on/off selection jumper:3V3-PWR

  • Raspberry Pi serial port configuration
sudo raspi-config

Select Interfacing Options ->Serial ->no -> yes,then restart raspberry pi

sudo reboot

edit /boot/config.txt,add the config below at the end of the file:


Restart to take effect

Raspberry Pi minicom serial port debugging

1.Insert the A7600X into the Raspberry Pi
2.Install minicom:

sudo apt-get install minicom

3.Execute command:sudo minicom -D /dev/ttyS0(ttyS0 is the UART of Raspberry Pi 3B/3B+/4B,ttyAMA0 is the UART of Raspberry pi 2B/zero)
Baud rate is 115200 by default.If you need to change the baud rate, for example 9600, you can add the parameter -b 9600.
4.Send related AT commands, as shown in the figure below:
Note: Minicom can enter the setting mode by pressing Ctrl+a, then press z, and select X to exit.

Raspberry Pi Dial-up Internet

  • Connect the A7600X USB to the raspberry pi
  • Refer to the link below for detailed operation:
  • After dialing up the Internet, if the DNS cannot be resolved and the Internet cannot be accessed, you can enter the command in the terminal:
route add -net ppp0

Demo Code

1、Insert the module to raspberry pi
2、Download the Demo to the Raspberry pi /home/pi/

cd ~
wget https://www.waveshare.com/w/upload/f/f3/AT7600X_Cat_Hat_Demo.7z
sudo apt-get install p7zip-full
7z x A7600X_Cat_HAT_Demo.7z   -r -o/home/pi
sudo chmod 777 -R /home/pi/A7600X_Cat_HAT_Demo
  • TCP


  • LBS


  • HTTP


  • MQTT


  • SSL


  • FTP

The demo code needs to set the FTP server ip address and port, user name and password

  • TTS


Jetson Nano

Hardware connection

Set the jumper:3V3-PWR

Jetson nano serial port debugging

1.Insert the A7600X into the Jetson Nano 2.Install minicom:

sudo apt-get install minicom 

3.Type in the terminal:

sudo minicom -D /dev/ttyTHS1 -b 115200

Note: Minicom can enter the setting mode by pressing Ctrl+a, then press z, and select X to exit.

Jetson Nano PPPD Dial-up Internet

Set the jumper:3V3-PWR
PPPD Dial-up Internet

Internet test:

ping -I ppp0 www.baidu.com
route add -net ppp0

Python Code

Install related python library:

sudo apt-get python3-pip
sudo pip3 install pyserial
sudo apt-get install p7zip

Download the demo code into the jetson nano

cd ~
wget https://www.waveshare.com/w/upload/f/f3/AT7600X_Cat_Hat_Demo.7z
sudo apt-get install p7zip-full
7z x A7600X_Cat_HAT_Demo.7z   -r -o./
sudo chmod 777 -R /home/pi/A7600X_Cat_HAT_Demo

Run the demo code

sudo python TCP.py



Hardware Connection

  • STM32 Board:STM32F103ZET6
  • STM32 UART2 is connected to A7600X UART,
    STM32 UART1 is connected to PC

Demo Code

Download:STM32 demo code



A7600X Related


Application Note

SIMCom A7600E...
SIMCom A7600C1...



If you require technical support, please go to the Support page and open a ticket.