SIM7600CE-T/E-H/A-H/SA-H/G-H 4G Modules

From Waveshare Wiki
(Redirected from SIM7600CE 4G HAT)
Jump to: navigation, search
SIM7600E-H 4G HAT
mainly applicable in Southeast Asia, West Asia, Europe, Africa
SIM7600E-H.jpg
SIM7600E LTE Cat-1 HAT
mainly applicable in Southeast Asia, West Asia, Europe, Africa
SIM7600E-H.jpg
SIM7600A-H 4G HAT
mainly applicable in North America (US, CA)
SIM7600E-H.jpg
SIM7600SA-H 4G HAT
mainly applicable in Australia, New Zealand, Taiwan, Latin America
SIM7600E-H.jpg
SIM7600G-H 4G HAT
the global version for Pi
SIM7600E-H.jpg
Primary Attribute
Category: Modules, 4G, GPS/GSM, Raspberry Pi
{{{userDefinedInfo}}}: {{{userdefinedvalue}}}
Brand: Waveshare
Website
International: Waveshare website
Chinese: 官方中文站点
Onboard Interfaces
RPi UART
Related Products

Introduction

4G/3G/2G/GSM/GPRS/GNSS HAT for Raspberry Pi, Based on SIM7600X-H

More

Features

  • 40PIN GPIO extension header for connecting Jetson Nano
  • Supports dial-up, telephone call, SMS, mail, TCP, UDP, DTMF, HTTP, FTP, etc.
  • Supports GPS, BeiDou, Glonass, LBS base station positioning
  • Onboard USB interface, to test AT Commands, get GPS positioning data, and so on
  • Breakout UART control pins, to connect with host boards like Arduino/STM32
  • SIM card slot, supports 1.8V/3V SIM card
  • Onboard 3.5mm audio jack with earphone and mic support, for making telephone calls
  • 2x LED indicators, easy to monitor the working status
  • Onboard voltage translator, the operating voltage can be configured to 3.3V or 5V via jumper
  • Baudrate: 300bps ~ 4Mbps (default: 115200bps)
  • Autobauding baudrate: 9600bps ~ 115200bps
  • Control via AT commands (3GPP TS 27.007, 27.005, and V.25TER command set)
  • Supports SIM application toolkit: SAT Class 3, GSM 11.14 Release 99, USAT

Testing

  • Insert the SIM card and earphone to the SIM7600X board, if you want to test the TF card slot, you can also insert a TF card to the card slot.
  • Connect the USB interface of SIM7600X board to PC.
Sim7600CE-1.jpgSim7600CE-2.jpg
  • The PWR indicator turns on after connecting
  • Long-press the PWR button for 1, the NET LED turns on and became flashing after 10s. (If the NET indicator keeps solid, please check if the SIM card is workable)
  • Check the Device Manager of PC, the several COM ports will be recognized:
Sim7600CE-3.jpg
  • If the COM ports are recognized with an exclamation symbol, you should install the driver manually.
  • Connect the DONGLE to Windows PC (Hereafter we use Windows 10 PC as example))
  • Open Device Manager—>Other Devices—>“SimTech, Incorporated”—>Update driver—>Browse my compute for driver software—>Choose the driver according to your OS—>Install it
  • After installation, all the devices should be recognized normally as below:

SIM7600X-Driver-8.jpg
【Note】If you want to let the module power on automatically after booting, you can just connect PWR pin to GND and connect P7 pin to GND.

SIM7600X-auto-turn-on.png

【Note】Reference of indicators

NETLIGHT.png

AT commands for testing

AT Command Description Return
ATE ATE1: Echo mode on
ATE0: Echo mode off
OK
AT+CGMI Request manufacturer indentification OK
AT+CGMM Request model indentification OK
AT+CGSN Request product serial number identification OK
AT+CSUB Request porduct version OK
AT+CGMR Request firmware version OK
AT+IPREX Configure buad rate of model +IPREX:OK
AT+CRESET Reset model OK
AT+CSQ Query signal quality OK
AT+CPIN? Query SIM card status +CPIN:RRADY
AT+COPS? Query provider information +COPS:OK
AT+CREG? Query network registation status +CREG: OK
AT+CPSI? Query UE system information
AT+CNMP Select Network Mode:

2: Automatic
13: GSM only
38: LTE only
48: Any modes but LTE <nr /> ....

OK

For more information about the AT command, you can refer to AT command manual

Sim7600CE-4.png

Make calls and answer

  • Insert the SIM card, connect the LTE antenna and connect the USB interface of SIM7600E-H 4G HAT to PC, Then press the PWRKEY to power on the boardl
  • Check whether the indicators blink correctly (PWR's and NET's flashes)
  • Send AT commands as bellow:
Commands Description Return
AT+CNUM Phone number (only supported by some SIM cards) +CNUM OK
AT+CSDVC AT+CSDVC=1: Handset output
AT+CSDVC=3: Speaker output
OK
AT+CLVL=? Check volume level OK
AT+CLVL=2 Volume level set to 2 OK
ATD<phone_number>; Make calls OK
AT+CHUP Hang up call OK
AT+CLIP=1 Phone ring OK
ATA Answer call OK
Sim7600CE-5.png

The hardware configration of the New Version

In the second half of 2021, the SIM7600 series boards will be switched to new versions for shipment. The old and new versions can be used normally and stably.Compared with the old version, the new version has the following changes:

