CN108765822A - Infrared ray domestic safety prevention system - Google Patents

Infrared ray domestic safety prevention system Download PDF

Info

Publication number
CN108765822A
CN108765822A CN201810598100.7A CN201810598100A CN108765822A CN 108765822 A CN108765822 A CN 108765822A CN 201810598100 A CN201810598100 A CN 201810598100A CN 108765822 A CN108765822 A CN 108765822A
Authority
CN
China
Prior art keywords
raspberry
human body
detection module
stranger
body infrared
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
CN201810598100.7A
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.)
Guangxi Science and Technology Normal University
Original Assignee
Guangxi Science and Technology Normal 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 Guangxi Science and Technology Normal University filed Critical Guangxi Science and Technology Normal University
Priority to CN201810598100.7A priority Critical patent/CN108765822A/en
Publication of CN108765822A publication Critical patent/CN108765822A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation 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/19Actuation 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/191Actuation 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

Abstract

The invention discloses infrared ray domestic safety prevention systems, Raspberry Pi is connected into background server with human body infrared detection module by internet, the data with alert that the stranger detected swarms into is transmitted on specified server, it is transmitted to mobile phone after data store, user is made to know family stranger.The beneficial effects of the invention are as follows can be made requests on using Cloud Server with lower cost and parsing makes it possible to that family is controlled and accessed in real time.The service for the realization remote handset client-side management fitment for making user experience portable, effectively prevents the generation that family has stranger to swarm into.

Description

Infrared ray domestic safety prevention system
Technical field
The invention belongs to technical field of security and protection, are related to infrared ray domestic safety prevention system.
Background technology
With the development of society, the progress of science and technology, the continuous promotion of people's quality of the life, security precautions are gradual Enhancing, whether people increasingly focus on the environment residing for itself safe.In manager nobody or when only the old and the children are in, must It must consider being perfectly safe for kinsfolk's life and property.Home security product is also increasingly favored by family.By right The intelligent control of related facility in home life, to improve people's lives quality.Its facility for reaching after intelligence not only may be used To greatly promote the performance of equipment, it is provided simultaneously with safety, comfort level and the terseness of its height.With burglar alarm on the market It compares, these common alarms all have some defects, and technical costs is high, also there is prodigious unstability.
Currently, for smart home guard system technology there are many kinds of form, most common is exactly infrared observation skill Art.It is perfect that performance based on market burglar alarm has numerous technological means to go, but by the defect of each technology itself, technique With the influences such as use environment, be still user's most sad headache the problem of such as fail to report, report by mistake, interfering.With Internet of Things and intelligent family What is occupied is continuous universal, and the application of burglar alarm has welcome the opportunity of development.
Invention content
The purpose of the present invention is to provide infrared ray domestic safety prevention systems, and the beneficial effects of the invention are as follows can be with lower Cost, is made requests on using Cloud Server and parsing makes it possible to that family is controlled and accessed in real time.Make user experience portable Realization remote handset client-side management fitment service, effectively prevent the generation that family has stranger to swarm into.Meanwhile The system has preferable scalability, and modular form has been managed collectively all kinds of fitments by master control core Raspberry Pi To get up, Each performs its own functions for all kinds of fitments, does not interfere with each other, and will not cause error in data, and highly reliable, high sensitivity is small, It is at low cost, ultra low voltage operating mode long distance wireless early warning.Therefore, have great convenience for the user the demand customized.
The technical solution adopted in the present invention be include Raspberry Pi, human body infrared detection module and server, by raspberry Group connects background server with human body infrared detection module by internet, and the data with alert that the stranger detected swarms into passes It is sent on specified server, mobile phone is transmitted to after data store, user is made to know family stranger;
This system is created HC-SR501Device and is controlled it using equipment access API first, is used DveiceManagerAPI and GPIOPinConfig creates a function for initializing and activating GPIO24 feet;Wherein:
Device name:0
Pin numbering:GPIO 24
Direction:Only input
Pattern:Drop-down
Trigger:Rising edge
Initial value:false
Wait for that PIR is initialized Deng 3 seconds
A method is created to receive the class defined, supports infrared radiation detection to close and open, and calculate detection Method setting is reasonable, makes point-to-point image using detection signal, then shown by the desktop of Raspberry Pi, calls Internet Server Network interface is sent the SMS to image transmitting to Service-Port on mobile phone by network using existing technology.
Further, human body infrared detection module is model HC-SR501.
Further, the 5v pins of Raspberry Pi connect the anode of human body infrared detection module, and the GPIO1 pins of Raspberry Pi connect The OUT pins of human body infrared detection module are connect, the TXD pins of Raspberry Pi connect the cathode of human body infrared detection module.
Description of the drawings
Fig. 1 is system search coverage schematic diagram;
Fig. 2 is system connection diagram.
Specific implementation mode
The present invention is described in detail With reference to embodiment.
Infrared ray domestic safety prevention system of the present invention, after Raspberry Pi is connected with human body infrared detection module by internet Platform server, the data with alert that the stranger detected swarms into are transmitted on specified server, are transmitted after data store To mobile phone, user is made to know family stranger.Fig. 1 is search coverage schematic diagram of the present invention.
The amplitude output signal of Thermoelectric Infrared Sensor is smaller, frequency is low, detecting distance is short, in order to make it have reality With value, we use two measures:(1) it installs one piece of hemisphere face Fresnel Lenses before Thermoelectric Infrared Sensor additional, matches It closes PIR and improves its receiving sensitivity.(2) cooperation amplifying circuit amplifies signal.10m even farther one can thus be measured The activity of the people of point.
In addition after lens, due to the special construction of lens, can be generated with received signal alternate " blind area " and " highly sensitive Area ".When someone walks out-of-date before lens, the infrared ray that human body is sent out is just constantly by " blind area " entrance " highly sensitive area ".In this way The infra-red radiation of generation is put into Thermoelectric Infrared Sensor, to improve its receiving sensitivity, makes its command range It is increased within 8 meters or even farther distance.The infrared heat caused by Thermoelectric Infrared Sensor detects human motion When changing, and being transformed into electric signal, amplified by frequency-selecting, compared, delay timing, controlling the links such as pulse output, will controlled Signal processed is sent into control circuit, then generates the sufficiently large control signal of amplitude to trigger bidirectional output port, is allowed to conducting and band Dynamic alarm or the action of other actuators constitute complete monitoring system.
(1) parameter setting Raspberry Pi of the present invention is at wireless connection conditions;
sudo nano/etc/wpa.conf
network{
Ssid=" wireless network names "
Wep_key0=" wireless networks password "
}
(2) as shown in Figure 1, connection Raspberry Pi and the human body infrared detection modules of HC-SR501, three lines of module connect respectively+ 24 foot of 5v, gpio, the Raspberry Pi interface of gnd;
By the pir sensor used, there are three pins for we:Ground connection, numeral output and 3-5Vdc inputs.When idle, if Movement is not detected, digital output signal will stay in that low.But when detecting movement, digital output signal is by pulse height (3.3V)。
(3) wire jumper setting to the position " L " will be generated into primary (not reproducible) triggering.It, will be when wire jumper is located at this position Sensor events enable sensing after occurring, and can thus continue detection movement.If can't detect movement, output will be locked as Low 3 seconds.
Wire jumper setting to the position " H " will be generated into repeatable triggering.When wire jumper is set to " H " (acquiescence) position, it will occur (that is, once output is height) disabling sensing after sensor events.
(4) it programs:
HC-SR501Device is created to control it using equipment access API
A function for initializing and activating GPIO24 feet is created using DveiceManagerAPI and GPIOPinConfig
Device name:0
Pin numbering:GPIO 24 (specified by pinGPIO)
Direction:Only input
Pattern:Drop-down
Trigger:Rising edge
Initial value:false
Wait for that PIR is initialized Deng 3 seconds
A method is created to receive the class defined, supports infrared radiation detection to close and open, and calculate detection Method setting is reasonable, makes point-to-point image using detection signal, then shown by the desktop of Raspberry Pi, calls Internet Server Network interface is sent the SMS to image transmitting to Service-Port on mobile phone by network using existing technology.
(5) human body infrared wire module, adjustable sensitivity are adjusted
Adjustment sensitivity potentiometer promotes sensor distance clockwise, then shortens distance counterclockwise
Adjustment delay potentiometer increases the delay of sensor clockwise, then reduces delay (6) detection counterclockwise
When idle, if it is detecting that human motion, digital output signal will keep low level, and not send out alarm.Detection To when human motion, digital output signal sends a warning pulse height.
This experiment is using HR-SR501 human body induction modules as sensing element.With reference to the above Raspberry Pi and HR- The circuit diagram of SR501 human body induction modules composition.The external 5V power supplys of the sensor, inside are equipped with Fresnel lens, detection zone For spherical shape, effectively warning distance is 3~6m, and deflection is<100 degree of obtuse angles.When the hand of human body or certain part of body are red In outside line detection zone, the infrared ray that RPI is sent out passes through since human body hand or body block and be reflected into infrared receiver tube The micro computer of BIOSS001 treated signal is sent to OUT signal output, according to the instruction of OUT by being edited in Raspberry Pi Program calculates, and to send out alarm 60s on MISO pin movement orders to loudspeaker, and internet remote alarm is triggered after the 7s that is delayed Program, mobile phone receive short message immediately;When the hand or body of human body leave infrared induction range, RIP does not receive signal, the ends H Mouth passes through internal spring and carries out repeated trigger control.
The above is only the better embodiment to the present invention, not makees limit in any form to the present invention System, every any simple modification that embodiment of above is made according to the technical essence of the invention, equivalent variations and modification, Belong in the range of technical solution of the present invention.

Claims (3)

