background image

Chengdu Ebyte Electronic Technology Co.,Ltd

E840-DTU(4G-02E) User Manual

Copyright ©2012–2019

Chengdu Ebyte Electronic Technology Co.,Ltd

12

c)

AT mode

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

d)

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

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.

d) Clear the cache: Before the connection to the server is established, the data received by the serial port will be

cached. When the connection with the server is established, you can choose whether to clear the cached data. By default,

Содержание 4G-02E

Страница 1: ...E840 DTU 4G 02E E840 DTU 4G 02E ...

Страница 2: ... Ebyte Electronic Technology Co Ltd 2 Contents Features 3 1 1 Introduction 4 1 2 System parameter 4 1 3 Interface description 6 1 4 Pin definition 7 2 1 Hardware 9 2 2 Data transmission test 10 Demonstration 11 3 AT command 20 4 Notes 31 5 Important Statement 32 6 Reversion History 32 7 About Us 32 ...

Страница 3: ...mission that is to realize data transmitted between the serial device here the computer and the network server Features Meet almost all M2M application demands Data transparent transmission TCP UDP network protocol heartbeat packet and registration package function available Max serial port baud rate 230400 two way serial transmission between device and network server Serial port large cache and t...

Страница 4: ...em parameter Parameter Value Description Characteristic Frequency LTE FDD B1 B3 B7 B8 B20 B28A WCDMA B1 B8 GSM B3 B8 LTE characteristic Support max of 3GPP R8 non CA Cat 4 FDD and TDD Support 1 4MHz 20MHz Downstream support MIMO LTE FDD Max downstream rate 150Mbps Max upstream rate50Mbps WCDMA characteristic WCDMA Max downstream rate 384Kbps Max upstream rate 384Kbps GSM characteristic GPRS Max do...

Страница 5: ...for LTE TDD bands FDD B1 101 5dBm 10M FDD B3 101 5dBm 10M FDD B7 99 5dBm 10M FDD B8 101dBm 10M FDD B20 102 5dBm 10M FDD B28A 102dBm 10M WCDMA B1 110dBm WCDMA B8 110 5Bm GSM 3 109dBm GSM 8 109dBm Consumption Typical 11uA power off 1 8mA LTE sleep PF 128 1 5mA LTE sleep PF 256 20mA idle Bandwidth 1 4 3 5 10 15 20MHz Operating temperature 30 70 extending to 40 85 Operating voltage DC 8V 28V Size 82 8...

Страница 6: ...Chengdu Ebyte Electronic Technology Co Ltd E840 DTU 4G 02E User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 6 1 3 Interface description ...

Страница 7: ...the end B of other RS485 device 4 GND Ground 5 VCC Power supply 8 28V 12V or 24V is recommended 6 PWR Power indicator 7 WORK Blue Receipt transceiver pin when the network receives data or the serial port receives data 50ms high 10ms low Green device status indication pin Low The device is powered on to search for a SIM card 1800ms low 200ms high The device checks the correct SIM card and is attach...

Страница 8: ...indication pin High Socket B is successfully connected to the network server Low Socket B is not successfully connected to the network server 9 DC IN DC adaptor 8 28V 12V or 24V is recommended 10 RST Dip switch downward reset 11 Restore Dip switch After the radio is powered on normally the Restore dials from top to bottom and continues down for 3 10S then from bottom to top After the process is co...

Страница 9: ...mmand mode use AT CPIN to check the SIM card access For example AT CPIN OK 1 Indicates that the SIM card is connected and uses AT CSQ to view the current signal strength For example AT CSQ OK 26 Indicates that the current signal strength is normal If the response is 99 the current signal strength is abnormal Check whether the current antenna is connected or the surrounding base station is abnormal...

Страница 10: ...parameters the device will take effect after restarting Execution command AT REBT returns OK and the device restarts immediately Here IP only shows the demonstration The actual connection is based on the IP of the server to be connected 5 After the base station is connected the NET light is always on to indicate that the server is connected and transparent transmission is possible at this time 2 2...

Страница 11: ...n This module supports 4 channel Socket connections For each socket users can configured it as TCP Client or UDP Client When sending data users can use protocol transmission or transparent transmission Protocol transmission format Transmit 0x55 0xFE 0xAA ID data For example 55 FE AA 02 AA BB 02 SOCK2 link AA BB the data that the user actually needs to transmit Receive 0xAA 0XFE 0x55 ID data length...

Страница 12: ...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 pack...

Страница 13: ...e 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 02E 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 enable the high speed mode configure the connected server address and restart the device 2 Ready to transfer the file T...

Страница 14: ... 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 5 Save the data as an exe trial file type This time it is named RF exe as shown below ...

Страница 15: ... 15 6 Click on the server to run RF exe to test the file as shown below In summary the E840 DTU 4G 02E completes the remote transfer of files from the serial port to the network server 4 SMS function E840 DTU 4G 02E can support SMS sending and receiving SMS remote configuration function inserted SIM card needs to support SMS service ...

Страница 16: ...er Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 16 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 ...

Страница 17: ...phone 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...

Страница 18: ...col the transaction element identifier needs to be specified In E840 DTU 4G 02E the user can configure the value through AT MTCPID and when the value is configured to 0 the receiving end All data conforming 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 fun...

Страница 19: ...le enables the transparent transmission function of the EBYTE cloud platform after it is turned on the information such as the heartbeat and registration packet configured by the user will be invalid The user only needs to set the forwarding relationship of the corresponding device to the platform to implement the device Data is transparent For details of the related operations please refer to the...

Страница 20: ...ht 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 20 10 MQTT protocol Support devices to access Alibaba Cloud oneNET Baidu Cloud and all IoT platforms that support the standard MQTT protocol For detailed access please refer to the documentation of the access phase platform ...

Страница 21: ...ory configuration UART set inquire UART parameter UARTCLR set inquire if UART buffer is cleared before module is connected IMEI inquire IMEI LINKSTA inquire SOCK connection status LINKSTA1 inquire SOCK1 connection status LINKSTA2 inquire SOCK2 connection status LINKSTA3 inquire SOCK3 connection status SOCK set inquire SOCK parameter SOCK1 set inquire SOCK1 parameter SOCK2 set inquire SOCK2 paramet...

Страница 22: ...ODE set inquire MQTT mode MQTT_ADDRESS set inquire address and port of IOT MQTT_CONNECT set inquire parameter connected to IOT MQTT_SUBSCRIBE_TOPIC set inquire subscribed topic and level MQTT_PUBLISH_TOPIC set inquire published topic and level MQTT_ALIAUTH set inquire Ali cloud three factor d Command Description AT REBT Function Restart module Format configure Transmit AT REBT CR return CR LF OK C...

Страница 23: ...EVEN ODD description none AT UARTCLR Function Set inquire whether to clear the serial port cache before connecting the module Format Inquire transmit AT UARTCLR CR return CR LF OK sta CR 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...

Страница 24: ...e 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 query the network protocol parameter format Format inquire transmit AT SOCK1 CR return CR LF OK EN protocol ip port CR LF configure transmit AT SOCK1 EN protocol ip port CR return CR LF OK CR LF Parameter EN enable 0 turn off SOCK1 1 turn on SOCK1 protocol typ...

Страница 25: ...acket sent to the server EMBCSTM adds custom registration package data before each packet is sent to the server OLMAC sends a MAC IMEI 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 cu...

Страница 26: ...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 transm...

Страница 27: ...unction inquire SIM card status Format configure transmit AT CPIN CR LF return CR LF OK cpin CR LF Parameter cpin 1 Able to detect SIM 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 ...

Страница 28: ...PEED Function configure inquire if high speed mode is enabled Format configure transmit AT HSPEED state CR return CR LF OK CR LF Inquire transmit AT HSPEED CR return CR LF OK state CR LF Parameter state ON high 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...

Страница 29: ...odbus RTU TCP switch is off AT MTCPID Function configure inquire Modbus RTU 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 NETHEAD Function Se...

Страница 30: ...to complete the configuration of the three elements Format Configuration Send AT MQTT_CONNECT value0 value1 value2 CR Returns CR LF OK CR LF Inquire Send AT MQTT_CONNECT CR Returns CR LF OK value0 value1 value2 CR LF Parameter value0 When the MQTT mode is set to 2 access to oneNET value0 is the device ID when the MQTT mode is set to 3 That is access Baidu cloud or other platforms that support the ...

Страница 31: ...at Configuration Send AT MQTT_PUBLISH_TOPIC topicName qos CR Returns CR LF OK CR LF Inquire Send AT MQTT_PUBLISH_TOPIC CR Returns CR LF OK topicName qos CR LF Parameters the subject name of the message published by topicName The level of the message read by qos the value of qos can only take 0 AT MQTT_ALIAUTH Function Set query the three elements of Alibaba Cloud platform When MQTT mode is set to ...

Страница 32: ...data 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 c...

Страница 33: ...of firmware and hardware 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 0 2019 04 12 Initial version 1 1 2019 8 8 Format modification 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 eb...

Отзывы: