Supereyes Order Seeed Studio GrovePi Expansion Board Instructions

June 9, 2024
SUPEREYES

Supereyes logo

Supereyes Order Seeed Studio GrovePi Expansion Board

Product Information

The product being referred to in these instructions is the GrovePi,a hardware extension board designed for the Raspberry Pi. It allows users to easily connect and control various sensors, actuators, and other modules using a standardized interface.

Product Usage Instructions

  1. Change directories to an appropriate location on your Raspberry Pi where you want the GrovePi files to be stored. It is recommended to do it on the Desktop because it is easy to access and compatible with all examples too. To clone the GrovePi git repository, open the terminal and enter the following command:
    git clone https://github.com/DexterInd/GrovePi

  2. Once the repository is done downloading, there should be a new folder called GrovePi. Go to the Scripts folder in the GrovePi folder by entering the following command:
    cd GrovePi/Script

  3. Make the install.sh bash script as executable by modifying the permissions of the script using the following command:
    sudo chmod +x install.sh

  4. Start the script using the following command. You must be the root user, so be sure to include sudo!
    sudo ./install.sh

  5. Press Enter to start when you are prompted. The script will download packages from the internet which are used by the GrovePi.
    Press y when the terminal prompts and asks for permission to start the download.

  6. The Raspberry Pi will automatically restart when the installation is complete.

  7. To check that the script was correctly installed and that the Raspberry Pi is able to detect the GrovePi, run i2cdetect using the following command:
    sudo i2cdetect -y 1
    or
    sudo i2cdetect -y 0
    If you can see a 04 in the output, this means the Raspberry Pi is able to detect the GrovePi.

  8. To test the GrovePi, connect a Grove LED to port D4 and run the blink example using the following commands:
    cd GrovePi/Software/Python
    python grovepi_blink.py
    If everything is installed correctly, the LED should start blinking.

If you have any questions or problems, you can post them on the forums and the product experts will help you out.

Setting Up The Sofware for GrovePi

If you don’t want to set up the software, ou can use a Dexter IndustriesSD Card which comes will all the packages and necessary settings so you directly start using your GrovePi.
The first step with your new GrovePi is to get it working with the Raspberry Pi. Here’s a step-by-step guide to getting the GrovePi to communicate with the Raspberry Pi. Before beginning this installation, make sure your Raspberry Pi is connected to the internet.

  1. Power on the RaspberryPi, without the GrovePi attached, and open a terminal (we’ll be doing it once H, but it the same when using a standard RaspberryPi setup with a monitor).Supereyes-Order-Seeed-Studio-GrovePi-Expansion-Board-1

  2. Change directories go to an appropriate location onyourPiwheryeouwantthe GrovePi files to be stored (We recommend that you do it on the Desktop because it is easy to access and compatible with all our examples too). Clone the GrovePgiitrepository:
    git clone https://github.com/DexterInd/GrovePiSupereyes-Order-Seeed-
Studio-GrovePi-Expansion-Board-2
    When the repository is done downloading, there should be a new folder called “GrovePi“.

  3. Go to the Scripts folder in the GrovePi folder.
    cd GrovePi/Script

  4. Make the install.sh bash script as executable. We do this by modifying the permissions of the script:
    sudo chmod +x install.shSupereyes-Order-Seeed-Studio-GrovePi-Expansion-
Board-3

  5. Start the script. You must be the root user, so be sure to include “sudo”!
    sudo ./install.shSupereyes-Order-Seeed-Studio-GrovePi-Expansion-
Board-4
    Press “Enter” to start when you are prompted.

  6. The script will download packages from the internet which are used by the GrovePi. Press “y” when the terminal prompts and asks for permission to start the download.Supereyes-Order-Seeed-Studio-GrovePi-Expansion-Board-5

  7. The Raspberry Pi will automatically restart when the installation is complete.Supereyes-Order-Seeed-Studio-GrovePi-Expansion-Board-6

  8. Now when the Raspberry pi is powered down, stack the Grove Pi on top of the Raspberry Pi and power on the Raspberry Pi. A green light should power up on the Grove Pi. (Ensure that the pins are properly connected before powering the Raspberry Pi)Supereyes-Order-Seeed-Studio-GrovePi-Expansion-Board-7

  9. Now to check that the script was correctly installed. We will check that the Raspberry Pi is able to detect the Grove pi: runi2cdetect
    sudo i2cdetect -y 1
    If you have an Original Raspberry Pi (Sold before October 2012) – the I2C is port 0:
    sudo i2cdetect -y 0Supereyes-Order-Seeed-Studio-GrovePi-Expansion-
Board-8
    Ifyoucan seea “0”4in the output, this means the RaspberryPiis ablteo detect the GrovePi.

  10. To test the GrovePi,connect a GroveLED to port D4andrun the blink example
    cdGrovePi/Software/Python
    python grovepi_blink.py

Supereyes-Order-Seeed-Studio-GrovePi-Expansion-Board-9

If everything is installed correctly, the LED should startblinking.

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals