To indicate the three states of the soil three LEDs were used. The three LEDs lit up depending on the soil moisture content. When the soil was dry LED connected to arduino digital pin 13 was lit. For moist soil (required condition) LED connected to arduino digital pin 12 lit up and for soggy soil LED connected to arduino digital pin 11 lit up