Chengdu Ebyte Electronic Technology Co.,Ltd.
E180-ZG120B User Manual
Copyright ©2012–2020, Chengdu Ebyte Electronic Technology Co.,Ltd.
14
request. ZLL's touch link protocol includes an initiator and a target. The initiator is End-device and Sleep-End-device.
The target is generally a router. When the touch link pin is continuously pulled down for more than 3000ms, the initiator
will send a network establishment or joining request to the target.
6.1.6 UART_BAUD_RESET
UART_BAUD_RESET pin is used to reset the baud rate, The default level is high when the device is powered on.
In any mode, the pin of the module is pulled down for more than 1000ms. The serial port parameters will be restored
to the default 115200 and 8N1.
Function pin
Pin port
LINK
PF7
WAKE
PD14
AUX
PD15
ACK
PB13
TOUCHLINK
PD13
UART_BAUD_RESET
PB12
6.2 Wireless remote configuration function
The module supports remote configuration function. The 2-byte wireless configuration ID is identified by A8 8A by
default. The user can modify the remote configuration ID.
When the first two bytes of wireless air data received by the module
are wireless configuration ID, the module judges that the data packet is a remote configuration command and executes the
corresponding command operation. The data packet will not be output through the serial port.
6.3 Touch link Functional application
6.3.1 Touch link Introduction
Touch link belongs to the standard networking mechanism in ZigBee Light Link (ZLL) protocol. Touch link is a
contact connection. When two modules are close to each other within a certain range, touch link is activated by button or
command. A ZigBee communication network is established between the two modules.
The touch link of the ZLL protocol defines an initiator and a target. The primary responsibility of the initiator is to
initiate the touch link process, which is usually defined as the initiator. The target's role is to wait for a nearby touch link
request. If the initiator does not have a network, the target needs to establish a new network. If the initiator has a network,
the target joins the initiator's network. The lower router will be defined as the target. In a typical light control application,
the remote is the end-device initiator and the light is the router target.
6.3.2 Steps of creating a touch link network
(1) First, before the initiator (end-device) initiates a touch link network,
if the initiator (end-device) has joined other
networks before
,
the information of the previous network must be removed to make the network state in the state of no network.
(2)
Secondly, the initiator (end-device) initiates a touch link scan request to discover the target person (router)
existing around, and the scanned person is as close as possible to the initiator in scanning process, and the other devices
are far away from the scanning area as much as possible (the threshold of the scanning signal is -40 dBm) , that is,