E18 Software Datasheet EN v1.2
E18 Software Datasheet EN v1.2
1. Module introduction……………..……………………………….....……………………………2
1.2 Feature………………….........………………………………......……………......……...2
2. Function introduction...…………………………………………………………………………..5
3. Quick start…................…………………………………………………………………………..6
4. User instruction………………………………...………………………………….…………....13
5. About us…...........................……………………………………………………………………15
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 1 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
ZigBee technology is a two-way wireless communication technology that features short range, low complexity,
There are three types of logical devices in the ZigBee network: Coordinator, Router, and End-Device. The ZigBee
(1)Coordinator
As the first device in the network, the coordinator is responsible for starting the entire network. . The
coordinator selects a channel and a network ID (also known as the PAN ID, the Personal Area Network ID), and then
Coordinators can also be used to help establish bindings between security layer and application layer in the
network.
Note that the role of the coordinator mainly involves the network startup and configuration. Once these are
done, the coordinator works like a router (or disappears /go away). Due to the distribution characteristics of the
ZigBee network itself, the operation of the entire network is not dependent on the existence of the coordinator.
(2)Router
The main functions of the router: to allow other devices to join the network, multi-hop routing and to assist
Typically, the router is expected to remain active, so it must use the main power supply. However, when using
the tree group network mode, it allows the routing operate once at an interval of a certain cycle, so battery can be
(3)End-Device
The end-device does not have a specific responsibility for maintaining the network structure, it can sleep or
Users can switch freely between the coordinator, router and end device via UART
1 Role switch
command.
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 2 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
The device can be set as low power mode in the end state. Sleep time of the
Ultra low power device can be changed according to the user's using time. The standby power
4
consumption consumption in the low power mode is less than 2uA. In the father node data
storage time, all messages can be received within the time set by users.
When device is in the coordinator and router state, the user can set their own
data storage time, and work with end device in sleep mode to save data for the
Configuration for
5 end device, and sent data to the end device when it wakes up.
data storage time
Data saved is up to 3 data packets, if exceeded, it will automatically clear the first
data! After the data is saved, the data heap is automatically cleared.
Automatic In unicast mode, the device will automatically retransmit when failed to send to
6
retransmission next node, and the number of retransmission per message is three.
Automatic The module supports network routing. Router and coordinator have network
7
routing data routing function, users can conduct multi-hopping networking.
The module uses AES 128 bit encryption function, can change the network
Support
encryption and prevent monitoring. Users can change the network key by
8 encryption
themselves. Only devices with the same network key can start normal
protocol
networking communication.
Support UART Module has built-in UART commands, the user can configure (view) the
9
configuration parameters and functions of module via UART command .
Communication Support broadcasting, multicasting and unicasting in the entire network. In the
10 for various types broadcast and unicast mode, it also supports several transmission methods,
of data please refer to <E18 v1.2 communication protocol> for the details.
Search short Users can find out corresponding short address according to the (unique and
14
address fixed) MAC address of module that already joined network.
16 Gpio control Local/remote gpio control function,there are 10 gpio for users to select.
Local/remote pwm control function , there are 5 pwm channels for users to
17 Pwm control
select.
18 Adc control Read local/remote adc,there are 7 adc channels for users to select.
Command format The module supports AT command and HEX command for users’ easy
19
switch configuration and switch. The physical location is P1.6.
20 Module restore Users can restore the module via UART commands.
Onekey recovery The module supports onekey recovery of baud rate when users forget the baud
21
of baud rate rate. The baud rate is 115200(default), physical location is P1.7.
Recover factory
22 Users recover the factory setting via UART commands.
setting
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 3 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
★ E18 modules are compatible with each other with different power when software debugging is completed ★
When joining the network, the user can broadcast according to the commands
in the whole network (which can be divided into three broadcast modes)
1, Broadcast Mode 1 - The message is broadcasted to all devices in the entire
network.
1 Broadcast
2, broadcast mode 2 - the message is broadcasted only to receiving devices
(except sleep mode).
3, broadcast mode 3 - the message is broadcasted to all full-functional devices
(router and coordinator).
When joining the network, the user can multicast all the devices (not in sleep)
2 Multicast
in the entire network .
When joining the network, the user can independently communicate with the
devices in the network in a short address mode according to the commands
(which can be divided into three broadcast modes)
3 Unicast 1, transparent transmission mode - (no carrying information)
2, short address mode - (carry information for the short address)
3, MAC address mode - (carry information for the MAC address)
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 4 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 5 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
no network.
command mode(default).
P1_7 UART_BAUD_RESET To reset baud rate, when users forget or do not know I
No. Notes
【Construct network】:
①.Connect Zigbee ad hoc module via USB to UART converter.
1
② .Open host computer software “ Zigbee_Setting_V1.1 ” , select Com port and set baud rate as
115200(default), then open port;
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 6 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
④.Select node type as coordinator, write in parameter. Wait the coordinator to start constructing
network and users can check module parameter.
Set network parameter:(when PAN ID is FFFF, it is automatic PAN ID)
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 7 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
⑤.Select another module, set it as the router or end device following the same steps (module is set as
end device when leave factory (default),no need to set again, in this experiment it is end device )。
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 8 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
【Communication test】:
①.Click “fixed networking”of the coordinator and end device of the host computer. Corresponding
info. is available to be viewed.
Coordinator:
End device:
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 9 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 10 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
Network address:
From coordinator to end device:
MAC address:
From coordinator to end device:
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 11 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
Multicast:
Broadcast : ( broadcast only conduct Mode 1, the entire network conduct broadcast mode
experiment, other modes test by themselves )
Data function transmission needs to reflect its own characteristics in the case of multi-node network,
the users can test by themselves!
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 12 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
No. Description
Module uses Zigbee ad hoc networking, consisting of one coordinator and random other
1
devices(routers and end-devices)
It has self-organization, self-routing and network multi-hopping function (By default the
2
network depth is 5, there are 20 son nodes and 6 son router nodes in total).
The father node device (coordinator and router) can save data for the end-devices in sleep.
3 The save time can be set by the user (by default it is 30 seconds, ranging from 0 to 120
seconds).
Only the end device has the sleep function, sleeping within 120S, the user can set by
themselves, the default 0 (with sleep mode off).
4
Note: The recommended sleep time must be less than the data storage time of father node ,
otherwise it will affect the data reception.
When PANID is FFFF, it means automatic distribution. Networking can not be realized if
8
PANID is different.
When network keys are not the same the network can not be joined. The module network
9 key of the module remains open, the user can not get the correct air data via software
packet capture .
All devices in the network have opened broadcast function. Multiple devices broadcasting
10 at the same time or a single device broadcasting at a higher frequency will lead to a serious
network congestion. Please try to avoid this situation.
When multicasting module does not need to join the group,but be directly multicasted to
11 any group according to communication usage guidance. After the multicast, the local group
number will not change due to different multicast number.
PWM function and sleep mode can not be used at the same time in network, please turn off
12
the sleep mode before turn on PWM function .
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 13 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
MESH network topology network has a powerful function, the network can communicate via
"multi-level hopping"; the topology can also form a very complex network; network also has
self-organization, self-healing function.
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 14 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte
E18 V1.2 ZigBee Ad Hoc Module Chengdu Ebyte Electronic Technology Co., Ltd.
ALIBABA Store: www.cdebyte.en.alibaba.com Website:www.cdebyte.com/en
5. About us ZigBee
Chengdu Ebyte Electronic Technology Co., Ltd., a high-tech company focusing on application of
Internet of Things, owns a number of independently researched and developed products and obtains
unanimous approvals from customers. With a powerful R&D team, perfect after-sales system, our
company provides perfect solutions and technical assistance, shortens R&D period, reduces R&D cost
and provides a strong platform for brand new ideas about product R&D.
Our products have been widely applied in various fields, such as consumer electronics, industrial
control, healthcare, security alarm, field acquisition, smart home, expressway, property management,
water and electricity meter reading, power monitoring, etc.
Focused &Professional! R&D for 2.4G, 915M, 868M, 780M, 490M, 433M, 315M, 230M and 170M Wireless module
Page 15 of 15 pages All rights and authority for the interpretation of the products are reserved by Cdebyte