CN205193641U - Wireless vegetable greenhouse intelligent system based on ARM - Google Patents
Wireless vegetable greenhouse intelligent system based on ARM Download PDFInfo
- Publication number
- CN205193641U CN205193641U CN201520927412.XU CN201520927412U CN205193641U CN 205193641 U CN205193641 U CN 205193641U CN 201520927412 U CN201520927412 U CN 201520927412U CN 205193641 U CN205193641 U CN 205193641U
- Authority
- CN
- China
- Prior art keywords
- module
- wireless
- chip microcomputer
- sensor
- intelligent system
- 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.)
- Expired - Fee Related
Links
- 235000013311 vegetables Nutrition 0.000 title claims abstract description 34
- CURLTUGMZLYLDI-UHFFFAOYSA-N Carbon dioxide Chemical compound O=C=O CURLTUGMZLYLDI-UHFFFAOYSA-N 0.000 claims abstract description 43
- 238000004891 communication Methods 0.000 claims abstract description 30
- 238000001514 detection method Methods 0.000 claims abstract description 29
- 229910002092 carbon dioxide Inorganic materials 0.000 claims abstract description 21
- 239000001569 carbon dioxide Substances 0.000 claims abstract description 20
- 238000005286 illumination Methods 0.000 claims 8
- 150000001875 compounds Chemical class 0.000 claims 2
- 238000012544 monitoring process Methods 0.000 abstract description 9
- 238000006243 chemical reaction Methods 0.000 abstract description 8
- 230000005540 biological transmission Effects 0.000 abstract description 6
- 239000004973 liquid crystal related substance Substances 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 8
- 239000003990 capacitor Substances 0.000 description 6
- 239000002131 composite material Substances 0.000 description 5
- 238000011161 development Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 239000002689 soil Substances 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 238000005303 weighing Methods 0.000 description 2
- 238000012271 agricultural production Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Landscapes
- Cultivation Of Plants (AREA)
Abstract
本实用新型涉及一种基于ARM的无线蔬菜大棚智能系统,包括复数个设置于蔬菜大棚中的用以数据检测和输出控制的下位机与一用以数据显示、数据设定与数据传送的上位机;所述下位机包括单片机以及与其相连的控制模块、液晶显示模块、报警模块、A/D转换模块与无线通信模块;A/D转换模块还与温度检测模块、湿度检测模块、光照强度检测模块以及二氧化碳浓度检测模块相连;所述上位机包括单片机以及与其相连的无线通信模块、显示模块、报警模块、按键模块以及用以与PC机通信的PC控制器。本实用新型提供的系统通过实时监测采集蔬菜大棚的栽培环境,使蔬菜内部的各参量指标符合蔬菜的最佳生长环境要求,以保证蔬菜的正常增长和降低人工监控、提高经济效益。
The utility model relates to an ARM-based wireless vegetable greenhouse intelligent system, which includes a plurality of lower computers for data detection and output control and an upper computer for data display, data setting and data transmission, which are arranged in the vegetable greenhouse ; The lower computer includes a single-chip microcomputer and a control module connected to it, a liquid crystal display module, an alarm module, an A/D conversion module and a wireless communication module; the A/D conversion module is also connected with a temperature detection module, a humidity detection module, and a light intensity detection module It is connected with the carbon dioxide concentration detection module; the host computer includes a single-chip microcomputer and a wireless communication module connected thereto, a display module, an alarm module, a key module and a PC controller for communicating with the PC. The system provided by the utility model monitors and collects the cultivation environment of vegetable greenhouses in real time, so that each parameter index inside the vegetables meets the requirements of the optimal growth environment of vegetables, so as to ensure the normal growth of vegetables, reduce manual monitoring, and improve economic benefits.
Description
技术领域 technical field
本实用新型涉及温室系统领域,特别是一种基于ARM的无线蔬菜大棚智能系统。 The utility model relates to the field of greenhouse systems, in particular to an ARM-based wireless vegetable greenhouse intelligent system.
背景技术 Background technique
近年来,我国农业温室生产的现代化改革一直在推进,要想提高农业生产效率,除了机械设备的更新,对自然环境的掌握、对农作物的现代化管理同样是节约人力资源、提高作物产量的重要手段。我国在《国家中长期科学和技术发展规划纲要(2006━2020年)》中明确将中农业精准作业与信息化作为重点领域和优先主题。在现在的中国,农民经常步行几公里到田间地头查看作物的温度、光照、土壤湿度、土壤酸碱度、CO2(二氧化碳)浓度等信息。由于步行距离远就只能隔三差五地去,这样就不能及时快速的了解信息,耽误了对作物的黄金管理时间。尤其在南方像温室蔬菜大棚,花卉苗圃园区这些高投入、高集中率、高产出、高价格并且对生长环境要求比较高的产品,如果不能及时快速地收集观测到它的生长信息并作出调整,作物一旦面临土壤酸碱度失调,光照不足,土壤干旱等问题作物的生长周期就可能延长,生产成本就可能增加。更加严重的情况是在冬天,中国传统的方式就是白天人员隔几个小时人工巡查一次,但是在夜间温度比白天下降的更快,温度变化更加难以估测,尤其是夜间人员需要休息,如果发生意外短短的几个小时的低温没有及时调整就可能导致整个大棚内的作物全部冻死或者大幅的减产,造成几万元甚至十几万元的损失。对于菜农来说损失将是无法弥补的。 In recent years, the modernization reform of agricultural greenhouse production in my country has been advancing. In order to improve agricultural production efficiency, in addition to updating mechanical equipment, mastering the natural environment and modern management of crops are also important means to save human resources and increase crop yields. . In the "National Medium- and Long-Term Science and Technology Development Plan (2006-2020)", China clearly regards the precision operation and informatization of agriculture as a key field and a priority theme. In today's China, farmers often walk several kilometers to the fields to check crop temperature, light, soil moisture, soil pH, CO2 (carbon dioxide) concentration and other information. Due to the long walking distance, you can only go to different places, so you can't get information in time and quickly, which delays the golden management time for crops. Especially in the south, if the products with high investment, high concentration rate, high output, high price and relatively high requirements on the growth environment, such as greenhouse vegetable greenhouses and flower nursery parks, cannot collect and observe its growth information in time and make adjustments , Once crops face soil pH imbalance, insufficient light, soil drought and other problems, the growth cycle of crops may be prolonged, and production costs may increase. The more serious situation is in winter. The traditional method in China is to manually inspect the personnel every few hours during the day, but the temperature drops faster at night than during the day, and the temperature change is more difficult to predict. Especially at night, personnel need to rest. Unexpectedly, the low temperature in just a few hours is not adjusted in time, which may cause all the crops in the entire greenhouse to freeze to death or greatly reduce production, resulting in losses of tens of thousands or even hundreds of thousands of yuan. For vegetable farmers, the loss will be irreparable.
目前,日本、美国以及荷兰和以色列等国的农业温室监测系统已经比较先进,在中国台湾地区,一些珍贵的苗圃花卉园区也开始引入现代化的监测管理系统。但是这些设备大都类似于总线型工业控制系统,设备价格高昂;布线繁琐;而且需要特别订制的温室骨架做支持;只适合公司化、集团化的高投资建设生产。而中国当前温室发展状况是,以家庭为单位建设温室、每户温室数量较少、可投入资金相当有限,而传统的基于RS485和总线的温室监控系统布线复杂、成本高昂。随着WSN技术的发展,设计一套从经济成本上、安装部署效率、使用习惯上都适合中国温室农民的远程无线监测系统,对于实现农业精准作业、提升人员管理效率、提高生产力对于中国目前的温室农户和国家农业现代化推广来说具有非常重要的意义。 At present, the agricultural greenhouse monitoring systems in Japan, the United States, the Netherlands, Israel and other countries are relatively advanced. In Taiwan, some precious nursery flower gardens have also begun to introduce modern monitoring and management systems. However, most of these devices are similar to bus-type industrial control systems. The equipment is expensive; the wiring is cumbersome; and it needs a specially customized greenhouse framework for support; it is only suitable for high-investment construction and production of companies and groups. The current development of greenhouses in China is that greenhouses are built on a family basis, the number of greenhouses per household is small, and the investment funds are quite limited. The traditional greenhouse monitoring system based on RS485 and bus is complex and expensive. With the development of WSN technology, designing a remote wireless monitoring system that is suitable for Chinese greenhouse farmers in terms of economic cost, installation and deployment efficiency, and usage habits will help realize agricultural precision operations, improve personnel management efficiency, and increase productivity. It is of great significance to greenhouse farmers and the promotion of national agricultural modernization.
实用新型内容 Utility model content
有鉴于此,本实用新型的目的是提供一种基于ARM的无线蔬菜大棚智能系统,通过实时监测采集蔬菜大棚的栽培环境,使蔬菜内部的各参量指标符合蔬菜的最佳生长环境要求,以保证蔬菜的正常增长和降低人工监控、提高经济效益。 In view of this, the purpose of this utility model is to provide an ARM-based wireless vegetable greenhouse intelligent system, through real-time monitoring and collection of the cultivation environment of vegetable greenhouses, so that each parameter index inside the vegetables meets the requirements of the best growing environment for vegetables, so as to ensure The normal growth of vegetables and reduce manual monitoring, improve economic benefits.
本实用新型采用以下方案实现:一种基于ARM的无线蔬菜大棚智能系统,包括复数个设置于蔬菜大棚中的用以数据检测和输出控制的下位机与一用以数据显示、数据设定与数据传送的上位机;所述下位机包括单片机以及与其相连的控制模块、液晶显示模块、报警模块、A/D转换模块与无线通信模块;所述A/D转换模块还与温度检测模块、湿度检测模块、光照强度检测模块以及二氧化碳浓度检测模块相连;所述上位机包括单片机以及与其相连的无线通信模块、显示模块、报警模块、按键模块以及用以与PC机通信的PC控制器。 The utility model is realized by the following scheme: an ARM-based wireless vegetable greenhouse intelligent system, including a plurality of lower computers for data detection and output control and a data display, data setting and data The upper computer that transmits; The lower computer includes a single-chip microcomputer and a control module connected to it, a liquid crystal display module, an alarm module, an A/D conversion module and a wireless communication module; the A/D conversion module is also connected with a temperature detection module and a humidity detection module. The module, the light intensity detection module and the carbon dioxide concentration detection module are connected; the host computer includes a single-chip microcomputer and a wireless communication module connected to it, a display module, an alarm module, a key module and a PC controller for communicating with the PC.
进一步地,所述上位机中的单片机为STM32单片机。 Further, the single-chip microcomputer in the host computer is an STM32 single-chip microcomputer.
进一步地,所述下位机中的单片机为STC89C52单片机。由于下位机需要较大的存储量,因此选择一个数据和程序容量较大的单片机,就不用扩展数据和程序存储器。经过权衡各种控制器芯片,最终采用STC89C52单片机作为核心控制器。该单片机有较强的指令寻址和运算功能,算术运算功能强,软件编程灵活,易于实现人机对话,可以用软件简单地实现算法和逻辑控制、成本较低。且其外围电路比较复杂,抗干扰能力较理想,性价比高,容易烧写程序。所述STC89C52单片机是一款8051的MCU,包含16/32/64kBFlash和1024字节的数据RAM。 Further, the single-chip microcomputer in the lower computer is an STC89C52 single-chip microcomputer. Because the lower computer needs a larger storage capacity, it is not necessary to expand the data and program memory if you choose a single-chip microcomputer with a larger data and program capacity. After weighing various controller chips, the STC89C52 single-chip microcomputer is finally used as the core controller. The single-chip microcomputer has strong instruction addressing and calculation functions, strong arithmetic operation function, flexible software programming, easy to realize man-machine dialogue, and can simply realize algorithm and logic control with software, and the cost is low. And its peripheral circuit is relatively complex, the anti-interference ability is ideal, the cost performance is high, and it is easy to program. The STC89C52 microcontroller is an 8051 MCU, including 16/32/64kB Flash and 1024 bytes of data RAM.
进一步地,所述温度检测模块包括一用以采集温度值的温度传感器;所述湿度检测模块包括一用以采集湿度的湿度传感器;所述光照强度检测模块包括一用以采集光照强度的光照强度传感器;所述二氧化碳浓度检测模块包括一用以采集二氧化碳浓度的二氧化碳传感器。 Further, the temperature detection module includes a temperature sensor for collecting temperature values; the humidity detection module includes a humidity sensor for collecting humidity; the light intensity detection module includes a light intensity sensor for collecting light intensity Sensor; the carbon dioxide concentration detection module includes a carbon dioxide sensor for collecting carbon dioxide concentration.
进一步地,所述光照强度传感器为BH1750;所述二氧化碳传感器为MG811;所述温度传感器与湿度传感器为温湿度复合传感器,所述温湿度复合传感器为DHT11。 Further, the light intensity sensor is BH1750; the carbon dioxide sensor is MG811; the temperature sensor and humidity sensor are temperature and humidity composite sensors, and the temperature and humidity composite sensor is DHT11.
进一步地,所述控制模块包括有温度输出控制电路、湿度输出控制电路、二氧化碳浓度输出控制电路;所述温度输出控制电路、湿度输出控制电路以及二氧化碳浓度输出控制电路均包括一用以实现开关控制的继电器;所述光照强度控制电路包括一用以表示光照强度的LED灯。下位机的单片机I/O口通过光耦输出控制继电器开关作用,实现对输出端器件的控制;另外该单片机通过ULN2003的控制提高输出带载能力,实现单片机对LED灯的PWM控制亮暗程度。 Further, the control module includes a temperature output control circuit, a humidity output control circuit, and a carbon dioxide concentration output control circuit; the temperature output control circuit, humidity output control circuit, and carbon dioxide concentration output control circuit each include a switch control circuit The relay; the light intensity control circuit includes an LED light used to indicate the light intensity. The I/O port of the single-chip microcomputer of the lower computer controls the switching function of the relay through the optocoupler output to realize the control of the output device; in addition, the single-chip microcomputer improves the output load capacity through the control of ULN2003, and realizes the PWM control of the single-chip microcomputer to the brightness of the LED light.
进一步地,所述无线通信模块为NRF24L01微功率无线通信模块,该模块为Nordic公司的NRF24L01芯片,2.4G全球开发ISM频段免许可证使用,最高工作速率达2Mbps,125频道满足多点通信和跳频通信需要,体积小巧约31mm*17mm,高效GFSK调制,抗干扰能力强,特别适合无线音视频传输、工业控制领域等需要较大传输速率的无线通讯需求。 Further, the wireless communication module is an NRF24L01 micropower wireless communication module, which is the NRF24L01 chip of Nordic Company, and the 2.4G global development ISM frequency band is license-free, with a maximum working rate of 2Mbps, and 125 channels to meet multi-point communication and hopping High-frequency communication needs, small size about 31mm*17mm, high-efficiency GFSK modulation, strong anti-interference ability, especially suitable for wireless audio and video transmission, industrial control fields and other wireless communication needs that require a large transmission rate.
进一步地,所述上位机与下位机均包括一用以提供5V电源的电源模块,所述电源模块包括三段稳压器7805、二极管、电容以及电阻。由于变压器可产生12V左右的辅助交流电,辅助电源的输入端电源由12V变压器的辅助线圈提供,经过整流桥D整流后分别经电容C1、C2和电容C5、C6滤成平稳的12V作为三端稳压器LM7805的输入电源,三端稳压器LM7805的输出端经过电容C3、C4和电容C7、C8滤波后就可得到5V的稳定直流电压,该5V电压可作为单片机和LCD显示屏等供电。 Further, both the upper computer and the lower computer include a power module for providing 5V power, and the power module includes a three-stage voltage regulator 7805, diodes, capacitors and resistors. Since the transformer can generate auxiliary AC power of about 12V, the input power of the auxiliary power supply is provided by the auxiliary coil of the 12V transformer. The input power of the voltage regulator LM7805, the output of the three-terminal voltage regulator LM7805 can be filtered by capacitors C3, C4 and capacitors C7, C8 to obtain a stable DC voltage of 5V, which can be used as a power supply for microcontrollers and LCD displays.
在本实用新型中,一种基于ARM的无线蔬菜大棚智能系统的实现方法,包括以下步骤: In the utility model, a method for realizing an ARM-based wireless vegetable greenhouse intelligent system includes the following steps:
步骤S1:下位机中采用传感器采集当前蔬菜大棚中的光照强度、湿度、温度以及二氧化碳浓度数据,采集到的数据通过A/D转换模块输入单片机处理后在显示模块显示相应的数据,并通过无线通信模块发送给上位机; Step S1: The lower computer uses the sensor to collect the data of light intensity, humidity, temperature and carbon dioxide concentration in the current vegetable greenhouse. The collected data is input to the single-chip computer through the A/D conversion module for processing, and then the corresponding data is displayed on the display module. The communication module sends it to the host computer;
步骤S2:所述上位机通过无线通信模块接收下位机发送的数据信号,在显示模块显示相应的数值,所述上位机中的单片机将接收到的数值与设定的数值进行比较,若接收到的数值与设定的数值不相等,则所述上位机中报警模块发出报警,并且通过无线通信模块发送控制信号给所述下位机,通过PC控制器将数据发送给PC机实现保存和记录数据; Step S2: The upper computer receives the data signal sent by the lower computer through the wireless communication module, and displays the corresponding value on the display module, and the single-chip microcomputer in the upper computer compares the received value with the set value, if received value is not equal to the set value, then the alarm module in the upper computer sends an alarm, and sends a control signal to the lower computer through the wireless communication module, and sends the data to the PC through the PC controller to save and record the data ;
步骤S3:所述下位机的无线通信模块接收控制信号,并将控制信号传输至所述下位机中的单片机,所述单片机实现对所述下位机中的控制模块的输出控制。 Step S3: The wireless communication module of the lower computer receives the control signal, and transmits the control signal to the single-chip microcomputer in the lower computer, and the single-chip microcomputer realizes the output control of the control module in the lower computer.
因此,本实用新型中上位机可通过分时接收下位机的通信信号,并且进行相应的分析和处理,最终实现ARM主控器对多下位机系统的控制。 Therefore, the upper computer in the utility model can receive the communication signals of the lower computers in time-sharing, and perform corresponding analysis and processing, and finally realize the control of the multi-lower computer system by the ARM main controller.
与现有技术相比,本实用新型提供的系统通过实时监测采集蔬菜大棚的栽培环境,使蔬菜内部的各参量指标符合蔬菜的最佳生长环境要求,以保证蔬菜的正常增长和降低人工监控、提高经济效益。 Compared with the prior art, the system provided by the utility model collects the cultivation environment of the vegetable greenhouse through real-time monitoring, so that each parameter index inside the vegetable meets the requirements of the optimal growth environment of the vegetable, so as to ensure the normal growth of the vegetable and reduce manual monitoring, Improve economic efficiency.
附图说明 Description of drawings
图1是本实用新型的系统电路模块示意图。 Fig. 1 is a schematic diagram of a system circuit module of the present invention.
图2为本实用新型的下位机电路模块示意图。 Fig. 2 is a schematic diagram of the lower computer circuit module of the present invention.
具体实施方式 detailed description
下面结合附图及实施例对本实用新型做进一步说明。 Below in conjunction with accompanying drawing and embodiment the utility model is described further.
本实施例提供一种基于ARM的无线蔬菜大棚智能系统,如图1和图2所示,包括复数个设置于蔬菜大棚中的用以数据检测和输出控制的下位机与一用以数据显示、数据设定与数据传送的上位机;所述下位机包括单片机以及与其相连的控制模块、液晶显示模块、报警模块、A/D转换模块与无线通信模块;所述A/D转换模块还与温度检测模块、湿度检测模块、光照强度检测模块以及二氧化碳浓度检测模块相连;所述上位机包括单片机以及与其相连的无线通信模块、显示模块、报警模块、按键模块以及用以与PC机通信的PC控制器。 This embodiment provides an ARM-based wireless vegetable greenhouse intelligent system, as shown in Figure 1 and Figure 2, including a plurality of lower computers for data detection and output control and a data display, The upper computer for data setting and data transmission; the lower computer includes a single-chip microcomputer and a control module connected to it, a liquid crystal display module, an alarm module, an A/D conversion module and a wireless communication module; the A/D conversion module is also connected to the temperature The detection module, the humidity detection module, the light intensity detection module and the carbon dioxide concentration detection module are connected; the host computer includes a single-chip microcomputer and a wireless communication module connected to it, a display module, an alarm module, a key module and a PC control for communicating with the PC device.
在本实施例中,所述上位机中的单片机为STM32单片机。 In this embodiment, the single-chip microcomputer in the host computer is an STM32 single-chip microcomputer.
在本实施例中,所述下位机中的单片机为STC89C52单片机。由于下位机需要较大的存储量,因此选择一个数据和程序容量较大的单片机,就不用扩展数据和程序存储器。经过权衡各种控制器芯片,最终采用STC89C52单片机作为核心控制器。该单片机有较强的指令寻址和运算功能,算术运算功能强,软件编程灵活,易于实现人机对话,可以用软件简单地实现算法和逻辑控制、成本较低。且其外围电路比较复杂,抗干扰能力较理想,性价比高,容易烧写程序。所述STC89C52单片机是一款8051的MCU,包含16/32/64kBFlash和1024字节的数据RAM。 In this embodiment, the single-chip microcomputer in the lower computer is a STC89C52 single-chip microcomputer. Because the lower computer needs a larger storage capacity, it is not necessary to expand the data and program memory if you choose a single-chip microcomputer with a larger data and program capacity. After weighing various controller chips, the STC89C52 single-chip microcomputer is finally used as the core controller. The single-chip microcomputer has strong instruction addressing and calculation functions, strong arithmetic operation function, flexible software programming, easy to realize man-machine dialogue, and can simply realize algorithm and logic control with software, and the cost is low. And its peripheral circuit is relatively complex, the anti-interference ability is ideal, the cost performance is high, and it is easy to program. The STC89C52 microcontroller is an 8051 MCU, including 16/32/64kB Flash and 1024 bytes of data RAM.
在本实施例中,所述温度检测模块包括一用以采集温度值的温度传感器;所述湿度检测模块包括一用以采集湿度的湿度传感器;所述光照强度检测模块包括一用以采集光照强度的光照强度传感器;所述二氧化碳浓度检测模块包括一用以采集二氧化碳浓度的二氧化碳传感器。 In this embodiment, the temperature detection module includes a temperature sensor for collecting temperature values; the humidity detection module includes a humidity sensor for collecting humidity; the light intensity detection module includes a temperature sensor for collecting light intensity The light intensity sensor; the carbon dioxide concentration detection module includes a carbon dioxide sensor for collecting carbon dioxide concentration.
在本实施例中,所述光照强度传感器为BH1750;所述二氧化碳传感器为MG811;所述温度传感器与湿度传感器为温湿度复合传感器,所述温湿度复合传感器为DHT11。 In this embodiment, the light intensity sensor is BH1750; the carbon dioxide sensor is MG811; the temperature sensor and humidity sensor are temperature and humidity composite sensors, and the temperature and humidity composite sensor is DHT11.
其中,光照强度传感器的功能简介如下:BH1750FVI是一种用于两线式串行总线接口的数字型光强度传感器集成电路。这种集成电路可以根据收集的光线强度数据来调整液晶或者键盘背景灯的亮度。利用它高分辨率可探测较大范围变化。 Among them, the brief introduction of the function of the light intensity sensor is as follows: BH1750FVI is a digital light intensity sensor integrated circuit for two-wire serial bus interface. This integrated circuit can adjust the brightness of the LCD or keyboard backlight according to the collected light intensity data. Use its high resolution to detect a wide range of changes.
二氧化碳传感器模块的功能简介如下:MG811具有对CO2有良好的灵敏度和选择性,受温湿度的变化影响较小,良好的稳定性、再现性。 The functional introduction of the carbon dioxide sensor module is as follows: MG811 has good sensitivity and selectivity to CO2, is less affected by changes in temperature and humidity, and has good stability and reproducibility.
温湿度传感器的功能简介如下:DHT11数字温湿度传感器是一款含有已校准数字信号输出的温湿度复合传感器。它应用专用的数字模块采集技术和温湿度传感技术,确保产品具有极高的可靠性与卓越的长期稳定性。传感器包括一个电阻式感湿元件和一个NTC测温元件,并与一个高性能8位单片机相连接。每个DHT11传感器都在极为精确的湿度校验室中进行校准。校准系数以程序的形式储存在OTP内存中,传感器内部在检测信号的处理过程中要调用这些校准系数。单线制串行接口,使系统集成变得简易快捷。超小的体积、极低的功耗,信号传输距离可达20米以上,使其成为各类应用场合的最佳选则。 The function introduction of temperature and humidity sensor is as follows: DHT11 digital temperature and humidity sensor is a temperature and humidity composite sensor with calibrated digital signal output. It uses dedicated digital module acquisition technology and temperature and humidity sensing technology to ensure that the product has extremely high reliability and excellent long-term stability. The sensor includes a resistive humidity sensing element and an NTC temperature measuring element, and is connected with a high-performance 8-bit microcontroller. Each DHT11 sensor is calibrated in an extremely precise humidity calibration chamber. The calibration coefficients are stored in the OTP memory in the form of a program, and these calibration coefficients are called in the sensor during the processing of the detection signal. Single-wire serial interface makes system integration easy and fast. The ultra-small size, extremely low power consumption, and the signal transmission distance can reach more than 20 meters, making it the best choice for various applications.
在本实施例中,所述控制模块包括有温度输出控制电路、湿度输出控制电路、二氧化碳浓度输出控制电路;所述温度输出控制电路、湿度输出控制电路以及二氧化碳浓度输出控制电路均包括一用以实现开关控制的继电器;所述光照强度控制电路包括一用以表示光照强度的LED灯。下位机的单片机I/O口通过光耦输出控制继电器开关作用,实现对输出端器件的控制;另外该单片机通过ULN2003的控制提高输出带载能力,实现单片机对LED灯的PWM控制亮暗程度。 In this embodiment, the control module includes a temperature output control circuit, a humidity output control circuit, and a carbon dioxide concentration output control circuit; each of the temperature output control circuit, humidity output control circuit, and carbon dioxide concentration output control circuit includes a A relay to realize switch control; the light intensity control circuit includes an LED light used to indicate the light intensity. The I/O port of the single-chip microcomputer of the lower computer controls the switching function of the relay through the optocoupler output to realize the control of the output device; in addition, the single-chip microcomputer improves the output load capacity through the control of ULN2003, and realizes the PWM control of the single-chip microcomputer to the brightness of the LED light.
在本实施例中,所述无线通信模块为NRF24L01微功率无线通信模块,该模块为Nordic公司的NRF24L01芯片,2.4G全球开发ISM频段免许可证使用,最高工作速率达2Mbps,125频道满足多点通信和跳频通信需要,体积小巧约31mm*17mm,高效GFSK调制,抗干扰能力强,特别适合无线音视频传输、工业控制领域等需要较大传输速率的无线通讯需求。 In this embodiment, the wireless communication module is the NRF24L01 micropower wireless communication module, which is the NRF24L01 chip of Nordic Corporation, and the 2.4G global development ISM frequency band is license-free, with a maximum operating rate of 2Mbps, and 125 channels to meet multi-point Communication and frequency hopping communication needs, small size about 31mm*17mm, high-efficiency GFSK modulation, strong anti-interference ability, especially suitable for wireless audio and video transmission, industrial control fields and other wireless communication needs that require a large transmission rate.
在本实施例中,所述上位机与下位机均包括一用以提供5V电源的电源模块,所述电源模块包括三段稳压器7805、二极管、电容以及电阻。由于变压器可产生12V左右的辅助交流电,辅助电源的输入端电源由12V变压器的辅助线圈提供,经过整流桥D整流后分别经电容C1、C2和电容C5、C6滤成平稳的12V作为三端稳压器LM7805的输入电源,三端稳压器LM7805的输出端经过电容C3、C4和电容C7、C8滤波后就可得到5V的稳定直流电压,该5V电压可作为单片机和LCD显示屏等供电。 In this embodiment, both the upper computer and the lower computer include a power module for providing 5V power, and the power module includes a three-stage voltage regulator 7805, a diode, a capacitor and a resistor. Since the transformer can generate auxiliary AC power of about 12V, the input power of the auxiliary power supply is provided by the auxiliary coil of the 12V transformer. The input power of the voltage regulator LM7805, the output of the three-terminal voltage regulator LM7805 can be filtered by capacitors C3, C4 and capacitors C7, C8 to obtain a stable DC voltage of 5V, which can be used as a power supply for microcontrollers and LCD displays.
在本实施例中,一种基于ARM的无线蔬菜大棚智能系统的实现方法,包括以下步骤: In this embodiment, an implementation method of an ARM-based wireless vegetable greenhouse intelligent system includes the following steps:
步骤S1:下位机中采用传感器采集当前蔬菜大棚中的光照强度、湿度、温度以及二氧化碳浓度数据,采集到的数据通过A/D转换模块输入单片机处理后在显示模块显示相应的数据,并通过无线通信模块发送给上位机; Step S1: The lower computer uses the sensor to collect the data of light intensity, humidity, temperature and carbon dioxide concentration in the current vegetable greenhouse. The collected data is input to the single-chip computer through the A/D conversion module for processing, and then the corresponding data is displayed on the display module. The communication module sends it to the host computer;
步骤S2:所述上位机通过无线通信模块接收下位机发送的数据信号,在显示模块显示相应的数值,所述上位机中的单片机将接收到的数值与设定的数值进行比较,若接收到的数值与设定的数值不相等,则所述上位机中报警模块发出报警,并且通过无线通信模块发送控制信号给所述下位机,通过PC控制器将数据发送给PC机实现保存和记录数据; Step S2: The upper computer receives the data signal sent by the lower computer through the wireless communication module, and displays the corresponding value on the display module, and the single-chip microcomputer in the upper computer compares the received value with the set value, if received value is not equal to the set value, then the alarm module in the upper computer sends an alarm, and sends a control signal to the lower computer through the wireless communication module, and sends the data to the PC through the PC controller to save and record the data ;
步骤S3:所述下位机的无线通信模块接收控制信号,并将控制信号传输至所述下位机中的单片机,所述单片机实现对所述下位机中的控制模块的输出控制。 Step S3: The wireless communication module of the lower computer receives the control signal, and transmits the control signal to the single-chip microcomputer in the lower computer, and the single-chip microcomputer realizes the output control of the control module in the lower computer.
因此,本实施例中上位机可通过分时接收下位机的通信信号,并且进行相应的分析和处理,最终实现ARM主控器对多下位机系统的控制。 Therefore, in this embodiment, the upper computer can receive the communication signals of the lower computers in time-sharing, and perform corresponding analysis and processing, and finally realize the control of the multi-lower computer system by the ARM main controller.
以上所述仅为本实用新型的较佳实施例,凡依本实用新型申请专利范围所做的均等变化与修饰,皆应属本实用新型的涵盖范围。 The above descriptions are only preferred embodiments of the present utility model, and all equivalent changes and modifications made according to the patent scope of the present utility model shall fall within the scope of the present utility model.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520927412.XU CN205193641U (en) | 2015-11-20 | 2015-11-20 | Wireless vegetable greenhouse intelligent system based on ARM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520927412.XU CN205193641U (en) | 2015-11-20 | 2015-11-20 | Wireless vegetable greenhouse intelligent system based on ARM |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205193641U true CN205193641U (en) | 2016-04-27 |
Family
ID=55786614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201520927412.XU Expired - Fee Related CN205193641U (en) | 2015-11-20 | 2015-11-20 | Wireless vegetable greenhouse intelligent system based on ARM |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205193641U (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105334897A (en) * | 2015-11-20 | 2016-02-17 | 福建师范大学福清分校 | ARM-based wireless vegetable greenhouse intelligent system and implementation method thereof |
CN106873681A (en) * | 2017-04-01 | 2017-06-20 | 亿信标准认证集团有限公司 | The Multifunctional environment control device of ECOLOGICAL ENVIRONMENTAL MONITORING |
CN107505969A (en) * | 2017-10-18 | 2017-12-22 | 湖州优创科技有限公司 | A kind of intelligent greenhouse Internet of things system |
CN107588806A (en) * | 2017-10-18 | 2018-01-16 | 湖州优创科技有限公司 | A kind of greenhouse intelligent monitoring alarm device |
-
2015
- 2015-11-20 CN CN201520927412.XU patent/CN205193641U/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105334897A (en) * | 2015-11-20 | 2016-02-17 | 福建师范大学福清分校 | ARM-based wireless vegetable greenhouse intelligent system and implementation method thereof |
CN106873681A (en) * | 2017-04-01 | 2017-06-20 | 亿信标准认证集团有限公司 | The Multifunctional environment control device of ECOLOGICAL ENVIRONMENTAL MONITORING |
CN107505969A (en) * | 2017-10-18 | 2017-12-22 | 湖州优创科技有限公司 | A kind of intelligent greenhouse Internet of things system |
CN107588806A (en) * | 2017-10-18 | 2018-01-16 | 湖州优创科技有限公司 | A kind of greenhouse intelligent monitoring alarm device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105334897A (en) | ARM-based wireless vegetable greenhouse intelligent system and implementation method thereof | |
CN203520208U (en) | Planting and breeding environment controller | |
CN205193641U (en) | Wireless vegetable greenhouse intelligent system based on ARM | |
CN102735621A (en) | Fruit maturity detection method based on color sensor | |
CN201828814U (en) | Greenhouse remote control device based on wireless communication technology | |
CN104932367A (en) | Greenhouse multi-point and multi-parameter detector based on Android intelligent device and detection method | |
CN104571225A (en) | Intelligent greenhouse monitoring system | |
CN202522264U (en) | ZigBee-based wireless monitoring system for greenhouse environment | |
CN203799236U (en) | Embedded type Zigbee monitoring node and greenhouse factor monitoring system | |
CN105432428A (en) | ARM-based water-saving irrigation intelligent system and implementation method thereof | |
CN201607248U (en) | Intelligent data acquisition and analysis instrument for greenhouse environment information | |
CN206627796U (en) | Flowerpot intelligent monitoring device | |
CN205284463U (en) | Water -saving irrigation intelligent system based on ARM | |
CN204409155U (en) | Green house intelligent irrigation control device | |
CN202854581U (en) | Intelligent portable agriculture data acquisition and decision-making monitoring device | |
CN101858759A (en) | Multi-channel Agricultural Measuring Device Based on MCU | |
CN202661434U (en) | Soil humidity wireless monitor device | |
CN202443012U (en) | Household soil humidity detector | |
CN203299610U (en) | Automatic CO2 monitor system of greenhouse | |
CN109596168A (en) | A kind of wireless soil environment multi-parameter monitoring system | |
CN201680860U (en) | Multi-channel agricultural measuring device based on MCU | |
CN105934041A (en) | Illumination control system for plants | |
CN105700597A (en) | Intelligent greenhouse adjusting system based on single-chip microcomputer | |
CN104317274A (en) | Agriculture cultivation environment monitoring and controlling system | |
CN103605391A (en) | An intelligent monitoring device for agricultural greenhouses and a realization method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160427 Termination date: 20211120 |