background image

Chengdu Ebyte Electronic Technology Co.,Ltd                                                                                                                                    E840-TTL(4G-02)User Manual 

 

Copyright 

©

2012

2019

Chengdu Ebyte Electronic Technology Co.,Ltd                           

                                                                                                           

12

 

 

a)

 

AT mode

under this mode all UART data is considered as AT command. 

b)

 

Mode switch

In the transparent transmission mode, after the serial port receives the "+++" frame data, the RX pin receives 

any AT command within 3 seconds, and the mode switches to the AT mode. In AT mode, send AT+EXAT<CR><LF> to 

switch to transparent transmission mode. 

 

2.2 Network function 

a) Short connection: In TCP Client mode, the short connection function is enabled. If there is no data reception in the 

serial  port  or  network  port  within  the  set  time,  the  network  connection  will  be  automatically  disconnected.  The  short 

connection function is turned off by default. The connection time can be set from 2 to 255 seconds. When set to 0, the short 

connection function is disabled. 

b) Registration package: The registration package is closed by default. The user can configure 4 types of registration 

packages. You can choose to send the physical address (IMEI code) when connecting, send custom data when connecting, 

add the physics before the connection and each packet of data. Custom data is added to the address, connection time, and 

data before each packet. The maximum length of the custom registration packet is 40 bytes (when set to HEX format, the 

maximum length is 20 bytes). 

c)  Heartbeat  packet:  In  the  idle  state  of  network  communication,  the  heartbeat  packet  is  used  for  network  state 

maintenance. The heartbeat period can be set from 0 to 65535 seconds, and the maximum length of the heartbeat packet is 

40 bytes (when set to HEX format, the maximum length is 20 bytes). Supports two heartbeat types: network heartbeat and 

serial heartbeat. When the network heartbeat is selected, the communication idle time starts, and the heartbeat data packet 

is  sent  to  the  server  according  to  the  configured  heartbeat  period.  Select  the  serial  port  heartbeat,  start  timing      with 

communication idle, and send heartbeat packets to the serial port according to the configured heartbeat period. 

Содержание E-840-TTL-4G02

Страница 1: ...E840 TTL 4G02 User Manual 4G LTE Serial Module ...

Страница 2: ... 2 1 1 INTRODUCTION 2 1 2 FEATURES 2 1 3 MODULE PARAMETER 3 1 4 INTERFACE DESCRIPTION 5 1 5 PIN DEFINITION 5 2 QUICK START 6 2 1 HARDWARE 6 2 1 DATA TRANSMISSION TEST 10 2 1 1 Operating mode is as follows 10 2 2 NETWORK FUNCTION 12 2 3 HIGH SPEED MODE 13 2 4 SMS FUNCTION 16 3 AT COMMAND 19 4 NOTES 30 5 IMPORTANT STATEMENT 31 6 REVERSION HISTORY 31 7 ABOUT US 31 ...

Страница 3: ...such as power industry This manual is a quick introduction to the modem E840 TTL 4G02 It is the easiest hardware environment to test the E840 TTL 4G02 network transmission function that is to realize data being transmitted in both directions between the serial device here the computer and the network server 1 2 Features Almost meet all M2M application demands Support data transparent transmission ...

Страница 4: ...t CCSA Release 3 TD SCDMA Max downstream rate 4 2Mbps Max upstream rate 2 2Mbps CDMA2000 characteristic support 3GPP2 CDMA2000 1X Advanced and 1xEV DO Rev A EVDO Max downstream rate 3 1Mbps Max upstream rate 1 8Mbps 1X Advanced Max downstream rate 307 2Kbps Max upstream rate 307 2Kbps GSM characteristic R99 CSD tx rate 9 6kbps 14 4kbps GPRS support GPRS multiple time slot level 33 default 33 codin...

Страница 5: ...dB for LTE TDD bands Sensitivity FDD B1 101 6dBm 10M FDD B3 101 9dBm 10M FDD B5 102dBm 10M FDD B8 102 1dBm 10M TDD B38 101 3dBm 10M TDD B39 101 2dBm 10M TDD B40 101 4dBm 10M TDD B41 101 4dBm 10M WCDMA B1 112dBm WCDMA B8 112dBm TD SCDMA B34 110dBm TD SCDMA B39 110dBm CDMA BC0 108dBm GSM 900 109dBm GSM 1800 109dBm Consumption Typical 11uA power off 1 8mA LTE sleep PF 128 1 5mA LTE sleep PF 256 20mA ...

Страница 6: ...0 2570 2620 LTE TDD B39 1880 1920 1880 1920 LTE TDD B40 2300 2400 2300 2400 LTE TDD B41 2555 2655 2555 2655 1 4 Interface description 1 5 Pin definition Pin No Name Description 1 RST Reset pin 2 IO_RT The low level lasts for 3 10S the module parameters will be restored to the factory settings and will be restarted immediately 3 LIKA SocketA link connection status indicator pin corresponding to the...

