background image

Chengdu Ebyte Electronic Technology Co.,Ltd

E840-TTL-4G02E User Manual

Copyright ©2012–2019,

Chengdu Ebyte Electronic Technology Co.,Ltd

24

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 the length must be an even number.

AT+HEARTM

Function

configure/inquire heartbeat package time

Format

inquire

transmit

AT+ HEARTM <CR>

return

<CR><LF>+OK=<time><CR><LF>

configure
transmit

AT+ HEARTM =<time><CR>

return

<CR><LF>+OK<CR><LF>

Parameters: time heartbeat time, 0 off, range 1 to 65535 seconds.

AT+SHORTM

Function

set/inquire short connection time

Format

inquire

transmit

AT+ SHORTM<CR>

return

<CR><LF>+OK=<time><CR><LF>

configure
transmit

AT+ SHORTM=<time><CR>

return

<CR><LF>+OK<CR><LF>

Parameter

time short connection time

0 off

from 2-255 second

AT+EBTIOT

Function

set /inquire EBYTE IoT Cloud platform

Format

inquire

transmit

AT+EBTIOT <CR>

return

<CR><LF>+OK=<ctrl><CR><LF>

configure
transmit

AT+EBTIOT =<ctrl><CR>

return

<CR><LF>+OK<CR><LF>

Parameter

ctrl EBYTE IoT function switch

0 off/1 on

Note: After the IoT cloud function is enabled, the module is automatically connected to the Yiyi special 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>

Summary of Contents for E840-TTL-4G02E

Page 1: ...E840 TTL 4G02E User Manual 4G LTE Module ...

Page 2: ...VIEW 2 1 1 INTRODUCTION 2 1 2 FEATURES 2 1 3 MODULE PARAMETER 3 1 4 INTERFACE DESCRIPTION 4 1 5 PIN DEFINITION 4 2 QUICK START 5 2 1 HARDWARE 5 2 2 DATA TRANSMISSION TEST 9 2 1 1 Operating mode is as follows 9 2 NETWORK FUNCTION 11 3 HIGH SPEED MODE 11 4 SMS FUNCTION 14 3 AT COMMAND 17 4 NOTES 28 5 IMPORTANT STATEMENT 29 6 REVERSION HISTORY 30 7 ABOUT US 30 ...

Page 3: ...ong electromagnetic interference such as power industry This manual is a quick introduction to the modem E840 TTL 4G02E It is the easiest hardware environment to test the E840 TTL 4G02E 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 Sup...

Page 4: ...tic Support TCP UDP PPP FTP HTTP NTP PING QMI NITZ CMUX HTTPS SMTP MMS FTP S SMTPS SSL FILE protocol Support PAP Password Authentication Protocol and CHAP ChallengeHandshake Authentication Protocol Hardware Characteristic Antenna IPX Data interface UART Baud rate Support Max 921600bps default 115200bps Transmitting power Class 4 33dBm 2dB for GSM900 Class 1 30dBm 2dB for DCS1800 Class E2 27dBm 3dB...

Page 5: ...ge DC 5V 20V Size 42 40 9 7 mm 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 onboard left 1 LED High SocketA is successfully connected to the web server ...

Page 6: ... 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 ...

Page 7: ...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 4G02E series product configuration tool install USB to 232 485 driver run the software 2 Select the corresponding COM port number The factory de...

Page 8: ...the tool Enter Configuration Status button and wait for the device parameters to be automatically obtained After completion the following figure is displayed 4 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 ...

Page 9: ...Module Restart button and wait for the device LINK light to be on 6 Search Ebyte IoT expert WeChat public number enter the page click Customer Support Device Test the mobile phone screenshot interface is as follows 7 Use the PC side tool to send data to and use the mobile phone to send data to the device The communication test result is as shown below ...

Page 10: ... the server data the module will output directly through the serial port The maximum length of data supported by this module is 10 bytes When multiple links are connected to the server at the same time the data packet will be sent to the four links at the same time When there are data to be sent from any network link the radio will transparently output the data b Protocol transmission This module ...

Page 11: ...d for users OK Transmit AT LINKSTA read if SOCK2 has started connection with server OK Connect Transmit AT POTOCOL ON open protocol transmission mode OK Transmit AT POTOCOL inquire if protocol transmission is on OK ON AT REBT restart OK Waiting for the radio to restart SOCK will automatically establish a connection with the server After the connection is started data can be transmitted to each oth...

Page 12: ...s 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 d Clear the cache Before th...

Page 13: ...n the serial port tool and use the file sending method to open RF_Setting3 49 exe After the device is connected to the network server normally click send file and the sending is completed as shown below 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 ...

Page 14: ...840 TTL 4G02E User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 13 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 ...

Page 15: ...sfer of files from the serial port to the network server 4 SMS function E840 TTL 4G02E 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 ...

Page 16: ...hone number and data is the received short message content c 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 ...

Page 17: ...e used to query the current location information of the device For the query method refer to the link http www gpsspg com bs htm 7 Serial port packaging function The E840 TTL 4G02E serial port break time and packing length can be configured The user can configure the frame break time and the package length through the AT UARTTS command Please refers to the AT command for the specific configuration...

Page 18: ...and 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 Invalid parameter 5 Operation prevented c Command set REBT restart module VER inquire version No INFO inquire device info EXAT exit AT com...

Page 19: ...eartbeat packet mode HEARTINFO set inquire self defined heartbeat packet info ASCII HEARTINFONEW set inquire heartbeat packet info ASCII HEX HEARTM set inquire heartbeat packet time SHORTM set inquire short connection time EBTIOT set inquire to enable Ebyte IoT Cloud Platform CREG Inquire if it is registered to network CSQ Inquire signal strength CPIN Inquire SIM card status POTOCOL set inquire if...

Page 20: ...it AT INFO CR LF return CR LF OK mod_name hw_ver sw_ver CR LF Parameter mod_name module name hw_ver hardware version sw_ver software version Description None AT EXAT Function exit command mode enter transparent transmission mode Format configure transmit AT EXAT CR LF return CR LF OK CR LF Parameter None Description After the command is executed correctly the module is switched from command mode t...

Page 21: ...LF configure transmit AT UARTCLR sta CR return CR LF OK CR LF Parameter sta status ON Clear the serial port cache before connecting OFF Do not clear the serial port cache before connecting AT IMEI Function inquire the IMEI of module Format inquire transmit AT IMEI CR return CR LF OK imei CR LF parameter imei IMEI of module AT LINKSTA Function inquire whether TCP connection is established Format in...

Page 22: ...ransmit AT SOCK CR return CR LF OK protocol ip port CR LF configure transmit AT SOCK protocol ip port CR return CR LF OK CR LF Parameter protocol protocol type TCPC UDPC TCPC corresponding TCP client UDPC corresponding UDP client Ip The IP address or domain name of the target server when the module is set to CLIENT Port The port number of the server in decimal less than 65535 AT SOCK1 Function Set...

Page 23: ...off SOCK3 1 turn on SOCK3 protocol type TCPC UDPC TCPC corresponding TCP client UDPC corresponding UDP client Ip The IP address or domain name of the target server when the module is set to CLIENT Port The port number of the server in decimal less than 65535 AT REGMOD Function Set the query registration package mechanism Format inquire transmit AT REGMOD CR return CR LF OK status CR LF configure t...

Page 24: ...e is ASCII code data ASCII code within 40 bytes when the registration packet type is HEX the content must be in the legal HEX format and the length must be an even number AT HEARTMOD Function set inquire heartbeat mode Format inquire transmit AT HEARTMOD CR return CR LF OK mode CR LF configure transmit AT HEARTMOD mode CR return CR LF OK CR LF parameter mode NET Network heartbeat package UART UART...

Page 25: ...R LF Parameters time heartbeat time 0 off range 1 to 65535 seconds AT SHORTM Function set inquire short connection time Format inquire transmit AT SHORTM CR return CR LF OK time CR LF configure transmit AT SHORTM time CR return CR LF OK CR LF Parameter time short connection time 0 off from 2 255 second AT EBTIOT Function set inquire EBYTE IoT Cloud platform Format inquire transmit AT EBTIOT CR ret...

Page 26: ... card 0 unable to detect SIM card Description None AT POTOCOL Function Set inquire Whether to enable protocol transmission valid under 4G multi socket Format inquire transmit AT POTOCOL CR return CR LF OK sta CR LF configure transmit AT POTOCOL data CR return CR LF OK CR LF Parameters data status ON Turns on the transmission of the EBYTE protocol OFF Turns off the he transmission of the EBYTE prot...

Page 27: ...nsmit AT ICCID CR return CR LF OK number CR LF Parameter number The present ICCID of SIM card AT LBS Function inquire the service info based on location Format inquire transmit AT LBS CR return CR LF OK LAC lac CID cid CR LF Parameter lac Base station location code for present device cid Base station id AT HSPEED Function configure inquire if high speed mode is enabled Format configure transmit AT...

Page 28: ...SMS command Format transmit transmit AT SMSSEND number info CR return CR LF OK CR LF Parameter Number receiver s phone number info transmitted content English or number AT SMSINFO Function configure inquire SMS configuration identifier ID Format transmit transmit AT SMSINFO Info CR return CR LF OK CR LF Inquire transmit AT SMSINFO CR return CR LF OK info CR Parameter Info remote SMS configuration ...

Page 29: ...y used to set the server response timeout When the device does not receive the data sent by the server the device will restart automatically Range 60 65535 in seconds 0 means turning off the function AT NETHEAD Function configure inquire network AT command head Format configure transmit AT NETHEAD value CR return CR LF OK CR LF inquire transmi AT NETHEAD CR return CR LF OK value CR LF Parameters v...

Page 30: ...ing this length may cause packet abnormality The distribution protocol is enabled Each Socket is enabled The link single packet can support up to 1024 bytes user configured serial port packing length In the high speed serial transmission mode the EMBMAC and EMBCSTM registration package functions cannot be enabled and in the high speed mode the short message transmission and reception function is n...

Page 31: ...tion Issued by 1 0 2018 4 12 Initial version 1 1 2019 8 8 Product upgrade Lyl 1 2 2019 8 21 Parameters update Lyl 1 3 2019 8 23 Content update Lyl 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 64146160 Web www ebyte com Address Innovation Center B333 D347 4 XI XIN Road Chengdu Sichuan China ...

Reviews: