SIM7600CE-T/E-H/A-H/G-H 4G Modules
| ||
Introduction
4G/3G/2G/GSM/GPRS/GNSS HAT for Raspberry Pi, Based on SIM7600E-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, 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.
- SIM card slot, supports 1.8V/3V SIM card.
- Onboard 3.5mm audio jack with earphones and mic support, 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
- 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.
Specifications
GNSS
- Receiver type
- 16-channel
- C/A code
- Sensitivity
- Tracking: -159 dBm (GPS) / -158 dBm (GLONASS) / TBD (BD)
- Cold starts: -148 dBm
- Time-To-First-Fix (open air)
- Cold starts: <35s
- Hot starts: <1s
- Accuracy
- Position: <2.5m CEP
SMS and Audio
- SMS
- Supported types: MT, MO, CB, Text, PDU
- Storage: USIM card and ME (default)
- Audio feature
- Supports echo cancellation
- Supports noise reduction
Others
- Power supply: 5V
- Operating voltage: 5V/3.3V (configured via jumper)
- Operating temperature: -30°C ~ 80°C
- Storage temperature: -45°C ~ 90°C
Working with Jetson Nano
Hardware connection
1. Connect the 4G module jumpers to PWR and 5V and select auto power on.
2. The 4G module USB socket needs to be connected to Jetson Nano, enter "ls /dev/ttyUSB*" or "lsusb" in the terminal to check if the socket is installed correctly.
Dial-up & GNSS Usage
- 1. RNDIS Dial-up Internet Access
- 2. SIM7600X ECM Dial-Up Internet
- 3. 4G module supports Internet access and GNSS. When using these functions, the module connects to the network, installs minicom, and enters. Please note the DIP switches to the U_TX,U_RX side, pay attention to turning off the minicom hard flow control, as shown in the figure.
sudo apt install minicom sudo minicom -D /dev/ttyTHS1 -b 115200
- 4. Input the following commands to view GPS NEMA output. Please note that the unlabeled side of the GPS antenna faces the visible sky area.
AT+CGPS=1,1 AT+CGPSINFO
Sample Demo
Software Installation
- Login to Jetson Nano, and input the following commands in the terminal. It is not recommended to change the official source, because changing the source may cause the installation to fail.
- Line 9 to 11 install jetson-gpio library, line 10 replace your_user_name with your username, For official file reference please click here to view.
sudo apt-get update sudo apt-get install python3-pip sudo pip3 install pyserial mkdir -p ~/Documents/SIM7600X_4G_for_JETSON_NANO wget -P ~/Documents/SIM7600X_4G_for_JETSON_NANO/ https://files.waveshare.com/upload/6/64/SIM7600X_4G_for_JETSON_NANO.tar.gz cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/ tar -xvf SIM7600X_4G_for_JETSON_NANO.tar.gz sudo pip3 install Jetson.GPIO sudo groupadd -f -r gpio sudo usermod -a -G gpio your_user_name sudo udevadm control --reload-rules && sudo udevadm trigger sudo apt-get install minicom
Note: you should replace your_user_name with the actual user name.
Python Examples
AT
- Make sure that all the hardware is connected properly. Start Jetson Nano and open a terminal.
- Please press Ctrl+C to wait for the SIM7600X module to shut down when exiting, the effect is as shown in the picture.
- You should run the following commands to run the codes and type AT commands for testing.
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/AT/ sudo python3 AT.py
GPS examples
- Check that the module hardware is correctly connected, plug in the GPS antenna, and place the receiver in an open outdoor area (note that it can't be tested in cloudy or rainy weather), you need to wait for about 1 minute for the power up to receive the positioning signal.
Enter the following command line:
- Please press Ctrl+C to wait for the SIM7600X module to shut down when exiting, the effect is as shown in the picture.
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/GPS/ sudo python3 GPS.py
PhoneCall examples
- Modify the PhoneCall.py file, change the phone number to yours by the vi tools, and save.
- Please press Ctrl+C to wait for the SIM7600X module to shut down when exiting, the effect is as shown in the picture.
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/PhoneCall/ vi PhoneCall.py #modify the phone number sudo python3 PhoneCall.py
SMS example
- Run the following commands:
- Please press Ctrl+C to wait for the SIM7600X module to shut down when exiting, the effect is as shown in the picture.
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/SMS/ sudo python3 SMS.py
TCP example
- Run the following commands:
- Please press Ctrl+C to wait for the SIM7600X module to shut down when exiting, the effect is as shown in the picture.
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/TCP/ sudo python3 TCP.py
Working with Windows
NET Indicator Operating Status
- Always on: Looking for a network or on a call
- 200ms ON/200ms OFF: Data connection is established
- 800ms ON/800ms OFF: Network is registered
- OFF: Power off or sleep mode
Software Environment
- Test environment: Windows OS.
- Test software: SIM7600 serial port debugging assistant.
- Driver file: SIM7600X driver.
Driver Installation
- 1. Driver installation:
- 2. Connect the 4G HAT as shown above, and insert it into the Windows PC (Take Windows 10 OS as an example below).
- 3. Make sure the module is on normally.
- 4. Unzip the driver file -> double-click the exe driver file -> select a path to install -> Next -> Wait for installation -> Reboot the PC -> Finish.
- 5. Install all recognizable devices as shown below:
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
- Download serial debugging assistant: SIM7600 serial debugging assistant
- 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:
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"
2. At this point, the NDIS dialing takes effect, and the computer can connect to the network.
RNDIS Dial Up
Remote NDIS (RNDIS) allows writing NDIS miniport device drivers for network devices attached to the USB bus without the need for hardware vendors. RNDIS achieves this by defining a bus-independent set of messages and describing how this message set operates over the USB bus. As this remote NDIS interface is standardized, a set of host drivers can support any number of network devices attached to the USB bus. This significantly reduces the development burden for device manufacturers, enhances overall system stability by eliminating the need for new drivers, and improves the end-user experience.
- Install the SIM card and the antenna on the device, connect the USB cable to the PC, and provide the power supply.
- Install USB driver.
- Open the serial port assistant, find the corresponding COM port to the AT serial port, and send:
AT+CPSI? //Query whether to register the network
- If the network is registered successfully, SIM7600X can send the AT command to enable USB dial-up:
at+Cusbpidswitch=9011,1,1
- SIM820X sends AT commands to enable the USB dial-up:
at+cusbcfg=usbid,1e0e,9011
- Successfully sent, and received as 'OK,' and the Dongle will automatically reboot.
- Observing the Device Manager, it's noticed that some unrecognized devices have appeared, such as RNDIS (with an exclamation mark):
- Right-click on RNDIS, go to the device software search window, and choose 'Browse my computer.' Select 'Network Adapter' from the device list.
- In the network adapter window, choose Microsoft Corporation from the manufacturer list, then select 'Remote NDIS Compatible Device' from the list on the right-hand side.
- Click 'Next' and wait for the installation to finish; the RNDIS Kitl device will be successfully installed. With this, the dial-up function setup is complete, and it can be seen that the PC can access the internet through the Dongle.
- If it cannot connect to the network, please set it to obtain the IP automatically.
GNSS Control Example
- Connect the GPS antenna and place the receiver with the label facing downwards in an open outdoor area (note: testing cannot be done during rainy weather). It takes about 1 minute after powering on to receive a positioning signal.
- Detailed testing instructions and screenshots are provided below:
AT+CGPS=1 //Open GPS AT+CGPSINFO //Print GPS message to the serial port AT+CGPS=0 //Turn off GPS
Call Phone
- 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 | Check 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 Mobile customer service phone number 10086 | OK |
AT+CHUP | set volume to 2 | OK |
AT+CLIP=1 | Set up caller ID | OK |
ATA | Answering the Phone | OK |
- The detailed operation screenshots are as follows:
Note: When using the SSCOM serial port assistant to send and receive AT commands, you must click "carriage return and line feed".
Voice output mode and volume adjustment
AT+CSDVC=1 //switch to headphones 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 phone
Incoming call serial port display: RING Send “ATA” //Answer the phone 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 content:
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 // Establish module call to improve call effect AT+CECM=1 //suppress echo OK AT+CECH=0x500 // improve the volume on the mobile phone OK
See "SIM7X00_Audio_Application_Note" document for details.
Send English SMS
1. Correctly 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.
- Note: China Mobile's SMS service center number is +861380xxxx500, where xxxx is the long-distance telephone area code where you are located. The SMS center may be different from place to place. For details, you can query Baidu or call China Mobile Unicom customer service. This SMS center is Shenzhen (0755).
4. AT+CMGF=1: Set the SMS mode to TEXT;
5. AT+CMGS="phone number"<Enter>, set the recipient's phone number, and then return: ">", send the content that you need, such as "Send massage test!", You don't 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 perform the sending operation, or 1B or "ESC" to cancel the operation). After successfully sending, the module returns + CMGS: 15 confirm that the transmission was successful. As shown below.
Receive English SMS
- Send a message on the phone: "This is a receive test for SIM7600X!" to the test module.
- When receiving the information, the serial port will break and 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.
- Read information: AT+CMGR=20 to read the 20th information (AT+CMGL="ALL" to read all information).
- Delete information: AT+CMGD=20, as shown below.
- Convert the displayed information to text through a code converter.
Resources
- Manual
- SIM7600X 4G for Jetson Nano Schematic
- Demo codes
- SIM7600 Driver
- driver for wwan0
- SIM7600G-H 4G for Jetson Nano 3D Drawing
Related Instruction
- Raspberry Pi networked via RNDIS
- SIM868 PPP Dail-up Networking
- gprs
- Setup wwan0 interface for 4G network
Tools
SIM7600 Related
Datasheets
Application Note
- SIM7X00 Series_GPIO_Application Note
- SIM7X00 Series_SAT_Application Note
- SIM7X00 Series_SMS_Application Note
- SMS Application notes
- SIM7X00 Series_TCPIP_Application Note
- SIM7600 Series_HTTP_AT Command Manual
- SIM7600 Series_SSL_AT Command Manual
- SIM7X00 Series_UART_Application Note
- SIM7X00 Series_GPS_Application Note
- SIM7600 Series_MQTT_ATC
- SIM7X00_Audio_Application_Note
- SIM7600_Sleep Mode_Application Note
- SIM7600 Series_LBS_Application Note
- SIM7600 Series_USB AUDIO_Application Note
- SIM7600 Series_UIM HOT SWAP_Application Note
- SIM7600M22 Series_TTS_Application Note
- SIM7600 Series_HSIC_LAN_Application_Note
- SIM7600 Series Hardware Design
- SIM7600G-H Hardware Design