Kanpur - A city of many resources but politically neglected

Friday, November 27, 2015

Indoor Irrigation Project - Technical Blog

Indoor Irrigation Project - Use case of IOT(Internet of Things)


What when you are out of home on a long holiday or if you forgot to plant you trees from a long time and you love doing indoor and outdoor gardening but don’t have time to water  your plants due to busy schedule.At present IOT (Internet of things ) is one of the most interesting topics.Many companies are working on IOT to provide smart gardening solutions and  i can name some of them here. 
  1. Greenopia - They are developing smart pots for planting your trees as well as they provide online advice  for planting different trees. Based out of Bangalore, they raised money via crowd-funding and people all across country supported them. 
  2. Clickandgrow - Another smart gardening kit like greenopia. 
  3. Edyn - Earlier know as SoilIq, i saw their website almost 2.5 years back when their founders were explaining there product in some event and from then they had grown a lot. They provide solar powered solution for smart gardening coupled with their app.  
  4. Daisy  - A project hosted on Indiegogo for smart watering of plants. 
  5. Plantlink - A wireless soil moisture sensor coupled with a central coordinator for smart watering of plants. 
  6. Biptonics -   provide their smart router and cloud to which you can plug you own sensor or provide your own readings and manage your garden from a web-browser. 
  7. Botanicals - Smart gardening kit by sparkfun - https://www.sparkfun.com/products/10334
  8. Koubachi - A wifi based plant sensor which measure T, RH and Lux , determine the need of the plant and send notification based on them. 
  9. Cooking hacks open garden project - They had provided a excellent document on how to use their hardware along with software to make a smart indoor garden using Arduino. 
  10. Instructables for Indoor Gardening - A open source platform where people share their ideas and work . This section is devoted to Indoor gardening. 
  11. Click and Grow - A project based on Spark wifi module for smart gardening inside your house in a mobile garden. Interesting project. 
  12. Groove Ecosystem - A complete grow bed which provide you a indoor garden coupled with LED grow lights and a aquarium, connected via Wifi to a cloud server which provide you, your garden data in real time on a app. App has many features like you can get to know the health of your plants by taking a pic. 
  13. Niwaone - A similar kind of project like Groove.
What i am sharing here is a project which i did almost 2 years back on Indoor Gardening based on IOT - Internet of things. Internet of things let you access real time data from anywhere using internet. Data from the environment is sensed by the sensor , provided to the controller. Controller then transfer the same data to the cloud using any communication option like GPRS, Wifi, Bluetooth etc to the cloud server. From cloud server the same data can be published using Android application. 

I did this project  using bluetooth communication. I used open source hardware Arduino,  HC-05 bluetooth module, relay , soil moisture sensor, 16x2 LCD and a dc water pump to water the plant. Below are some of the components which i used. 


And below is the whole set-up which i did.



You can clearly see the LCD displaying the values of moisture of the soil. The readings of the Soil moisture sensor are send to the android application using bluetooth and depending on user , a DC motor can be turned ON or OFF. But this lead to a limitation of user interaction and that is why 2 modes were provided, fully autonomous mode, in which you can set up range, so that is moisture goes below the  range, DC pump will be turned ON automatically. 

Generally when dealing with the smart gardening or IOT based indoor gardening, there are basically 3 parameters which need to be monitored and measured. 
  1. Soil Moisture - This need to be calibrated by planting the sensor in dry soil and then measuring the sensor readings and then planting the sensor in wet-soil  .Depending on the readings we can provide water to the plant using a small water pump controlled by the Arduino via relay. 
         Soil moisture sensor à Arduino à Relay à Water Pump.
  1. Surrounding Temperature and Humidity - Surrounding T and RH play a major role. These parameters also need to be maintained. For  a DIY purpose DHT22 or DHT11 will work perfectly fine.   
  2. Lux  or light intensity  - This can be measure using ISL29023 sensor.
          ISL29023 flux sensor à Arduino à Relay à Florescent lamp.

 Here is a screenshot of the app which was developed by Ravi Kumar who is a friend of mine and a professional Android app developer. I am sharing git repo link for the code used in this project . 
https://github.com/shailendra0408/Indoor-Irrigation-Project-




 Below are 2 videos which demonstrate the working IIP project.