Last Updated on : 2024-06-18 02:01:35download
This topic describes information about implementing serial communication between ZS24-U modules and MCUs.
ZS24-U module is the Zigbee module developed by Tuya. It consists of a highly integrated wireless SoC EFR32MG24 and a few peripheral components, with a built-in 802.15.4 MAC/PHY protocol stack and various library functions.
The following table lists the current and voltage specification.
Model | Input voltage (TYP) |
Average current in continuous TX (250 kbps/+10 dBm) |
Average current in continuous RX (250 kbps) |
Average current in deep sleep mode |
---|---|---|---|---|
ZS24-U | 3.3V | 20.6 mA | 7.9 mA | 3.54 μA |
For more information, see ZS24-U Module Datasheet.
For more information, see Zigbee Serial Protocol.
Connection between a module and a 3.3V MCU
Connection between a module and a 5V MCU
In the following circuit diagram, voltage level translation can be implemented with a bidirectional voltage-level translator, a MOS transistor, or a triode.
N-channel MOSFET level translator
In the following circuit diagram, an N-channel MOSFET and a built-in body diode are used to implement two-way communication.
NPN triode level translator
In the following circuit diagram, an NPN triode is used to implement one-way communication.
Do not use metal shells or plastic shells with metallic paint or coating in the direction of the antenna radiation. Do not use metal objects such as screws and rivets near the antenna, which might affect the antenna efficiency.
Avoid metal shielding near the antenna. If co-channel interference occurs, you must evaluate the impact on the antenna performance and ensure isolation from interference.
Try to increase the distance from the top shell to the antenna to minimize the impact on antenna performance.
Try to increase the distance from the upper and bottom shells to the antenna to minimize the impact on antenna performance.
Keep the module away from speakers, power switches, cameras, HDMI, USB, and other high-speed signals to avoid interference.
Horizontal placement: We recommend that you place the module at the edge of the backplane with the antenna facing outward.
Flush the module’s GND terminal with the backplane’s GND terminal. Both terminals are fully connected.
Embedded placement: Embed the module into the backplane through a slot.
The slot is flushed with or deeper than the module’s GND terminal.
The side of the slot must be 15 mm or farther from the module’s board edge.
A wider slot can achieve better performance that is still weaker than that of horizontal placement.
Vertical placement: Insert the module vertically into the backplane slot with the antenna facing upward. The module’s GND terminal and the backplane’s GND terminal must be fully connected. We recommend that you keep a clearance distance of 15 mm or more around the antenna.
If the RF antenna of the module is traced along the ANT pin and backplane (the PCB board on which the module is mounted) to connect to the antenna, the RF trace (ANT pin is broken out) on the backplane should be surrounded with ground and designed to provide 50Ω impedance matching. The bottom layer under the RF trace should not be traced to ensure a complete ground plane. If you do not use the companion antenna of the module, you can reserve the π network for antenna matching.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback