As we all know, an irrigation pump is used for irrigation of plants in the farms. Sometimes, not only one pump, but a number of pumps are used. We propose to automate the pump in order to control the flow of water.
We propose to replace the ordinary switch of the pump with a microcontroller controlling a relay module. It would turn the pump on and off as required without any human interaction.
We propose to add an array of soil moisture sensors connected wired or wirelessly with the micro-controller. These soil-moisture sensors will be able to read the amount of moisture present in the soil and send the data to the microcontroller.
Each plant has different water requirements. For example, rice needs much water whereas pulses need less. The user can set the amount of moisture a plant needs using a potentiometer in the soil moisture sensor. If moisture is less than the desired amount, the pump is turned on.
If there is a forecast of rain, the microcontroller does not turn on the pump.
If there is a forecast of frost, the microcontroller turns on the pump so as to fill the field with water to save the plants.
I couldnt upload pictures or video as it is not possible to implement it without a field. However, the link to a ppt is https://github.com/AdityaMitra5102/SmartIrrigation/blob/main/Smart%20irrigation.pptx
Using the weather api was difficult but then I made a java class to parse it.
Technologies used
Discussion