Forked from https://github.com/DexterInd/GrovePi
The GrovePi is an open-source platform for connecting Grove Sensors to the Rasberry Pi. Create IoT (Internet of Things) devices and inventions without the need of soldering!
Its official API is written in Python, but it can also be interfaced with in other languages such as C, C#, Go and NodeJS. These other variations of the same library came from our contributors.
In order to quick install the GrovePi
repository, open up a terminal and type the following command:
curl -kL dexterindustries.com/update_grovepi | bash
The same command can be used for updating the GrovePi
to the latest version. For more details on how you can install/update your GrovePi
, please check this README.
To install into a virtual environment, first active your virtualenv and type the following command:
curl -kL dexterindustries.com/update_grovepi | bash -s -- --user-local --bypass-gui-installation
To flash the latest firmware to the GrovePi, run
cd /home/pi/Dexter/GrovePi/Firmware
bash firmware_update.sh
Then, import the grovepi
module and start playing with it. Its documentation can be found here.
The old guide on getting started with the GrovePi can be found here. It can still prove to be useful if you're unsure how the GrovePi has to be stacked on top of the Raspberry Pi, although it should be pretty obvious.
The GrovePi is compatible with the Raspberry Pi models A, A+, B, B+, 2, and B3, B3+, A3+, and 4B.
Once you've done the above command, you can install Scratch support if you want it. This step is optional.
sudo bash /home/pi/Dexter/GrovePi/Script/install_scratch.sh
If your SD card has Scratch 2.0 installed on it, then this will install GrovePi support for it. GrovePi integration for Scratch 1.4 is also getting installed.
Ask us in the forums. Want to use the GrovePi in a language not currently supported? Ask and we will help.
The GrovePi can be programmed in Python, C, C#, Go, and NodeJS on the Raspberry Pi. Simply start with one of our example projects or example code.
The GrovePi uses an Arduino to interface between the Raspberry Pi and the Grove Sensors, and comes programmed with a standard firmware. The firmware can be rewritten from the Raspberry Pi.
Need help? We have a forum here where you can ask questions or make suggestions.
Need an idea to get started? We have a few project examples to get your creative juices flowing.