leeleavitt / autoGrow

This is my current home automation project to create an automatic grow system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

autoGrow

This is a software used to control various parts of an automatic grow system i am developing for growing all plants from seed this year.

I built a wooden frame from 2 by 4's. This was required since we are going to place a 5 gallon bucket on the top of this system to control the watering of the seedlings. Additionally, to prevent slipping I cut custom rubber pads from rubber gasket found in the plumbing section and stapled this to the bottom of the stand to prevent slippage.

We have many parts to control.

  1. Controling the Kingled 1000w. Here we used an simple to use Iot relay since we are working with a high powered light.

    I decided to control the light using the BCM pin 17

  2. Here we have 2 VIVOSUN fans. These fans attach with a clamp to a tent pole, so to get them to attach to my wooden frame I added a pipe manifold for the fans to connect to.

  3. Gravity irrigation is controlled by a 12 volt 1/4" solenoid valve. Since this part has a 12V and 12W rating, controlling this required purchasing a 12V 1A power supply.

  4. To control 1 and 2 above, I am using the ELEGOO 8 channel DC 5V Relay Module. I decided to follow Techplants instructions. Since this project has potential to add more solenoid valves, I decided to go with the 8 channel relay

    This relay requires outside power. So I am using a 5V 1A power supply.

  5. Finished making the reflective material for the grow house using this vivosun reflective mylar. This prevents most of the light from escaping the room. Made frames from wood and butt joints

  6. Added a Craftsman LED yellow light. I turn this light on and the grow light off to take an image for the timelapse imaging.

  7. Added an AM2302 sensor. This allows me to keep track of temperture and humidity. Do note a significant ammount of install was required by running this in the consolesudo pip3 install Adafruit_DHT.

Current pins in use

Added a new feature to control the fans at specified intervals. Within the SETTINGS.json file i have added fanTime, this is a list of lists. For example to have the fan turn for specified times during the day add a new list item to it

"fanTime":[[10,12],[20,22]]

This means the fan will run between 10am and noon, and then from 8p to 10p

17: Light

6: Fan Left side

13: Fan Right side

5: Solenoid Valve

26: Craftsman LED Yellow Light

18: AM2302 Temperature and Humidity sensor

I've added a cron job, where after typing crontab -e i added the following line of code to the document.

*/30 * * * * sudo python3 /home/pi/Documents/autoGrow/py/autoGrow.py > /dev/null 2>&1

About

This is my current home automation project to create an automatic grow system

License:MIT License


Languages

Language:Python 67.8%Language:JavaScript 17.8%Language:HTML 11.0%Language:CSS 2.7%Language:Shell 0.7%