The SIM7600E is Multi-Band LTE-TDD/LTE-FDD/HSPA+ and GSM/GPRS/EDGE module solution in a SMT type which supports LTE CAT1 up to 10Mbps for downlink data transfer.

It has strong extension capability with rich interfaces including UART, USB2.0, I2C, GPIO etc. With abundant application capability like TCP/UDP/FTP/FTPS/HTTP/HTTPS/DNS, the module provides much flexibility and ease of integration for customer's application.

Connect Sim7600 4G modem with computer to surf the Internet , making telephone call, sending SMS, getting location, ipv6 point to point communication etc.

**Features**

**General features**

* TDD-LTE B38/B40/B41
* FDD-LTE B1/B3/B5/B7/B8/B20
* WCDMA/HSDPA/HSPA+ B1/B5/B8
* GSM/GPRS/EDGE 900/1800 MHz
* Control Via AT Commands
* Supply voltage range: 3.4V~ 4.2V
* Operation temperature: -40℃ to +85℃
* Dimension: 30*30*2.9 mm
* Weight: 5.5g
* GNSS gpsOne Gen 8B;standalone;assisted,XTRA

**Interfaces**

* USB2.0
* UART
* SIM card
* I2C
* Constant current sink
* GPIO
* ADC
* PCM
* SDIO

**Other features**

* USB Driver for Microsoft Windows 2000/XP/Vista/Win7/Win8/Win10
* Supports ipv4/ipv6, call, SMS, MMS, mail, TCP, UDP, DTMF, HTTP, FTP, etc
* Raspberry Pi connectivity, compatible with Raspberry Pi Zero/Zero W/Zero WH/2B/3B/3B+
* Onboard USB interface, to test AT Commands, get GPS positioning data, and so on
* Onboard CP2102 USB to UART converter, for serial debugging
* UART control pins, to connect with host boards like Arduino/STM32
* SD card slot for storing data like files, messages, etc
* Onboard audio jack and audio decoder for making telephone call
* LED indicators to show power, network connectivity and CP2102 status
* Autobauding baudrate: 9600bps ~ 115200bps
* USB Driver for Windows CE
* USB Driver for Linux /Android
* RIL supporting for Android/Windows CE
* Automatic installation for windows
* Firmware update via USB
* TCP/IP/IPV4/V6 Multi-PDP,MT PDP
* FTP/FTPS/HTTP/HTTPS/DNS
* DTMF
* MBIM to Win8
* Source code of the PC manager of the device for reference

**Sim7600 board details**

[image:90 align:left size:orig]

[image:91 align:left size:orig]

#

1. SIM7600E Modem
2. 5V/12V power input
3. Micro USB power
4. Power switch
5. AT command port
6. Data port
7. UART to CP2102 jumper connections
8. SMA GPS Antenna
9. UFL GPS Antenna
10. Audio Jack
11. Auxiliary Antenna
12. SMA GSM Antenna
13. UFL GSM Antenna
14. SIM Card holder
15. SD Card holder


**Powering the module**

* Firstly insert the SIM card in the SIM holder. Make sure to use a normal SIM card (Micro or nano SIM cards are not supported). Insert SD card in the SD card socket. 
* Connect the SIM7600 4G modem to the PC using a Mini USB cable connect to the computer.
* The modem can be powered using power micro USB port. Alternatively you can connect a '''5-12V/9V 1A''' adapter to the power jack provided on the modem. The voltage regulator regulates the voltage to 3.6V. 
* Switch on the modem using the ON/OFF switch provided, note when you switch on, the power LED will glow. It shows that the modem has got the power required for its operation.
* When you connect the power, Network LED will glow for approximately 1sec. After that, it will blink with a delay of approximately half sec. That means the SIM card is searching for network. If the SIM card has connected to a network, then the Network LED will blink with a delay of approximately 4sec. Depending on the network strength, the time to connect to a network may vary. If there is no SIM card in the modem, the Network LED blinks with a delay approximately half sec.
* Connect t AT command port of the 4G modem to the PC with a micro USB cable. Make sure that all three jumpers are inserted properly.

**Using the test utility**

The steps required for connecting the modem to the PC is shown below:

* Right click My Computer  and select the Device manager ->Ports(COM & LPT).

[image:92 align:left size:orig]

#

* Note the COM PORT. Here you can see it's COM3.

 PuTTY is a serial emulator which is works with windows OS.
Open PuTTY and select serial bullet. Set baud rate as 115200 and port as COM3

[image:93 align:left size:orig]

#

Then a new window is opened and we give the commands in the window to communicate with the GSM modem and the other network through GSM modem. The commands are called ‘AT commands’ or ‘Attention commands’. To check the connection type '''AT''' in the putty command window and press enter. If there is a connection it displays '''OK'''.

[image:94 align:left size:orig]

#

Please note if SIM is not inserted then it will show “+CPIN: NOT INSERTED”.

**General AT commands**

|AT command|Description|Response|
|------|-----|-----|
|AT	|AT test command	|OK|
|ATE1	|Enable echo	|OK|
|ATE0	|Disable echo	|OK|
|ATD<phone number="">	|To make a call e.g.: ATD9020XXXXXX;	|OK VOICE CALL:BEGIN |
|AT+CGMI	|Request manufacturer identification	|<manufacturer> OK |
|AT+CGMR	|Request  firmware revision identification	|+CGMR: <revision> OK |
|AT+IPREX=<speed> 	|Set local baud rate permanently	|OK |
|AT+CRESET	|Reset the module	|OK|
|AT+CPIN?	|SIM Card Status	|+CPIN: <code> OK |
|AT+CREG?	|Network registration	|+CREG: <n>,<stat>[,<lac>,<ci>] OK |
|AT+CGPSINFO 	|Get GPS fixed position information	|+CGPSINFO: [<lat>],[<N/S>],[<log>],[<E/W>],[<date>],[<UTC time>],[<alt>],<speed>],[<course>] OK |


**Make call**

* Insert the SIM card, connect the LTEantenna and connect the USB port of SIM7600E to PC. 
* press the POWERKEY to power on the board(Check whether the power and network indicators blink correctly).
* Send AT commands as bellow:
* To make a call type ATD<phone number="">; e.g.: ATD9020XXXXXX;</phone>
* If a call is coming to the GSM modem, a series of “RING” will appear on the window. If you want to connect to the call ,then type “ATA” & press enter.
* To hang up a call type AT+CHUP
* AT+CLIP enables a called subscriber to get the calling line identity (CLI) of the calling party when receiving a mobile terminated call. 

**Send message**

To send a message, first you may have to change the message format from PDU to TEXT by typing AT+CMGF=1 . To send the message type the following AT+CMGS=’’9020XXXXXX” and press ENTER After this, you can see the message prompt (>). Then type the message and press Ctrl+z to send the message.
Or press Esc to abort.

[image:95 align:left size:orig]

#

You can see that after the message has been sent, the modem gives a response”+CMGS: xx?. From this you can confirm that message has been sent successfully.

_eg: “+CMGS: 23”_

The number 23 means 23 messages has been sent from the modem.

**GPS AT commands**

* Connecting the GPS antenna, and place the receiver on open area outdoor
* AT+CGPS=1	//Turn on power of GPS
* Open PuTTY and set the Port and Baudrate(NMEA Port,COM33)

[image:95 align:left size:orig]

#

* AT+CGPSINFO	 // Get GPS fixed position information
* AT+CGPS=0	//Turn off power of GPS

**SD Card AT Commands**

* Insert SD card in the SD card socket.
* Switch on the modem
* Apply the below AT commands
    
    AT +FSCD=D:	 //Select the SD card directory

    AT+FSLS	// list directories

    AT+FSMEM 	//List and get size of available memory

### Sharing internet from SIM7600 4G-GSM Modem

The SIM7600E is Multi-Band LTE-TDD/LTE-FDD/HSPA+ and GSM/GPRS/EDGE module solution in a SMT type which supports LTE CAT1 up to 10Mbps for downlink data transfer. SIM7600 use HSIC interface to connect with LAN9730. Customer can use it to get a network. There are two modes supported. Wan mode and LAN mode. Customer can use AT command to change the mode. For sharing the net to PC, the Wan mode has to be used.

[image:97 align:left size:orig]

#

PC use the SIM7600 to get network through network line.

Step 1: Connect the USB port of SIM7600 to PC through USB cable.

Step 2: Connect the USB-to-Serial converter to the AT command port. Commands mentioned in Step 3 and 4 should be given through this port.

Step3: AT commands to change the network mode

SIM7600E Module works in wan mode in default. You can check the current mode using
AT+CLANMODE=?
Module should respond with
OK, 1

If the module is not in Wan mode then the mode can be switched using the following command.
AT+CLANMODE=1
Atfter run this command, module will restart automatically, then the module will work in wan mode.

Important Note: Make sure that you are connecting the modem in WAN mode(AT+CLANMODE=1) to get internet in PC.

Step 4: AT commands to enable LAN

LAN9730 is not opened in default, if want to open the LAN9730, you can run
AT+CENABLELAN=1 After run this command, the module will restart automatically, then the LAN9730 will be opened. 

**Linux Section**

This AT command installs the required drivers for connecting the modem. You can check it using dmesg command in linux terminal

[image:98 align:left size:orig]

#
Now you can see the a new mobile broadband network connection in network settings. You may need some additional settings in your PC to enable mobile broadband if not connected by default.

Also check using ifconfig command to see whether a new network device is detected.

In Ubuntu/Linuxmint
Go to network connections and click the plus button on bottom left.

[image:99 align:left size:orig]

#

Select the connection type as mobile broadband
[image:100 align:left size:orig]
#
Select the required details like your country and service provider and billing plan.
Confirm all details and click apply

