Today the use of advanced technology such as IoT devices in the field of agriculture is inevitable. There were no conventional methods to accurately predict the temperature changes or to detect the presence of an intruder in the field or to detect if a fire had broken out in the field. But with the advancement of various sensors in IoT, it has become very easy to acquire the data, analyze the data, or even take some immediate action like sending the notification to the user about any particular event. In this paper, a novel approach has been implemented to acquire and analyze the temperature data. An experimental model showing the interfacing of three sensors TMP36, PIR, and Gas sensor with Arduino has been presented. The transfer of data to the ThingSpeak cloud has also been done with the help of ESP8266 and further the analysis of data is done using MATLAB. This hardware interfacing ensures a small and cost effective design that is easily portable.