1. infrared ray domestic safety prevention system, it is characterised in that:It, will including Raspberry Pi, human body infrared detection module and server Raspberry Pi connects background server with human body infrared detection module by internet, the alarm number that the stranger detected swarms into According to being transmitted on specified server, it is transmitted to mobile phone after data store, user is made to know family stranger;
This system is created HC-SR501Device and is controlled it using equipment access API first, is used DveiceManagerAPI and GPIOPinConfig creates a function for initializing and activating GPIO24 feet;Wherein:
Device name:0
Pin numbering:GPIO 24
Direction:Only input
Pattern:Drop-down
Trigger:Rising edge
Initial value:false
Wait for that PIR is initialized Deng 3 seconds
A method is created to receive the class defined, supports infrared radiation detection to close and open, and set to detection algorithm It sets rationally, makes point-to-point image using detection signal, then shown by the desktop of Raspberry Pi, call Internet Server network Interface is sent the SMS to image transmitting to Service-Port on mobile phone by network using existing technology.
2. according to infrared ray domestic safety prevention system described in claim 1, it is characterised in that:The human body infrared detection module is Model HC-SR501.
3. according to infrared ray domestic safety prevention system described in claim 1, it is characterised in that:The 5v pins of the Raspberry Pi connect people The GPIO1 pins of the anode of body infrared detection module, Raspberry Pi connect the OUT pins of human body infrared detection module, raspberry The TXD pins of group connect the cathode of human body infrared detection module.
CN201810598100.7A 2018-06-12 2018-06-12 Infrared ray domestic safety prevention system Pending CN108765822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810598100.7A CN108765822A (en) 2018-06-12 2018-06-12 Infrared ray domestic safety prevention system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810598100.7A CN108765822A (en) 2018-06-12 2018-06-12 Infrared ray domestic safety prevention system

Publications (1)

Publication Number Publication Date
CN108765822A true CN108765822A (en) 2018-11-06

Family

ID=64021445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810598100.7A Pending CN108765822A (en) 2018-06-12 2018-06-12 Infrared ray domestic safety prevention system

Country Status (1)

Country Link
CN (1) CN108765822A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205091868U (en) * 2015-10-26 2016-03-16 重庆工程职业技术学院 Thing allies oneself with intelligent household security alarm system
CN205788599U (en) * 2016-07-02 2016-12-07 中国人民解放军63680部队 Simple anti-human body invasion safety-protection system based on Fructus Rubi group
JP2017535897A (en) * 2014-11-06 2017-11-30 テンポラル ディフェンス システムズ, エルエルシー Autonomous control system and method for protecting infrastructure
CN107788966A (en) * 2017-10-30 2018-03-13 天津大学 A kind of family health care monitor control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017535897A (en) * 2014-11-06 2017-11-30 テンポラル ディフェンス システムズ, エルエルシー Autonomous control system and method for protecting infrastructure
CN205091868U (en) * 2015-10-26 2016-03-16 重庆工程职业技术学院 Thing allies oneself with intelligent household security alarm system
CN205788599U (en) * 2016-07-02 2016-12-07 中国人民解放军63680部队 Simple anti-human body invasion safety-protection system based on Fructus Rubi group
CN107788966A (en) * 2017-10-30 2018-03-13 天津大学 A kind of family health care monitor control system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何静如: "基于树莓派的多功能智能家居系统", 《物联网技术》 *
桂龙等: "基于树莓派和onenet云平台的智能家居系统的设计", 《福建电脑》 *

Similar Documents

Publication Publication Date Title
Somani et al. IoT based smart security and home automation
US10290191B2 (en) Alarm arming with open entry point
EP3428898B1 (en) Motion sensor adjustment
CN104408851B (en) A kind of cell intelligent safety monitoring system based on Internet of Things
US20160189511A1 (en) Entry point opening sensor
US10593190B2 (en) Systems and methods of providing status information in a smart home security detection system
RU2635785C2 (en) Method and device for alert message transmission
TW201331893A (en) Intelligent monitoring system with automatic notification and intelligent monitoring device thereof
KR20200082766A (en) Monitoring system for smart factory
CN106981166A (en) A kind of network intelligence photoelectric smoke detecting alarm control system and its control method
US20160341435A1 (en) Systems and methods of detection with active infrared sensors
CN103096044A (en) Monitoring system and webcam
CN106997649A (en) A kind of network intelligence open flame detector control system and its control method
CN208424405U (en) A kind of Intelligent housing and monitoring system
CN109118700A (en) A kind of fire detection interlink alarm system and its method based on LoRaWAN
CN105844209A (en) Visitor identification based on infrared radiation detection
Sunehra et al. An intelligent surveillance with cloud storage for home security
CN201681475U (en) Smart monitor and alarm system based on wireless local area network
CN102739715A (en) Embedded household security monitor based on wireless sensor network
CN112352408B (en) Intruder detection method and device
CN207720304U (en) A kind of intelligent remote video monitoring system merged based on mobile intelligent terminal and technology of Internet of things
CN106788617A (en) Smart bluetooth beacon socket
Karim Smart home system based on GSM network
CN108765822A (en) Infrared ray domestic safety prevention system
CN203151666U (en) Monitoring system and network camera

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