Automated Vegetable Cultivation System





Introduction: Automated Vegetable Cultivation System

Welcome! rSense "Makashitakun" is the automated vegetable cultivation system which is built up with Arduino and Raspberry Pi. Arduino is used for collecting sensors data and handling actuators. Raspberry Pi is used for controller which manage all Arduino units to work properly and hooked up to the internet in order to manage from anywhere in the world. Both units are connected via Xbee module. I have upped and been running "Makashitakun" for indoor vegetable farm to manage watering and temperature control. It runs great, I can check current status, change threshold value, start/stop actuator forcefully from home or even while traveling. You get the idea? Have fun!

Step 1: Materials (Units)

Sensor Unit:

  • Arduino UNO. (or arduino compatible board)
  • Grove base shield.
  • Xbee module. (any type would be fine)
  • Xbee shield.
  • Cables.
  • Terminal connector.
  • Power supply unit.

Controller Unit

  • Raspberry Pi. (any type would be fine)
  • Xbee module. (any type would be fine)
  • Xbee explore.
  • USB cable. (to connect Xbee explore to Raspberry Pi)
  • WiFi module. (if you plan to use ethernet, don't need this)
  • Power supply unit.

Step 2: Materials (Sensors and Actuators)


  • DHT Temperature and Humidity sensor.
  • Soil moisture sensor. (used this site as reference)
  • Light sensor. (option)


  • 2c x 2 (24V), 1a x 1 (100/200V)


  • Solenoid valve (AC100/200V) / for automated watering.
  • Motor (DC24V) / for automated ventilating. (to open and close side cover)

Step 3: Wiring Instruction and Coding

OK, finally, download the code from here



  • Epilog Challenge 9

    Epilog Challenge 9
  • First Time Author Contest 2018

    First Time Author Contest 2018
  • Paper Contest 2018

    Paper Contest 2018

We have a be nice policy.
Please be positive and constructive.




Great Project! I am a total newbie, I have never attempted anything like this but here goes hope I land on my two feet. I am accepting advice and any encouragement anyone has to offer would be greatly appreciated

Great work :) I love automated gardening and monitoring.

One thing though. The soil moisture sensor, did you make it yourself?

Thanks, yes, I did. I have tried out some moisture sensor but they didn't last long. so I made up from stainless. It's pretty easy to make one and cost less than five bucks. I ended up with using some program to make data smooth, cause data from this home made sensor is kinda like rough. You can find this smoother in my code.

Are you aware or electrolysis? If you're not familiar with it, your DIY moisture sensor won't last long either.

Right, this might be my new project :) thanks.

Thanks for this sharing,The kit is a bit pricy as it is confined 'indoors'.nice tutorial,you have my vote.

You bet! Thanks for your vote.