[image:101 align:left size:orig]
#
[image:102 align:left size:orig]
#
Save the settings and continue

[image:103 align:left size:orig]

#
[image:104 align:left size:orig]
#

**Windows Section**

Install the required drivers.

Go to network & Internet settings


Select cellular and click Advanced options


Click “Add an APN” and set the APN as internet(for idea 4g network)


Save APN settings and apply as default. 



Accessing internet with SIM7600 4G Modem using MBIM interface in Pocketbeagle/Beaglebone (linux)
------------------------------------------------------------------------------------------------
There is a open source Linux in-kernel driver supporting MBIM interface and it is called cdc_mbim. The library libmbim can be used to communicate with the cellular devices over the interface and do necessary configurations to trigger the data connection over the cellular network.

[image:105 align:left size:orig]

#

### Test Setup

The instructions are tested with PocketBeagle running Debian 9.8 with kernel version 4.14.

Hardware used is SIM7600E from ElementzOnline. The modem is connected to PocketBeagle using the USB port exposed on PocketBeagle pinheader.

### Switching the SIM7600 to MBIM driver mode

By default the SIM7600 PID is 9001 and the PID configuration is 9001:Diag, NMEA, At, Modem, Audio, Rmnet. To setup data connection over the MBIM interface we need to change the PID to 9003(9003:Diag, NMEA, At, Modem, Audio, MBIM). The AT commands can be send to the GSM modem using the AT command port using the following commands

<i> screen /dev/ttyUSB2 // Assuming ttyUSB2 corresponds to AT command port

AT+CUSBPIDSWITCH=9003,1,1

OK </i>

SIM7600 supports Wan mode and LAN mode. Customer can use AT command to change the mode. For sharing the net to PC, the Wan mode has to be used. SIM7600E Module works in wan mode in default. You can check the current mode using

 <i>AT+CLANMODE?</i>

 Module should respond with

 <i>OK, 1</i>

If the module is not in Wan mode then the mode can be switched using the following command.

 <i>AT+CLANMODE=1</i>
Atfter run this command, module will restart automatically, then the module will work in wan mode.

Important Note: Make sure that you are connecting the modem in WAN mode(AT+CLANMODE=1) to get internet in PC.

LAN9730 is not opened in default, if want to open the LAN9730, you can run
<i>AT+CENABLELAN=1</i> Afterrun this command, the module will restart automatically, then the LAN9730 will be opened.

### Preparing PocketBeagle for MBIM connectivity

First install the libmbim Linux library using your system package manager like apt etc.

The mbim functionality can be used by installing the libmbim-utils with the following command.

sudo apt install libmbim-utils

Verify that you have the Linux in-kernel cdc_mbim driver installed for the cellular modules exposed MBIM interface endpoint over USB:


<i>lsusb -t</i>

[image:106 align:left size:orig]
#
The libmbim tool: mbim-network can be used to establish a simple data connection.
First create a config file containing your network operators APN details. Save it in the default location where mbim-network searches for the file: /etc/mbim-network.conf . The parameter --profile=[PATH] can be used to alter this path when executing mbim-network.

Save the APN details, (and username, password and authentication type if necessary) into the configuration file /etc/mbim-network.conf:

<i>cat /etc/mbim-network.conf

APN=internet
APN_USER=
APN_PASS=
APN_AUTH=
PROXY=yes</i>

### Starting the network using MBIM connection

Start the mbim data connection with command bellow, if successful it will print "Network started successfully"

 <i>sudo mbim-network /dev/cdc-wdm0 start</i>

[image:107 align:left size:orig]
#
You can now execute the mbim-set-ip script(download link at bottom) with sufficient system privileges:

<i>sudo ./mbim-set-ip /dev/cdc-wdm0 wwan0</i>

[image:108 align:left size:orig]
#

This script will collect the network interface IP configurations from the cellular module over MBIM interfaceusing

mbimcli, parse them and apply them to the network interface in Linux, this because DHCP requests are generally not supported over MBIM interfaces.

### Verify the internet access

Once you have started the data connection and set the details with the mbim-set-ip script you should be able to ping the data connection:

<i>ping -4 -I wwan0 8.8.8.8

ping -4 -I wwan0 google.com

ping -6 -I wwan0 2001:4860:4860::8888

ping -6 -I wwan0 google.com</i>

Incase network not accessible then type the following in BBB terminal

<i>echo "nameserver 8.8.8.8" >> /etc/resolv.conf</i>

The cellular data connection can be disconnected by commands:
Stop

mbim data connection:

<i>sudo mbim-network /dev/cdc-wdm0 stop</i>
 

Set network interface down:

<i>ip link set wwan0 down</i>

 

# Important Links 

[Product Page: ElementzOnline](https://www.elementzonline.com/sim7600e-4g-gsm-ttl-usb-modem-with-sma-antenna)