My Solar Garden - Hardware
This is the hardware repo for the My Solar Garden App. The My Solar Garden app allows users to track the health of their gardens through light, temperature, and moisture sensors connected to RaspberryPis. In this repo you will find all the necessary hardware and scripts to connect your own sensors to the My Solar Garden App.
For access to all the repos that make up the Service Oriented Architecture of this application please visit our origanization page.
- RaspberryPi Model 3 or Higher
- GrovePi+ Board
- GrovePi Sensors:
git clone [email protected]:My-Solar-Garden/hardware_.git
- Run the following on your initial set up to configure the program with the sensor IDs registered on the My Solar App
curl -kL dexterindustries.com/update_grovepi | bash
cd /home/pi/Dexter/GrovePi/Firmware
bash firmware_update.sh
sudo gem install i2c i2c-devices
pip install requests
python sensors.py
: insert your sensor IDs on the command line and watch the sensors output data to the production database!- Sensor IDs can be found on your garden page in the My Solar Garden App
- Plug the following components to the specified ports on the RaspberryPi:
- Port D2: Temperature and Humitidy Sensor
- Port A0: Light Sensor
- Plug in the RaspberryPi to a power source
- Place the sensors near your garden
- Connect your Raspberry Pi to a monitor through an HDMI cable, a usb keyboard and connect any sensors you would like to use
- Connect to power last, as sensors can be damaged if plugged in after the power is on.
- Connect to your Wifi by running
raspi -config
and entering your Wifi's name and password. - Connect to your Raspberry Pi to your mac's terminal by running
ssh pi@<your ip>
from the command line and cd into the repo
- Sensor readings are being posted to the production database, so any sensor readings in test/development will have to be mocked
- no/very little light: 0
- dim light: 30-100
- mid-level light: 200-500
- bright light: 500-740
- very bright light: 740-770 (This is basically any direct sunlight on the sensor)
- Returns degrees in celcius
- Alex Desjardins
- Angela Guardia
- Danielle Coleman
- Daniel Lessenden
- Drew Williams
- Eric Hale
- Hashim Gari
- Leah Riffell
- Logan Riffell
- Luke Hunter James-Erickson
- Nico Rithner
- Norma Lopez
- Roberto Rodriguez