Answer
Nov 21, 2025 - 09:39 AM
To test if your GrovePi is installed correctly and working with your Raspberry Pi, follow these steps:
1. **Check Installation:**
- Open a terminal on your Raspberry Pi.
- Change directories to the location where you cloned the GrovePi repository. You can use the following command:
```
cd GrovePi/Script
```
- Ensure that the `install.sh` script is executable by running:
```
sudo chmod +x install.sh
```
- Start the installation script with root privileges using:
```
sudo ./install.sh
```
- Follow the prompts and allow the script to download necessary packages. The Raspberry Pi will restart automatically once the is complete.
2. **Verify Detection:**
- After the Raspberry Pi restarts, check if it can detect the GrovePi by running the following command:
```
sudo i2cdetect -y 1
```
If you have an Original Raspberry Pi (sold before October 2012), use the command:
```
sudo i2cdetect -y 0
```
If you see a `04` in the output, it means that the Raspberry Pi can detect the GrovePi.
3. **Test with LED Example:**
- Connect a Grove LED to port D4 on the GrovePi.
- Navigate to the Python scripts directory using:
```
cd GrovePi/Software/Python
```
- Run the blink example script to test the GrovePi functionality:
```
python grovepi_blink.py
```
- If the installation is successful, the LED connected to port D4 should start blinking.
By following these steps, you can confirm that your GrovePi is installed correctly, detected by the Raspberry Pi, and functioning as expected with a simple test using the LED example script. If you encounter any issues during this process, feel free to seek further assistance from product experts or forums for troubleshooting and support.
User Manual Q&A

Add New Comment