当前位置:网站首页>ZigBee networking has never been so simple!
ZigBee networking has never been so simple!
2022-06-09 18:01:00 【Guoguo】
Want to use ZigBee, Want to network , I don't want to see what to do with complex networking protocols ? It's enough to read this one !
ZigBee The predecessor was 1998 Year by year INTEL、lBM And other industrial giants “Homer flite” technology , As China's Internet of things is entering the fast lane of development ,ZigBee It is gradually accepted by more and more users in China . But there are still many challenges in development , For example, how to maximize ZigBee Networking advantages ?
ZigBee The main feature of the technology is its strong ability to support ad hoc networks , Strong self recovery ability , therefore , For downhole positioning , Parking lot location , Outdoor temperature and humidity collection , Applications such as pollution collection are very attractive .

chart 1 ZigBee In smart parking applications
Build a complete ZigBee The network consists of two steps : Network initialization 、 Nodes join the network . There are two steps to join the network : Connect to the network through the coordinator and connect to the network through the existing parent node .

chart 2 ZigBee Network topology
1、 Network initialization process :
● Determine the network coordinator ;
● Perform the channel scanning process ;
● Setting up network ID.
2、 Nodes join the network through the coordinator :
● Find the network coordinator ;
● Send association request command (Associaterequest command);
● Wait for the coordinator to process ;
● Send data request command ;
● Reply to the networking confirmation .
3、 Nodes join the network through existing nodes
ZLG Zhiyuan electronics is based on Silicon Lab EFR32MG Chip design ZM32 series ZigBee modular , Give full play to ZigBee Protocol advantages , combination ZLG Zhiyuan electronics has accumulated innovation in the wireless industry , Three different networking modes can be provided for customers .
Manual networking

chart 3 Manual networking flow chart
Configure network parameters :
● Select work type : The coordinator should first save the configuration parameters , Become the first physical device in the network ;
● Configure channel number ;
● Configure the network number (PAN ID);

chart 4 Set module configuration submission and saving respectively
When the local address of the device becomes non 0xFFFF when , The device is successfully connected to the network .

chart 5 The routing and terminal equipment are successfully connected to the network

chart 6 Test case
Common ad hoc network


chart 7 General ad hoc network flow chart of master and slave modules

chart 8 Configure the module work type

chart 9 Enable the ad hoc networking function
Control coordinator networking
Where the coordinator is located DEMO Board Found on the S2, Press at least 3 Seconds later , Then observe DEMO Board On STATE LED Whether from flashing 4 Next , Turn to blink 2 Next ;( If it still flashes 4 Next , Please press again S2 3 second );
Where the coordinator is located DEMO Board Found on the S3, Keep pressing and don't let go ,STATE LED From flashing 2 Next , Turn to blink 1 Next ; At this point, the coordinator allows new devices to join the network ;

chart 10 The control coordinator allows network access
Use the configuration tool to obtain device information , The coordinator has automatically set the unique network number information ;

chart 11 The coordinator sets up the network PAN ID

chart 12 Control routing / Terminal equipment networking
● On route / Where the terminal equipment is located DEMO Board Found on the S3, Press at least 100ms Let go ;
● Observe DEMO Board On STATE LED Whether from flashing 4 Next , To blink 3 Next , Last blink 2 Next ;
● If it still flashes 4 Next , Check that the coordinator keeps pressing the button S3;

chart 13 Module information of successful network establishment
here , Use the configuration tool to obtain device information , The local address has been automatically set , Indicates that the network is successfully established .
The user only needs to modify the target network address as required , The data will be sent to the device corresponding to the address .

chart 14 Common self-service network test example
Fast ad hoc network


chart 15 Master and slave module fast ad hoc network flow chart

chart 16 Configure the module work type and enable fast ad hoc networking

chart 17 The coordinator allows new devices to join the network
● At this time, the coordinator is required to Demo Board Find the button on the S3;
● If you keep pressing the coordinator's S3, You can always allow new devices to join the network , Release the button , Routing devices and terminal devices cannot join the network ;
● When the coordinator is allowed to join , Both routing and terminal can join the network , Wait until the local address becomes non 0xFFFF when , This indicates that the device is successfully connected to the network ;

chart 18 Network information generation , The network is built
By reading the information, it is found that the coordinator has issued the network number to the intra network routing and terminal module , The enabling module generates a locally unique address , Fast ad hoc network completion .

chart 19 Test case
Different networking methods have their own advantages and disadvantages , Different networking operation modes have certain differences , With the help of ZLG Zhiyuan electronics provides interface configuration software , It can help users quickly realize networking operation .
ZM32 It also has a variety of communication parties 、 Data encryption and other advantages , At present, the supporting Evaluation Kit has been fully stocked , Data transmission test can be realized quickly 、 Networking test 、 Customer concerns such as distance testing , Help customers quickly evaluate selected solutions .
边栏推荐
猜你喜欢

Moco -Momentum Contrast for Unsupervised Visual Representation Learning

NLP-RNN

Mediapipe body and hand key points

NLP - Keyword Extraction - textrank

How to ensure personal and property safety when traveling

KNN中K值大小选择对模型的影响

几经波折,InfluxDB的TSDB C位还能做多久?

Who says redis can't save big keys

模切产品在不同领域上的应用

Determination principle of abbexa DUT ELISA Kit
随机推荐
Active prevention DWS key tool installation confirmation
Who says redis can't save big keys
Influence of two residual structures on NLP networks
Redis knowledge points & summary of interview questions
Construction of sheep (rare species) bsgenome reference genome
php使用unlink删除文件提示无权限
Oracle一些DDL操作
NLP- 关键词提取 - 综述
sqllite create a database
Why do SQL statements use indexes but still slow queries?
redis源码学习-02_内存分配
CREMB Pro 后台子管理员 403 问题分析
DAY6-T1345&T39 -2022-01-21-非自己作答
华为云原生之数据仓库服务GaussDB(DWS)的深度使用与应用实践【这次高斯不是数学家】
NLP text representation word bag model and TF-IDF
Android caching mechanism lrucache
【重磅】云商店品牌全新升级,惊喜大奖来袭!参与互动抽华为最新折叠手机
Epigentek染色质可及性检测试剂盒原则与程序
js中性能优化之函数防抖
AutoCAD - coordinate leader annotation