Intelligent watering network system
The present invention relates to intellectual technology and use, more particularly, relate to a kind of intelligent watering network system that can control watering system by network.
Watering apparatus and system that existing various family or urban landscaping are used, generally be to open all the water water source or the water source that partly waters by Artificial Control, promptly regularly open part valve a period of time, perhaps control these valve switch with timer, usually be arranged on the scene, the time schedule controllers of complexity that adopt are controlled more, adopt these traditional control methods very inconvenient sometimes, can not satisfy people's various needs, for example when go on business in the strange land, water for the flowers and plants in the family; Still can start watering system and waste water resource during rainfall; Perhaps may soil not the lack of water timesharing repeat to water and cause water resource waste etc.Continuous development along with the network information technology, LAN, Internet and WAP The Application of Technology are all ripe gradually, people can pass through computer, mobile phone or other terminal logon whenever and wherever possible, and the remote auto control for watering system has simultaneously proposed requirement.
The purpose of this invention is to provide a kind of intelligent watering network system, can overcome many shortcomings that the tradition mode of watering exists, not only can implement simple operations in the locality and finish automatic watering control, and can realize checking the situation of watering whenever and wherever possible and implement the long-range water management of watering, utilize the existing network technology, can realize the real time inspection of this intelligent watering system and the Based Intelligent Control of optimization are reached the reasonable use of water purpose in the place of any energy logon.
The objective of the invention is to reach by following scheme, construct a kind of intelligent watering network system, comprise the sprinkler that connects by communication network, each sprinkler comprises one or more valves that the water yield is regulated that are used for that are installed in the pipeline that waters, each sprinkler also comprises single-chip microcomputer, the network communication interface that is connected with single-chip microcomputer input/outbound port, output a control signal to the relay of described magnetic valve, described network communication interface is connected with home server communication or remote server by communication network, described single-chip microcomputer is controlled the folding of described magnetic valve by the control command or the parameter of described network communication interface reception from server by the relay that is connected with its output port.
In according to intelligent watering network system provided by the invention, described single-chip microcomputer is built-in or be circumscribed with the rewritable non-volatile memory, is used to store watering time, water yield control are carried out in control by described magnetic valve program and parameter.
In according to intelligent watering network system provided by the invention, described input of single chip is connected with sensing unit, described sensing unit can be sent to server by described network communication interface with the duty of surrounding environment parameter or magnetic valve under described Single-chip Controlling.
In according to intelligent watering network system provided by the invention, with the home server of described network communication interface both-way communication can be by the remote network access internet.
In according to intelligent watering network system provided by the invention, described sensing unit comprises the temperature and humidity of measuring surrounding environment, measured data are fed back to the Temperature Humidity Sensor of single-chip microcomputer, and single-chip microcomputer is controlled magnetic valve work according to corresponding program in these data selection memories.
In according to intelligent watering network system provided by the invention, described sensing unit comprise detect have rainfall or (with) soil moisture sensor, and measured data are fed back to single-chip microcomputer, single-chip microcomputer is adjusted the work of control magnetic valve automatically according to these data.
In according to intelligent watering network system provided by the invention, described memory is a scratch pad memory, and its inner resident simple substitute control program is used for using under non-presence when dispatching from the factory; After the online networking of described intelligent watering network system, can require by the home server download control program or select to download suitable execution Agent by the Internet automatically from long-range manufacturer Control Server and control magnetic valve according to environment, season or other are personalized.
In according to intelligent watering network system provided by the invention, described communication interface can be can with the wired and wireless communication interface of home server both-way communication, can be the RS232 serial port, comprise serial port chip and connector.Watering system carries out communication by described serial port and external network, finishes the reception and the transmission of data.
In according to intelligent watering network system provided by the invention, also has the feedback line that the current state of described relay is fed back to single-chip microcomputer between described relay and the single-chip microcomputer, just can feed back to single-chip microcomputer by the folding condition that magnetic valve is current, realize the function of relay and sensor simultaneously.
Intelligent watering network system provided by the invention is formed by a plurality of sprinkler interconnection, and each sprinkler adds network communication interface, single-chip microcomputer, memory and sensor on the basis of conventional water hose magnetic valve.Can or select to download suitable execution Agent by the Internet automatically from long-range manufacturer Control Server and control magnetic valve by the home server download control program.The user by terminals such as computer, mobile phones, can check the situation around the water solenoid valve in any place that can logon, and can beam back control instruction and change its duty.This intelligent watering network system can be applicable to multiple place, for example is used for family and waters the intelligent watering system that flowers and plants, urban landscaping, farmland, orchard etc. are located, and can also realize multiple function in conjunction with various sensors, in the every field wide popularization and application.
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the fundamental diagram of sprinkler in the intelligent watering network system provided by the invention;
Fig. 2 is the circuit diagram of intelligent watering network system provided by the invention.
As shown in Figure 1, intelligent watering network system provided by the invention, by a plurality of sprinklers that connect by LAN or telenet, each sprinkler comprises watering tube and is contained in the interior magnetic valve 6 of water pipe; The communication interface of being made up of serial port chip 21 and connector 22 that is connected external network 2, input control signal are to the relay 3 of described magnetic valve 6, the single-chip microcomputer 1 that is connected with described communication interface 2 and described relay 3, the memory 4 that is connected with described single-chip microcomputer 1, the sensor 5 that is connected with described single-chip microcomputer 1, described network watering system can be connected to home server 7 by communication interface 1, is connected on the internet 8 by home server 7 again; Described memory 4 storages are used to control the program of magnetic valve 6 work; Described sensor 5 is used for the duty of surrounding environment feature or magnetic valve 6 is fed back to single-chip microcomputer 1.
In the present embodiment, described single-chip microcomputer 1 can receive the control signal by communication interface 2 inputs, is input to relay 3 again; Can also download new control program from the Internet and store in the memory 4; The data that described single-chip microcomputer 1 can also read sensor 5 be sent are with control network watering system, and the user can 8 understand the watering system ambient conditions from the internet by home server 7, and then selects suitable control program to control.
In the present embodiment, sensor 5 can be a temperature and humidity of measuring surrounding environment, measured data are fed back to the Temperature Humidity Sensor of single-chip microcomputer 1, single-chip microcomputer 1 is adjusted the working law of control magnetic valve 6 automatically according to corresponding program in these data selection memories, just water less when for example humidity is higher, just water when humidity is low more.
Sensor 5 can also be to detect to have or not rainfall and rainfall, measured data are fed back to the rain sensor of single-chip microcomputer 1, single-chip microcomputer 1 is adjusted 8 work of control magnetic valve automatically according to these data, when for example having detected rainfall, do not need within 10 hours to rewater, if rainfall is big especially, then all need not rewater in 48 hours.And sensor 5 is not limited in above-mentioned functions, also can select corresponding sensor according to user's needs.
In the present embodiment, memory 4 is scratch pad memories, and described memory is a scratch pad memory, and its inner resident simple substitute control program is used for using under non-presence when dispatching from the factory; After the online networking of described intelligent watering network system, can require by the home server download control program or select to download suitable execution Agent by the Internet automatically from long-range manufacturer Control Server and control magnetic valve according to environment, season or other are personalized.Time in rainy season for example, just select the control program of not water outlet or few water outlet, water the water yield etc. with distinct program control respectively for the plant that water requirement is different.
Be the circuit diagram of intelligent watering network system of the present invention as shown in Figure 2, wherein sensor, relay and magnetic valve do not draw in the drawings, as can be seen from the figure, consist of inner components and parts direct current power source supplying power by rectifier bridge 11 and three-terminal voltage-stabilizing source 12; The communication interface that is connected with the external world is a serial port, comprises serial port chip 21 and connector 22, and wherein serial port chip 21 adopts MAX202, and the network watering system carries out communication by described serial port and external network, finishes the reception and the transmission of data; The single-chip microcomputer 1 that plays the core control action adopts AT89C2051, and the signal of single-chip microcomputer 1 output outputs to relay by connector 14 behind PNP triode 13.