-
Notifications
You must be signed in to change notification settings - Fork 2
Part 3. GrovePi Zero Project
Our hardware is assembled and our GrovePi libraries have been installed. Let's make sure we can read our sensors and then connect that data to a web-based dashboard (Initial State).
You can clone all of the Python scripts that we will use in this project by going to your terminal and running:
$ cd ~
$ git clone https://github.com/initialstate/grovepi-zero.git
This will create a new directory, grovepi-zero. You can see all of the files that were just copied to this directory by running:
$ cd ~/grovepi-zero
$ ls
First, let's make sure we can read the temperature sensor.
$ sudo python grovepi-zero-dht22.py
You should see a list of temperatures and humidity printing to the screen.
Next, let's make sure the air quality sensor works.
$ sudo python grovepi-zero-air.py
You should see the air quality sensor values printing to the screen.
Once we know the hardware is working, we can move on to setting up our cloud services (Initial State and Wunderground) to finish out our real-time environmental monitoring/dashboard project.
Initial State (https://www.initialstate.com)
(c) 2018 Initial State Technologies, Inc.