In advancement with the rapid emergence of IoT-based technologies Smart farming industry created revolutionary changes with existing farming methods. However, the quality of farming methods and framing products were decreased. So our “Smart farming using IoT” system hardware integrated with a software application that provides suggestions to farmers when the hardware system analyses the soil. After analyzing the characteristics and quality of the soil with the hardware system consisting of various sensors like DHT11 sensor and Soil moisture sensor, it provides the analyzed data to the application via the Internet. Then this application compares the data in the database and provides user suggestions and also remotely monitor and control equipment like drip irrigation system and electric fencing, etc. The database system analyses the data provided by the hardware as input and gives the user suggestions like, which crop is best suited for this soil, its organic farming methods and irrigation methods, etc. After that, it can also predict any animal intrusion by using a PIR sensor. This application mainly uses data analytics and database management techniques to derive suitable crops and their cultivation methods from the data sets that were collected from the research centers and organic farmers. And also helps to monitor and control farmland using IoT.