#GrovePi board with Resin.io
This project demonstrates the use of the GrovePi Raspberry Pi addon board deployed using the resin.io service.
For those that don't know, the GrovePi board allows the Raspberry Pi to interface with hundreds of Grove sensors developed by Seeedstudio. Resin.io is a modern devOps service for IoT deploments. It allows you to deploy whole swarms of connected devices with a simple
What you will need:
- 1 or 100 Raspberry Pi B/B+'s
- A micro SD card
- A usb wifi adaptor
- A micro usb cable for power
- GrovePi board link
- Humidity sensor link
- 0.96" OLED display link
Get Setup on Resin.io
Head over to "Getting Started with Resin.io" so you can start deploying code updates to your raspberry pis. Once you successfully have your Pi online and running code, its time to setup the hardware.
Connecting up the Hardware
Mount the GrovePi to the raspberry pi. If you are using a B+ it is neccessary to cover the bottom of the GrovePi board with insulation tape so that the bottom contacts don't short on the Pi's USB ports. It is explained in more detail over here.
Now connect up the DHT-22 humidity sensor to port D4 and the OLED module to I2C-1 on the GrovePi.
Now clone this repo and push it to your resini.io application endpoint and in a short while you should see a stream of temperature and humidity readings logging in the console on your resin.io dashboard. You should also see the same values reflected on the small OLED display.
As an extension to this project you could also log and store the values to a cloud store like firebase. There is an awesome python module for firebase called python-firebase.