CN112106629A - Intelligent watering system based on adunono and control method thereof - Google Patents

Intelligent watering system based on adunono and control method thereof Download PDF

Info

Publication number
CN112106629A
CN112106629A CN202011155077.8A CN202011155077A CN112106629A CN 112106629 A CN112106629 A CN 112106629A CN 202011155077 A CN202011155077 A CN 202011155077A CN 112106629 A CN112106629 A CN 112106629A
Authority
CN
China
Prior art keywords
arduino nano
control board
water
soil
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011155077.8A
Other languages
Chinese (zh)
Inventor
李忠虎
刘恒
刘建妮
任广朋
岳明
房敏峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northwestern University
Original Assignee
Northwestern University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Northwestern University filed Critical Northwestern University
Priority to CN202011155077.8A priority Critical patent/CN112106629A/en
Publication of CN112106629A publication Critical patent/CN112106629A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01GHORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING
    • A01G27/00Self-acting watering devices, e.g. for flower-pots
    • A01G27/003Control of self-acting watering devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Water Supply & Treatment (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Environmental Sciences (AREA)
  • Cultivation Receptacles Or Flower-Pots, Or Pots For Seedlings (AREA)

Abstract

一种基于阿杜诺纳诺的智能浇水系统及其控制方法,包括有阿杜诺纳诺控制板,阿杜诺纳诺控制板的A0端与湿度传感器相连;湿度传感器插入花盆土壤中;花盆上方设有水管;水管与水泵相连通;水泵通过继电器与阿杜诺纳诺控制板相连接;水泵还与水箱相连;水箱上设有液位传感器;液位传感器与阿杜诺纳诺控制板的D2端相连;土壤湿度传感器从花盆采集数据,阿杜诺纳诺控制板对土壤湿度传感器采集的数据进行处理后,对土壤湿度进行判断,当检测到土壤湿度高于设置的阈值时,认为土壤缺水,一路继电器根据阿杜诺纳诺控制板发出的信号开启水泵,执行浇水动作;具有智能识别判断土壤缺水情况、造价低廉、使用快捷、体积轻巧、安装方便的特点。

Figure 202011155077

An intelligent watering system based on Arduino Nano and a control method thereof, comprising an Arduino Nano control board, the A0 end of the Arduino Nano control board is connected with a humidity sensor; the humidity sensor is inserted into the soil of a flowerpot There is a water pipe above the flower pot; the water pipe is connected to the water pump; the water pump is connected to the Arduino Nano control board through a relay; the water pump is also connected to the water tank; the water tank is provided with a liquid level sensor; The D2 end of the Nano control board is connected; the soil moisture sensor collects data from the flowerpot, and the Arduino Nano control board processes the data collected by the soil moisture sensor, and then judges the soil moisture. When it is detected that the soil moisture is higher than the set value When the threshold value is reached, it is considered that the soil is short of water, and one relay turns on the water pump according to the signal sent by the Arduino Nano control board to perform the watering action; it has intelligent identification and judgment of soil water shortage, low cost, fast use, light size, and easy installation. Features.

Figure 202011155077

Description

一种基于阿杜诺纳诺的智能浇水系统及其控制方法An intelligent watering system based on Arduino Nano and its control method

技术领域technical field

本发明属于灌溉技术领域,具体涉及一种基于阿杜诺纳诺的智能浇水系统及其控制方法。The invention belongs to the technical field of irrigation, and in particular relates to an intelligent watering system based on Arduino Nano and a control method thereof.

背景技术Background technique

提倡绿色文明的今天,日常生活中种植植物的人群日益增多,在校园和办公室尤为常见,土壤中含水量的高低对于植物健康生长尤为重要,但是由于放假以及日常外出,可能无法及时对植物进行正常浇水。因此,设计一种在无人管理的情况下能根据土壤湿度自动进行浇水活动的系统是非常有必要的。Today, when green civilization is advocated, the number of people who grow plants in daily life is increasing. It is especially common in campuses and offices. The level of water content in the soil is particularly important for the healthy growth of plants. watering. Therefore, it is very necessary to design a system that can automatically perform watering activities according to soil moisture without unattended management.

发明内容SUMMARY OF THE INVENTION

为克服上述现有技术的不足,本发明的目的在于提供一种基于阿杜诺纳诺的智能浇水系统及其控制方法,具有智能识别判断土壤缺水情况、造价低廉、使用快捷、体积轻巧、安装方便、寿命较长的特点。In order to overcome the above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide an intelligent watering system based on Arduino Nano and a control method thereof, which has the advantages of intelligent identification and judgment of soil water shortage, low cost, quick use and light volume. , Easy installation, long life characteristics.

为实现上述目的,本发明采用的技术方案是:一种基于阿杜诺纳诺的智能浇水系统,包括有阿杜诺纳诺控制板,阿杜诺纳诺控制板的A0端与湿度传感器相连;湿度传感器插入在花盆土壤当中;花盆上方设有水管;水管与水泵相连通;水泵通过继电器与阿杜诺纳诺控制板相连接;水泵还与水箱相连;水箱上设有液位传感器;液位传感器与阿杜诺纳诺控制板的D2端相连。In order to achieve the above purpose, the technical solution adopted in the present invention is: an intelligent watering system based on Arduino Nano, comprising an Arduino Nano control board, an A0 end of the Arduino Nano control board and a humidity sensor connected; the humidity sensor is inserted into the soil of the flower pot; the water pipe is arranged above the flower pot; the water pipe is connected with the water pump; the water pump is connected with the Arduino Nano control board through the relay; the water pump is also connected with the water tank; Sensor; the liquid level sensor is connected to the D2 terminal of the Arduino Nano control board.

所述的水泵与继电器之间的电路上设有开关。A switch is provided on the circuit between the water pump and the relay.

所述的湿度传感器采用土壤湿度传感器。The humidity sensor is a soil humidity sensor.

所述的水泵采用365水泵。The said water pump adopts 365 water pump.

所述的继电器采用一路继电器。The relay adopts a one-way relay.

所述的液位传感器采用非接触式液位传感器,设在水箱侧面。The liquid level sensor adopts a non-contact liquid level sensor, which is arranged on the side of the water tank.

所述的土壤湿度传感器所述的土壤湿度传感器采用电容式土壤湿度传感器,具有非常良好的抗土壤腐蚀能力,设在花盆土壤当中。The soil moisture sensor The soil moisture sensor adopts a capacitive soil moisture sensor, which has very good soil corrosion resistance, and is located in the soil of the flowerpot.

所述的阿杜诺纳诺控制板与电脑连接。The Arduino Nano control board is connected with the computer.

所述的土壤湿度传感器为一个,设置在花盆土壤内,用于检测花盆内土壤湿度。The soil moisture sensor is one, which is arranged in the soil of the flowerpot and is used to detect the soil moisture in the flowerpot.

一路继电器通过com端(公共端)和no(常开端)的闭合来控制365水泵执行浇水动作或者停止浇水动作。One relay controls the 365 water pump to perform watering action or stop watering action through the closing of com terminal (common terminal) and no (normally open terminal).

所述的非接触式液位传感器带有红色led灯,所述led灯用来提示水箱中的水量是否充足。The non-contact liquid level sensor is provided with a red LED light, and the LED light is used to indicate whether the water volume in the water tank is sufficient.

所述的阿杜诺纳诺(Arduino nano)控制板1还可以与电脑连接,通过Arduino IDE软件里面的串口监视器直接读取土壤湿度值。The Arduino nano control board 1 can also be connected to a computer, and the soil moisture value can be directly read through the serial monitor in the Arduino IDE software.

所述的阿杜诺纳诺(Arduino nano)控制板1还可以与电脑连接,通过Arduino IDE软件修改控制程序,实现对不同植物对土壤湿度的需求,并上传至阿杜诺纳诺(Arduinonano)控制板1。The Arduino nano control board 1 can also be connected to a computer, and the control program can be modified through the Arduino IDE software to meet the soil moisture requirements of different plants, and uploaded to the Arduino nano. Control Board 1.

一种基于阿杜诺纳诺的智能浇水系统的控制方法,其特征在于,包括以下步骤:A control method for an intelligent watering system based on Arduino Nano, characterized in that it comprises the following steps:

湿度传感器(2)输出端接阿杜诺纳诺控制板(1)的A0接口,继电器(9)控制端输入接阿杜诺纳诺控制板(1)的D6接口,液位传感器(8)输入端接阿杜诺纳诺控制板(1)的D2接口,建立整数型数据y,b分别存储湿度传感(2)器读取的数值,液位传感器(8)读取的数值,整数型a代表提前设定的湿度阈值,用户可以根据自己植物的需求对此数值进行修改,修改范围为:210-700,数值越大代表湿度越低,反之亦然;当b数值读取为低电平,代表水箱(7)缺水,无论土壤是否缺水,6引脚输出高电平水泵一直处于关闭状态;当b数值读取为高电平,代表水箱(7)水量充裕,y数值大于提前设定的阈值a时代表土壤缺水,6引脚输出低电平打开水泵,y数值低于提前设定的阈值a时代表土壤不缺水,6引脚输出高电平关闭水泵;波特率设置为9600,用户可连接到阿杜诺纳诺控制板(1)至电脑,通过串口显示功能观看实时土壤湿度数据。The output end of the humidity sensor (2) is connected to the A0 interface of the Arduino Nano control board (1), the control end input of the relay (9) is connected to the D6 interface of the Arduino Nano control board (1), and the liquid level sensor (8) The input terminal is connected to the D2 interface of the Arduino Nano control board (1), and the integer data y and b are respectively stored to store the value read by the humidity sensor (2), the value read by the liquid level sensor (8), an integer Type a represents the humidity threshold set in advance. Users can modify this value according to the needs of their plants. The modification range is: 210-700. The larger the value, the lower the humidity, and vice versa; when the b value is read as low The level indicates that the water tank (7) is short of water. Regardless of whether the soil is short of water, the 6-pin output high level pump is always off; when the b value is read as a high level, it indicates that the water tank (7) has sufficient water, and the y value When it is greater than the pre-set threshold a, it means the soil is short of water, and pin 6 outputs a low level to turn on the water pump. When the value of y is lower than the pre-set threshold a, it means that the soil is not short of water, and pin 6 outputs a high level to turn off the water pump; The baud rate is set to 9600, and the user can connect to the Arduino Nano control board (1) to the computer, and view the real-time soil moisture data through the serial port display function.

本发明的有益效果:Beneficial effects of the present invention:

本发明由于设有土壤湿度传感器,所以具有可以获得土壤湿度信息的特点,系统通过土壤湿度传感器采集信息;由于阿杜诺纳诺(Arduino nano)控制板分别通过土壤湿度传感器与探测器相连,通过一路继电器与水泵相连;使得浇水活动变得智能、简单、方便;土壤湿度传感器采用了电容式土壤湿度传感器,具有非常良好的抗土壤腐蚀能力,提高了使用寿命;通过非接触式液位传感器与水箱相连,如果水位低于设置水位,不论土壤湿度如何365水泵都不会工作,保证了365水泵的寿命和整个系统的安全,因为采用了外接触式液位传感器可以大大提高使用寿命,避免了传统水中直接检测传感器容易漏电以及易被腐蚀电路的特点;内部控制程序开源,在面对不同的植物时,只需要简单的调整控制程序里面的土壤湿度阈值即可。Since the invention is provided with a soil moisture sensor, it has the characteristics of obtaining soil moisture information, and the system collects information through the soil moisture sensor; since the Arduino nano control board is connected to the detector through the soil moisture sensor, and the One relay is connected to the water pump; it makes watering activities smart, simple and convenient; the soil moisture sensor adopts a capacitive soil moisture sensor, which has very good resistance to soil corrosion and improves the service life; through the non-contact liquid level sensor It is connected to the water tank. If the water level is lower than the set water level, the 365 water pump will not work regardless of the soil humidity, which ensures the life of the 365 water pump and the safety of the entire system. The traditional water direct detection sensor is easy to leak and the circuit is easy to be corroded; the internal control program is open source, and when facing different plants, it is only necessary to simply adjust the soil moisture threshold in the control program.

此系统适合在学校校园里面使用,也适合在各种白领办公室里面使用,同时此系统也可以推广到蔬菜、园林的自动浇灌管理上,对于实现智能化农业浇灌有着积极地推动作用。This system is suitable for use in school campuses, as well as in various white-collar offices. At the same time, this system can also be extended to the automatic watering management of vegetables and gardens, which has a positive effect on the realization of intelligent agricultural watering.

附图说明Description of drawings

图1是本发明的浇水系统硬件流程示意图。1 is a schematic diagram of the hardware flow of the watering system of the present invention.

图2是本发明的浇水系统软件流程示意图。Fig. 2 is a schematic diagram of the software flow of the watering system of the present invention.

图3是本发明的浇水系统电路原理示意图。FIG. 3 is a schematic diagram of the circuit principle of the watering system of the present invention.

图4是本发明实施例的示意图。FIG. 4 is a schematic diagram of an embodiment of the present invention.

图5是本发明阿杜诺纳诺控制板与湿度传感器、继电器连接示意图。FIG. 5 is a schematic diagram of the connection between the Arduino Nano control board, the humidity sensor and the relay according to the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步详细说明。The present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

参见图1、3、5,一种基于阿杜诺纳诺的智能浇水系统,包括有阿杜诺纳诺控制板1,阿杜诺纳诺控制板1的A0端与湿度传感器2相连;湿度传感器2插入花盆3土壤当中;花盆3上方设有水管5;水管5与水泵6相连通;水泵6通过继电器9与阿杜诺纳诺控制板1相连接;水泵6还与水箱7相连;水箱7上设有液位传感器8;液位传感器8与阿杜诺纳诺控制板1的D2端相连。1, 3, and 5, an intelligent watering system based on Arduino Nano includes an Arduino Nano control board 1, and the A0 end of the Arduino Nano control board 1 is connected to a humidity sensor 2; The humidity sensor 2 is inserted into the soil of the flower pot 3; a water pipe 5 is arranged above the flower pot 3; the water pipe 5 is communicated with the water pump 6; The water tank 7 is provided with a liquid level sensor 8; the liquid level sensor 8 is connected to the D2 end of the Arduino Nano control board 1.

所述的水泵6与继电器之间的电路上设有开关。A switch is provided on the circuit between the water pump 6 and the relay.

所述的湿度传感器2采用土壤湿度传感器。The humidity sensor 2 is a soil humidity sensor.

所述的水泵采用365水泵。The said water pump adopts 365 water pump.

所述的继电器采用一路继电器。The relay adopts a one-way relay.

所述的液位传感器采用非接触式液位传感器,设在水箱侧面。The liquid level sensor adopts a non-contact liquid level sensor, which is arranged on the side of the water tank.

阿杜诺纳诺控制板1还通过VCC端、GND端与土壤湿度传感器相连;阿杜诺纳诺控制板1的4脚、9脚、17脚分别与继电器的GND端、IN端、VCC端相连。The Arduino Nano control board 1 is also connected to the soil moisture sensor through the VCC terminal and the GND terminal; the 4 pins, 9 pins and 17 pins of the Arduino Nano control board 1 are respectively connected to the GND terminal, IN terminal and VCC terminal of the relay. connected.

所述的土壤湿度传感器为一个,设置在花盆土壤内,用于检测花盆内土壤湿度。The soil moisture sensor is one, which is arranged in the soil of the flowerpot and is used to detect the soil moisture in the flowerpot.

所述的阿杜诺纳诺(Arduino nano)控制板1与电脑连接。The Arduino nano control board 1 is connected to the computer.

所述非接触式液位传感器为一个,设置在水箱侧面,用于检测水箱内水位的高低,如果水位低于设置水位,不论土壤湿度如何365水泵都不会工作,保证了365水泵的寿命和整个系统的安全,因为采用了外接触式液位传感器可以大大提高使用寿命,避免了传统水中直接检测传感器容易漏电以及易被腐蚀电路的特点;The non-contact liquid level sensor is one, which is arranged on the side of the water tank to detect the level of the water level in the water tank. If the water level is lower than the set water level, the 365 water pump will not work regardless of the soil humidity, which ensures the life of the 365 water pump. The safety of the entire system, because the use of an external contact liquid level sensor can greatly improve the service life, avoiding the characteristics of traditional water direct detection sensors that are easy to leak and easy to corrode circuits;

判断土壤湿度的阈值是由程序内部来控住的,不是由土壤湿度传感器自身设置,避免了土壤湿度传感器出现工作故障后,系统发生错误工作。The threshold for judging soil moisture is controlled by the program, not by the soil moisture sensor itself, which prevents the system from working incorrectly after the soil moisture sensor malfunctions.

所述的水管5的出水端通过水管接头10连接多个出水口,分别浇灌6组不同的花盆3;365水泵设置在水管上。The water outlet end of the water pipe 5 is connected to a plurality of water outlets through the water pipe joint 10, and 6 groups of different flowerpots 3 are respectively watered; the 365 water pump is arranged on the water pipe.

所述一路继电器会根据Arduino nano控制板发出的信息进行工作,实现com端(公共端)和no(常开端)的闭合。The relay will work according to the information sent by the Arduino nano control board to realize the closing of the com terminal (common terminal) and the no (normally open terminal).

一路继电器通过com端(公共端)和no(常开端)闭合来控制365水泵执行浇水动作或者停止浇水动作。A relay through the com terminal (common terminal) and no (normally open terminal) is closed to control the 365 water pump to perform the watering action or stop the watering action.

所述的土壤湿度传感器根据土壤湿度的不同,传输给Arduino nano控制板不同的土壤湿度信息。The soil moisture sensor transmits different soil moisture information to the Arduino nano control board according to different soil moisture.

所述水箱外侧装有非接触式液位传感器,所述的非接触式液位传感器与Arduinonano控制板连接,所述的非接触式液位传感器带有红色led灯,所述led灯用来提示水箱中的水量是否充足。The outside of the water tank is equipped with a non-contact liquid level sensor, the non-contact liquid level sensor is connected to the Arduinonano control board, and the non-contact liquid level sensor has a red LED light, and the LED light is used to prompt Is there enough water in the tank.

Arduino nano控制板1还可以与电脑连接,通过Arduino IDE软件里面的串口监视器直接读取土壤湿度值。The Arduino nano control board 1 can also be connected to a computer, and the soil moisture value can be directly read through the serial monitor in the Arduino IDE software.

Arduino nano控制板1里面的控制程序开源并且可手动修改,在面对不同植物时,可以调整程序里面的土壤湿度阈值,并且程序包含多个判断条件,可保证系统的稳定运行,不会因为单一的传感器出现故障而出现错误工作的情况。The control program in the Arduino nano control board 1 is open source and can be modified manually. When facing different plants, the soil moisture threshold in the program can be adjusted, and the program contains multiple judgment conditions, which can ensure the stable operation of the system. The sensor malfunctions and malfunctions.

所述水管接头10为六接头,可以同时给六盆或小于六盆同一植物或者土壤含水量要求相似的植物浇水。The water pipe joint 10 is a six joint, which can simultaneously water six pots or less of the same plant or plants with similar soil water content requirements.

以六盆植物为例说明本发明的工作原理,参见图2、图4所示,土壤湿度传感器从其中任意一个花盆采集数据,当阿杜诺纳诺控制板1对土壤湿度传感器采集的数据进行处理后,对土壤湿度进行判断,当检测到土壤湿度高于设置的阈值时,认为土壤缺水,一路继电器根据阿杜诺纳诺控制板1发出的信号开启365水泵,执行浇水动作,当检测到土壤湿度低于或等于设置的阈值时,认为土壤不缺水,一路继电器根据阿杜诺纳诺控制板发出的信号关闭365水泵,关闭浇水动作。无论开启365水泵还是关闭365水泵,都是在非接触液位传感器检测到水箱水量充足的情况下进行;如果非接触液位传感器检测到水箱7的水量低于设置的水位时,365水泵6将不会执行任何操作。Taking six pots of plants as an example to illustrate the working principle of the present invention, as shown in Figure 2 and Figure 4, the soil moisture sensor collects data from any one of the flower pots. When the Arduino Nano control board 1 collects data from the soil moisture sensor After processing, the soil moisture is judged. When it is detected that the soil moisture is higher than the set threshold, it is considered that the soil is short of water, and one relay turns on the 365 water pump according to the signal sent by the Arduino Nano control board 1, and performs the watering action. When it is detected that the soil humidity is lower than or equal to the set threshold, it is considered that the soil is not lacking in water, and a relay turns off the 365 water pump according to the signal sent by the Arduino Nano control board, and closes the watering action. Whether the 365 water pump is turned on or off, it is done when the non-contact liquid level sensor detects that the water volume of the water tank is sufficient; if the non-contact liquid level sensor detects that the water volume of the water tank 7 is lower than the set water level, the 365 water pump 6 will No action will be taken.

所述的水箱外侧装有非接触式液位传感器,与Arduino nano控制板连接,非接触式液位传感器上带有红色发光led灯,当水量低于设置的水位时,led灯常亮,提示水量不足,并且停止365水泵的任何工作。The outside of the water tank is equipped with a non-contact liquid level sensor, which is connected to the Arduino nano control board. The non-contact liquid level sensor has a red LED light. When the water volume is lower than the set water level, the LED light is always on, indicating that There is not enough water, and any work on the 365 pump is stopped.

Arduino nano控制板还可以与电脑连接,通过Arduino IDE软件的串口监视器功能读取实时的土壤湿度数值,并且可以修改内部控制程序,实现实现对不同植物对土壤湿度的需求,并上传至阿杜诺纳诺(Arduino nano)控制板1。The Arduino nano control board can also be connected to a computer, and the real-time soil moisture value can be read through the serial monitor function of the Arduino IDE software, and the internal control program can be modified to meet the soil moisture requirements of different plants and upload to Arduino Arduino nano control board 1.

内部控制:Internal Control:

湿度传感器2输出端接阿杜诺纳诺控制板1的A0接口,继电器9控制端输入接阿杜诺纳诺控制板1的D6接口,液位传感器8输入端接阿杜诺纳诺控制板1的D2接口,建立整数型数据y,b分别存储湿度传感2器读取的数值,液位传感器8读取的数值,整数型a代表提前设定的湿度阈值,用户可以根据自己植物的需求对此数值进行修改,修改范围为:210-700,数值越大代表湿度越低,反之亦然;当b数值读取为低电平,代表水箱7缺水,无论土壤是否缺水,6引脚输出高电平水泵一直处于关闭状态;当b数值读取为高电平,代表水箱7水量充裕,y数值大于提前设定的阈值a时代表土壤缺水,6引脚输出低电平打开水泵,y数值低于提前设定的阈值a时代表土壤不缺水,6引脚输出高电平关闭水泵;波特率设置为9600,用户可以连接到阿杜诺纳诺控制板1至电脑,通过串口显示功能观看实时土壤湿度数据。The output terminal of humidity sensor 2 is connected to the A0 interface of the Arduino Nano control board 1, the input terminal of the relay 9 is connected to the D6 interface of the Arduino Nano control board 1, and the input terminal of the liquid level sensor 8 is connected to the Arduino Nano control board. 1's D2 interface, establish integer data y, b respectively store the value read by humidity sensor 2 and the value read by liquid level sensor 8, the integer a represents the humidity threshold set in advance, the user can according to their own plants. This value needs to be modified, the modification range is: 210-700, the larger the value, the lower the humidity, and vice versa; when the b value is read as a low level, it means that the water tank 7 is short of water, regardless of whether the soil is short of water, 6 The pin outputs a high level and the water pump is always off; when the b value is read as a high level, it means that the water in the tank 7 is sufficient, when the y value is greater than the pre-set threshold a, it means the soil is short of water, and the 6 pin outputs a low level Turn on the water pump, when the value of y is lower than the pre-set threshold value a, it means the soil is not short of water, and pin 6 outputs a high level to turn off the water pump; the baud rate is set to 9600, the user can connect to the Arduino Nano control board 1 to The computer can view the real-time soil moisture data through the serial port display function.

以上结合附图详细的描述了本发明的优选实施方式,但是,本发明并不限于上述实施方式中的具体细节,在本发明的技术构思范围内,可以对本发明技术方案进行多种简单变型,这些简单的变型均属于本发明的保护范围。The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the specific details of the above-mentioned embodiments. Within the scope of the technical concept of the present invention, various simple modifications can be made to the technical solutions of the present invention, These simple modifications belong to the protection scope of the present invention.

此外,本发明的各种不同实施方式之间也可以进行任意组合,只要其不违背本发明的思想,其同样应当视为本发明所公开的内容。In addition, the various embodiments of the present invention can also be combined arbitrarily, as long as they do not violate the spirit of the present invention, they should also be regarded as the contents disclosed in the present invention.

Claims (10)

1.一种基于阿杜诺纳诺的智能浇水系统,其特征在于,包括有阿杜诺纳诺控制板(1),阿杜诺纳诺控制板(1)的A0端与湿度传感器(2)相连;湿度传感器(2)插入花盆(3)土壤中;花盆(3)上方设有水管(5);水管(5)与水泵(6)相连通;水泵(6)通过继电器与阿杜诺纳诺控制板(1)相连接;水泵(6)还与水箱(7)相连;水箱(7)上设有液位传感器(8);液位传感器(8)与阿杜诺纳诺控制板(1)的D2端相连。1. An intelligent watering system based on Arduino Nano, characterized in that it includes an Arduino Nano control board (1), an A0 end of the Arduino Nano control board (1) and a humidity sensor ( 2) Connected; the humidity sensor (2) is inserted into the soil of the flower pot (3); a water pipe (5) is arranged above the flower pot (3); the water pipe (5) is connected with the water pump (6); The Arduino Nano control board (1) is connected; the water pump (6) is also connected to the water tank (7); the water tank (7) is provided with a liquid level sensor (8); the liquid level sensor (8) is connected to the Arduino Nano Connect to the D2 terminal of the Nuo control board (1). 2.根据权利要求1所述的一种基于阿杜诺纳诺的智能浇水系统,其特征在于,所述的水泵(6)与继电器之间的电路上设有开关。2. An Arduino Nano-based intelligent watering system according to claim 1, characterized in that a switch is provided on the circuit between the water pump (6) and the relay. 3.根据权利要求1所述的一种基于阿杜诺纳诺的智能浇水系统,其特征在于,所述的湿度传感器(2)采用土壤湿度传感器。3. An Arduino Nano-based intelligent watering system according to claim 1, wherein the humidity sensor (2) adopts a soil humidity sensor. 4.根据权利要求1所述的一种基于阿杜诺纳诺的智能浇水系统,其特征在于,所述的水泵采用365水泵。4. A kind of intelligent watering system based on Arduino Nano according to claim 1, is characterized in that, described water pump adopts 365 water pump. 5.根据权利要求1所述的一种基于阿杜诺纳诺的智能浇水系统,其特征在于,所述的继电器采用一路继电器。5 . The intelligent watering system based on Arduino Nano according to claim 1 , wherein the relay adopts one relay. 6 . 6.根据权利要求1所述的一种基于阿杜诺纳诺的智能浇水系统,其特征在于,所述的液位传感器采用非接触式液位传感器,设在水箱侧面。6 . The Arduino Nano-based intelligent watering system according to claim 1 , wherein the liquid level sensor adopts a non-contact liquid level sensor and is arranged on the side of the water tank. 7 . 7.根据权利要求1所述的一种基于阿杜诺纳诺的智能浇水系统,其特征在于,所述的土壤湿度传感器采用电容式土壤湿度传感器,具有非常良好的抗土壤腐蚀能力,设在花盆土壤当中。7. A kind of intelligent watering system based on Arduino Nano according to claim 1, is characterized in that, described soil moisture sensor adopts capacitive soil moisture sensor, has very good anti-soil corrosion ability, and is set. in pot soil. 8.根据权利要求1所述的一种基于阿杜诺纳诺的智能浇水系统,其特征在于,所述的阿杜诺纳诺控制板1与电脑连接。8 . The Arduino Nano-based intelligent watering system according to claim 1 , wherein the Arduino Nano control board 1 is connected to a computer. 9 . 9.根据权利要求 1所述的一种基于阿杜诺纳诺的智能浇水系统,其特征在于,所述的阿杜诺纳诺控制板1与电脑连接实现内部控制程序可修改并上传至阿杜诺纳诺控制板(1)。9. A kind of intelligent watering system based on Arduino Nano according to claim 1, is characterized in that, described Arduino Nano control board 1 is connected with computer to realize that internal control program can be modified and uploaded to Arduino Nano Control Board (1). 10.一种基于阿杜诺纳诺的智能浇水系统的控制方法,其特征在于,包括以下步骤:10. A control method of an intelligent watering system based on Arduino Nano, characterized in that, comprising the following steps: 湿度传感器(2)输出端接阿杜诺纳诺控制板(1)的A0接口,继电器(9)控制端输入接阿杜诺纳诺控制板(1)的D6接口,液位传感器(8)输入端接阿杜诺纳诺控制板(1)的D2接口,建立整数型数据y,b分别存储湿度传感(2)器读取的数值,液位传感器(8)读取的数值,整数型a代表提前设定的湿度阈值,用户可以根据自己植物的需求对此数值进行修改,修改范围为:210-700,数值越大代表湿度越低,反之亦然;当b数值读取为低电平,代表水箱(7)缺水,无论土壤是否缺水,6引脚输出高电平水泵一直处于关闭状态;当b数值读取为高电平,代表水箱(7)水量充裕,y数值大于提前设定的阈值a时代表土壤缺水,6引脚输出低电平打开水泵,y数值低于提前设定的阈值a时代表土壤不缺水,6引脚输出高电平关闭水泵;波特率设置为9600,用户可连接到阿杜诺纳诺控制板(1)至电脑,通过串口显示功能观看实时土壤湿度数据。The output end of the humidity sensor (2) is connected to the A0 interface of the Arduino Nano control board (1), the control end input of the relay (9) is connected to the D6 interface of the Arduino Nano control board (1), and the liquid level sensor (8) The input terminal is connected to the D2 interface of the Arduino Nano control board (1), and the integer data y and b are respectively stored to store the value read by the humidity sensor (2), the value read by the liquid level sensor (8), an integer Type a represents the humidity threshold set in advance. Users can modify this value according to the needs of their plants. The modification range is: 210-700. The larger the value, the lower the humidity, and vice versa; when the b value is read as low The level indicates that the water tank (7) is short of water. Regardless of whether the soil is short of water, the 6-pin output high level pump is always off; when the b value is read as a high level, it indicates that the water tank (7) has sufficient water, and the y value When it is greater than the pre-set threshold a, it means that the soil is short of water, and pin 6 outputs a low level to turn on the water pump. When the value of y is lower than the pre-set threshold a, it means that the soil is not short of water, and pin 6 outputs a high level to turn off the water pump; The baud rate is set to 9600, and the user can connect to the Arduino Nano control board (1) to the computer, and view the real-time soil moisture data through the serial port display function.
CN202011155077.8A 2020-10-26 2020-10-26 Intelligent watering system based on adunono and control method thereof Pending CN112106629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011155077.8A CN112106629A (en) 2020-10-26 2020-10-26 Intelligent watering system based on adunono and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011155077.8A CN112106629A (en) 2020-10-26 2020-10-26 Intelligent watering system based on adunono and control method thereof

Publications (1)

Publication Number Publication Date
CN112106629A true CN112106629A (en) 2020-12-22

Family

ID=73794958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011155077.8A Pending CN112106629A (en) 2020-10-26 2020-10-26 Intelligent watering system based on adunono and control method thereof

Country Status (1)

Country Link
CN (1) CN112106629A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103875508A (en) * 2014-03-11 2014-06-25 长安大学 Intelligent flower watering system controlled by mobile phone Bluetooth or PC and control method of intelligent flower watering system
CN203748366U (en) * 2014-03-11 2014-08-06 长安大学 Intelligent flower watering device
CN206728806U (en) * 2016-12-07 2017-12-12 王佳萱 A kind of automatic flower-watering device
CN207541452U (en) * 2017-11-17 2018-06-26 高艺嘉 An automatic humidity control system for intelligent watering flowerpots
KR20180088963A (en) * 2017-01-30 2018-08-08 금오공과대학교 산학협력단 Water supply device for potted plants
CN111194685A (en) * 2020-03-23 2020-05-26 扬州大学 A household watering system based on arduino development board
CN214206697U (en) * 2020-10-26 2021-09-17 西北大学 Intelligent watering system based on adunono

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103875508A (en) * 2014-03-11 2014-06-25 长安大学 Intelligent flower watering system controlled by mobile phone Bluetooth or PC and control method of intelligent flower watering system
CN203748366U (en) * 2014-03-11 2014-08-06 长安大学 Intelligent flower watering device
CN206728806U (en) * 2016-12-07 2017-12-12 王佳萱 A kind of automatic flower-watering device
KR20180088963A (en) * 2017-01-30 2018-08-08 금오공과대학교 산학협력단 Water supply device for potted plants
CN207541452U (en) * 2017-11-17 2018-06-26 高艺嘉 An automatic humidity control system for intelligent watering flowerpots
CN111194685A (en) * 2020-03-23 2020-05-26 扬州大学 A household watering system based on arduino development board
CN214206697U (en) * 2020-10-26 2021-09-17 西北大学 Intelligent watering system based on adunono

Similar Documents

Publication Publication Date Title
CN201057735Y (en) Automatic drip irrigation device for potted flowers
CN206302746U (en) A kind of intelligent miniature drip irrigation system
CN204968823U (en) Automatic irrigation equipment in farmland
CN202652935U (en) Digital control flower watering system
CN206251705U (en) A kind of solar energy water saving plant intelligent irrigator
CN205962168U (en) Intelligence control system that waters flowers
CN214206697U (en) Intelligent watering system based on adunono
CN112106629A (en) Intelligent watering system based on adunono and control method thereof
CN203692074U (en) Intelligent greenhouse drip irrigation system
CN205320696U (en) Intelligence system of growing flower based on wifi cloud
CN101167437A (en) An automatic control device for insufficient irrigation
CN204634589U (en) Intelligence automatic flower-watering device
CN204518739U (en) A kind of monolithic processor controlled rain water using device
CN207543725U (en) A kind of Intelligent watering flowerpot
CN200994322Y (en) Instant irrigator based on crop acoustic transmitting technology
CN204540228U (en) A kind of long-range flower-watering system
CN209768492U (en) An automatic watering system
CN208708360U (en) Automatic watering controller
CN107156011A (en) Fish pond is propagated in a kind of intellectuality artificially
CN207118485U (en) A kind of new fish pond building based on automatic oxygen
CN205389760U (en) Intelligence rain making system
CN208128953U (en) Intelligent irrigation flowerpot
CN207626281U (en) A kind of automatic sprinkler
CN205681994U (en) A kind of automatic dripping irrigation is watered flowers pallet
CN206791260U (en) A kind of intelligent Sprinkling Irrigation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination