Automatic regulating device based on Arduinio

文档序号:1295921 发布日期:2020-08-07 浏览:9次 中文

阅读说明:本技术 基于Arduinio的自动调节装置 (Automatic regulating device based on Arduinio ) 是由 应晖 于 2020-06-18 设计创作,主要内容包括:本发明公开了一种基于Arduinio的自动调节装置,包括控制模块,控制模块的输入端连接有温度检测模块、湿度检测模块和按键输入模块,控制模块的输出端连接有温度调节模块、湿度调节模块、紫外灯杀菌模块和数码管显示模块,温度检测模块和湿度检测模块检测当前环境参数,控制模块控制温度调节模块、湿度调节模块和紫外灯杀菌模块的启动或停止。本发明能对环境参数进行检测并控制相应设备运行,实现恒温保湿的效果;具有智能化程度明显提高的效果;实现了一键式设定,操作更加方便,快捷;并且具有紫外灯照射,起到杀菌的效果,使产出的农作物产量更加健康。有利于农业大棚功能的提升与应用的普及。(The invention discloses an automatic adjusting device based on Arduinio, which comprises a control module, wherein the input end of the control module is connected with a temperature detection module, a humidity detection module and a key input module, the output end of the control module is connected with a temperature adjustment module, a humidity adjustment module, an ultraviolet lamp sterilization module and a nixie tube display module, the temperature detection module and the humidity detection module detect current environmental parameters, and the control module controls the start or stop of the temperature adjustment module, the humidity adjustment module and the ultraviolet lamp sterilization module. The invention can detect the environmental parameters and control the operation of corresponding equipment, thereby realizing the effect of constant temperature and moisture preservation; the intelligent degree is obviously improved; one-key setting is realized, and the operation is more convenient and quick; and the ultraviolet lamp irradiation is realized, the sterilization effect is realized, and the output of the produced crops is healthier. Is beneficial to the promotion of the function of the agricultural greenhouse and the popularization of the application.)

1. The utility model provides an automatic regulating apparatus based on Arduinio which characterized in that: the intelligent control device comprises a control module, the input end of the control module is connected with a temperature detection module, a humidity detection module and a key input module, the output end of the control module is connected with a temperature regulation module, a humidity regulation module, an ultraviolet lamp sterilization module and a nixie tube display module, the temperature detection module and the humidity detection module detect the current environmental parameters, and the control module controls the start or stop of the temperature regulation module, the humidity regulation module and the ultraviolet lamp sterilization module.

2. The Arduinio-based automatic adjusting device according to claim 1, wherein: the ultraviolet lamp sterilization module comprises an ultraviolet lamp, a single-pole double-throw relay, a triode and a current-limiting resistor, wherein the single-pole double-throw relay is connected with the ultraviolet lamp, one end of the ultraviolet lamp is connected with the single-pole double-throw relay, and the single-pole double-throw relay is connected with the triode.

Technical Field

The invention relates to the field of control devices, in particular to an automatic adjusting device based on Arduinio.

Background

The fusion and infiltration of agricultural science and technology with information science are significant features of modern agricultural production. The great trend of agricultural informatization is to apply computer technology, information storage and data processing technology and various software, network communication, artificial intelligence and intelligent control systems to modern intelligent agricultural mechanized production.

Monitoring of greenhouse environments has long been typically performed manually. The traditional data collection method wastes manpower and financial resources, and in addition, environmental requirements and nutrient requirements of a series of greenhouse crops in different growth cycles are neglected to different degrees, so that a large number of hands are required for agricultural greenhouse production, inevitable manual errors exist, the environmental control is lack of scientificity and accuracy, the agricultural productivity is low, the crop yield is slowly increased, and the greenhouse technology cannot be well developed.

Disclosure of Invention

The invention aims to provide an automatic adjusting device based on Arduinio, which is simple in structure and low in cost.

In order to achieve the purpose, the invention adopts the following technical scheme: the intelligent control device comprises a control module, the input end of the control module is connected with a temperature detection module, a humidity detection module and a key input module, the output end of the control module is connected with a temperature regulation module, a humidity regulation module, an ultraviolet lamp sterilization module and a nixie tube display module, the temperature detection module and the humidity detection module detect the current environmental parameters, and the control module controls the start or stop of the temperature regulation module, the humidity regulation module and the ultraviolet lamp sterilization module.

As a preferable mode of the present invention, the ultraviolet lamp sterilization module includes an ultraviolet lamp, a single-pole double-throw relay, an audion, and a current-limiting resistor, the single-pole double-throw relay is connected to the ultraviolet lamp, one end of the ultraviolet lamp is connected to the single-pole double-throw relay, and the single-pole double-throw relay is connected to the audion.

By adopting the design scheme, the invention has the advantages that the defects in the background technology are overcome, the environmental parameters can be detected, the corresponding equipment can be controlled to operate, and the effect of constant temperature and moisture preservation is realized; the intelligent degree is obviously improved; the one-key setting is realized, the operation is more convenient and quick, and the popularization of the function promotion and the application of the agricultural greenhouse is facilitated.

Drawings

FIG. 1 is a schematic block diagram of the structure of the present invention;

FIG. 2 is a diagram of the signal sent in step two of the present invention;

FIG. 3 is a diagram of the signal sent in step three of the present invention;

FIG. 4 is a signal diagram of the bit data "0" format in step four of the present invention;

FIG. 5 is a signal diagram of the bit data "1" format in step four of the present invention;

in the figure: the device comprises a control module 1, a temperature detection module 11, a humidity detection module 12, a key input module 13, a temperature regulation module 21, a humidity regulation module 22, an ultraviolet lamp sterilization module 23 and a nixie tube display module 24.

Detailed Description

The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

As shown in figure 1, an automatic regulating apparatus based on Arduinio, including control module 1, control module 1's input is connected with temperature detection module 11, humidity detection module 12 and key input module 13, control module 1's output is connected with temperature regulation module 21, humidity regulation module 22, ultraviolet lamp sterilization module 23 and charactron display module 24, temperature detection module 11 and humidity detection module 12 detect current environmental parameter, control module 1 controls temperature regulation module 21, the start-up or the stop of humidity regulation module 22 and ultraviolet lamp sterilization module 23. Preferably, the control module 1 is Arduino UNO.

Preferably, the temperature detection module 11 and the humidity detection module 12 can adopt a temperature and humidity sensor DHT11 with calibrated digital signal output, which is conventionally used in the market, and has the precision of humidity + -5% RH, temperature + -2 ℃, range humidity 20-90% RH, and temperature 0-50 ℃.

Further, the ultraviolet lamp sterilization module 23 includes an ultraviolet lamp, a single-pole double-throw relay, an audion and a current limiting resistor, wherein the single-pole double-throw relay is connected with the ultraviolet lamp, one end of the ultraviolet lamp is connected with the single-pole double-throw relay, and the single-pole double-throw relay is connected with the audion.

By adopting the design scheme, the invention has the advantages that the defects in the background technology are overcome, the environmental parameters can be detected, the corresponding equipment can be controlled to operate, and the effect of constant temperature and moisture preservation is realized; the intelligent degree is obviously improved; one-key setting is realized, and the operation is more convenient and quick; and the ultraviolet lamp irradiation is realized, the sterilization effect is realized, and the output of the produced crops is healthier. Is beneficial to the promotion of the function of the agricultural greenhouse and the popularization of the application.

The working process is as follows: the program initializes the temperature and humidity range, converts the analog signal into an electric signal to the Arduino UNO through the a/D conversion circuit, and the Arduino UNO receives the transmitted electric signal and only judges the electric signal and the set range. And making corresponding judgment, informing Arduino UNO of a judgment result, controlling whether to perform a series of operations such as dehumidification, heat dissipation, heating and the like according to the obtained judgment result, and displaying the judgment result on the nixie tube.

Starting temperature detection, initializing a temperature range, detecting an electric signal of the temperature, judging, and regulating and heating by the temperature regulating module 21 when the temperature is less than 20 ℃; when the temperature is higher than 25 deg.f, the temperature adjusting module 21 adjusts the temperature decrease.

Starting humidity detection, initializing a humidity range, detecting an electric signal of the humidity, judging, atomizing when the humidity is less than 55, and dehumidifying when the temperature is more than 60.

And the display program is initialized firstly, then the stored data is cleared by 0, then the segment bit is latched again, the working mode of the timer to be set is latched, then the interrupt is started, and finally the data is displayed on the nixie tube.

And (3) acquiring a data flow:

the method comprises the following steps: after the DHT11 is powered on (after the DHT11 is powered on, 1S is waited to cross an unstable state, and no command can be sent in the period), environmental temperature and humidity DATA are tested, DATA are recorded, and meanwhile a DATA DATA line of the DHT11 is pulled high by a pull-up resistor and is kept at a high level all the time; the DATA pin of the DHT11 is now in the input state, and an external signal is detected at all times.

Step two: the I/O of the microprocessor is set to output low level at the same time, and the low level holding time cannot be less than 18ms, then the I/O of the microprocessor is set to input state, and due to the pull-up resistance, the I/O of the microprocessor, i.e. the DATA line of the DHT11, goes high accordingly, waits for the reply signal from the DHT11, and sends the signal as shown in fig. 2.

Step three: when the DATA pin of the DHT11 detects that the external signal has a low level, the DATA pin of the DHT11 is in an output state after a delay, a low level of 80 microseconds is output as a response signal, and a high level of 80 microseconds is output immediately to notify the peripheral to prepare to receive DATA, the I/O of the microprocessor is in an input state at this time, and after the I/O has a low level (DHT11 reply signal) is detected, the DATA reception after a high level of 80 microseconds is waited, and a transmission signal is as shown in fig. 3.

Step four: the DATA pin DATA of DHT11 outputs 40 bits of DATA, and the microprocessor receives 40 bits of DATA according to the change of I/O level, and the format of DATA "0" is: a low level of 50 microseconds and a high level of 26-28 microseconds, the format of bit data "1" is: a low level of 50 microseconds plus a high level of 70 microseconds. The bit data "0" and "1" format signals are shown in fig. 4. (We can understand this segment of timing as we host first pull down the data line 50us, then delay for 40us, then read the signal line level, if low, bit "0", and if high, bit "1").

An end signal: after the DATA pin of the DHT11 outputs 40 bits of DATA, it continues to output low for 50 microseconds and then turns to an input state, and the pull-up resistance changes to high accordingly. But inside retest environment humiture data of DHT11, the record data of second launch, wait for the arrival of external signal.

Example one of the sets of data:

while particular embodiments of the present invention have been described in the foregoing specification, various modifications and alterations to the previously described embodiments will become apparent to those skilled in the art from this description without departing from the spirit and scope of the invention.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种束流输运线磁铁电源同步切换电流的装置及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!