This work focuses on efficiently managing an agricultural field without human intervention by making the use of an IoT-based system. The principle concept used here is, electrical conductivity of the moisture is present in the soil. This setup includes a servomotor which is used to regulate the water flow, based on the input from the option selected by the user on the webpage pertaining to the type of soil and the corresponding crop. The input is generated from the webserver hosted on the microprocessor which is further then processed to the microcontroller based on the temperature of the surroundings. The PIR sensor is used to ensure the security of the agricultural field.