Using Raspberry Pi 3 Model B+ to help us auto watering plants, and if there are birds aproaching, buzzer will noise to scare them away!We also have a dashboard(web)to view all related data which could auto switching between Day theme and Nithgt theme!And you could also remote control Raspberry Pi to watering or noising by clicking the button on website if you want!
- Contibuters:Ricky、Darren、Zona、Amy、Andrew
- Google HPS APAC TW:Official website
- Improving from Origin repository
- PDF of our project slides
- Instgram posts
- Mentor:Weihsuan - Google Senior Engineer
- Project name:Demeter
- Team:2
- [I2C]Light:APDS9960
- [I2C]Air Quality:SGP30
- [I2C]Temperature & Humidity:SHT31-D
- [SPI]Acceleration:ADXL203EB
- [GPIO]Watering:Bump
- [GPIO]Noise:Buzzer
SGP30:0x58 |
APDS9960:0x39 |
SHT31-D:0x44 |
---|
pi@raspberrypi:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- 39 -- -- -- -- -- --
40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- 58 -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Raspberry Pi | → | MCP3008 | → | ADXL203EB |
---|
pi@raspberrypi:~ $ ls -l /dev/spidev*
crw-rw---- 1 root spi 153, 0 Aug 28 13:17 /dev/spidev0.0
crw-rw---- 1 root spi 153, 1 Aug 28 13:17 /dev/spidev0.1
sudo pip3 install -r requirements.txt
git clone https://github.com/5j54d93/Google-HPS
cd Google-HPS
sudo python3 Demeter.py
You could open it on computer, iPhone, iPad ......, as long as your device has a browser.
Make sure your device and Raspberry Pi are connect to the same WiFi.
- URL:
http://[your ip]
- use
ifconfig
to check your ip - replace
[your ip]
to something like192.xxx.x.xx
or192.xxx.x.xxx
More detail information:template's README
This package is MIT licensed.