Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update location of raspberrypi files #2096

Merged
merged 2 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ It is equipped with rich scalability and hybrid connectivity, supporting CAN bus
* Rugged design for harsh working environment: IP65 front panel, -10~50°C operating temperature
* Hybrid connectivity: Support 4G LTE, LoRaWAN®, WiFi, BLE, RS485/RS232, CAN bus, 1000M Ethernet, USB, HDMI
* Open-source design in software and hardware: Powered by Raspberry Pi CM4, welcome customization or derivatives
* [Product warranty: Two-year warranty](Edge/Raspberry_Pi_Devices/reTerminal-DM/reterminal-dm-warranty.md)
* [Product warranty: Two-year warranty](Edge/Raspberry_Pi_Devices/HMI/reTerminal-DM/reterminal-dm-warranty.md)

> \*4G and LoRa® modules does not come with reTerminal DM by default, please purchase the relevant modules accordingly.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ We recommend that you power up the Raspberry Pis after all the hardware connecti
### Software

:::caution
Due to chip shortage, we have replaced STM32 with MM32 in the latest version of the product, and the I2C address of the corresponding product has been changed from 0x04 to 0x08 in the old version, please change the I2C address in adc.py from 0x04 to 0x08 when using the library file provided by seed for development.
Currently, this board is available in two versions on the market: the STM32 version (V1.1) and the MM32 version (V1.0). The current shipping version is the STM32 version.

If you experience issues using the Grove Base Hat for Pi with the `grove.py` library, please check your board version:
1. **If it is the STM32 version**, the I2C address is `0x04`. You need to change the I2C address in `/home/username/.local/lib/python3.9/site-packages/adc.py` to `0x04`.
2. **If it is the MM32 version**, the I2C address is `0x08`. You need to change the I2C address in `/home/username/.local/lib/python3.9/site-packages/adc.py` to `0x08`.
:::

In this section we will introduce how to install the **seeed grove.py** library and how to use I2C, PWM, Digital and analog port of the Grove Base Hat for Raspberry Pi.
Expand Down
260 changes: 140 additions & 120 deletions sidebars.js

Large diffs are not rendered by default.

Loading