SIM7600X 4G & LTE Cat-1 HAT

From Waveshare Wiki
(Redirected from SIM7600CE-JT1S 4G HAT)
Jump to: navigation, search
SIM7600CE
RPi 4G/3G/GSM/GPRS/GNSS
SIM7600CE.png
SIM7600G-H
RPi 4G/3G/GSM/GPRS/GNSS
SIM7600G-H.png
SIM7600G-H for Jetson Nano
RPi 4G/3G/GSM/GPRS/GNSS)
SIM7600G-H for Jetson Nano.png
SIM7600E
RPi 4G/3G/GSM/GPRS/GNSS
SIM7600E.png
{{{name5}}}

{{{name6}}}

Overview

Features

  • 40PIN GPIO extension header for connecting Jetson Nano.
  • Supports dial-up, telephone calls, SMS, mail, TCP, UDP, DTMF, HTTP, FTP, etc.
  • Supports GPS, BeiDou, Glonass, and 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.
  • Onboard CP2102 USB to UART converter, for serial debugging.
  • SIM card slot, supports 1.8V/3V SIM card.
  • Onboard TF card slot, which can be used to store files, text messages, and other data.
  • Onboard audio jack and audio decoder chip, for making telephone calls.
  • 2 x 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.
  • Comes with online resources and manuals (example demos such as Raspberry/Jetson Nano/Arduino/STM32).

Onboard Resources

Pinout-difinition.png
SIM7600X-on.png

Video

Specification

Product SIM7600CE-CNSE SIM7600CE-T SIM7600E SIM7600E-H* SIM7600A-H* SIM7600G-H
Working Frequency
LTE Cat-4
/LTE Cat-1
LTE-TDD
B38/B39/B40/B41
LTE-FDD
B1/B3/B5/B8
LTE-FDD
B1/B3/B5/B7/B8/B20
LTE-TDD
B38/B40/B41
LTE-FDD
B2/B4/B12
LTE-TDD
B34/B38/B39/B40/B41
LTE-FDD:

B1/B2/B3/B4/B5/B7
/B8/B12/B13/B18/B19 /B20/B25/B26/B28/B66

3G UMTS/HSDPA/HSPA+
B1/B8
TD-SCDMA
B34/B39
UMTS/HSPA+
B1/B5/B8
UMTS/HSPA+
B2/B5
UMTS/HSDPA/HSPA+
B1/B2/B4/B5/B6/B8/B19
2G GSM/GPRS/EDGE
900/1800 MHz
not support GSM/GPRS/EDGE
850/900/1800/1900MHz
GNSS not support GPS/Beidou/GLONASS/GALILEO/QZSS
Data Transmission
LTE Cat-4
150Mbps(DL)/50Mbps(UL) not support 150Mbps(DL)/50Mbps(UL)
LTE Cat-1 not support 10Mbps(DL)
/5Mbps(UL)
not support
3G (HSPA+) 42Mbps(DL)/5.76Mbps(UL)
2G (EDGE) 236.8Kbps(DL)/236.8Kbps(UL) not support 236.8Kbps(DL)/236.8Kbps(UL)
2G (GPRS) 85.6Kbps(DL)/85.6Kbps(UL) not support 85.6Kbps(DL)/85.6Kbps(UL)
Software Features
Network Protocol TCP/IP/IPV4/IPV6/Multi-PDP/FTP/FTPS/HTTP/HTTPS/DNS
Internet Access PPP/NDIS/RNDIS
USB Driver Windows XP/7/8/10, Linux (RPi Raspbian System driver free)
Hardware Interface
SIM Card Slot Both are supported, compatible with 1.8V and 3V SIM cards
UART Interface Both are supported, the serial port sends and receives AT commands, and is compatible with 3.3V/5V working level
USB Interface Both are supported and can be used to test AT commands, obtain GPS positioning information, upgrade firmware, etc.
USB to UART Both are supported and can be used for serial port debugging or logging in to Raspberry Pi
Audio Port Both are supported and can be used for voice operations such as making calls
TF Card Slot Support, can be used to store files, text messages, and other data Not Support Support
Antenna Connector LTE main antenna LTE Main Antenna + LTE Diversity Antenna + GNSS Antenna
Application Scenarios
Applicable Area China Europe/Southeast Asia/West Asia/Africa
/China/Korea
North America Used globally
Typical Applications Medical and health, smart payment, public network intercom, environmental monitoring, energy monitoring, fleet management, smart industry, smart agriculture

Quick Test

Hardware Preparation

  • In addition to the micro USB cable, LTE antenna, and GPS antenna, users need to prepare the following items before using the module:
A 4G SIM card (no downtime and GPRS enabled);
A headphone cable with a microphone (optional);
A TF card (optional);

Hardware Connection

  • When powering off, insert the activated 4G SIM card, and TF card (optional), insert the headphone cable with microphone (optional), and then connect the USB cable to the computer.
  • Hardware connection diagram:

Hardware connection-4g.png

  • Back Connection Diagram:

Back-connection.png

Hardware Configuration 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 a 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 the 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 the New Version

  • In the new version, PWR and 3V3 are short-circuited by default, so the HAT is 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
  • The old version is manually switched on and off by default. If you need to set it to power on automatically, you need to short the PWR and GND pins together through the DuPont wire as shown below:

SIM7600X Quick Test02.png

  • Manual power on/off: Support the "PWRKEY button" or "Raspberry Pi D6 pin" to control the power on/off.
    • "PWRKEY button": Press the PWRKEY button for about 1 second, wait for about 10 seconds, and see the NET light start to blink once every second, then the module starts to work; if you want to shut down, press and hold PWRKEY button for 3~5s to shut down, and the NET light will be off.
    • "Raspberry Pi D6 pin" control switch: you need to control the D6 pin output high and low levels through the code to achieve the switch.
  • Power on automatically: After the module is connected to the device, it will automatically power on.
    • This method can not be turned off, if you need to reduce power consumption, you can turn off the RF or enter the flight mode.

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

Net Indicator Working Status

NETLIGHT.png

Software Envirnment

Install Driver

1. Download Driver: SIM7600X driver
2. Insert the 4G HAT into the Windows computer as shown in the hardware connection diagram above (the Windows 10 operating system is used as an example below).
3. Make sure the module has been powered on normally: refer to the previous chapter "Switching on and off the module".
4. Unzip the driver file --> Double-click the exe driver file with the left mouse button --> Select the installation path --> NEXT --> Wait for the installation to complete --> Restart the computer --> Complete the driver installation.

  • After installation, all the devices should be recognized normally as below:

SIM7600X-Driver- (6).png

  • After installation, all the devices should be recognized normally as below:

SIM7600X-Driver-8.jpg

Common AT Command

  • SIM7600X module supports AT command control, some basic AT commands are shown in the table below:
    (For the complete AT command set, please refer to: For more AT commands, please refer to: SIM7600X series AT command set)
Command Description Return
AT AT Test Command OK
ATE ATE1 set echo
ATE0 close echo
OK
AT+CGMI Query module manufacturer OK
AT+CGMM Query module model OK
AT+CGSN Query product serial number OK
AT+CSUB Query module version and chip OK
AT+CGMR Query the firmware version serial number OK
AT+IPREX Set the module hardware serial port baud rate +IPREX:
OK
AT+CRESET Reset module OK
AT+CSQ Network signal quality query, return signal value +CSQ: 17,99
OK
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 normal networking +COPS:
OK
AT+CREG? Query network registration status +CREG:
OK
AT+CPSI? Query UE system information
AT+CNMP? Network mode selection command:
2: Automatic
13: GSM only
38: LTE only
48: Any modes but LTE
... ....
OK

AT command sending and receiving test

  1. Download serial debugging assistant: SIM7600 serial debugging assistant
  2. Open the device manager, find the port number corresponding to AT Port; then open the sscom software, select the corresponding port and baud rate, check "Add carriage return and line feed"; click the sscom "Extension" button and pull out the preset It is best to open the serial port and send the corresponding AT command to test. The test screenshot is shown below:
Sim7600CE-4.png

Dailing up

PC Windows

  • Usually, when we use the Windows 10 operating system, make sure that the hardware and software drivers are installed. After the module is powered on, the PWR light is on normally, the NET light is flashing normally, and it will automatically connect to the Internet. If the Internet cannot be automatically connected, we can also use NDIS or PPPD to connect to the Internet.

NDIS

The steps for Windows NDIS dialing are as follows:
1. Open the SIM7600 AT port, and send the command (if using SSCOM to generate AT command, you must check "Enter"):

AT$QCRMCALL=1,1 //must press "Enter"

Enter.png
2. At this point, the NDIS dialing takes effect, and the computer can connect to the network.

PPPD

Raspbian

Sim7600CE-14.png
  1. Insert the module into the Raspberry Pi, and connect the USB interface to the USB port of the Raspberry Pi, turn it on, and the hardware is as shown below:
  2. Refer to "Raspberry Pi initialization settings" below, The Raspberry Pi does the initial setup.
  3. For dial-up Internet access, refer to the following operation video (for dial-up Internet access, it is recommended to use a USB interface connection, which is faster):

Raspberry Pi RNDIS dial-up Internet access

NDIS dial-up and self-starting

PPPD dial-up

  • After dialing up the Internet, if the DNS cannot be resolved and the Internet cannot be accessed, you can add the command:
route add -net 0.0.0.0 usb0
route add -net 0.0.0.0 wwan0
route add -net 0.0.0.0 ppp0

GNSS

GNSS Position

  • Plug in the GPS antenna, and place the receiver in an open space (note that it cannot be tested in rainy weather). It takes about 1 minute to receive the positioning signal after power-on;

GNSS Position.png

  • AT Command
AT+CGPS=1 //Open GPS
AT+CGPSINFO //Print GPS information to the serial port
AT+CGPS=0 //close GPS
  • SSCOM Software Test:

Sscom test.png

TCP/IP Network Data

GPRS debugging requires a SIM card with the GPRS networking function enabled.
We take accessing a mobile SIM card as an example:

  1. Correctly install the mobile phone card (the GPRS networking function must be enabled), the GSM antenna, and connect the USB cable to the computer;
  2. Press the PWR key to start the module and wait for more than ten seconds;
  3. Observe whether the indicator light is normal, the PWR indicator is always on, and the NET indicator is flashing.

Set up a local computer virtual server

The virtual server defines the mapping relationship between the WAN service port and the LAN network server. All-access to the WAN service port will be relocated to the LAN network server specified by the IP address. (Please refer to your router's corresponding manufacturer's manual). Use a browser to log in to the router management interface (please refer to your router manual for the specific address).
Set the port number: 2317 (it does not conflict with the existing port number. In this example, it is set to 2317).
Set the intranet IP of the computer (the IP obtained by the computer in the local area network can be run CMD on the local machine, enter the command line prompt, enter ipconfig to view the IPv4 address, the intranet IP of the computer in this example is 192.168.1.168), as shown in the following figure:
LOCAL SERVER.png

Set up GPRS

AT+CGDCONT=1,"IP","CMNET" //Set APN
AT+CSQ //Query the network signal quality, the first parameter is the maximum network signal quality is 31, the larger the value, the stronger the network signal
AT+CREG? //Query the network registration status, where the second parameter is 1, it means the registration has been successful
AT+CIPMODE=1 //Set TCP/IP mode
AT+CSOCKSETPN=1 //Select TCP/IP application mode
AT+CIPMODE=0 //Select TCP/IP application mode
AT+NETOPEN //Open mode
AT+CIPOPEN=0,"TCP","113.81.233.65",2317 //Set TCP, IP, and port number to establish TCP/IP connection
AT+CIPSEND=0,9, //To specify to send 9 characters of data, return > to start sending 9 characters of content
AT+CIPCLOSE=0, //Close the TCP connection
AT+NETCLOSE, //Close the network

The operation steps are shown in the following figure:
Operate.png

TF Card Debugging

1. Insert the TF card when the power is off (press the pop-up), follow the normal boot steps, and select the port number:
Tfcard.png
2. Select the TF card directory as the current directory:

AT+FSCD=D: //Select TF card path
+FSCD: D:/
OK
AT+FSLS //View subdirectories
+FSLS: SUBDIRECTORIES:
overlays
MyDir
System Volume Information
...
...
OK

Tfcard2.png
3. Create a folder with content on the TF card. Use the statement to set the MyDir folder in the root directory, create a t1.txt file in the folder, and write the content test content at the same time.

AT+CFTRANRX="D:/MyDir/t1.txt",12 //File name
>test content //Content
OK

Tfcard3.png
4. Open TF Card:
Tfcard4.png
Tfcard5.png
For more information, please refer to SIM7600X AT Commands.

Phone Call

Dail

  • Refer to the "Hardware Configuration" chapter to connect the LTE antenna, SIM card (the phone function must be enabled), and the headset cable with microphone, and the module is turned on.
  • Common commands for making calls:
AT+CNUM Query the phone number (not all SIM cards support this command) +CNUM
OK
AT+CSDVC AT+CSDVC=1: switch to headphone output
AT+CSDVC=3: switch to speaker output
OK
AT+CLVL=? Query volume range OK
AT+CLVL=2 Set volume to 2 OK
ATD<phone_number>; ATD10086; : Dial the customer service number of Mobile 10086 OK
AT+CHUP hang up OK
AT+CLIP=1 Set Caller ID OK
ATA Answer the call OK
  • The detailed operation screenshots are as follows:

Enter3.png
【Note】: When using the SSCOM serial port assistant to send and receive AT commands, you must check "Enter".

Voice output mode and volume adjustment

AT+CSDVC=1 //Switch to headset
AT+CSDVC =3 //Switch to speaker
AT+CLVL =? //Query the volume range, return +CLVL: (0-5) //Indicates that the volume is adjustable from 0 to 5
AT+CLVL=2 //Set the volume to 2, return OK

Answer the call

Incoming call serial display: RING
send "ATA" // answer the call
Send "AT+CHUP" //hang up

Audio parameter debugging

AT+CACDBFN=?
+CACDBFN: (Handset_cal.acdb,Handset_tianmai.acdb) // It is recommended to consider setting this set of parameters
OK

A. In the initialization stage of the module startup, before making a call, add the following:

AT^PWRCTL=0,1,3 // Mainly improve TDD noise effect
OK

B. The module is in the process of establishing a voice call:

VOICE CALL:BEGIN // The module call is established and executed to improve the call effect
AT+CECM=1 //Echo suppression processing
OK
AT+CECH=0x500 //Improve the volume effect of the mobile phone
OK

SMS sending and receiving

Send English SMS

1. Install the SIM card and LTE antenna, connect the module's USB interface to the computer with a USB cable, and turn on the module;
2. Observe whether the indicator light is normal, the PWR indicator is always on, and the NET indicator is flashing;
3. Set the local SMS center: AT+CSCA="+8613800755500"+Enter, return OK.
4. AT+CMGF=1: Set the SMS mode to TEXT;
5. AT+CMGS=" phone number "<Enter>, set the recipient's mobile phone number, and then return: ">", send the desired content, such as "Send message test!", no need to enter at the end, after editing the text message Send 1A to send information in hexadecimal format (1A is the key value of "CTRL+Z", which is used to tell the module to execute the sending operation, or 1B or "ESC" to cancel the operation), after successful sending, the module returns + CMGS: 15 Confirmation that the transmission was successful. As shown below.
Send English Messages.png

Receive English SMS

1. Send a message on the phone: "This is a receive test for SIM7600X!" to the test module.

2. When receiving the information, the serial port will report the information, "SM", 20, which means there are 20 pieces of information in the SM, and the message just sent is the 20th piece of information.

3. Read information: AT+CMGR=20 to read the 20th information (AT+CMGL="ALL" to read all information).

4. Delete information: AT+CMGD=20, as shown below:

5. Convert the displayed information to text through a code converter.

Receive English Messages.png

RPi Demo

Hardware Connection

pin connection diagram with Raspberry Pi

SIM7600X 4G HAT has onboard Raspberry Pi GPIO interface, which can be directly inserted into various versions of Raspberry Pi; the following table shows the connection between Raspberry Pi pins and module pins (Raspberry Pi 3rd Generation B+):

SIM7600X 4G HAT Raspberry Pi
5V 5V
GND GND
RXD TXD (corresponding to 14 of BCM)
TXD RXD (corresponding to 15 of BCM)
PWR P22 (corresponding to P6 of BCM)
FLIGHTMODE P7 (corresponding to P4 of BCM), enter flight mode when pulled high

* FLIGHTMODE is wired to pull up and will enter into flight mode.

Raspberry Pi initialization settings

To ensure that the SIM7600X 4G HAT can work normally after being connected to the Raspberry Pi, it is necessary to initialize the level output of some pins of the Raspberry Pi. The specific operations are as follows:

  • Download sample demo, after decompression, rename the c folder under the Raspberry folder to SIM7600X, Then copy the entire SIM7600X folder to the Raspberry Pi /home/pi directory.
  • The command line enters the /home/pi/SIM7600X directory and executes the command.
chmod 777 sim7600_4G_hat_init
  • Set the boot initialization script, and run the command:
sudo nano /etc/rc.local
  • Add before exit 0 (as shown below):
sh /home/pi/SIM7600X/sim7600_4G_hat_init

Sim7600CE-28.png

Raspberry Pi serial port configuration

Since the Raspberry Pi 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

Select Interfacing Options -> Serial -> no -> yes to disable serial debugging.
Interface18.png
Open the /boot/config.txt file, and find the following configuration statement to enable the serial port, if not, add it at the end of the file:

enable_uart=1

Restart to take effect.

Raspberry Pi minicom serial port debugging

1. Insert the module into the Raspberry Pi.
2. Install minicom, which is a serial debugging tool for the Linux platform:

sudo apt-get install minicom

3. Execute minicom -D /dev/ttyS0 (ttyS0 is the serial port of Raspberry Pi 3B/3B+/4B).
The default baud rate is 115200.
Raspberry Pi 5/2B/zero, the user serial device number is ttyAMA0, and the Raspberry Pi 3B/3B+/4B serial device number is ttyS0.
4. Take the AT synchronization test as an example, and send relevant commands, as shown in the following figure:
Sim7600CE-20.png
* minicom can enter setting mode by pressing Ctrl+A, then Z, and select X to exit.
5. Raspberry Pi 5 configures the ttyS0 serial port:

  • Edit config.txt file:
 sudo nano /boot/config.txt
  • Add the following and the statement at the end.
 dtoverlay=disable-bt
  • You can see ttyS0 after restarting.

Sample Demo

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

wget https://files.waveshare.com/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. Go to the bcm2835 directory, compile, and install it.

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

Note: If there is a problem with the compilation, please refer to the instructions in the FAQ.
4. Go to the corresponding instance directory, compile, and run the demo. The relevant instructions are as follows (take the PhoneCall demo as an example):

sudo make clean //Clear the original executable file
sudo make //recompile
sudo ./PhoneCall //Run the demo

Use a combination of the above commands:

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

PHONECALL Call Demo

Pnonecall.png

SMS Text Message Sending and Receiving Demo

SMS.png

GPS Positioning Demo

GPSPOSTION3.png

TCP Network Communication Demo

Tcp-network-3.png

FTP Download and Upload Demos

FTP-DOWNLOAD3.png

Arduino Demo

Hardware Connection

Hardware connection to the development board UNO PLUS/Arduino UNO:

SIM7600X 4G HAT UNO PLUS/Arduino UNO
5V 5V
GND GND
TXD 0 (RX)
RXD 1 (TX)
PWR 2

Install Arduino library

Download the decompression sample demo.
Copy the Waveshare_SIM7600X_Arduino_Library folder to the Library directory under the Arduino IDE installation path.
Open Arduino IDE --> File --> Examples --> Waveshare SIM7600X, and then choose to run the corresponding example demo:
Sim.png

Sample Demo

PHONECALL Call Demo

ARDUINO demo.png

SMS Text Message Sending and Receiving Demo

ARDUINO demo2.png

GPS Positioning Demo

ARDUINO demo3.png

TCP Network Communication Demo

ARDUINO demo4.png

FTP Download and Upload Demo

ARDUINO demo5.png

Jetson Nano Demo

Hardware Connections

Connection diagram

Jetson Nano has an onboard RaspberryPi 40Pin GPIO interface, SIM7600X 4G HAT can be directly connected and used, and Jetson Nano's terminal access the serial port does not affect serial communication with SIM7600X 4G HAT (ie. Pin10 and Pin8).


SIM7600X 4G HAT Jetson Nano
5V 5V
GND GND
TXD 10 (Board encoding)
RXD 8 (Board encoding)
PWR 31 (Board code)

Jetson Nano minicom serial port debugging

Sim7600CE-Jetson Nano2.png

1. Connect the SIM7600X 4G HAT to the Jetson Nano, press the PWRKER button for three seconds, and then turn it on.
2. Use SERIAL to log in to the Jetson Nano terminal, install minicom, and enter:

sudo apt-get install minicom

3. Run minicom to debug the serial port, and enter in the terminal.

sudo minicom -D /dev/ttyTHS1 -b 115200

4. Send the AT command to test, press the PWRKEY button for three seconds to start the shutdown, exit the minicom and press Ctrl+A, then X, and finally press ENTER.

Python Demos

Sim7600CE-Jetson Nano3.png

After installing the library:

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

Use the wget tool to download the source code to the specified folder of Jetson Nano, and copy the following command:

mkdir -p ~/Documents/SIM7600X_4G_HAT
wget -P ~/Documents/SIM7600X_4G_HAT/ https://files.waveshare.com/upload/2/29/SIM7600X-4G-HAT-Demo.7z

Enter the directory where the source code was just created and downloaded, and use the p7zip tool to unzip it to the current directory.

cd ~/Documents/SIM7600X_4G_HAT/
sudo p7zip --uncompress SIM7600X-4G-HAT-Demo.7z

AT

Sim7600CE-Jetson Nano4.png

SIM7600X_4G_HAT is connected to Jetson Nano, connected to the antenna, the demo uses the software to power on and off, there is no need to press the button to power on and off, and when you exit, press Ctrl+C to power off the software. Enter the Jetson Nano/AT directory and execute the command:

cd ~/Documents/SIM7600X_4G_HAT/Jetson\ nano/AT/
sudo python3 AT.py

GPS

Sim7600CE-Jetson Nano5.png

SIM7600X_4G_HAT is connected to the Jetson Nano and GNSS antenna. The routine uses software to power on and off. There is no need to press the button to power on and off. When exiting, press Ctrl+C to power off the software. Enter the Jetson Nano/GPS directory and execute the command:

cd ~/Documents/SIM7600X_4G_HAT/Jetson\ nano/GPS/
sudo python3 GPS.py

PhoneCall

SIM7600X_4G_HAT is connected to Jetson Nano, the main antenna, and the earphone. The demo uses software to power on and off, no need to press the button to switch on and off. This demo uses the mobile card to automatically dial 10086. Press Ctrl+C when exiting, and the software will start to Shut down. Enter the Jetson Nano/PhoneCall directory and execute the command:

cd ~/Documents/SIM7600X_4G_HAT/Jetson\ nano/PhoneCall/
sudo python3 PhoneCall.py

Sim7600CE-Jetson Nano-51.png

SMS

Sim7600CE-Jetson Nano-52.png

The SIM7600X_4G_HAT is connected to the Jetson Nano and the main antenna. The demo uses the software to turn it on and off, and there is no need to press the button to turn it on and off. This demo will automatically shut down the software after sending the information www.waveshare.com to the specified number. When users use SMS routines, they must first use tools such as vim to change the number in line 10 of the SMS.py file, replace * with a number, and keep the ' symbol.
Enter the Jetson Nano/SMS directory and execute the command:

cd ~/Documents/SIM7600X_4G_HAT/Jetson\ nano/SMS/
sudo python3 SMS.py

TCP

The SIM7600X_4G_HAT is connected to the Jetson Nano and the main antenna. The demo uses the software to turn it on and off, and there is no need to press the button to turn it on and off.
Enter the Jetson Nano/TCP directory and execute the command:

cd ~/Documents/SIM7600X_4G_HAT/Jetson\ nano/TCP/
sudo python3 TCP.py

Sim7600CE-Jetson Nano-53.png


More sample demos are continuously updated...  

Resource

Documentation

Program

Software

Datasheet


FAQ

 Answer:

In this case, it may be that you have not successfully connected to the network, you can follow the steps below to troubleshoot:
1. First check the hardware connection:

  • Check if the MAIN antenna is connected properly;
  • Whether the connected SIM card can communicate and surf the Internet normally on mobile phones and other devices:
  • If the Raspberry Pi is connected, whether the module enters airplane mode;

2. After confirming that there is no problem with the hardware, the software can use these instructions:

  • Check if the sim card is in good contact: AT+CPIN?
  • Check if the network mode setting is correct: AT+CNMP?
  • Check the signal quality of the current environment: AT+CSQ
  • Check carrier access:AT+COPS?
  • Check internet connection:AT+CPSI?
  • Check for successful registration to the network: AT+CGREG?

SIM7600X network check.png



 Answer:
The SIM7600X can send the following command plus carriage return, and successfully turn on the display after displaying OK.
ATE1

{{{5}}}


 Answer:
  • Open the Raspberry Pi terminal and input the following commands:
sudo raspi-config
Select Interfacing Options -> Serial to turn off shell access and turn on the hardware serial port

L76X GPS Module rpi serial.png
Raspberry Pi 2B/zero, the user serial device number is ttyAMA0; you can use the following command line to confirm that serial0 is the selected serial device number, as follows:

ls -l /dev/serial*

RM520n-gl faq90.png

{{{5}}}


 Answer:

Set up as below:

AT+CGDCONT=1, "IPV6", "APN" //Switch to IPV6, different operators APN is different, pay attention to distinguish the settings
AT+CGDCONT=1, "IP", "APN" //Switch back to IPV4

{{{5}}}


 Answer:
  • Under normal circumstances, SIM7600X has already dialed automatically when it is connected to the Windows system, no need to repeat the dialing, the repeated dialing will return NO CARRIER
  • If you still cannot dial up, please use the following command to change to the Windows default dial-up mode
    AT+CUSBPIDSWITCH=9001,1,1 
  • The display is turned off and the mobile network is not enabled, you can ignore it and go online directly;

SIM7600X rndis dial-up .png

SIM7600 NET work driver.png

  • After installing the driver, the network card shows that it is enabled

SIM7600 dial up succeed.png


 Answer:
  • Generally, the default configuration of SIM7600 is to automatically select the network standard, and it is likely to choose 2G Internet access; if you need to force the use of 4G mode, you need to enter the following AT command configuration:
AT+CNMP=38    //Fixed 4G LTE, if there is no local 4G coverage, you may not be able to register to the network

Firm 4G LTE.png

  • If 4G has been fixed and the speed is still not ideal, it may be a frequency band problem;
AT+CNBP?  //Backup the current band (the returned band information can be copied to Notepad, etc.)
AT+CNBP=0x0002000000400183,0x000001E000000000,0x0000000000000021    //After returning to OK, measure the speed
AT+CNBP=0x0002000004400180,0x000001E000000000,0x000000000000003F   //If the speed doesn't improve, try this

SIM7600 band speed.png


Positioning Commands

 Answer:

From left to right, they are (1) dimension, (2) longitude, (3) date, (4) time, (5) altitude, (6) speed, and (7) heading angle.
SIM7600 GNSS FAQ (1234567).png

{{{5}}}


 Answer:

Insert the GPS antenna into the GNSS antenna holder and place the receiver label side down in the open outdoors (note that the rainy weather test can not), the power needs to wait about 1 minute to receive the positioning signal;
SIM7600G-H 4G DTU FQA06.png

{{{5}}}


 Answer:
GNSS parameter problem, after restarting the module, initialize the GNSS parameters with the following command can be;
AT+CGPSNMEA=197119

Or you can use the following commands to obtain the position information.

AT+CGPSINFOCFG=10,31

{{{5}}}


 Answer:
After turning on the GPS in the AT debug serial port, turn on the NMEA port to get the dynamic information.

SIM7600E-H 4G DTU GNSS.png
For more detailed steps, please refer to the following link.
SIM7600X gets the latitude and longitude in units, we commonly use degrees as the unit, please see below for more details.

{{{5}}}


 Answer:

Common commands for the LBS base station positioning function of SIM7600X are as follows:

AT+CLBS=? //View the range of parameters that can be set
AT+CNETSTART//Open the network; if it fails to open the network, you can use the command AT+CNETSTOP to close and then open
AT+CLBS=1 //Get the current latitude and longitude
AT+CLBS=2 //Get the detailed address


Calling SMS

 Answer:

The VOLTE function can be enabled with the following command:

at+voltesetting=1
at+cnv=/nv/item_files/modem/mmode/ue_usage_setting,1,01,1

The VOLTE function can be disabled with the following command:

at+voltesetting=0
at+cnv=/nv/item_files/modem/mmode/ue_usage_setting,0,01,1

Note: The difference between Volte calls and regular phone calls: The network of Microsoft calls goes on a packet-switched Internet network. And ordinary phone calls take the circuit-switched (PSTN network) communication network. There is a fundamental difference between the two. By the time of 4G LTE, the packet network can control the delay to low enough, and ordinary phones can make calls directly through VOLTE with the packet network. However, in places where the network is poor, circuit-switched networks are still inseparable.

{{{5}}}


 Answer:
SIM7600X makes a call and the phone answers
ATD131xxxxx816.

Record SIM7600 and phone sound to module memory E disk (record to memory card read D)
AT+CREC=3, "e:/rec.wav"   

End recording
AT+CREC=0

Play sound to the phone side to listen
AT+CCMXPLAYWAV="E:/rec.wav",1

Play sound to SIM7600
AT+CCMXPLAYWAV="E:/rec.wav",2

End playback
AT+CCMXSTOPWAV

{{{5}}}


 Answer:

If the short message is stored in the SIM card, the limit is generally 50. You can use the command: AT+CPMS? make an inquiry.



 Answer:
  • Confirming that the SIM7600X is registered to the network and that the SIM card can send and receive SMS messages properly on devices such as cell phones;
  • Setting the correct SMS center number;
  • Initialize the SMS settings with the following command:
AT+CSCS="IRA"
AT+CSMP=17,167,0,0

{{{5}}}


Hardware FAQ

 Answer:

Support SIM standard (Standard) card, as shown in the figure below, if it is a Micro or Nano card, you need to add a card sleeve.
SIM card size.png


 Answer:

This problem is generally caused by poor contact between the SIM card and the SIM card holder of the module.


 Answer:
  • Confirm whether the frequency band supported by the IoT card covers the frequency band supported by the module.
  • APN is not set, please use the following command to configure APN.
  • Note: Different operators' APNs is different, here the APN is changed to the corresponding operator.
  • It may be blocked, high traffic (real-name IoT) cards are going to be machine card binding, and can only be used on a device (the State Ministry of Industry and Information Technology, Ministry of Public Security, issued to the operator must be so); you can let the IoT card operator check the status of the card and unlock the next.

{{{5}}}


 Answer:

Using a USB 5V power supply, after successful networking, the current is generally in the range of 50~300mA, and the average is about 150mA (for reference only, depending on the network environment and networking status.



 Answer:
  • Frequency: 700m 800m 900m 1710-1920M 2010-2100M 2300-2400M 2500-2690M-5800MHZ
  • Gain: 9dbi ± 0.7dbi


 Answer:
Please put the jumper cap on C and connect the USB TO UART interface of SIM7600X to the USB port of a computer or Linux board such as Raspberry Pi through USB type to micro USB to send commands to debug:

SIM7600G-H 90.png

{{{5}}}


 Answer:

1) The AUX auxiliary antenna is a diversity antenna, the main antenna signal is not good enough to receive the signal with the receiving antenna, and the physical location is not the same, there is always a better, diversity antenna connected to the bandwidth and rate sensitivity will be increased by about 20%.
2) No diversity antenna can make the receiver obtain a maximum of not more than 3db diversity gain, but the diversity does not line any transmitting function, so to connect to the main antenna, transmit the signal to the base station registered to the network, the auxiliary antenna will only work.

{{{5}}}


 Answer:

The following command can be used to detect the presence of Qualcomm Qualcomm devices, and if a COM driver has been loaded (the Raspberry Pi system generally comes with it), a series of ttyUSB* will also appear:

lsusb
ls /dev/ttyUSB*

SIM7600G-H 4G DTU FQA16.png

{{{5}}}


 Answer:
As shown below:
1) /dev/ttyUSB0-diag port for output developing messages
2) /dev/ttyUSB1- NMEA port for GPS NMEA data output
3) /dev/ttyUSB2-AT port for AT commands
4) /dev/ttyUSB3-Modem port for ppp-dial
5) /dev/ttyUSB4-Audio port

{{{5}}}


 Answer:
Use the following commands:
echo "4" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio4/direction
echo "0" > /sys/class/gpio/gpio4/value
echo "6" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio6/direction
echo "0" > /sys/class/gpio/gpio6/value

{{{5}}}


 Answer:
Generally, it is the problem of baud rate, TTL level, and wiring, the details are as follows:

7600X_connect_Arduino

{{{5}}}


System Firmware

 Answer:
  • Make sure your system kernel is above 5.4. Do not use sudo update to upgrade the Raspberry Pi to the latest version, otherwise, the kernel version will be upgraded to a version higher than the current firmware and will not be recognized.
  • It is recommended to use the more convenient RNDIS dial
  • You can burn the latest Raspberry Pi Raspbian system and reconfigure the NDIS dial-up
  • Or use the image that has been configured with the driver NDIS dial-up self-starting Raspbian system image (driver installed)


 Answer:

The new driver may not be compatible with some WIN7 systems, you can try the old driver:

  • SIM7600 old driver
  • SIM7600 new driver
  • 1. Download the driver.
  • 2. Connect the 4G HAT to a Windows computer as shown in the hardware connection diagram above (Windows 10 OS is used as an example below)
  • 3. Make sure the module has been powered on properly: refer to the previous section "Switching on and off the module"
  • 4. Open Device Manager->Other Devices->"SimTech, Incorporated "-> Update Driver -> Browse My Computer to find the driver file -> According to the system, select the path where the driver file is stored -> Installation is complete.
  • 5. Install all the recognized devices and drivers:

SIM7600G-H 4G09.jpg



 Answer:
SIM7600X-FAQ (6).png

1. Pay attention to check the device manager, the upgrade process will prompt the new device inserted, and the first upgrade will not have a device driver;
2. Pay attention to the USB cable, the USB cable rate is high during the upgrade process, so you need to choose a better quality USB cable to avoid poor contact.
3. Need to run the upgrade tool with administrator privilege (SIM7500_SIM7600_QDL V1.41 only for Update).
4. Uninstall and reinstall the update tool (SIM7500_SIM7600_QDL V1.41 only for Update).

{{{5}}}


Demo Code

 Answer:

Please confirm that there is a sim7600_4G_hat_init file in the current path
2019-10-11 19-15-04.jpg
The general operation is: download the sample program, after decompression, rename the c folder under the Raspberry folder to SIM7600X, and then copy the entire SIM7600X folder to the Raspberry Pi /home/pi directory, Enter the command line into the /home/pi/SIM7600X directory, and then execute the chmod 777 sim7600_4G_hat_init command.


 Answer:
  • Execute autoreconf -vfi, and then recompile, see the figure below:

Motor-faq.png


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)