Home > other >  Some personal feelings about how to get started Zigbee product development
Some personal feelings about how to get started Zigbee product development

Time:10-07

To share some personal ideas about how to get started Zigbee product development,
Explain first, Zigbee products mentioned here is need a Zigbee certification,
Many Chinese language materials are slightly worn on the Internet, some in the BBS posts also confuse the concept of Zigbee, such as the MAC and PHY belong to the IEEE 802.15.4, it doesn't belong to the Zigbee protocol,

Zigbee products according to the Device type is divided into three categories: basic Coordinator (gateway), the Router (lamp) and End Device (switches, sensors, etc.)

Gateway basic Host + Slave, in which the Host with powerful function of MCU, Slave is all like Ti CC2538 Zigbee stack chips, most using UART communication between Host and Slave, according to the scale of network nodes usually have such two kinds of implementation: (1) if the number of network nodes within the 100, running on the Host application, run all Zigbee protocol Slave;
(2) if the number of network nodes to achieve even more than 200, adopt the NCP mode: Slave run AF Zigbee under the agreement, and such as ZCL on the Host, for larger network, even Slave will only run 802.15.4 and Zigbee agreement completely on the Host

The Router in the majority with lamp (electricity), there are mainly Dimmable, RGB and color temperature (ColorTemperature), etc., for RGB lights, Zigbee chip resources occupy more (because of the Zigbee alliance forced the Router equipment support GreenPower function, even if the network doesn't GreenPower equipment, must also be a GP certification, thereby increasing the GP implementation code)

End Device product type is more, and many are using battery power, so basic needs to Sleep (Sleep), chip selection is more important at this moment, such as in addition to the chip, the maximum output power of the Tx and Rx Sensitivity Sensitivity, Tx and Rx current is the key parameter; In addition, equipment support OTA and how to carry out the OTA is a difficult choice,

Personal thought, for beginners, from master the above three types of equipment and the corresponding application of entanglement from the start to Zigbee agreement, the details of the learning effect is more apparent,

I had learn NXP JN5169, for example, if there is no NXP JN5169 EVM entry board, can use four JN5169 USB Dongle instead of: (1) with Ubiqua as empty, a Coordinate, a Router, one End Device),

In NXP website www.nxp.com free to register a user, and then from
https://www.nxp.com/products/wireless/proprietary-ieee-802.15.4-based/zigbee/zigbee-3.0:ZIGBEE-3-0
Download Jacqueline Nottingham - SW - 4141, Jacqueline Nottingham - SW - 4170 and Jacqueline Nottingham - AN - 1216 (Coordinator), Jacqueline Nottingham - AN - 1218 (the Router lights), Jacqueline Nottingham - AN - 1219 (End Device switch)
(this a few in AN engineering can be ZTT certification)
1) install Jacqueline Nottingham - SW - 4141, namely JN5169 development environment BeyondStudio
2) install Jacqueline Nottingham - SW - 4170, namely Zigbee protocol stack
3) in order to Jacqueline Nottingham - AN - 1216, Jacqueline Nottingham - AN - 1218 and Jacqueline Nottingham - AN - 1219 project is copied to the Beyondstudio working directory
Can use first Pre - Build binary file:
ZigbeeNodeControlBridge_JN5169_GP_Proxy_FULL_FUNC_DEVICE_1000000,
DimmableLight_GpProxy_JN5169_DR1175. Bin,
DimmerSwitch_NtagIcode_JN5169_DR1199. Bin
Burn respectively three JN5169 USB Dongle
Can also according to the individual under the AN/doc/PDF documents, modify the Makefile (such as removing GreenPower function) or compiling configuration (remove NtagIcode), separately compiled
The above three documents,
4) reference AN1216 \ doc \ Jacqueline Nottingham - AN - 1216 - ZigBee - 3-0 - IoT - ControlBridge - UserGuide. Chapter v of the PDF catalog,
Run on a PC \ Tools \ TestGUI \ TestGUI \ ZGWUI, control the Coordinator, realize the Zigbee network, which in turn will burn DimmableLight and DimmerSwitch
The two JN5169 USB Dongle to join the network
(if you have Ubiqua, the net process by which you can grab bag, combining with Zigbee standards, understand the Commissioning of Zigbee/Provision concepts)
(5) through the PC serial port tools such as serial debugging assistant) can see the Router and EndDevice print information (the engineering there are many kinds of print options for the corresponding Makefile group
Us)
6) many of ZGWUI command can help to understand the concept of Zigbee effectively, such as ZCL and ZDP and Nwk layer command
(it is strongly recommended that cooperate Ubiqua caught, will significantly speed up the learning efficiency and schedule)
Read AN 7) code, cooperate with SDK ZCL and BDB code, can avoid the couple from the start in learning complex dry Stack implementation details, so that they can more quickly understand master Zigbee overview and introduction to reduce product development time,


Zigbee was already more than ten years, always the tepid, from hi is very small, only begin to show some vitality in previous years,
Willing to articles, the author a little force to promote application of Zigbee, hoped everybody opinionated,





CodePudding user response:

Zigbee is the most fundamental problem can't be born, can also is a new technology has the potential to ten years ago, now have been almost eliminated by the new technology,

CodePudding user response:

Or use wifi or bluetooth

CodePudding user response:

NCP is too weak, as a coordinator, can directly do passthrough ZCL layer, the coordinator can be seen as a universal client, don't need to open all of the cluster,

CodePudding user response:

reference 1st floor C_Rabbit response:
zigbee is the fundamental problem can't be born, can also is a new technology has the potential to ten years ago, now have been almost eliminated by the new technology,

These ten years have zigbee technical upgrade and update?
  • Related