This document describes the design and implementation of a microcontroller-based automatic irrigation system. The system uses a soil moisture sensor to measure the moisture level in the soil. When the moisture level drops below a threshold, the microcontroller activates a relay which turns on the water pump to irrigate the soil. When the moisture level rises above the threshold, the pump is turned off. The system helps irrigate crops efficiently and minimizes water wastage by avoiding over-watering. It eliminates the need for manual irrigation and can be switched to manual mode when required.