Страница 7: ... drive level you need to input 5V level on this pin 10 11 14 15 23 MOD SLE PA11 PA10 EN NC 12 4V2 Lithium battery power supply pin power supply range 3 8V 4 3V This pin is prohibited from being reversed and is not allowed to be supplied with VCC 16 VCC DC power supply pin power supply range 5V 20V This pin is prohibited from being reversed and is not allowed to be supplied with VCC 19 VD External ...

Страница 8: ...able connected according to recommended circuit diagram SIM card and antenna Connect the power supply antenna SIM card serial cable and other hardware before testing 1 Access the official website of EBYTE www ebyte com to download the latest GPRS E840 TTL 4G02 series product configuration tool install USB to 232 485 driver run the software 2 Select the corresponding COM port number The factory def...

Страница 9: ...the tool Enter Configuration Status button and wait for the device parameters to be automatically obtained After completion the following figure is displayed 2 Query the signal strength set the device connection server IP and port number to be 116 62 42 192 8124 Ebyte test server and finally click Save all parameters and finally as shown below ...

Страница 10: ...12 2019 Chengdu Ebyte Electronic Technology Co Ltd 9 3 Click the tool Module Restart button and wait for the device LINK light to be on 4 Search Ebyte IoT expert WeChat public number enter the page click Customer Support Device Test the mobile phone screenshot interface is as follows ...

Страница 11: ...ion is established with the server any data received by the serial port will be transparently transmitted to the server At the same time it can also receive data from the server After receiving the server data the module will output directly through the serial port The maximum length of data supported by this module is 1024 bytes When multiple links are connected to the server at the same time the...

Страница 12: ...er AT command setting at the same time OK E840 TTL 4G 02 _V1 0 Transmit AT SOCK2 1 TCPC 116 62 42 192 31687 open SOCK2 and configure the network server parameters that SOCK2 will connect to the parameter used here is Ebyte test server not recommended for users OK Transmit AT LINKSTA2 read if SOCK2 has started connection with server OK Connect Transmit AT POTOCOL ON open protocol transmission mode ...

Страница 13: ...osed by default The user can configure 4 types of registration packages You can choose to send the physical address IMEI code when connecting send custom data when connecting add the physics before the connection and each packet of data Custom data is added to the address connection time and data before each packet The maximum length of the custom registration packet is 40 bytes when set to HEX fo...

Страница 14: ...h data such as file picture and video Configure query the high speed mode state through the AT HSPEED command After the high speed mode is enabled the device can transmit any packet length data at 230400 serial port baud rate and below The E840 TTL 4G 02 file transfer process will be demonstrated below 1 Turn on the device high speed mode After the device enters the AT mode send AT HSPEED ON to en...

Страница 15: ...o Ltd E840 TTL 4G 02 User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 14 4 The server the external network mapping used for this demo the server is the TCP debugging tool after receiving the data it is as follows ...

Страница 16: ...yte Electronic Technology Co Ltd 15 5 Save the data as an exe trial file type This time it is named RF exe as shown below 6 Click on the server to run RF exe to test the file as shown below In summary the E840 TTL 4G 02 completes the remote transfer of files from the serial port to the network server ...

Страница 17: ...2 4 SMS function E840 TTL 4G 02 can support SMS sending and receiving SMS remote configuration function inserted SIM card needs to support SMS service a SMS sending In AT mode send AT SMSSEND number data to complete the SMS sending where number refers to the receiving number and data refers to the data to be sent The demo is shown below ...

Страница 18: ...hone number and data is the received short message content b SMS configuration query The device can support SMS remote configuration inquiry parameters in transparent transmission mode The format of the transmission format command is Head AT CMD where Head is the device SMS identifier The factory default is EbyteSMS CMD is the corresponding command Specifically you can view the introduction of AT ...

Страница 19: ...onforming to the Modbus TCP protocol will be parsed otherwise only packets with the same application packet identifier and device configuration identifier will be converted 6 Base station positioning function The E840 TTL 4G 02 supports the base station positioning function The user can send the AT LBS command in the AT mode to read the current LBS information of the device The device returns the ...

Страница 20: ...fer to the Ebyte Cloud Platform Transparent Transmission Guide 3 AT command a Command format AT CMD op para1 para2 para3 CR LF AT command front end CMD control command op indicates parameter configuration NULL indicates parameters inquire para n parameter list CR LF CRLF ASCII 0x0D 0x0A b Command error code Error code Description 1 Invalid command format 2 Invalid command 3 Invalid operator 4 Inva...

Страница 21: ...ion mode starts UARTEX set inquire serial port parameter 9600 8 N 1 ICCID Inquire SIM card s ICCID HSPEED set inquire if high speed continuous transmission is opened LBS set inquire base station information base station positioning UARTTS set inquire serial port packing length and gap SMSSEND Send message SMSINFO set inquire message setting identifier MODBUS set inquire ModbusTCP RTU switch functi...

Страница 22: ... switched from command mode to the transparent transmission mode AT RESTORE Function restore factory configuration Format configure transmit AT RESTORE CR LF return CR LF OK CR LF Parameter None Description None AT UART Function set inquire UART parameters Format inquire transmit AT UART CR return CR LF OK baudrate parity CR LF configure transmit AT UART baudrate parity CR LF return CR LF OK CR LF...

Страница 23: ...ed Format inquire transmit AT LINKSTA1 CR return CR LF OK sta CR LF Parameter Sta whether establish TCP connection Connect TCP connection Disconnect TCP cut off AT LINKSTA2 Function inquire whether TCP connection is established Format inquire transmit AT LINKSTA2 CR return CR LF OK sta CR LF Parameter Sta whether establish TCP connection Connect TCP connection Disconnect TCP cut off AT LINKSTA3 Fu...

Страница 24: ...he target server when the module is set to CLIENT Port The port number of the server in decimal less than 65535 AT SOCK2 Function Set query the network protocol parameter format Format inquire transmit AT SOCK2 CR return CR LF OK EN protocol ip port CR LF configure transmi AT SOCK2 EN protocol ip port CR return CR LF OK CR LF Parameter EN enable 0 turn off SOCK2 1 turn on SOCK2 protocol type TCPC ...

Страница 25: ...MEI registration packet only when it is first linked to the server OLCSTM sends a user defined registration package only the first time it is linked to the server OFF Disables the registration of the packet mechanism AT REGINFO Function Set the contents of the query custom registration package Format Query transmit AT REGINFO CR return CR LF OK data CR LF configure transmit AT REGINFO data CR retu...

Страница 26: ...ta AT HEARTINFONEW Function configure inquire heartbeat packet data Format inquire transmit AT HEARTINFONEW CR return CR LF OK type data CR LF configure transmit AT HEARTINFO type data CR return CR LF OK CR LF parameter type 0 Heartbeat package type is HEX 1 Heartbeat type is ASCII code data ASCII code within 40 bytes when the heartbeat packet type is HEX the content must be a legal HEX format and...

Страница 27: ...pecial IoT platform ignoring the sock configuration registration package and heartbeat package function AT CSQ Function inquire signal strength Format configure transmit AT CSQ CR LF return CR LF OK csq CR LF parameter csq signal strength description none AT CREG Function inquire whether it is registered with the carrier Format configure transmit AT CREG CR LF return CR LF OK creg CR LF Parameter ...

Страница 28: ...r configuring baud rate and parity only format inquire transmit AT UARTEX CR return CR LF OK sta CR LF configure transmit AT UARTEX baud data bit parity stop CR return CR LF OK CR LF parameter baud UART baud can be configured as levels below 9600 19200 38400 57600 115200 230400 460800 921600 data bit UART data bit 8 length is 8 bits 7 length is 7 bits Parity UART parity N None O Odd E Even stop UA...

Страница 29: ...speed enabled OFF high speed disabled AT UARTTS Function configure inquire serial port packaging and break frame mechanism Format configure transmit AT UARTTS time length CR return CR LF OK CR LF inquire transmit AT UARTTS CR return CR LF OK time length CR Parameter time Serial port break frame packaging time 50 2000 ms Length Serial port packaging length 20 1024 bytes AT SMSSEND Function transmit...

Страница 30: ... TCP event identifier Format configure transmit AT MTCPID id CR return CR LF OK CR LF inquire transmit AT MTCPID CR return CR LF OK id CR LF Parameter id 0 65535 2 bytes Remark when ID is 0 any modbusTCP received will switch to corresponding RTU protocol otherwise only when id is matched can it switch AT RSTIME Function configure inquire server response overtime Format configure transmit AT RSTIME...

Страница 31: ...ata Therefore in actual use it is recommended to enable the heartbeat packet function to ensure the reliability of the network link In actual use it is normal for the data delay of the two communications to be different After the protocol is closed the maximum single packet length supported by a single link is 10K bytes A local serial port or a network sending a packet exceeding this length may ca...

Страница 32: ... please refer to the latest version Please refer to our website for new product information 6 Reversion History Version Edit date Description Issued by 1 00 2018 11 06 Initial version Ray 1 10 2019 03 25 Product upgrade Ray 1 20 2019 04 09 Product upgrade Ray 7 About Us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Tel 86 28 61399028 Ext 812 Fax 028 641...

Отзывы: