1. The document describes a smart irrigation and draining system using IoT that automatically waters crops and drains excess water based on soil moisture levels.
2. Sensors including a soil moisture sensor and rain sensor detect moisture levels and rain, and send data to a NodeMCU microcontroller which controls relays and motors.
3. When soil is dry the irrigation motor turns on, when soil is saturated the draining motor turns on, and farmers can also control the system remotely using a mobile app to water crops as needed. This reduces human labor and monitoring while saving water.