Skip to content

Commit

Permalink
Merge pull request #1481 from cure123123/docusaurus-version
Browse files Browse the repository at this point in the history
recomputer r1000 update
  • Loading branch information
grilliiiii authored Aug 1, 2024
2 parents 69d5c79 + aa7c1f8 commit 49a229c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 23 deletions.
51 changes: 29 additions & 22 deletions docs/Edge/Raspberry_Pi_Devices/reComputer_R1000/recomputer_r.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
<div align="center"><img width={600} src="https://files.seeedstudio.com/wiki/reComputer-R1000/recomputer_r_images/zigbee1.png" /></div>

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`.<br />
- Reset device: Press reset button or send command `55 07 00 04 00 FF FF 00 04`.<br />
- Network formation: Send command `55 03 00 02 02`.<br />

**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`.<br />
<div align="center"><img width={600} src="https://files.seeedstudio.com/wiki/reComputer-R1000/recomputer_r_images/zigbeecommand.png" /></div>

- Set as router: Send command `55 04 00 05 01 04`, expect response `55 04 00 05 00 05`.<br />
- Reset device: Press reset button or send command `55 07 00 04 00 FF FF 00 04`.<br />
<div align="center"><img width={600} src="https://files.seeedstudio.com/wiki/reComputer-R1000/recomputer_r_images/zigbeecommand2.png" /></div>

- Network formation: Send command `55 03 00 02 02`.<br />
<div align="center"><img width={600} src="https://files.seeedstudio.com/wiki/reComputer-R1000/recomputer_r_images/zigbeecommand3.png" /></div>

:::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 `+++`.
<div align="center"><img width={600} src="https://files.seeedstudio.com/wiki/reComputer-R1000/recomputer_r_images/zigbeecommand4.png" /></div>


**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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ You need to prepare the following hardware

Following these steps should help you disassemble the device without any issues.

**STEP 1:** Remove the Four Screws at the Bottom:
**STEP 1:** Remove the Four Screws at the Bottom and Grounding Screw from Side Panels:

- Locate and unscrew the four screws located at the bottom of the device using an appropriate screwdriver.
- Remove and unscrew the grounding screw from the side panels.

**STEP 2:** Take Off the Floor Panel:

Expand Down

0 comments on commit 49a229c

Please sign in to comment.