Smart School gardening using Arduino and Soil Moisture sensor

Smart School gardening using Arduino and Soil Moisture sensor

1688
0
SHARE

There are pots of flowers and herbs in Poin2 Lab., but honestly no one other than Sra knows when to water them. You might feel the same if you have flower pots laying around the house, because it is hard to keep track of when they were watered and the soil moisture level depends on ambient temperature and amount of sunlight and etc. So yes, today I plan to make a simple Arduino gadget that gives at least a slight hint of if it is time to water the plant or not. This project also helped me to find a usage for the pastel-toned RGB LED I made using plastimake.

 

Things you need:
Arduino Nano x 1
Soil Moisture Sensor FC-28 x 1
RGB LED x 1
Breadboard x 1
Few wires and resistors

 

Connection:

 

1fritzing 220150717_103352-1024x768

 

Hardware connection is really simple in this little project. Basically you connect the RGB LED to whichever GPIOs you want, and connect FC-28 to power, ground, and an analog input. Analog input from soil moisture sensor will be read and LED color will be changed accordingly.

 

Programming Arduino:

12

Code above shows that LED color will change from Green to Yellow – Orange – Red as analog input from soil moisture sensor increases, meaning the soil becomes more dry. Below pictures show the result. Pretty simple and cute, right? I hope this helps Sra at least a little with her office gardening!

 

11 22 33

Oh no! the RED color, pour some water, quick!

Share this post!