International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 12 | Dec 2019 p-ISSN: 2395-0072 www.irjet.net SMART AGRICULTURE SYSTEM USING THINGSPEAK AND MOBILE NOTIFICATION Mr. CH. M.H. SAIBABA1, A. KUMAR SAI PAVAN2, S. MANIDEEP3, K. VENKATESH4 1Asst.Professor, Computer Science Engineering K L University, Vijayawada, India Science Engineering K L University, Vijayawada, India -------------------------------------------------------------------------***-----------------------------------------------------------------------2,3,4Computer ABSTRACT: Agriculture plays vital role in the development of agricultural country. In India about 70% of population depends upon farming and one third of the nation’s capital comes from farming. 33% of the country's capital originates from cultivating. Issues concerning agribusiness have been continually preventing the advancement of the nation. The main answer for this issue is keen horticulture by modernizing the current customary strategies for agribusiness. Henceforth the task targets making farming savvy utilizing mechanization and IoT advances. The featuring highlights of this venture incorporates keen GPS based remote controlled robot to perform assignments like weeding, showering, dampness detecting, winged creature and creature frightening, keeping watchfulness, and so on. Besides it incorporates brilliant water system with savvy control and astute basic leadership dependent on exact on-going field information. Thirdly, brilliant distribution centre administration which incorporates temperature support, mugginess upkeep and burglary identification in the stockroom. Controlling of every one of these activities will be through any remote brilliant gadget or PC associated with Internet and the tasks will be performed by interfacing sensors, Wi-Fi or Zig-Bee modules, camera and actuators with smaller scale controller and raspberry pi. job in the development of nation economy and it additionally gives enormous sufficient business chances to the individuals. Development in agrarian division is essential for the improvement of financial state of the nation. Unfortunately, various farmers still use the customary procedures for developing which realizes low yielding of harvests and regular items. Be that as it may, any place robotization had been actualized and people had been supplanted by programmed apparatuses yield has been improved. From this time forward there is need to realize current science and advancement in the cultivating section for growing the yield. Most of the papers implies the use of remote sensor mastermind which accumulates the data from different sorts of sensors and a short time later send it to guideline server using remote show. The accumulated data gives the information about different environmental parts which in goes screens the structure. Checking regular components isn't adequate and complete response for improve the yield of the harvests. There are number of various segments that impact the productivity to unfathomable degree. These variables incorporate assault of bugs and nuisances which can be constrained by showering the harvest with legitimate bug spray and pesticides. Additionally, ambush of wild animals and fowls when the reap grows up. There is in like manner likelihood of thefts when yield is at the period of social affair. Agriculture is the broadest monetary area and assumes a significant job in the general financial advancement of a country. Innovative headways in the field of agribusiness will discover to build the capability of certain cultivating exercises. In this paper, we have proposed a novel procedure for brilliant cultivating by connecting a savvy detecting framework and shrewd irrigator framework through remote correspondence innovation. Our framework centers around the estimation of physical parameters, for example, soil dampness content, supplement substance, and pH of the dirt that assumes an imperative job in cultivating exercises. In view of the fundamental physical and compound parameters of the dirt estimated, the necessary amount of green excrement, fertilizer, and water is sprinkled on the harvests utilizing a savvy irrigator, which is mounted on a versatile overhead crane framework. Much in the wake of gathering, ranchers likewise face issues away of collected crop. In this way, so as to give answers for every such issue, it is essential to make facilitated system which will manage all segments affecting the profitability in each stage like; development, reaping and post collecting stockpiling. This paper henceforth proposes a system which is significant in watching the field data similarly as controlling the field assignments which gives the flexibility. The paper targets making farming savvy utilizing computerization and IoT advancements. The including features of this paper is to perform endeavours like weeding, showering, sogginess recognizing, feathered animal and animal surprising, keeping wariness, etc. Moreover, it fuses splendid water framework with sharp control reliant on steady field data. Thirdly, clever dissemination focus organization INTRODUCTION: Agriculture is considered as the basis of life for the human species as it is the main source of food grains and other raw materials. It assumes crucial © 2019, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 255 International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 12 | Dec 2019 p-ISSN: 2395-0072 www.irjet.net which joins; temperature support, wetness upkeep in the stockroom. Controlling of all of these exercises will be through any sharp contraption or PC related with Internet and the errands will be performed under interfacing sensors and Wi-Fi module with scaled down scale controller. The inventive headway in Wireless Sensor Networks made it possible to use in watching and control of nursery parameter in precision cultivation. After the investigation in the agrarian field, experts found that the yield of agribusiness is lessening bit by bit. Be that as it may, utilization of innovation in the field of farming assumes significant job in expanding the generation just as in decreasing the additional labour endeavours. A portion of the exploration endeavours are accomplished for advancement of ranchers which gives the frameworks that utilization advances supportive for expanding the horticultural yield. Existing System: Everything in the homestead is absolutely subject to people. In order to perform operations like ploughing fields, spraying seeds, fertilizers we do require humans. Also in order to check the level of water inside the farm humans are required. This is how every activity in a farm is totally dependent on human beings. As now we are using motors to turn ON the bore wells or wells in order to send the water to the farm and later we need to turn OFF the motor after checking the availability of water in the farm. All these activities truly indicate that humans are essential in a farm. A remote identifying and control water framework structure using passed on remote sensor organize going for variable rate water framework, progressing in field recognizing, controlling of a site unequivocal precision direct move water framework system to grow the proficiency with irrelevant use of water was made by Y. Kim. Proposed System: In the field area, different sensors are conveyed in the field like temperature sensor, dampness sensor and moistness sensor. The information gathered from these sensors are sent to the miniaturized scale controller. In control segment, the got information is checked with the edge esteems. In the event that the information surpasses the limit esteem the ringer is turned ON. This caution is sent as a message to the rancher and the qualities are created in the site page and the rancher gets the point by point depiction of the qualities. In manual mode, the customer needs to turn ON/OFF the scaled down scale controller by crushing the catch in the Android Application made. This is finished with the assistance of WIFI Module. In programmed mode, the small scale controller gets turned ON and OFF naturally if the worth surpasses the edge point. Not long after the miniaturized scale controller is begun, consequently an alarm must be sent to the client. This is accomplished by making an impression on the site page through the WI-FI module and now parameters like the temperature, stickiness and the dampness sensors shows the limit esteem. The water level sensor is utilized just to show the degree of water inside a tank or the water asset. The system depicted bits of knowledge with respect to the structure and instrumentation of variable rate water framework, remote sensor framework and progressing in field distinguishing and control by using reasonable programming. The whole structure was made using five in field sensor stations which assembles the data and send it to the base station using overall arranging structure (GPS) where basic move was made for controlling water framework according to the database open with the system. The framework gives a promising minimal effort remote arrangement just as remote controlling for exactness water system. WORKING: At first the sensors like temperature, soil dampness, stickiness catch the information from the field and is sent to the controller. Presently the controller contrasts the got information and that of prior information and if the qualities are past the edge point the comparing gadgets is in ON state. At first temperature inside the homestead is contrasted and that of the pre- characterized an incentive in the smaller scale controller and in the event that it is past the edge point the fan jumps ON. Later soil dampness inside the ranch is contrasted and that of the pre- characterized an incentive in the smaller scale controller and in the event that it is past the edge point the water engine jumps ON. Later mugginess inside the homestead is contrasted and that of the pre-characterized an incentive in the miniaturized scale controller and in the event that it is past the edge point the sprinklers jumps ON and the qualities acquired from the sensors are sent to the thing speak IOT page through Wi-Fi module and is spoken to in a graphical arrangement. Subsequent to arriving at the ideal level these gadgets naturally kill. Typically, it takes 15 seconds to transfer information of every single sensor and this is a cyclic procedure. LITERATURE SURVEY: The more current situation of diminishing water tables, evaporating of waterways and tanks, erratic condition present an earnest need of appropriate use of water. To adjust up to this use of temperature and moistness sensor at fitting zones for seeing of yields is executed a computation made with limit estimations of temperature and soil sogginess can be changed into a microcontroller-based entrance to control water sum. The structure can be constrained by photovoltaic sheets and can have a duplex correspondence associate subject to a cell Internet interface that grants data audit and water framework booking to be changed through a page. © 2019, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 256 International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 12 | Dec 2019 p-ISSN: 2395-0072 www.irjet.net represented in percent. The Soil Moisture Sensor uses capacitance to check dielectric permittivity of the including medium. In soil, dielectric permittivity is a part of the water content. The sensor makes a voltage comparative with the dielectric permittivity, and as such the water substance of the soil. BLOCK DIAGRAM Humidity Sensor: The humidity sensor made by Honeywell is utilized for detecting the dampness. It conveys instrumentation quality RH (Relative Humidity) detecting execution in a minimal effort, patch capable SIP (Single Inline Package). Relative dampness is a measure, in rate, of the fume noticeable all around contrasted with the aggregate sum of fume that could be held noticeable all around at a given temperature. National Temperature Sensor: Semiconductor's LM35 IC has been utilized for detecting the temperature. It is a joined circuit sensor that can be use to measure temperature with electrical yield comparative with the temperature. The temperature can be evaluated more correctly with it than using a thermistor. The sensor equipment is fixed and not open to oxidation, etc. Relay: A transfer is an electrically worked switch. Various moves use an electromagnet to accurately work a switch, yet other working benchmarks are in like manner used, for instance, solid state moves. Moves are used where it is imperative to control a circuit by an alternate low-control signal, or where a couple of circuits must be compelled by one sign. The essential exchanges were used in long partition communicate circuits as enhancers: they reiterated the sign rolling in from one circuit and re- transmitted it on another circuit. Moves were used generally in telephone exchanges and early PCs to perform steady assignments. SENSORS: A sensor is a gadget that estimates the physical amount and changes over a sign which can be perused by an eyewitness or by an instrument For instance, mercury in glass thermometer changes over the deliberate temperature into development and construction of a fluid which can be perused on an adjusted glass tube. Thermo couple changes over the temperature to yield voltage which can be perused by the voltmeter for precision, all sensors should be aligned against known guidelines. Sensors are utilized in regular items, for example, contact touchy, Elevator catches (Tactile sensor) and lights which diminish or light up by contacting the base. There are moreover endless applications for sensors of which by far most are once in a while careful. Applications incorporate autos, aviation, machines, prescription, assembling and robots. A sensor is a gadget which gets information and reacts to a sign and boost. Here a term upgrade implies a property or an amount that should be changed over into electrical structure. Here sensor can be characterized as a sign which gets a sign and changes over into electrical which can be additionally utilized for electrical gadgets. SOFTWARE IMPLEMENTATION: ARDUINO IDE: The Arduino Integrated Development Environment or ARDUINO Software (IDE) contains a content manager for composing code, a message region, a book reassure, a toolbar with catches for normal capacities and a progression of menus. It associates with the Arduino and Genuino equipment which transfer programs and speak with them. Soil Moisture Sensor: Soil Moisture Sensor uses capacitance to evaluate the water substance of soil (by assessing the dielectric permittivity of the earth, which is a segment of the water content). Simply implant this intense sensor into the earth to be attempted, and the volumetric water substance of the soil is © 2019, IRJET | Impact Factor value: 7.34 Uploading's: Before moving your sketch, you need to pick the correct things from the Tools > Board and Tools > Port menus. The sheets are delineated underneath. On the Mac, the successive port is probably | ISO 9001:2008 Certified Journal | Page 257 International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 12 | Dec 2019 p-ISSN: 2395-0072 www.irjet.net something like/dev/tty.usbmodem241 (for an Uno or Mega2560 or Leonardo) or/dev/tty.usbserial-1B1 (for a DuemilanoveorearlierUSBboard),or/dev/tty.USA19 QW1b1P1.1 (for a consecutive board related with a Key range USB-to-Serial connector). On Windows, it's probably COM1 or COM2 (for a successive board) or COM4, COM5, COM7, or higher (for a USB board) - to find, you look for USB consecutive device in the ports region of the Windows Device Manager. On Linux, it should be/dev/tty ACMx,/dev/tty USBx or practically identical. At the point when you've picked the privilege consecutive port and board, press the exchange button in the toolbar or select the Upload thing from the File menu. Current ARDUINO sheets will reset therefore and start the exchange. With increasingly settled sheets (pre-Decimal) that need auto-reset, you'll need to press the reset catch on the board just before starting the exchange. On most sheets, you'll see the RX and TX LEDs squint as the sketch is moved. The ARDUINO Software (IDE) will show a message when the exchange is done, or show a mix-up. For C language, the For Embedded C, you standard compilers can have to some particular be utilized to assemble compilers that can create and execute the program. specific equipment/smaller scale controller based yield Comprehensibility It's not very simple to changes, bug fixing are peruse, comprehend, simple in a C language adjust and fix the bugs in program. an Embedded C language program. The C programming language is maybe the most prevalent programming language for programming installed frameworks. C keeps on being a famous language for miniaturized scale controller engineers/software engineers because of the code effectiveness and decreased overhead and advancement time. C offers low-level control and is viewed as more decipherable than low level computing construct which is somewhat hard to get it. Low level computing construct requires more code composing, while C is straightforward and requires less coding. Also, utilizing C builds convenience, since C code can be accumulated for various kinds of processors. We can program microcontrollers utilizing 8051, AVR or PIC. Exactly when you move a sketch, you're using the ARDUINO boot-loader, a little program that has been stacked on to the microcontroller on your board. It empowers you to move code without using any additional gear. The boot-loader is dynamic for two or three minutes when the board resets; by then it starts whichever sketch was most starting late moved to the microcontroller. The boot-loader will gleam the prepared (stick 13) LED when it starts (for instance right when the board resets)). We can build up our projects according to our electronic equipment utilizing 8051 smaller scale controller. For instance we can squint drove, increase decrements counters, token showcases and so on. EMBEDDED C: Most C software engineers are ruined on the grounds that they program in situations where there is a standard library usage, yet there are every now and again various different libraries accessible for use. The cool reality is, that in inserted frameworks, there once in a while are a considerable lot of the libraries that developers have become used to, yet once in a while an installed framework probably won't have a total standard library, if there is a standard library by any stretch of the imagination. Hardly any inserted frameworks have capacity for dynamic connecting, so if standard library capacities are to be accessible by any stretch of the imagination, they regularly should be legitimately connected into the executable. In many cases, due to space concerns, it is beyond the realm of imagination to expect to interface in a whole library record, and software engineers are frequently compelled to "blend their own" standard c library usage in the event that they need to utilize them by any stretch of the imagination. While a few libraries are massive and not appropriate for use on micro controllers, numerous advancement frameworks still incorporate the standard libraries which are the most well-known for C software engineers. Introduction: Embedded C is a lot of language augmentations for the C Programming language the C Standards advisory group to address shared trait gives that exist between C expansions for various implanted frameworks. Generally, inserted C programming requires nonstandard augmentations to the C language so as to help fascinating highlights, for example, fixed-point number juggling, various unmistakable memory banks, and fundamental I/O activities. Difference between C and Embedded C: C programming Embedded C programming C is a broadly useful Embedded C is an programming language, augmentation of C it is which can be utilized to utilized to create smaller plan any sort of work scale controller based area based applications. applications C language program is Embedded C program is equipment autonomous equipment subordinate. © 2019, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 258 International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 12 | Dec 2019 p-ISSN: 2395-0072 www.irjet.net C stays a prominent language for smaller scale controller designers because of the code effectiveness and decreased overhead and advancement time. C offers low-level control and is viewed as more comprehensible than gathering. Many free C compilers are accessible for a wide assortment of improvement stages. The compilers are a piece of an IDEs with ICD support, breakpoints, single-venturing and a get together window. The exhibition of C compilers has improved significantly lately, and they are professed to be pretty much in the same class as get together, contingent upon who you inquire. Most apparatuses now offer choices for altering the compiler improvement. Furthermore, utilizing C expands compactness, since C code can be accumulated for various kinds of processor. FLOW CHART: THINGSPEAK Thingspeak Apps: ThingSpeak gives applications that enable us to a simpler reconciliation with the web administrations, informal organizations and different APIs. The following are a portion of the applications gave by ThingSpeak. Thing Tweet - This enables you to present messages on twitter by means of ThingSpeak. Basically, this is a Twitter Proxy which re‐directs your presents on twitter. Thing HTTP - This enables you to interface with web administrations and supports GET, PUT, POST and DELETE strategies for HTTP. Tweet Control ‐ Using this, you can screen your Twitter channels for a particular catchphrase and afterward process the solicitation. When the particular catchphrase is found in the twitter channel, you would then be able to utilize Thing HTTP to interface with an alternate web support or execute a particular activity. RESULT ANALYSIS Step 1:-This is the Hardware Equipment of the project. First we intialize the kit by using a toggle switch. step 2:-Initially we have to sign up in thingspeak iot web page by using an email id and later we have to create channel on it based upon our project title. Respond ‐ Send a tweet or trigger a Thing HTTP demand when the Channel meets a specific condition. Talkback ‐ Use this application to line up directions and afterward enable a gadget to follow up on these lined directions. Notwithstanding the abovementioned, ThingSpeak enables us to make the ThingSpeak applications as module utilizing HTML, CSS and JavaScript which we can install inside a site or inside our ThingSpeak channel. Step 3:-This is an IOT ThingSpeak web page. We have to login the thingspeak by using an email address and we can connect to the Aurdino which is present in the equipment through WI-FI module. Step 4:- After successfully log in to the Thingspeak. Now you can observe your channel name IOT BASED SMART AGRICULTURE SYSTEM which you had created before. Step 5:- We can observe the temperature, soil moisture and humidity levels in the field which can be useful for the growth of the plant. This is observed in the thingspeak website as the observed data is loaded into the database of the thingspeak by using Wi-Fi module which is connected to the Arduino. © 2019, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 259 International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 12 | Dec 2019 p-ISSN: 2395-0072 www.irjet.net CONCLUSION: One of the key components of an IoT framework is an IoT administration. ThingSpeak is one such application stage offering a wide assortment of highlights. At the core of ThingSpeak is a channel which can be utilized for putting away and preparing information gathered from the 'things'. ThingSpeak additionally gives different applications to incorporation with web administrations, different APIs and interpersonal organizations and gives the ability to make the applications as module. It is a genuine stage with broad conceivable outcomes to investigate the coordination of the Internet of Things. The fundamental preferred position is that the framework's activity can be changed by the circumstance (crops, climate conditions, soil and so forth). By actualizing this farming, agricultural terrains, parks, gardens, greens can be watered and this is less expensive and effective when contrasted with other sort of mechanization framework. In enormous scale applications, high affectability sensors can be executed for huge territories of horticultural terrains. Likewise with this sort of usage we can have the option to diminish the dirt disintegration and wastage of water. REFERENCES: [1] S. R. Nandurkar, V.R. Thool, R. C. Thool, “Design and Development of Precision Agriculture System Using Wireless Sensor Network”, IEEE International Conference on Automation, Control, Energy and Systems (ACES), 2014 [2] 2. Joaquin Gutierrez, Juan Francisco VillaMedina, Alejandra Nieto-Garibay, and Miguel Ángel Porta-Gándara, “Automated Irrigation System Using a Wireless Sensor Network and GPRS Module”, IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, 0018-9456,2013 [3] Dr. V .Vidya Devi, G. Meena Kumari, “RealTime Automation and Monitoring System for Modernized Agriculture”, International Journal of Review and Research in Applied Sciences and Engineering (IJRRASE) Vol3 No.1. PP 7- 12, 2013 [4] Y. Kim, R. Evans and W. Iversen, “Remote Sensing and Control of an Irrigation System Using a Distributed Wireless Sensor Network”, IEEE Transactions on Instrumentation and Measurement, pp. 1379–1387, 2008. [5] Q. Wang, A. Terzis and A. Szalay, “A Novel Soil Measuring Wireless Sensor Network”, IEEE Here in this the sensors outputs are observed in graphical representation. ADVANTAGES Reducing the danger of electric stuns, passings because of noxious animals in the fields. Watering relies upon the dampness level present in the field. All the ranch parameters can see through online in graphical documentation. Efficient and low cost design. Efficient and low cost design. Fast reaction. User friendly. © 2019, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 260 International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 12 | Dec 2019 p-ISSN: 2395-0072 Transactions on Instrumentation Measurement, pp. 412–415, 2010. www.irjet.net and [6] Yoo, S.; Kim, J. Kim, T. Ahn, S.; Sung, J.; Kim, D. A2S: Automated agriculture system based on WSN. In ISCE 2007. IEEE International Symposium on Consumer Electronics, 2007, Irving, TX, USA, 2007. [7] Arampatzis, T. Lygeros, J. Manesis, S. A survey of applications of wireless sensors and Wireless Sensor Networks. In 2005 IEEE International Symposium on Intelligent Control & 13th Mediterranean Conference on Control and Automation. Limassol, Cyprus, 2005, 1-2, 719724. [8] Orazio Mirabella and Michele Brischetto, 2011. “A Hybrid Wired/Wireless Networking Infrastructure for Greenhouse Management”, IEEE transactions on instrumentation and measurement, vol. 60, no. 2, pp 398-407. [9] N. Kotamaki and S. Thessler and J. Koskiaho and A. O. Hannukkala and H. Huitu and T. Huttula and J. Havento and M. Jarvenpaa (2009). “Wireless in-situ sensor network for agriculture and water monitoring on a river basin scale in Southern Finland: evaluation from a data users perspective”. Sensors 4, 9: 2862- 2883. doi:10.3390/s90402862 2009. [10] Liu, H. Meng, Z.; Cui, S. A wireless sensor network prototype for environmental monitoring in greenhouses. International Conference on Wireless Communications, Networking and Mobile Computing (WiCom 2007), Shangai, China; 21-25 September 2007. [11] Baker, N. ZigBee and bluetooth - Strengths and weaknesses for industrial applications. Comput. Control. Eng. 2005, 16, 20-25. [12] IEEE, Wireless medium access control (MAC) and physical layer (PHY) specifications for low rate wireless personal area networks (LRWPANs). In The Institute of Electrical and Electronics Engineers Inc.: New York, NY, USA, 2003. © 2019, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 261