CN110164072A - A kind of Household security protection device of low-power consumption - Google Patents
A kind of Household security protection device of low-power consumption Download PDFInfo
- Publication number
- CN110164072A CN110164072A CN201910455191.3A CN201910455191A CN110164072A CN 110164072 A CN110164072 A CN 110164072A CN 201910455191 A CN201910455191 A CN 201910455191A CN 110164072 A CN110164072 A CN 110164072A
- Authority
- CN
- China
- Prior art keywords
- circuit
- power consumption
- protection device
- low
- security protection
- 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
Links
- 238000012544 monitoring process Methods 0.000 claims abstract description 35
- 238000004891 communication Methods 0.000 claims abstract description 32
- 230000002093 peripheral effect Effects 0.000 claims abstract description 6
- 239000013078 crystal Substances 0.000 claims description 9
- 239000004973 liquid crystal related substance Substances 0.000 claims description 8
- 238000001514 detection method Methods 0.000 abstract description 15
- 238000010586 diagram Methods 0.000 description 12
- 239000003990 capacitor Substances 0.000 description 11
- 238000000034 method Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 241001343354 Halenia corniculata Species 0.000 description 1
- -1 PA14 Proteins 0.000 description 1
- 101000701286 Pseudomonas aeruginosa (strain ATCC 15692 / DSM 22644 / CIP 104116 / JCM 14847 / LMG 12228 / 1C / PRS 101 / PAO1) Alkanesulfonate monooxygenase Proteins 0.000 description 1
- 101000983349 Solanum commersonii Osmotin-like protein OSML13 Proteins 0.000 description 1
- 101000983338 Solanum commersonii Osmotin-like protein OSML15 Proteins 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B13/00—Burglar, theft or intruder alarms
- G08B13/18—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
- G08B13/189—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
- G08B13/19—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using infrared-radiation detection systems
- G08B13/191—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using infrared-radiation detection systems using pyroelectric sensor means
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B13/00—Burglar, theft or intruder alarms
- G08B13/18—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
- G08B13/189—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
- G08B13/194—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
- G08B13/196—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
- G08B13/19697—Arrangements wherein non-video detectors generate an alarm themselves
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
本发明涉及一种低功耗的家庭安防装置,包括微处理器最小系统,以及与所述微处理器最小系统连接的监控电路、外围监测电路、通信电路、报警电路、显示电路,所述外围监测电路包括与所述微处理器最小系统连接的PM2.5浓度检测电路、温湿度检测电路、防盗监测电路,所述防盗监测电路包括热释电传感器控制电路,所述通信电路包括局域网通信电路。本发明提供了一种低功耗的家庭安防装置,具有高性价比、低功耗、外部环境监测性能强。
The invention relates to a low power consumption home security device, which includes a minimum microprocessor system, a monitoring circuit connected to the minimum microprocessor system, a peripheral monitoring circuit, a communication circuit, an alarm circuit, and a display circuit. The monitoring circuit includes a PM2.5 concentration detection circuit connected to the microprocessor minimum system, a temperature and humidity detection circuit, and an anti-theft monitoring circuit. The anti-theft monitoring circuit includes a pyroelectric sensor control circuit, and the communication circuit includes a local area network communication circuit. . The invention provides a family security device with low power consumption, which has high performance-to-price ratio, low power consumption and strong external environment monitoring performance.
Description
技术领域technical field
本发明涉及家电领域,尤其涉及安防设备领域,具体涉及一种低功耗的家庭安防装置。The invention relates to the field of home appliances, in particular to the field of security equipment, in particular to a low-power consumption home security device.
背景技术Background technique
现有技术中从最初的传统型家庭监控控制系统到现如今的数字化或者称之为智能化家庭监控控制系统,家庭监控控制系统在工作过程中总会表现出各种各样的故障,最为常见的就是系统运行过程中的死机现象,所谓的死机现象就是指微处理器内部的程序出现跑飞现象,不能够按照程序所规划的执行流程工作,一旦出现死机现象,系统是无法急需正常工作的,这种现象是从微处理器系统出现到目前发展成熟的操作系统中都会出现的一个无法避免的现象。In the prior art, from the original traditional home monitoring control system to today's digital or intelligent home monitoring control system, the home monitoring control system will always show various faults during the working process, the most common The most important thing is the crash phenomenon during the operation of the system. The so-called crash phenomenon refers to the phenomenon that the program inside the microprocessor runs away and cannot work according to the execution process planned by the program. Once the crash occurs, the system cannot work normally. , this phenomenon is an unavoidable phenomenon that will appear in the operating system from the emergence of the microprocessor system to the current mature operating system.
综合家庭监控控制系统容易出现这些故障的原因主要有,主控微处理器芯片自身性能所限制的,无论是早期的低端微处理器芯片还是现在的32位或者64位微处理器,其内部的资源都非常有限,尤其是用于存放程序变量的RAM存储区域,这个区域的空间大小在很大程度上能够决定家庭监控控制系统的复杂程度,如果在理想情况下这个区域能够被设计的足够大,那么家庭监控控制系统就能够实现更为复杂的功能。与家庭监控控制系统有联系的产品在推向市场前,研发企业需要对家庭监控控制系统的研发成本做详细的规划。The main reason why the integrated home monitoring and control system is prone to these failures is that the performance of the main control microprocessor chip is limited. Whether it is an early low-end microprocessor chip or a current 32-bit or 64-bit microprocessor, its internal resources are very limited, especially the RAM storage area used to store program variables. The size of this area can largely determine the complexity of the home monitoring and control system. If this area can be designed sufficiently under ideal conditions Larger, then the home monitoring control system can achieve more complex functions. Before the products related to the home monitoring control system are launched on the market, R&D companies need to make detailed plans for the research and development costs of the home monitoring control system.
因此,如何研发出一个具有高性价比的产品,能够实现总体平均水平以上的性能,并且成本处于中下标准的产品才是一个具有竞争力产品是本领域技术人员急需解决的技术问题。Therefore, how to develop a product with high cost performance, which can achieve the performance above the overall average level, and the product whose cost is in the middle and lower standards is a competitive product is a technical problem urgently needed by those skilled in the art.
发明内容Contents of the invention
本发明克服了现有技术的不足,提供一种低功耗的家庭安防装置,具有高性价比、低功耗、外部环境监测性能强。The invention overcomes the shortcomings of the prior art and provides a low power consumption home security device with high cost performance, low power consumption and strong external environment monitoring performance.
为达到上述目的,本发明采用的技术方案为:一种低功耗的家庭安防装置,包括微处理器最小系统,以及与所述微处理器最小系统连接的监控电路、外围监测电路、通信电路、报警电路、显示电路,所述外围监测电路包括与所述微处理器最小系统连接的PM2.5浓度检测电路、温湿度检测电路、防盗监测电路,所述防盗监测电路包括热释电传感器控制电路,所述通信电路包括局域网通信电路。In order to achieve the above object, the technical solution adopted by the present invention is: a low power consumption home security device, including a minimum microprocessor system, and a monitoring circuit connected to the minimum microprocessor system, a peripheral monitoring circuit, and a communication circuit , an alarm circuit, a display circuit, the peripheral monitoring circuit includes a PM2.5 concentration detection circuit connected to the microprocessor minimum system, a temperature and humidity detection circuit, and an anti-theft monitoring circuit, and the anti-theft monitoring circuit includes a pyroelectric sensor control A circuit, the communication circuit includes a local area network communication circuit.
本发明一个较佳实施例中,微处理器最小系统包括STM32微处理器芯片,以及给所述STM32微处理器芯片提供时钟脉冲的晶振电路,和给所述STM32微处理器芯片提供复位信号的复位电路。In a preferred embodiment of the present invention, the minimum microprocessor system includes an STM32 microprocessor chip, and a crystal oscillator circuit that provides clock pulses to the STM32 microprocessor chip, and a reset signal that provides the STM32 microprocessor chip reset circuit.
本发明一个较佳实施例中,监控电路包括与STM32微处理器芯片电连接的摄像头驱动模块、以及与所述摄像头驱动模块连接的高清摄像头。In a preferred embodiment of the present invention, the monitoring circuit includes a camera drive module electrically connected to the STM32 microprocessor chip, and a high-definition camera connected to the camera drive module.
本发明一个较佳实施例中,摄像头驱动模块采用OV7670摄像头驱动模块。In a preferred embodiment of the present invention, the camera driver module adopts the OV7670 camera driver module.
本发明一个较佳实施例中,通信电路采用局域网通信电路,局域网通信电路采用的是ESP8266网络通信传感器。In a preferred embodiment of the present invention, the communication circuit adopts a local area network communication circuit, and the local area network communication circuit adopts an ESP8266 network communication sensor.
本发明一个较佳实施例中,显示电路包括LCD1602液晶屏。In a preferred embodiment of the present invention, the display circuit includes an LCD1602 liquid crystal screen.
本发明一个较佳实施例中,PM2.5浓度检测电路包括GP2Y1010AU0F传感器、以及用于连接STM32微处理器芯片和GP2Y1010AU0F传感器的模数转换器,温湿度检测电路包括DHT11温湿度传感器。In a preferred embodiment of the present invention, the PM2.5 concentration detection circuit includes a GP2Y1010AU0F sensor and an analog-to-digital converter for connecting the STM32 microprocessor chip and the GP2Y1010AU0F sensor, and the temperature and humidity detection circuit includes a DHT11 temperature and humidity sensor.
本发明一个较佳实施例中,热释电传感器控制电路包括HC-SR501热释电传感器。In a preferred embodiment of the present invention, the pyroelectric sensor control circuit includes a HC-SR501 pyroelectric sensor.
本发明一个较佳实施例中,STM32微处理器芯片的输出端引脚连接报警电路、LCD1602液晶屏输入端引脚。In a preferred embodiment of the present invention, the output pin of the STM32 microprocessor chip is connected to the alarm circuit and the input pin of the LCD1602 liquid crystal screen.
本发明一个较佳实施例中,STM32微处理器芯片的输入端引脚连接晶振电路、复位电路的输出端、HC-SR501热释电传感器的输出端、ESP8266网络通信传感器的输出端、OV7670摄像头驱动模块的输出端、模数转换器的输出端、DHT11温湿度传感器。In a preferred embodiment of the present invention, the input pin of the STM32 microprocessor chip is connected to the crystal oscillator circuit, the output end of the reset circuit, the output end of the HC-SR501 pyroelectric sensor, the output end of the ESP8266 network communication sensor, and the OV7670 camera The output end of the drive module, the output end of the analog-to-digital converter, and the DHT11 temperature and humidity sensor.
本发明解决了背景技术中存在的缺陷,本发明的有益效果:The present invention solves the defective that exists in the background technology, the beneficial effect of the present invention:
本发明提供一种低功耗的家庭安防装置,具有高性价比、低功耗、外部环境监测性能强。The invention provides a family security device with low power consumption, which has the advantages of high cost performance, low power consumption and strong external environment monitoring performance.
附图说明Description of drawings
下面结合附图和实施例对本发明进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
图1是本发明的电路结构中晶振电路的示意图;Fig. 1 is the schematic diagram of crystal oscillator circuit in the circuit structure of the present invention;
图2是本发明的电路结构中复位电路的示意图;Fig. 2 is the schematic diagram of reset circuit in the circuit structure of the present invention;
图3是本发明的电路结构中监控电路的示意图;Fig. 3 is the schematic diagram of monitoring circuit in the circuit structure of the present invention;
图4是本发明的电路结构中通信电路的示意图;Fig. 4 is the schematic diagram of communication circuit in the circuit structure of the present invention;
图5是本发明的电路结构中显示电路的示意图;Fig. 5 is the schematic diagram of display circuit in the circuit structure of the present invention;
图6是本发明的电路结构中温湿度检测电路的示意图;Fig. 6 is the schematic diagram of the temperature and humidity detection circuit in the circuit structure of the present invention;
图7是本发明的电路结构中PM2.5浓度检测电路的示意图;Fig. 7 is the schematic diagram of PM2.5 concentration detection circuit in the circuit structure of the present invention;
图8是本发明的电路结构中报警电路的示意图;Fig. 8 is the schematic diagram of alarm circuit in the circuit structure of the present invention;
图9是本发明的电路结构中防盗监测电路的示意图;Fig. 9 is the schematic diagram of the anti-theft monitoring circuit in the circuit structure of the present invention;
图10是本发明的总电路的示意图;Fig. 10 is the schematic diagram of the total circuit of the present invention;
图11是本发明的电路结构系统结构的示意图。Fig. 11 is a schematic diagram of the circuit structure system structure of the present invention.
具体实施方式Detailed ways
现在结合附图和实施例对本发明作进一步详细的说明,这些附图均为简化的示意图,仅以示意方式说明本发明的基本结构,因此其仅显示与本发明有关的构成。The present invention will now be further described in detail in conjunction with the accompanying drawings and embodiments. These drawings are all simplified schematic diagrams, only illustrating the basic structure of the present invention in a schematic manner, so it only shows the composition related to the present invention.
如图1~11所示,本实施例公开了一种低功耗的家庭安防装置,包括微处理器最小系统,以及与微处理器最小系统连接的监控电路、外围监测电路、通信电路、报警电路、显示电路;微处理器最小系统包括STM32微处理器芯片,以及给所述STM32微处理器芯片提供时钟脉冲的晶振电路,和给所述STM32微处理器芯片提供复位信号的复位电路;监控电路包括与STM32微处理器芯片电连接的摄像驱动模块、以及与摄像头驱动模块连接的高清摄像头,摄像头驱动模块采用OV7670摄像头驱动模块;外围监测电路包括与所述微处理器最小系统连接的PM2.5浓度检测电路、温湿度检测电路、防盗监测电路,防盗监测电路包括热释电传感器控制电路。As shown in Figures 1 to 11, this embodiment discloses a low-power home security device, including a minimum microprocessor system, a monitoring circuit connected to the minimum microprocessor system, a peripheral monitoring circuit, a communication circuit, and an alarm system. Circuit, display circuit; Microprocessor minimum system includes STM32 microprocessor chip, and the crystal oscillator circuit that provides clock pulse to described STM32 microprocessor chip, and the reset circuit that provides reset signal to described STM32 microprocessor chip; Monitoring The circuit includes a camera driver module electrically connected to the STM32 microprocessor chip, and a high-definition camera connected to the camera driver module. The camera driver module adopts the OV7670 camera driver module; the peripheral monitoring circuit includes PM2. 5 Concentration detection circuit, temperature and humidity detection circuit, anti-theft monitoring circuit, the anti-theft monitoring circuit includes a pyroelectric sensor control circuit.
具体的,本发明一个较佳实施例中,PM2.5浓度检测电路包括GP2Y1010AU0F传感器、以及用于连接STM32微处理器芯片和GP2Y1010AU0F传感器的模数转换器,温湿度检测电路包括DHT11温湿度传感器。通信电路采用局域网通信电路,采用的是ESP8266网络通信传感器;显示电路包括LCD1602液晶屏。热释电传感器控制电路包括HC-SR501热释电传感器。模数转换器采用的是ADC0832模数转换器。Specifically, in a preferred embodiment of the present invention, the PM2.5 concentration detection circuit includes a GP2Y1010AU0F sensor and an analog-to-digital converter for connecting the STM32 microprocessor chip and the GP2Y1010AU0F sensor, and the temperature and humidity detection circuit includes a DHT11 temperature and humidity sensor. The communication circuit adopts the local area network communication circuit, and what adopts is the ESP8266 network communication sensor; the display circuit includes LCD1602 liquid crystal screen. The pyroelectric sensor control circuit includes HC-SR501 pyroelectric sensor. What the analog-to-digital converter adopts is ADC0832 analog-to-digital converter.
本发明一个较佳实施例中的优选电路结构:Preferred circuit structure in a preferred embodiment of the present invention:
具体的,如图1、图2、图10所示,微处理器最小系统,采用的STM32微处理器芯片,以及给STM32微处理器芯片提供时钟脉冲的时钟电路、和给STM32微处理器芯片提供时复位信号的复位电路。时钟电路与STM32微处理器芯片内部的振荡器配合工作,实现12MHz时钟信号的稳定产生,从而给STM32微处理器芯片提供稳定的时钟频率。通过复位电路即可使得STM32微处理器芯片的RST管脚接收到高电平从而复位。Specifically, as shown in Fig. 1, Fig. 2 and Fig. 10, the minimum microprocessor system, the STM32 microprocessor chip used, and the clock circuit that provides clock pulses for the STM32 microprocessor chip, and the STM32 microprocessor chip Reset circuit when a reset signal is provided. The clock circuit cooperates with the oscillator inside the STM32 microprocessor chip to realize the stable generation of the 12MHz clock signal, thereby providing a stable clock frequency for the STM32 microprocessor chip. Through the reset circuit, the RST pin of the STM32 microprocessor chip can receive a high level to reset.
STM32微处理器芯片的OSC-IN引脚和OSC-OUT引脚两端与晶振XTAL两端连接,且晶振XTAL两端还分别连接两个小电容C7、小电容C8后接GND, 晶振XTAL两端与电阻R8两端连接;STM32微处理器芯片的NRST引脚引出2路,一路通过电容C6接GND,另一路分成两路,其中一路通过电阻R6接电源VCC,另一路通过复位按键SR1接GND。The two ends of the OSC-IN pin and OSC-OUT pin of the STM32 microprocessor chip are connected to the two ends of the crystal oscillator XTAL, and the two ends of the crystal oscillator XTAL are connected to two small capacitors C7 and C8 respectively connected to GND, and the two ends of the crystal oscillator XTAL The terminal is connected to both ends of the resistor R8; the NRST pin of the STM32 microprocessor chip leads to 2 routes, one is connected to GND through the capacitor C6, and the other is divided into two routes, one of which is connected to the power supply VCC through the resistor R6, and the other is connected to the reset button SR1. GND.
具体的,如图3、图10所示,高清摄像头通过OV7670摄像头驱动模块与STM32微处理器芯片连接提供视频监控,OV7670摄像头驱动模块的8位宽度的并行接口OV_D0~0V_D7引脚分别连接了STM32微处理器芯片的PB6、PA13、PB5、PA12、PB4、PA14、PB3、PA15引脚,通过该接口电路的连接即可实现通过STM32微处理器芯片进行驱动控制,OV7670摄像头驱动模块与高清摄像头连接获取高清监控数据。Specifically, as shown in Figure 3 and Figure 10, the high-definition camera provides video surveillance through the connection between the OV7670 camera driver module and the STM32 microprocessor chip, and the 8-bit parallel interface OV_D0~0V_D7 pins of the OV7670 camera driver module are respectively connected to the STM32 The PB6, PA13, PB5, PA12, PB4, PA14, PB3, and PA15 pins of the microprocessor chip can be driven and controlled by the STM32 microprocessor chip through the connection of the interface circuit, and the OV7670 camera driver module is connected to the high-definition camera Obtain high-definition monitoring data.
具体的,如图4、图10所示,通信电路采用ESP8266网络通信传感器来实现数据传输。选用的是华茂研发的局域网通信模块,通过该器件的配置以及STM32微处理器芯片的GPIO管脚的驱动实现接收和发射局域网通信数据。在智能局域网通信设备供电正常工作时,它的电流消耗基本保持在30毫安左右,可见最大功率消耗不会高于0.15W。虽然目前市面上能够实现局域网通信功能的元器件种类较多,但是考虑到NRF51822型局域网模块也是一种常用的局域网通信模块,并且能够实现更高的通信速度,但是其驱动电路和软件代码太过于复杂,并没有ESP8266更容易操作。Specifically, as shown in Figure 4 and Figure 10, the communication circuit uses the ESP8266 network communication sensor to realize data transmission. The local area network communication module developed by Huamao is selected. Through the configuration of the device and the driving of the GPIO pin of the STM32 microprocessor chip, the receiving and transmitting of the local area network communication data is realized. When the power supply of intelligent LAN communication equipment is working normally, its current consumption is basically kept at about 30 mA, so it can be seen that the maximum power consumption will not be higher than 0.15W. Although there are many types of components that can realize LAN communication functions on the market, considering that the NRF51822 LAN module is also a commonly used LAN communication module, and can achieve higher communication speeds, but its drive circuit and software code are too large. Complicated, and not as easy to operate as the ESP8266.
ESP8266网络通信传感器的TXD号和RXD号引脚与STM32微处理器芯片的PA9、PA10引脚进行相连,采用直接相连的方式,两者之间不需要进行隔离保护或者耦合。然后ESP8266网络通信传感器TXD号和RXD号引脚分别通过电阻R14、电阻R15接电源VCC,ESP8266网络通信传感器的VCC引脚接电源VCC, ESP8266网络通信传感器的VCC引脚通过并联的电容C11和电容C12与ESP8266网络通信传感器的GND引脚接GND。The TXD and RXD pins of the ESP8266 network communication sensor are connected to the PA9 and PA10 pins of the STM32 microprocessor chip in a direct connection, and there is no need for isolation protection or coupling between the two. Then the TXD and RXD pins of the ESP8266 network communication sensor are respectively connected to the power supply VCC through the resistor R14 and the resistor R15. The GND pin of C12 and ESP8266 network communication sensor is connected to GND.
具体的,如图5、图10所示,显示电路,STM32微处理器芯片分配出PA口和PC13~PC15共11个引脚出来,连接到LCD1602液晶屏的DB并行口和EN、RW以及RS引脚,完成数据的收发,LCD1602液晶屏的VCC引脚、以及BLA引脚与电源VCC连接,分配出1V左右的电压施加到V0管脚调节液晶屏的对比度,通过该电路的设计,STM32微处理器芯片将驱动LCD1602液晶屏实现显示参数的功能。Specifically, as shown in Figure 5 and Figure 10, the display circuit, the STM32 microprocessor chip allocates 11 pins from the PA port and PC13~PC15, which are connected to the DB parallel port of the LCD1602 liquid crystal screen and EN, RW and RS Pin, to complete the data transmission and reception, the VCC pin of the LCD1602 LCD screen, and the BLA pin are connected to the power supply VCC, and a voltage of about 1V is distributed to the V0 pin to adjust the contrast of the LCD screen. Through the design of this circuit, the STM32 micro The processor chip will drive the LCD1602 liquid crystal screen to realize the function of displaying parameters.
具体的,如图6、图10所示,温湿度检测电路,采用的是DHT11温湿度传感器,DHT11温湿度传感器内部已经集成了各类高性能功能模块,与大多数传感器对外接口不同的是DHT11温湿度传感器将用于传输时钟信号和数据信号的两条总线进行了合并,采用分时传输方式,将两种信号都通过一条总线进行传输,并将该总线映射到了其OUT引脚上,DHT11温湿度传感器的OUT引脚连接到STM32微处理器芯片的PB1引脚,且DHT11温湿度传感器的VCC引脚接电源VCC,且DHT11温湿度传感器的VCC引脚引出两路,一路串接电容C3后与DHT11温湿度传感器的GND引脚共点接地,另一路串接电阻R2后与DHT11温湿度传感器的OUT引脚连接。Specifically, as shown in Figure 6 and Figure 10, the temperature and humidity detection circuit uses the DHT11 temperature and humidity sensor. The DHT11 temperature and humidity sensor has integrated various high-performance functional modules. The difference with most sensors is the DHT11 external interface. The temperature and humidity sensor combines the two buses used to transmit the clock signal and the data signal, adopts a time-sharing transmission method, transmits both signals through one bus, and maps the bus to its OUT pin, DHT11 The OUT pin of the temperature and humidity sensor is connected to the PB1 pin of the STM32 microprocessor chip, and the VCC pin of the DHT11 temperature and humidity sensor is connected to the power supply VCC, and the VCC pin of the DHT11 temperature and humidity sensor leads to two paths, and one path is connected to the capacitor C3 in series After that, it is connected to the GND pin of the DHT11 temperature and humidity sensor, and the other line is connected to the OUT pin of the DHT11 temperature and humidity sensor after connecting a resistor R2 in series.
具体的,如图7、图9所示,PM2.5浓度检测电路主要作用是用来测量PM2.5含量,STM32微处理器芯片的PB11引脚与ADC0832模数转换器的D1引脚、D0引脚连接,STM32微处理器芯片的PB10引脚与ADC0832模数转换器的CLK引脚连接,STM32微处理器芯片的PB2引脚与ADC0832模数转换器的CS引脚连接,ADC0832模数转换器VCC引脚接电源VCC,且连接电容组与GND连接,电容组是由电容C4、电容C5、电容C6、电容C10并联组成,ADC0832模数转换器的GND引脚与GND连接,ADC0832模数转换器的CH1悬空设置,ADC0832模数转换器的CH0引脚与GP2Y1010AU0F传感器的4号、6号引脚连接,GP2Y1010AU0F传感器的4号引脚通过电阻R7接地,GP2Y1010AU0F传感器的5号引脚通过电阻R5接地,GP2Y1010AU0F传感器的1号、3号、4号引脚接电源VCC。Specifically, as shown in Figure 7 and Figure 9, the main function of the PM2.5 concentration detection circuit is to measure the PM2.5 content. The PB11 pin of the STM32 microprocessor chip and the D1 pin and D0 pin of the ADC0832 analog-to-digital converter Pin connection, the PB10 pin of the STM32 microprocessor chip is connected to the CLK pin of the ADC0832 analog-to-digital converter, the PB2 pin of the STM32 microprocessor chip is connected to the CS pin of the ADC0832 analog-to-digital converter, and the ADC0832 analog-to-digital conversion The VCC pin of the converter is connected to the power supply VCC, and the capacitor group is connected to GND. The capacitor group is composed of capacitor C4, capacitor C5, capacitor C6, and capacitor C10 connected in parallel. The GND pin of the ADC0832 analog-to-digital converter is connected to GND. The CH1 of the converter is suspended, the CH0 pin of the ADC0832 analog-to-digital converter is connected to the 4th and 6th pins of the GP2Y1010AU0F sensor, the 4th pin of the GP2Y1010AU0F sensor is grounded through the resistor R7, and the 5th pin of the GP2Y1010AU0F sensor is connected to the resistor R5 is grounded, and pins 1, 3, and 4 of the GP2Y1010AU0F sensor are connected to the power supply VCC.
具体的,如图8、图10所示,报警电路采用了一个有源蜂鸣器来进行报警,有源蜂鸣器的正极接电源VCC,有源蜂鸣器负极通过功放电路接GND,且有源蜂鸣器负极还通过功放电路与STM32微处理器芯片的PB0引脚连接。Specifically, as shown in Figure 8 and Figure 10, the alarm circuit uses an active buzzer to alarm, the positive pole of the active buzzer is connected to the power supply VCC, the negative pole of the active buzzer is connected to GND through the power amplifier circuit, and The negative electrode of the active buzzer is also connected to the PB0 pin of the STM32 microprocessor chip through the power amplifier circuit.
具体的,如图9、图10所示,防盗监测电路的HC-SR501热释电传感器的OUT引脚与STM32微处理器芯片的PB9引脚连接,且HC-SR501热释电传感器的OUT引脚通电阻R1接电源VCC,然后电阻R1与电源VCC连接段还分别通过电容C1、电容C2与HC-SR501热释电传感器的GND引脚共点接GND, HC-SR501热释电传感器的VCC引脚与电源VCC连接。Specifically, as shown in Figure 9 and Figure 10, the OUT pin of the HC-SR501 pyroelectric sensor of the anti-theft monitoring circuit is connected to the PB9 pin of the STM32 microprocessor chip, and the OUT pin of the HC-SR501 pyroelectric sensor Connect the resistance R1 to the power supply VCC, and then the connecting section between the resistance R1 and the power supply VCC is also connected to GND at the same point as the GND pin of the HC-SR501 pyroelectric sensor through the capacitor C1, capacitor C2, and the VCC of the HC-SR501 pyroelectric sensor The pin is connected to the power supply VCC.
具体的工作方法:Specific working methods:
微处理器最小系统将通过并行总线驱动OV7670摄像头驱动模块开始工作,在STM32微处理器芯片驱动下,OV7670摄像头驱动模块进行摄像参数配置并开始对房间内的影像进行采集并将采集到的视频转换为数字信号通过并行接口送入到STM32微处理器芯片的ARM处理器中进行处理,随后STM32微处理器芯片将通过PB1管脚启动单总线对DHT11温湿度传感器进行驱动,实现对房间内温度和湿度参数的采集,将采集到的数据再次通过单总线接口送入到STM32微处理器芯片的ARM微处理器中进行处理。随后STM32微处理器芯片的ARM微处理器将启动模数转换器对其CH0引脚所接收到的模拟电压值信号(与PM2.5浓度成正比)进行采集并转换为数字信号送入到STM32微处理器芯片中,随后STM32微处理器芯片将开始对采集到的数据进行判断,同时通过HC-SR501热释电传感器进行检测实现人体检测,通过LCD1602液晶屏显示参数,出现数据异常将通过STM32微处理器芯片的PB0管脚输出高电平启动报警电路中的有源蜂鸣器进行报警提示,接着将采集到的数据通过PA9和PA10两个管脚构成的UART接口送入到局域网模块中进行网络数据的传输。The minimum microprocessor system will drive the OV7670 camera driver module to start working through the parallel bus. Driven by the STM32 microprocessor chip, the OV7670 camera driver module will configure the camera parameters and start to collect images in the room and convert the collected video The digital signal is sent to the ARM processor of the STM32 microprocessor chip through the parallel interface for processing, and then the STM32 microprocessor chip will start the single bus through the PB1 pin to drive the DHT11 temperature and humidity sensor to realize the temperature and humidity in the room. For the collection of humidity parameters, the collected data is sent to the ARM microprocessor of the STM32 microprocessor chip through the single bus interface for processing. Then the ARM microprocessor of the STM32 microprocessor chip will start the analog-to-digital converter to collect the analog voltage value signal (proportional to the PM2.5 concentration) received by its CH0 pin and convert it into a digital signal and send it to the STM32 In the microprocessor chip, the STM32 microprocessor chip will then start to judge the collected data. At the same time, it will detect the human body through the detection of the HC-SR501 pyroelectric sensor, and display the parameters through the LCD1602 liquid crystal screen. If there is an abnormal data, it will pass through the STM32 The PB0 pin of the microprocessor chip outputs a high level to start the active buzzer in the alarm circuit to give an alarm prompt, and then send the collected data to the LAN module through the UART interface composed of two pins PA9 and PA10 Carry out network data transmission.
以上依据本发明的理想实施例为启示,通过上述的说明内容,相关人员完全可以在不偏离本项发明技术思想的范围内,进行多样的变更以及修改。本项发明的技术性范围并不局限于说明书上的内容,必须要根据权利要求范围来确定技术性范围。The above is inspired by the ideal embodiment of the present invention. Through the above description, relevant personnel can make various changes and modifications within the scope of not departing from the technical idea of the present invention. The technical scope of the present invention is not limited to the content in the specification, and must be determined according to the scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910455191.3A CN110164072A (en) | 2019-05-29 | 2019-05-29 | A kind of Household security protection device of low-power consumption |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910455191.3A CN110164072A (en) | 2019-05-29 | 2019-05-29 | A kind of Household security protection device of low-power consumption |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110164072A true CN110164072A (en) | 2019-08-23 |
Family
ID=67629588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910455191.3A Pending CN110164072A (en) | 2019-05-29 | 2019-05-29 | A kind of Household security protection device of low-power consumption |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110164072A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540891A (en) * | 2009-04-09 | 2009-09-23 | 复旦大学 | Luggage delivery warehouse human body detecting system based on monitoring video |
CN102005097A (en) * | 2010-09-25 | 2011-04-06 | 公安部第三研究所 | Infrared laser perimeter protection method |
US20160021491A1 (en) * | 2014-07-16 | 2016-01-21 | Sony Corporation | Applying mesh network to luggage |
CN107222573A (en) * | 2017-07-12 | 2017-09-29 | 石家庄学院 | A kind of household safe protection and remote monitoring system based on Internet of Things |
CN208110786U (en) * | 2017-12-29 | 2018-11-16 | 南阳师范学院 | A Thief Recognition System Based on FPGA |
-
2019
- 2019-05-29 CN CN201910455191.3A patent/CN110164072A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540891A (en) * | 2009-04-09 | 2009-09-23 | 复旦大学 | Luggage delivery warehouse human body detecting system based on monitoring video |
CN102005097A (en) * | 2010-09-25 | 2011-04-06 | 公安部第三研究所 | Infrared laser perimeter protection method |
US20160021491A1 (en) * | 2014-07-16 | 2016-01-21 | Sony Corporation | Applying mesh network to luggage |
CN107222573A (en) * | 2017-07-12 | 2017-09-29 | 石家庄学院 | A kind of household safe protection and remote monitoring system based on Internet of Things |
CN208110786U (en) * | 2017-12-29 | 2018-11-16 | 南阳师范学院 | A Thief Recognition System Based on FPGA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103948377B (en) | A kind of portable mobile wireless vital sign monitor | |
CN103481120A (en) | Intelligent detection system for Duty parameters of machine tool | |
CN207097180U (en) | Fire hazard monitoring system in a kind of region | |
CN110608839A (en) | Wireless Bolt Preload Sensor | |
AU2019101181A4 (en) | Dust Concentration Detection System in Factory Workshop | |
CN114326678A (en) | Simulation detection system for robot power supply controller | |
CN112284547A (en) | A non-contact automatic temperature measurement system and method based on wireless charging | |
CN110164072A (en) | A kind of Household security protection device of low-power consumption | |
CN107654409A (en) | A kind of SCM Based intelligent temperature control fan assembly | |
CN201773405U (en) | A remote electrocardiographic signal diagnosis device | |
CN216050264U (en) | An alarm device for detecting vehicle vibration and noise | |
CN103760819B (en) | A kind of ultrasonic cut sound main shaft condition monitoring system and method | |
CN104062673A (en) | Nuclear analyzer self-diagnosis system | |
CN214150955U (en) | Circuit detection device and circuit detection system | |
CN210377736U (en) | A low-power home security device | |
CN205449372U (en) | Single chip microcomputer control's digital altimeter | |
CN210720630U (en) | An online monitoring system for high voltage corona discharge experiment | |
CN208155549U (en) | A kind of vibration part intelligent detection device | |
CN107654408A (en) | A kind of intelligent temperature control fan assembly for protecting motor | |
CN208999798U (en) | Flexible electronic patch control circuit integrating electrocardio and body temperature | |
CN106471995A (en) | A kind of combine operation state on_line monitoring system | |
CN206209361U (en) | Sensor test platform based on virtual instrument | |
CN206336870U (en) | Elevator running environment monitoring system | |
CN111227809A (en) | Wireless physical sign information monitoring system | |
CN219185701U (en) | Remote monitor for fire extinguisher |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190823 |