SIM7600 NEW old-V2.jpg
  • 1) Newly added 330uF electrolytic capacitor (Stronger voltage stabilization ability)
  • 2) Newly added PWR and Flightmode pin jumpers (Automatic power-on function can be set, and the IO port can be customized to control the switch and Flight mode)
  • 3) Add solderable pads for VCCIO.(when used with Raspberry Pi, the SIM7600X 4G HAT is soldered at 3.3V working level by default; if you need to use 5V working-level MCU, you can change it to 5V by yourself)
  • 4) Add solderable pads for the module USB. (if you don’t want to use a USB adapter cable, you can solder them to the corresponding USB solder joints at the bottom of the Raspberry Pi through some flying cables. This operation should be used with caution by non-professionals)
  • 5) The power management IC was changed from MP1482 to SPX29302
  • 6) The silkscreen naming is changed from "WPI naming" to "BCM naming"
  • 7) Fine-tuning the layout
  • 8) Add new solder joints for module Boot to burn the firmware forcibly. Short-circuit the two pads can enter the forced firmware burning mode. (Only used when the firmware cannot be burned normally)

Description of turning on/off the HAT for New Version

  • In the new version, PWR and 3V3 are short-circuited by default, so the HAT turned on automatically after connecting to the power supply.
  • If you need to use the PWRKEY button to turn on/off the HAT, please remove the jumper cap between PWR and 3V3:
  • If you want to use the Raspberry Pi to turn on/off, please set the jumper cap between PWR and D6:
SIM7600X Power.png

Flight mode description of the New Version

  • The new version of the HAT doesn't turn on the Flight mode by default:
  • If you need to control the Flight mode through the Raspberry Pi pins, set the jumper cap between Flight and D4:
SIM7600X Flight.png

UART configuration of Raspberry Pi

Since the Raspberry Pi UART serial port is used for terminal debugging by default, if you need to use the serial port, you need to modify the Raspberry Pi settings. Execute the following command to enter the Raspberry Pi configuration:

sudo raspi-config

Choose Interfacing Options ->Serial ->no -> yes to disable Linux’s use of console UART

Sim7600CE-27 (1).jpg

Open /boot/config.txt file, find the below statement. If there has not this line, you can directly add it at the end of the file.

enable_uart=1

And then reboot the system.

Minicom for UART debugging on Raspberry Pi

1. Insert the module into the Raspberry Pi
2. Install minicom,minicom is a text-based modem control and terminal emulation program for Linux:

sudo apt-get install minicom

3. Execute command: minicom -D /dev/ttyS0(ttyS0 is the UART of Raspberry Pi 3B)

  • Baud rate is 115200 by default. If you need to change the baud rate, for example 9600, you can add the parameter -b 9600.
  • The user UART device of Raspberry Pi 2B/Zero is ttyAMA0, and ttyS0 of Raspberry Pi 3B.

4. Take the AT synchronization test as an example, and send related commands, as shown in the picture below:

Sim7600CE-29.jpg

Minicom can enter the setting mode by pressing Ctrl+A then pressing Z, and selecting X to exit.

Download the demo

1. Insert the module into the Raspberry Pi
2. Download the demo to /home/pi/ directory:

wget https://www.waveshare.com/w/upload/2/29/SIM7600X-4G-HAT-Demo.7z
sudo apt-get install p7zip-full
7z x SIM7600X-4G-HAT-Demo.7z   -r -o/home/pi
sudo chmod 777 -R /home/pi/SIM7600X-4G-HAT-Demo

3. Enter the bcm2835 directory, compile and install the BCM2835 library:

chmod +x configure && ./configure && sudo make && sudo make install

4. Enter to the corresponding demo directory, compile and run the demo, here we take PhoneCall demo as an example:

sudo make clean          //Clear the original execution file
sudo make              //recompile
sudo ./PhoneCall       //Run the program

Combination command:

sudo make clean && sudo make && sudo ./PhoneCall

PHONECALL demo

Sim7600CE-31.jpg

SMS message sending and receiving demo

Sim7600CE-32.jpg

GPS positioning

Sim7600CE-33.jpg

TCP network communication demo

Sim7600CE-34.jpg

FTP download and upload demo

Sim7600CE-35.jpg

FAQ

Question:
NET light does not flicker after startup of SIM7600X, what should I do if the network is abnormal?
Answer:
This situation may not be successfully connected to the network, you can follow the steps below:

Firstly, check the hardware connection, check whether the antenna is properly connected, and check whether the +SIM card can be used to make normal calls and surf the Internet in mobile phones and other devices: After checking the hardware connection, the software can use these instructions:

  • Check whether the SIM card is in good contact: AT+CPIN?

SIM7600X test 1 (2).png

  • Check if sim card is in good contact: AT+CNMP?

SIM7600X test 1 (1).png

  • Check the signal quality of the current environment: AT+CSQ

SIM7600X test 1 (3).png

  • Check operator access status: AT+COPS?

SIM7600X test 1 (4).png

  • Check networking status: AT+CPSI?

SIM7600X test 1 (5).png

  • Check that you have successfully registered to the network: AT+CREG?

SIM7600X test 1 (6).png



Question:
Why the NMEA port of SIM7600E-H can not output after turning on GPS?
Answer:
If the SIM7600E-H module is a new baseline version, after turning on GPS, there is no data output on the NMEA port; you can output information through the following steps:


AT+CGPSNMEAPORTCFG=3   //set GPS mode to 3 
AT+CRESET             // Restart the module
AT+CGPS=1            // Turn on GPS

Question:
If you register to the network, dial successfully and get IP, but cannot surf the Internet?
Answer:
APN may not be obtained. Generally, APN can be obtained automatically. In some areas, it needs to be obtained manually. For example, you can set it through the following instruction:


AT+CGDCONT=1, "IP", "CMNET" / / set APN (CMNET is the apn of China Mobile, different operators have different apn)

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