Product: | 4G LTE Module | Size: | 86*81*24mm |
---|---|---|---|
Card Type: | 4G | Speed: | 100Mbps |
High Light: | wireless gateway modem,4g lte module |
Industrial 4G Wireless Gateway , 100Mbps High Speed 4G Wireless DTU
1)Main Features
Support 4G/3G/2G, Mobile, Telecom and China Unicom;
Support Bidirectional data transparent transmission between terminals TTL, RS485, RS232, and server;
Support user-defined registration packet and heartbeat ;
Standard TCP/IP communication interface Socket in Server ;
Support Intelligent anti disconnection, support online testing and online maintenance, disconnected then automatic redial, ensure that the equipment is always online;
Support configuration of the domain name, IP, port number, APN, serial port, baud rate and other parameters through serial port ;
Support remote configuration, remote firmware upgrade;
Support fixed IP and domain name DNS.
2)Technical Parameters
Type | Parameters | Unit | ||||||
Minimum | Typical Value | Maximum | ||||||
Electrical Property (25℃) | ||||||||
Mains Voltage | 4.75 | 12 | 36 | V | ||||
Working Current | 70 | 150 | 250 | mA | ||||
Peak Current | - | - | 2000 | mA | ||||
Wireless Performance (25℃) | ||||||||
Frequency Range | 4G 3G 2G | - | ||||||
Sensitivity | -106dBm | - | ||||||
Max. Emission Power |
|
- | ||||||
General Performance | ||||||||
Interface Rate | 1200 | 9600 | 115200 | bps | ||||
Interface Level | RS485,RS232,TTL | |||||||
Working Temperature | -40 | 80 | ℃ | |||||
Dimension | 52×35×10 (not including antenna and accessories) | mm |
3)Dimension
5)Using Method
5.1 TCP/IP connection
When LS-DG4 works in the TCP/IP connection mode, data communication between LS-DG4 and server is fully transparent transmission, to keep LS-DG4 always online, users need to define the registered data frame and heartbeat data frame, and the server needs to differentiate the registered data frame and heartbeat data frame from user data frame. The server can also remotely set LS-DG4's SDN or domain name.
5.1.1 Registered data frame:
The registered packet data type is 0x00, with a minimum load of 16 bytes. Users can freely add custom data , data is automatically added to the signal strength byte, and can set 70 bytes at most.
Frame head | Address | Type | Load Length | Load | CRC16 Calibration | ||||||
0x24 | ID3 | ID2 | ID1 | ID0 | 0x00 | LEN_H | LEN_L | DATA | CRC_H | CRC_L | |
Frame head: 0x24
Address: HEX,high byte is in the front
Type: 0x00: reporting IMSI (15 bytes) +CSQ (1 bytes)
Length: part data length, high byte is in the front;
Load: data content: the first 15 bytes are IMSI (ascll code) of SIM card, then 1 bytes is signal strength value RSSI (signed number) of GPRS, and the last one is user-defined registered package information.
CRC16 Calibration: start from frame head to data content, CRC-16 ($1021) check of all data;
1) CRCH: CRC16 checksum high 8 bit;
2) CRCL: CRC16 checksum high and low bit
5.1.2 heartbeat data frame:
The heartbeat packet sends one-byte data by default, and the data is 0x04. If it’s user-defined heartbeat packet, then one sends the user-defined heartbeat packet data, and the transmission interval is 40 seconds.
5.2 SMS function use
When LS-DG4 works in SMS mode, LS-DG4 can communicate with any mobile phone by SMS. When the mobile phone sends any message to LS-DG4,LS-DG4 from serial port sends out the current SMS content (only support up to 70 ASCII characters), if the terminal equipment returns data from serial port (only a maximum of 70 ASCII characters) LS-DG4 will automatically reply the data to the mobile phone number from which it receives text messages last time.
Special customization requirements for SMS function is supported
6)Pin Definitions
Pins | Definition | Input/output | Function Description |
1 | VCC | Input | Positive power supply (4.75V-36V) |
2 | Rxd_RS232 | Input | Serial port Input of RS232 Level |
3 | Txd_RS232 | Output | Serial port Output of RS232 Level |
4 | GND | Input | Negative power supply |
5 | SGND | Input | SGND |
6 | A_RS485 | Input, Output | A port of RS485 Level |
7 | B_RS485 | Input, Output | B port of RS485 Level |
8 | I01 | NC | |
9 | I02 | NC |
7)AT Commands
Command Description | Format | Parameters |
Enter the AT command mode | +++ | None(Enter and Return OK) |
Set IP/SDN domain name | AT+SDN=1,[<SDN>,<port>,<num>][…][…] |
<SDN>:Domain Name <port>:Port No <num>:Serial No. <1~5> Remark:1 is on highest priority) |
Delete IP/SDN domain name | AT+SDN=0,< num> |
< num >:Serial No. 1~5: Specified Serial No. A: Delete All |
Set ID Number | AT+MODIDSET=1, <id> | <id>:DTU ID Decimal system |
Set Serial Port Parameters | AT+IPR=1,<bau>,<length>,<parity>,<stopbit> |
<bau>:baud rate 0: 1200bps 1: 2400 bps 2: 4800 bps 3: 9600 bps (default) 4: 19200 bps 5: 38400 bps 6: 57600 bps 7: 115200 bps <length>:data bits 8: 8 data bits <parity>:parity check N: no parity O: odd parity E: even parity <stopbit>:stop bit 1: 1 bit |
Add APN Configuration Item | AT+PROFILE=1,<SN>,<MCC+MNC>,<APN>,<Username>,<Password> |
<SN>:Serial No. Set(1~8) MCC:Mobile Country Code MNC:Mobile Network Code <APN>:Access Point <Username>:user name <Password>:password |
Delete APN Configuration Item | AT+PROFILE=0,<SN> |
<SN>:Serial No. 1~8: Specified Serial No. A: Delete All |
Set add ID function | AT+ADDIDEN=1,<mode> |
<mode>:Mode Selection 0:don’t add ID before transparent data transmission is the default 1:add ID before setting transparent data transmission |
Set registered packet function | AT+REGPKT=1,<text> | <text>:registered packet content |
Set heartbeat packet format | AT+HBTPKT=1,<text> |
<text>:heartbeat packet content Send once every 40s |
Set SMS working mode | AT+SMSTMODE=1,<mode> |
<mode>: Trigger Mode 0: TCP/IP Mode 1: TXT transparent transmission mode |
Query firmware version number | AT+FWV=? | None |
Reboot DTU | AT+REBOOT | None |
Quit AT Command Mode | AT+QUIT | None(if serial port is no operation, then quit automatically after 60s) |