Difference between revisions of "SIM7600CE-CNSE 4G DTU"

From Waveshare Wiki
Jump to: navigation, search
Line 22: Line 22:
 
</div>
 
</div>
 
<div class="tabbertab" title="Resources">
 
<div class="tabbertab" title="Resources">
 +
==Resources==
 +
==='''Driver'''===
 
*[https://www.waveshare.com/w/upload/1/17/DTU_Windows_Driver.7z Windows Driver]
 
*[https://www.waveshare.com/w/upload/1/17/DTU_Windows_Driver.7z Windows Driver]
 +
==='''Software'''===
 
*[https://www.waveshare.com/w/upload/6/68/DTU_Manager_EN_V3.3.7z DTU Manager (EN)]
 
*[https://www.waveshare.com/w/upload/6/68/DTU_Manager_EN_V3.3.7z DTU Manager (EN)]
 
*[https://www.waveshare.com/w/upload/2/2b/DTU-AT-SSCOM.7z SSCOM Serial Test Tools]
 
*[https://www.waveshare.com/w/upload/2/2b/DTU-AT-SSCOM.7z SSCOM Serial Test Tools]
Line 28: Line 31:
 
</div>
 
</div>
 
<div class="tabbertab" title="FAQ">
 
<div class="tabbertab" title="FAQ">
 
+
==FAQ==
 
</div>
 
</div>
 
<div class="tabbertab" title="Supports">
 
<div class="tabbertab" title="Supports">

Revision as of 09:36, 19 January 2021

SIM7600CE-CNSE 4G DTU
SIM7600CE-CNSE 4G DTU
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Overview

This is industrial grade SIM7600CE-CNSE 4G DTU, bidirectional transparent transmission between RS232/485/TTL serial port and 4G LTE network, mainly applicable For China and Southeast Asia.

Feature

  • Based on Qualcomm platform 4G communication module.
  • Features RS232, RS485, and TTL port (3.3V/5V).
  • USB Port, supports USB dial-up, configuration, AT command, and so on.
  • Supports high-speed UART interface, up to 921600bps.
  • Support TCP, UDP protocol, and 4-channel socket connection.
  • Support Modbus protocol.
  • Support Domain name connection, automatically re-connect.
  • Support Registration Packet, the packet is modifiable, HEX format.
  • Support Heartbeat packet, the packet is modifiable, HEX format.
  • Hardware watchdog to avoid a crash.
  • The fault restart time is configurable.
  • The trigger time and triangle length of UART are configurable.
  • Industrial design, with EMC.
  • Working temperature: -40°C ~ 80°C.
  • Easy to use.

Specification

Product Type

SIM7600CE-CNSE

SIM7600E-H*

Band

4G

LTE-TDD: B38/B39/B40/B41

LTE-FDD: B1/B3/B8

LTE-TDD: B1/B3/B5/B7/B8/B20

LTE-FDD: B38/B40/B41

3G

UMTS/HSDPA/HSPA+: B1/B8

UMTS/HSDPA/HSPA+:  B1/B5/B8

2G

GSM/GPRS/EDGE: 900/1800MHz

Available Areas

Chines, Southeast Asia

Europe, Middle East, Africa, Korea.

 

Data Rate

4G (LTE Cat-4)

150Mbps(DL) / 50Mbps(UL)

3G (HSPA+)

42Mbps(DL) / 5.76Mbps(UL)

2G (EDGE)

236.8Kbps(DL) / 236.8Kbps(UL)

2G (GPRS)

85.6Kbps(DL) / 85.6Kbps(UL)

 

Software Function

Communication Protocol

TCP/UDP/RNDIS/Modbus

Socket Connection

Support configuration 4 channel socket

Modbus acquire

Support auto-sample by Modbus with 5 sets of command, Users can configure the command interval.

Heartbeat Packet

Users can configure the Heartbeat packet, define the time interval. HEX format

Registration Packet

Users can configure the registration packet and the IMSI packet.

Software Protection

Support automatically reconnects, and the fault restart time is configurable.

Configure Parameters

Upper computer/Cloud/SMS

 

Hardware Description

UART interface

RS232:

  • Connector: DR9 female
  • Protection: TVS protection, anti-surge, ESD protection

RS485:

  • Connector: screw terminals (A, B)
  • Protection: 600W lightning-proof, anti-surge, and 15KV ESD protection (reserved 120R balancing resistor solder pads)

TTL(UART):

  • operating voltage: 3.3V or 5V
  • connector: screw terminals (TXD, RXD, GND)

Serial port baud rate

supports 300bps ~ 921600bps, 115200bps by default

USB port

  • operating voltage: 5V
  • Connector: Micro USBB
  • Protection: ESD protection diode
  • Usage: parameter configuration, dial-up, firmware upgrade

Power input

  • Connector: 7~36V screw terminals or DC 12V jack
  • Protection: Schottky diode protection, reverse-proof

Hardware protection

embedded MCU, hardware watchdog to prevent system crashes, industrial-grade aluminum alloy case

Operating voltage

7~36V DC

Operating current

idle: 10~30mA @12V

transmit: 80~450mA @12V (depending on the network condition)

Indicator

PWR (power supply), RXD/TXD (UART RX/TX), NET (network), LINK (socket connection)

Button

reset button

SIM card

standard SIM card (1.8V / 3V)

Antenna connector

SMA

Operating temperature

-40℃~80℃

  • Not available for the moment, contact us if you're interested.

Hardware

Interface

SIM7600CE-CNSE-4G-DTU-details-13.jpg

Indicators and Buttons

SIM7600CE-CNSE-4G-DTU-details-15.gif

  • PWR: red light is on when power is on.
  • TXD: blinking blue when transmitting data.
  • RXD: blinking blue when receiving data.
  • NET: blinking green when the network connection is established.
  • LINK: green lights on when connecting to a socket server.
  • RESET: reset button.

Quick Start

Hardwares

Hardware required

To test the device, you should prepare components.
Package includes:

SIM7600CE-CNSE 4G DTU × 1
4G Antenna × 1
1.5m male to female cable × 1
USB type A to micro cable × 1
12V Power adapter × 1
SIM7600X 4G DTU Package

External devices required:

Compute × 1
USB TO RS232/485/TTL × 1
4G SIM card(4G network should be available) × 1

Hardware Connection

In order to directly connect the PC for testing, it is recommended to purchase: USB TO RS232/485/TTL.

About the hardware connection of the DTU test, you can refer to the picture below.

Hardware connection

DTU Start and Reboot

Start: The NET indicator is on or blinks after powering.
Reboot: The device reboots if you press the RESET button.

Software Environment

Hereafter we use Windows 10 as an example, show you how to test the 4G DTU.

Install Driver

You need to install the driver when you first time use the 4G DTU. Drive of SIM7600X 4G DTU:

  • Connect the USB interface of the 4G DTU to a Windows PC.
  • Open the Device Manage -> Other Devices —> "SimTech, Incorporated" —> Update Driver —> Browser Compute to find the driver —> Choose the driver —> Install.
  • Update drivers for all the devices.

SIM7600X-Driver-8.jpg

TCP Server Configuration

You should set up the TCP server to test TCP/UDP communication.
If you have a cloud server, you can run the SocketTest in your Cloud server. You just need to configure the software and enable the port:

TCP-Server-Setting.png

Note: If you do not have a TCP server, you can also use a free TCP server(IP: 118.190.93.84; Port: 2317;) for testing, the configuration is the same as above.

Host PC Configure STU

Connect hardware, and run the configure software in the host PC. Configure the DTU as below:

Setting Parameter
Working mod TCP/UDP Mode
Baud rate 115200
Protocol TCP
Start server 1 113.110.149.13
Port 2318

Click "Download configuration" and then "Restart DTU" after setting.

DTU Setting

Serial port Transparent Transmission test

Refer to the "Hardware Connection" above to connect the hardware. You can choose any one of UART, RS232, or RS485 of the USB TO RS232/485/TTL to connect to the corresponding interface of the DTU. As well as to set up the switch of the "Communication Interface Setting" according to the interface you are using.

SIM7600X-4G-DTU-TCP-Sending-Test.jpg

Working mode

TCP/UDP date Transparent Transmission

Support bidirectional data transparent transmission between RS232/RS485/TTL serial devices and 4G/3G/2G network server. Configurable 1-4 channel socket connections, supports heartbeat packet and registration packet.

TCP/UDP date Transparent Transmission

Please refer to the 'Quick Start' section to test the function of TCP/UDP date Transparent Transmission.

【Note】: The effective length of a frame of data in the TCP protocol is 1460 bytes, the header and the end of the date total 40 bytes, so the maximum length of a frame of data is 1500 bytes. Therefore, the serial port transmits and receive buffers of the SIM7600X 4G DTU are both 1500 bytes.

Modbus Periodic Collection

The DTU will automatically and periodically collect sensor data and send it to the network server, which supports up to 5 commands.

Modbus Periodic Collection

Instructions for use

If you need to read multiple slave data at once, you need to set multiple instructions.

And you can set the time interval for each reading, such as 10s, 1 minute, one hour, etc. This time interval is called the command cycle. If there are multiple commands that need to be read each time, the time interval between each command is called the command interval.

  • For example

If you need to read the data of two sensors every half an hour, you can set the command cycle to 1800s and the command interval to 100ms.

SIM7600X 4G DYU Modbus.png

RNDIS Dial-Up

Supports RNDIS Dial-Up via the USB port on Windows/Linux (including Raspberry Pi).

RNDIS Dial-U

The DTU can support 150Mbps Downlink Speed And 50Mbps Uplink Speed Ideally. However, the actual speed is affected by factors such as network coverage, network congestion, and base station conditions.

RNDIS Dial-Up on Windows 10

  • Connect the SIM card and antenna to the DTU, and connect the USB interface of the DTU to the computer, power on the DTU.
  • Install the USB driver(refer to #Install Driver)
  • Open SSCOM and find out the serial port number corresponding to the AT serial port you are using. Then send the following command to query whether the device is registered on the network:
AT+CPSI?
  • If the device has successfully registered on the network, then send the AT command to enable USB dial-up to the Internet:
at+Cusbpidswitch=9011,1,1
  • If the transmission is successful, the DTU will return OK and reboot automatically.
  • And then you can find that there are some unrecognized devices in the Device Manager on the computer, such as RNDIS (with an exclamation mark).

RNDIS Dial-up01.png

  • Right-click the 'RNDIS', search "Update Divers" and select "Let me pick from a list of available drivers on my computer", then select "Network adapters" from the device list.

RNDIS Dial-up02.png

RNDIS Dial-up03.png

  • Select "Microsoft" in the manufacturer list of the Network adapters window, and then select "Remote NDIS Compatible Device" in the list on the right, which is the remote NDIS compatible device.

500PX

Click 'Next' and wait for the installation to finish, the RNDIS Kitl device will be installed successfully. And then you can see that the PC can access the Internet via DTU.

RNDIS Dial-Up on Raspberry Pi

Please refer to Raspberry Pi networked via RNDIS

Disable DTU dial-up Internet access

Open the corresponding AT serial port and send the AT command to close the USB dial-up Internet access:

 at+Cusbpidswitch=9001,1,1

The DTU will restart automatically, and the dial-up Internet access function will be turned off after restarting.

AT command Description

The DTU can support Serial command configuration, USB command configuration, PC upper computer configuration, and Cloud remote configuration.

Serial command configuration

After the DTU is turned on successfully, the serial port will output RDY. After that, you can receive, set, and query commands through the serial port within 10 seconds.

  • Query the current configuration parameters: AT+DTUCFG?
  • Use the following command to configure the parameters
AT+DTUCFG=9600,47.101.146.205,4000,TCP,1,Hello,300,Beat,1,0,0,500,0

The command format is as follows:

AT+DTUCFG=BandBpr,Ip,Port,Type,EnRegister,RegisterStr,BeatPeriod,Beat,UrcEn,SleepEn,CtrlEn,ReadTimeout,Maxlen,ServerCmd,MaxLink,ModeBus,RebootPeriod

【Note】Parameter description:

BandBpr: Serial port Baud rate
Ip: Server address, support domain name
Port: Port number
Type: TCP/UDP
EnRegister: (1/0) enable and disable registration packet
RegisterStr: registration packet
BeatPeriod: the interval of heartbeat packet, the unit is second
Beat: The content of heartbeat packet
UrcEn: URC enable bit, the serial port connected to the server will report "CONNECT SERVER OK"
SleepEn: Sleep enable, 1 is enable
CtrlEn: Flow control enable, 1 is enable
ReadTimeout: Regular 500MS report data to the service area, the value range is 100 to 500
Maxlen: 0 means that any data received by the serial port will be sent immediately, and the sending will be triggered when the length is long enough. The value range is 0-1460.
ServerCmd: 1, Indicates that the server can send AT+DTUCFG command to query and set the current DTU parameters, and can send AT+CRESET to remotely restart DTU
MaxLink: the number of multiple connections, if 0 means single link, the parameter value range [0, 2, 3, 4]
ModeBus: 1 means to enable MODBUS, 0 hexadecimal, after enabling, you can set up to 5 groups of commands to actively read the slave
RebootPeriod: Restart time in case of failure, the unit is 5S, such as setting 60 minutes(3600 seconds), the parameter is 3600/5=720, this fault means the failure to connect to the server.
  • The command to set APN individually: AT+APN=apn
  • The command to set server address individually: AT+HOST=IP,Port

USB command configuration

Connect the USB of the DTU to the PC and install the driver, find the corresponding AT serial ports for the serial ports you are listing on the PC, and then you can use the PC serial port tool to query or configure the current parameters.

Here we give an example:

  • Open serial port tools, such as SSCOM, set the baud rate to 115200, press ‘Enter’ at the end of the current command to wrap.
  • After DTU is turned on, find the corresponding AT serial port and send the command as below:

Set the first link:

AT+DTUCFG=9600,47.101.146.205,4000,TCP,1,hello,300,beat,1,0,0,500,0,0,3

It will return OK after setting successfully, and the parameters need to be set according to the actual situation.

Set the second link:

at+multisockcfg=2,47.101.146.205,4001,TCP

It will return OK after setting successfully.

Set the third link:

at+multisockcfg=3,47.101.146.205,4002,TCP

It will return OK after setting successfully.

And then reboot the DTU, then you can see the LINK light turn on if the first parameter is connected to the Server.

PC master computer configuration

Connect the USB interface of the DTU to the PC and install the driver, and then download the configuration tool DTU Manager (EN)

DTU Manager

  • Click the "Scan Port" button at the bottom left of the DTU Manager, and you can see 'Equipment ready' in the right display window.
  • After filling in the configuration parameters manually, click the "Download" button to update the configured parameters to the DTU device and restart it to take effect.
  • Also, you can read the currently configured parameters of the DTU by press 'Get' button.

For operation demonstration, please refer to the 'Quick Start' section above.

Cloud remote configuration

To use this function, you need to enable the cloud configuration through the other parameter configuration methods above in advance. After enabling, the operation is the same as "Serial Command Configuration".

FAQ

Support

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