Skip to content

Instantly share code, notes, and snippets.

@opethe1st
Last active August 29, 2015 14:17
Show Gist options
  • Save opethe1st/11b5332962932d6e9916 to your computer and use it in GitHub Desktop.
Save opethe1st/11b5332962932d6e9916 to your computer and use it in GitHub Desktop.
Smart Farm
# Title
Smart Farm
# Picture
media: http://www.deviantsart.com/38fdru4.jpg
# Objective
A lot of people don't have the time or resources to grow their own food even though they would like to.
The goal of this project is to help ordinary people take care of their farms. It automatically waters the plants when it detects that the soil moisture level has gone below a certain treshold.
# Duration
2 hours
# Age Group
13-16
# Materials
## Arduino
* description:The Brains of the system
* quantity:1
* price:$35
* link:
## LCD
* description:Display the temperature and Humidity
* quantity:1
* price:undefined
* link:undefined
## Water pump
* description:pumps water for the plants
* quantity:1
* price:undefined
* link:undefined
## Relay
* description:Used to turn on the pump
* quantity:1
* price:undefined
* link:undefined
## Soil moisture sensor
* description:Reads the value of soil moisure
* quantity:1
* price:undefined
* link:undefined
## DHT22
* description:temperature and Humidity sensor
* quantity:1
* price:undefined
* link:undefined
# Steps
## Connect the DHT22 sensor
media: undefined
notes: The pin labeled GPIO is connected to one of the pins of the Arduino. Instead of 3.3V, 5V can be used. Data from this pin is processed by the DHT22 library
## Connect the Soil moisture sensor
media: undefined
notes: The soil mosture sensor produces a voltage corresponding to the amount of moisture in the soil
## Connect LCD
media: undefined
notes: The LCD used made up of I2C to communicate. A parallel LCD can also be used
## Connect the Relay
media: undefined
notes: undefined
## Open the Arduino IDE
media: undefined
notes: Code for this project can be found at https://github.com/opethe1st/SmartFarm/blob/master/SmartFarm.ino take note of the pins that are used for the various sensors and make sure the Hardware connections correspond to the Code. Upload the code on the Arduino
# Notes
The Arduino code can be found at https://github.com/opethe1st/SmartFarm/blob/master/SmartFarm.ino
{"id":"11b5332962932d6e9916","user":"opethe1st","description":"Smart Farm","urls":["undefined","undefined"],"raw":"# Title \nSmart Farm\n# Picture \nmedia: undefined\n# Objective\nA lot of people don't have the time or resources to grow their own food even though they would like to. \nThe goal of this project is to help ordinary people take care of their farms. It automatically waters the plants when it detects that the soil moisture level has gone below a certain treshold.\n# Duration\nundefined\n# Age Group\n13-16\n# Materials\n## Arduino\n* description:The Brains of the system\n* quantity:1\n* price:$35\n* link:\n\n## undefined\n* description:undefined\n* quantity:undefined\n* price:undefined\n* link:undefined\n\n# Steps\n## Description\nmedia: undefined\n\nnotes: undefined\n\n# Notes\nundefined\n","steps":[{"description":"Connect the DHT22 sensor","$$hashKey":"009","notes":"The pin labeled GPIO is connected to one of the pins of the Arduino. Instead of 3.3V, 5V can be used. Data from this pin is processed by the DHT22 library"},{"$$hashKey":"013","description":"Connect the Soil moisture sensor","notes":"The soil mosture sensor produces a voltage corresponding to the amount of moisture in the soil"},{"$$hashKey":"017","description":"Connect LCD","notes":"The LCD used made up of I2C to communicate. A parallel LCD can also be used"},{"$$hashKey":"01L","description":"Connect the Relay"},{"$$hashKey":"01P","description":"Open the Arduino IDE","notes":"Code for this project can be found at https://github.com/opethe1st/SmartFarm/blob/master/SmartFarm.ino take note of the pins that are used for the various sensors and make sure the Hardware connections correspond to the Code. Upload the code on the Arduino"}],"materials":[{"item":"Arduino","description":"The Brains of the system","quantity":"1","price":"$35","link":"","$$hashKey":"007"},{"$$hashKey":"00C","item":"LCD","description":"Display the temperature and Humidity","quantity":"1"},{"$$hashKey":"00P","item":"Water pump","quantity":"1","description":"pumps water for the plants"},{"$$hashKey":"00S","item":"Relay","description":"Used to turn on the pump","quantity":"1"},{"$$hashKey":"00V","item":"Soil moisture sensor","description":"Reads the value of soil moisure","quantity":"1"},{"$$hashKey":"00Y","item":"DHT22","description":"temperature and Humidity sensor","quantity":"1"}],"title":"Smart Farm","objective":"A lot of people don't have the time or resources to grow their own food even though they would like to. \nThe goal of this project is to help ordinary people take care of their farms. It automatically waters the plants when it detects that the soil moisture level has gone below a certain treshold.","ageGroup":"13-16","content":"<h1>Title</h1>\n\n<p>Smart Farm</p>\n\n<h1>Picture</h1>\n\n<p>{{0}}</p>\n\n<h1>Objective</h1>\n\n<p>A lot of people don't have the time or resources to grow their own food even though they would like to. \nThe goal of this project is to help ordinary people take care of their farms. It automatically waters the plants when it detects that the soil moisture level has gone below a certain treshold.</p>\n\n<h1>Duration</h1>\n\n<p>2 hours</p>\n\n<h1>Age Group</h1>\n\n<p>13-16</p>\n\n<h1>Materials</h1>\n\n<h2>Arduino</h2>\n\n<ul>\n<li>description:The Brains of the system</li>\n<li>quantity:1</li>\n<li>price:$35</li>\n<li>link:</li>\n</ul>\n\n<h2>LCD</h2>\n\n<ul>\n<li>description:Display the temperature and Humidity</li>\n<li>quantity:1</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h2>Water pump</h2>\n\n<ul>\n<li>description:pumps water for the plants</li>\n<li>quantity:1</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h2>Relay</h2>\n\n<ul>\n<li>description:Used to turn on the pump</li>\n<li>quantity:1</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h2>Soil moisture sensor</h2>\n\n<ul>\n<li>description:Reads the value of soil moisure</li>\n<li>quantity:1</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h2>DHT22</h2>\n\n<ul>\n<li>description:temperature and Humidity sensor</li>\n<li>quantity:1</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h1>Steps</h1>\n\n<h2>Connect the DHT22 sensor</h2>\n\n<p>{{1}}</p>\n\n<p>notes: The pin labeled GPIO is connected to one of the pins of the Arduino. Instead of 3.3V, 5V can be used. Data from this pin is processed by the DHT22 library</p>\n\n<h2>Connect the Soil moisture sensor</h2>\n\n<p>{{2}}</p>\n\n<p>notes: The soil mosture sensor produces a voltage corresponding to the amount of moisture in the soil</p>\n\n<h2>Connect LCD</h2>\n\n<p>{{3}}</p>\n\n<p>notes: The LCD used made up of I2C to communicate. A parallel LCD can also be used</p>\n\n<h1>Notes</h1>\n\n<p>The Arduino code can be found at <a href=\"https://github.com/opethe1st/SmartFarm/blob/master/SmartFarm.ino\">https://github.com/opethe1st/SmartFarm/blob/master/SmartFarm.ino</a></p>","ownedByMe":"true","picture":"http://www.deviantsart.com/38fdru4.jpg","media":"http://www.deviantsart.com/38fdru4.jpg","duration":"2 hours","notes":"The Arduino code can be found at https://github.com/opethe1st/SmartFarm/blob/master/SmartFarm.ino"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment