Now-a-days, farmers increasingly face the problem of trespassing and lack of information during agricultural practices. Our project tries to address this issue by using the IR sensor for the detection of intruder(s). We are also using the temperature and humidity sensor so that farmer has knowledge about his fields and can plan accordingly. The temperature and humidity values are stored in a file and the same is uploaded on cloud servers. This data is used for future forecasting for the farmer. An app shall be used by farmer to get the stats based on historic data stored on cloud.
A database is also maintained that stores the contact information of the farmer. This contact is retrieved by the program and is used by GSM to send sms to the intended recipient (the farmer). File handling has been employed to store the temperature and humidity in a file which shall be further uploaded on cloud.
-
Raspberry Pi
-
DHT11 (Temperature and Humidity Sensor)
-
GSM Module 900A
-
Infrared (IR) sensor
-
Power supply Unit
● First of all run the file named '1ask_user_no'. It will ask users to enter his/her mobile number.
● After this one can run file named '2sendmsg'. This code will send a message to the farmer as soon as the IR sensor senses an intruder in the field.
● Run the file namely 'finaltemp1' to activate the temperature and humidity sensor and record the field’s temperature and humidity. Accordingly, a message is sent to the farmer.