-
Notifications
You must be signed in to change notification settings - Fork 2
Part 2. GrovePi Python Setup
To get started, first connect the GrovePi Zero to your unpowered Raspberry Pi Zero by sliding the Pi pin headers into the GrovePi Zero pin socket.
Next, we need to install the GrovePi software onto our Pi to make reading Grove sensors super easy. We will follow the instructions listed at http://www.dexterindustries.com/GrovePi/get-started-with-the-grovepi/setting-software/ and add one step at the end.
The TL;DR version is as follows:
$ cd /home/pi/Desktop
$ sudo git clone https://github.com/DexterInd/GrovePi
$ cd /home/pi/Desktop/GrovePi/Script
$ sudo chmod +x install.sh
$ sudo ./install.sh
$ sudo pip install grovepi
The step, "$ sudo ./install.sh", will take several minutes. Be patient.
The last step, "$ sudo pip install grovepi", allows us to import the grovepi Python library from any directory on our Pi. If you skip this step, you will have to create all of your GrovePi projects within the /home/pi/Desktop/GrovePi/Software/Python directory (which is icky).
<< Part 2: GrovePi Zero Software - Part 3: GrovePi Zero Project - Compact Environmental Monitor >>
Initial State (https://www.initialstate.com)
(c) 2018 Initial State Technologies, Inc.