Need help about Arduino based smart irrigation using IoT

Hello
I'm having a problem with a project i have to do in my academics
I am creating in a arduino based
I'm using soil moisture sensor,DHT11,pressure and pir for better irrigation
I was confused with the program and need help for that
what i want to do is that
"when the soil moisture is high the water supply through a pump is turned off and vice versa
i added some extra condition for the water supply to be turned on
if moisture is low then it has to check for the humidity and if it is high then water supply will be off. If the humidity is low then it has to check for the temperatue. IF the temperature is high it has to turn on the water supply or else off.at last it has to check whether the atmospheric pressure is high or not if yes then he water supply must to turned on orelse it has to turn off"
this is my condition and i want to create the code
and i need help for this

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html .

kvbkiran:
Hello
I’m having a problem with a project i have to do in my academics
I am creating in a arduino based
I’m using soil moisture sensor,DHT11,pressure and pir for better irrigation
I was confused with the program and need help for that
what i want to do is that
“when the soil moisture is high the water supply through a pump is turned off and vice versa
i added some extra condition for the water supply to be turned on
if moisture is low then it has to check for the humidity and if it is high then water supply will be off. If the humidity is low then it has to check for the temperatue. IF the temperature is high it has to turn on the water supply or else off.at last it has to check whether the atmospheric pressure is high or not if yes then he water supply must to turned on orelse it has to turn off”
this is my condition and i want to create the code
and i need help for this

What have you been learning, any Arduino at all?
Can you tell us your electronics, programming, arduino, hardware experience?
What course does this involve.

We cannot write your code, so you will have to provide us with what you have written and a diagram of how you will have it all connected.
This sounds like a State Machine type program.
Tom… :slight_smile:

https://drive.google.com/open?id=1S_m3O5WAz7vCa4XGSeBishEvoEVx7Pmi
this is what i want to do
i can understand the language but i cant express in term of code
initially
i want to turn the pump whenever there is moisture
if not check for remaining sensors for their possibilitie
i want to use soil moisture,dht11,pressure,pir,ph

Please re-read #1 and especially the link given.
Follow the guidelines, and you have a much better chance for informed help.

Also please do explain what a PIR sensor's function is for irrigation. Preventing the farmer from getting wet or so?