diff --git a/docs/Edge/Raspberry_Pi_Devices/reComputer_R1000/recomputer_r.md b/docs/Edge/Raspberry_Pi_Devices/reComputer_R1000/recomputer_r.md index 95c3080e12e7..a79fb1f06d97 100644 --- a/docs/Edge/Raspberry_Pi_Devices/reComputer_R1000/recomputer_r.md +++ b/docs/Edge/Raspberry_Pi_Devices/reComputer_R1000/recomputer_r.md @@ -1328,55 +1328,62 @@ Please note that if you require Zigbee functionality, it is necessary to purchas [Please click here for assemble instruction](/recomputer_r1000_assembly_guide/#assemble-4glorazigbee-module-and-antenna). ::: -#### To test Zigbee communication with two Zigbee modules, follow these steps: +#### Set up reComputer R1000 with Zigbee module as Zigbee Coordinator: **Step 1.** Check Serial Ports: Use the following command to check available serial ports: ```bash -cat /dev/ttyUSB* +cat /dev/ttyACM* ``` -**Step 2.** Install Serial Communication Tool: +**Step 2.** Install Serial Communication Tool, then enter *cutecom* open the UI: ```bash -sudo apt install minicom +sudo apt-get install cutecom ``` -**Step 3.** Open Serial Port for Coordinator (First Zigbee Module): +**Step 3.** Configure the setting and Open communication: +* Configure the baudrate as 115200 +* Tick 'Hex output' at the bottom +* Select correct Device port, for example: /dev/ttyACM0 +* Then click 'Open' to set up communication -```bash -sudo minicom -D /dev/ttyUSB2 -b 1152008n1 -w -H -``` +
-Follow these steps to configure the first Zigbee module: - -- Set as coordinator: Send command `55 04 00 05 00 05`, expect response `55 04 00 05 00 05`.
-- Reset device: Press reset button or send command `55 07 00 04 00 FF FF 00 04`.
-- Network formation: Send command `55 03 00 02 02`.
- -**Step 4.** Open Serial Port for Router (Second Zigbee Module): +:::note +For more detail information, please refer to [E18-MS1PA2-IPX](https://www.ebyte.com/product-view-news.html?id=894). For Hex command instruction, please refer to [Ebyte Zigbee 3.0 Module HEX Command Standard Specification](https://www.ebyte.com/pdf-down.aspx?id=2936). +::: -Open another instance of minicom and configure it for the second serial port with the same settings as before. +**Step 4.** Configure the Zigbee module as Coordinator +Follow these steps to configure the first Zigbee module after checking module is at HEX code mode: -Follow these steps to configure the second Zigbee module: +- Set as coordinator: Send command `55 04 00 05 00 05`, expect response `55 04 00 05 00 05`.
+
-- Set as router: Send command `55 04 00 05 01 04`, expect response `55 04 00 05 00 05`.
- Reset device: Press reset button or send command `55 07 00 04 00 FF FF 00 04`.
+
+ - Network formation: Send command `55 03 00 02 02`.
+
+ +:::note +For check digit calculation, can use such [Block Check Character calculator](https://bcc.beyerleinf.de/) tool; Can also use serial communication tools like SSCOM and XCOM with BCC calculate. +::: **Step 5.** Check Device Status: -Send command `5 03 00 00 00` to check the device status. Expect a response similar to `55 2a 00 00 00 01 XX XX XX XX`, where `XX` represents device information. +Send command `5 03 00 00 00` to check the device status. Expect a response similar to `55 2a 00 00 00 01 XX XX XX XX`, where `XX` represents device information. **Step 6.** Enter Transparent Mode: -If network formation is successful, enter transparent mode by sending command `55 07 00 11 00 03 00 01 13`. Both modules should be in transparent mode for direct communication. To exit transparent mode, send `+++`. +If network formation is successful, enter transparent mode by sending command `55 07 00 11 00 03 00 01 13`. Both modules should be in transparent mode for direct communication. Don't forget to set Input mode as *None*. To exit transparent mode, send `+++`. +
+ **Step 7.** Additional Notes: - If router configuration fails, the device may already be a coordinator. Leave the network using command `55 07 00 04 02 xx xx xx`. - Test transmission power using commands `55 04 0D 00 00 0D` (query) and `55 04 0D 01 XX XX` (set). -Ensure you replace /dev/ttyUSB* with the correct serial port for each Zigbee module. Follow these steps carefully to test Zigbee communication between the two modules successfully. - +Then can connect Zigbee device to reComputer R1000 via ZHA, zigbee2mqtt, Tasmota platforms,etc. ### PoE