CN205478485U - Multi -functional intelligent exhaust fan in bathroom based on STM32 - Google Patents

Multi -functional intelligent exhaust fan in bathroom based on STM32 Download PDF

Info

Publication number
CN205478485U
CN205478485U CN201620280777.2U CN201620280777U CN205478485U CN 205478485 U CN205478485 U CN 205478485U CN 201620280777 U CN201620280777 U CN 201620280777U CN 205478485 U CN205478485 U CN 205478485U
Authority
CN
China
Prior art keywords
fan
relay
sensor
chip microcomputer
bathroom
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
Application number
CN201620280777.2U
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.)
Anhui University of Science and Technology
Original Assignee
Anhui University of Science and Technology
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 Anhui University of Science and Technology filed Critical Anhui University of Science and Technology
Priority to CN201620280777.2U priority Critical patent/CN205478485U/en
Application granted granted Critical
Publication of CN205478485U publication Critical patent/CN205478485U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model relates to a multi -functional intelligent exhaust fan in bathroom based on STM32, include: host system, signal acquisition module, warning module, control module, executable module, host system includes the STM32F103ZET6 singlechip, the signal acquisition module includes humidity transducer, infrared sensor and gas sensor, warning module includes the alarm lamp, control module includes the relay, the executable module includes the fan. The utility model discloses the realization in to the bathroom humidity and the toxic gas is accurate monitors high -efficiently, humidity too big or open the exhaust fan immediately when having hazardous gas when the bathroom in, and is outdoor with moisture or harmful gas discharge, avoids causing harm to the human body, simultaneously, the detection to the human body can be realized, when the user gets into or is using the bathroom, the fan is opened, squalid air of discharging, the electric energy had been practiced thrift to the self -closing fan when user left. Automatically air exhaust and take a breath, keep the clean fresh of in bathroom air.

Description

A kind of toilet based on STM32 multifunctional intellectual ventilating fan
Technical field
The utility model relates to Intelligent housing field, the many merits in a kind of toilet based on STM32 Can Intelligent drainage fan.
Background technology
Current family life, especially urban family, all live in the middle of building, and the space in house is smaller, Gravity-flow ventilation ability is poor, so we typically can select to install exhaust fan to solve asking of room ventilation ability Topic, and toilet is the most important thing, is moisture and place that foul smell is concentrated the most, and gas heater is likely Cause gas leakage, because toilet is not installed ventilating fan and is caused the situation of user's gas poisoning to happen occasionally yet, So the effect of bathroom exhaust fan is particularly important.Conventional exhaust fan has defect and the deficiency of many, the most main Want is intelligent not, needs manually opened and closes, it is impossible to enough environmental aspect in toilet being carried out intelligence Detection also decides opening and closing in its sole discretion according to testing result, have forgotten closedown exhaust fan many times user, Often result in unnecessary waste of energy.
Utility model content
The utility model purpose is to provide a kind of toilet based on STM32 multifunctional intellectual ventilating fan, to solve Major part ventilating fan is the most intelligent the most in the market, needs manually opened and closes, it is impossible to enough in toilet Environment carries out detecting and automatically determining opening and closing, when user have forgotten closedown exhaust fan, causes electric energy wave The problem taken.This device is with STM32 single-chip microcomputer as control core, by humidity sensor and gas sensor Respectively the humidity in toilet and pernicious gas are monitored, when humidity is excessive or detects that coal gas etc. is poisonous During gas, automatically turn on ventilating fan;By infrared sensor, human body is detected, defend when finding that user enters Time between life, automatically turn on ventilating fan.
For reaching above-mentioned purpose, the utility model solves its technical problem and be the technical scheme is that a kind of base In the toilet multifunctional intellectual ventilating fan of STM32, including: main control module, signal acquisition module, warning Module, control module, execution module;Main control module includes STM32F103ZET6 single-chip microcomputer;Signals collecting Module includes humidity sensor, infrared sensor and gas sensor;Alarm module includes alarm lamp;Control mould Block includes relay;Perform module and include fan.Humidity sensor, infrared sensor, gas sensor and list Sheet machine is electrical connection;Alarm lamp and single-chip microcomputer are electrical connections;Relay and single-chip microcomputer are electrical connections;Wind Fan and relay are electrical connections.
Described STM32F103ZET6 single-chip microcomputer is responsible for receiving the signal that collects of sensor, to humidity, poisonous Gas and the information having people to enter carry out corresponding computing and process, when receiving responsible reception simultaneously and process real-time Clock sends the time signal of coming, and decides whether to export control signal to relay according to the testing result of sensor.
Described humidity sensor and gas sensor are each responsible for detecting toilet humidity and toxic gas situation, And the result recorded is transferred to single-chip microcomputer processes and convert;Infrared sensor is responsible for detecting whether user enters Enter or leave toilet, when detecting that user enters, sending a signal to single-chip microcomputer immediately, when user leaves, Stop sending signal.Humidity sensor uses DHT11 type moisture sensor module, and gas sensor uses MQ-7 Type CO gas sensor module, infrared sensor uses HC-SR501 type human body infrared induction module, Sensor is mounted on the ceiling in toilet, outside the probe of infrared sensor needs to be exposed to, it is impossible to have Block.
The luminous alarm when gas sensor detects toxic gas is responsible for by described alarm lamp, and alarm lamp uses LED Lamp.
Described relay is responsible for accepting the control signal that single-chip microcomputer is sent, and controls unlatching and the stopping of fan, and it is The intermediate conversion module of vulnerabilities scan forceful electric power.
Exhaust ventilation is when needed responsible for by described fan, is discharged by the air of moisture, pernicious gas and dirt, it Work by Control, start working during relay Guan Bi, relay quits work when disconnecting.
Humidity in toilet is detected by the utility model by humidity sensor, and humidity sensor is output as Digital quantity, single-chip microcomputer can directly be converted into manageable data mode, and with the threshold value of default Comparing, the humidity threshold set in native system is as 45%, and when measured value is more than 45%, single-chip microcomputer is defeated Going out high level signal also to close to relay, the actuating of relay, fan accesses power supply and starts working, by indoor Moisture discharge chamber outside;When measured value is less than 45%, indoor moisture is little, and single-chip microcomputer is output as low level, Relay will not action, relay is off, and fan does not access power supply, thus without work.Logical Cross gas sensor the toxic gases such as the coal gas in toilet and carbon monoxide are detected, gas sensor Being output as switching value, only can export two kinds of level of height, its sensitivity can be adjusted by the sensitivity above it Joint knob manually regulates, and it is the most obvious that adjustment of sensitivity obtains more high detection effect;When gas sensor detects During pernicious gas, transmission high level signal is to single-chip microcomputer immediately, after single-chip microcomputer receives high level signal, immediately Output high level signal is to relay, and meanwhile, single-chip microcomputer can send control signal and light to alarm lamp, alarm lamp, Relay receive high level after action closing, fan accesses power supply and also starts working, and being had indoor immediately Outside poisonous gas discharge chamber, by ozone suction chamber;When gas sensor is not detected by pernicious gas, High level signal will not be sent will not move to relay, relay to single-chip microcomputer, single-chip microcomputer output low level signal Making, fan does not access power supply and quits work, and single-chip microcomputer also will not send control signal to alarm lamp, reports to the police not Can be bright.By infrared sensor, the human body entering toilet is detected, the infrared emanation meeting of human-body emitting Producing electric current on the probe of infrared sensor, in order to effectively detect, the probe of infrared sensor can not be by Blocking, the output of infrared sensor is similarly switching value, also only has two kinds of level of height, and its sensitivity is same Manually can be adjusted by sensitivity knob, it is the biggest that adjustment of sensitivity obtains the highest valid analysing range;Work as inspection When measuring user's entrance or be currently in use toilet, infrared sensor can export high level signal, and single-chip microcomputer connects When receiving high level, the level being delivered to relay becomes high level, and relay closes, and fan accesses power supply Starting working, unclean air user produced during using toilet is discharged, and changes outdoor cleaning into Air;When user leaves, infrared sensor is output as low level, after single-chip microcomputer receives low level, and will The level flowing to relay becomes low level signal, and relay disconnects, and fan deenergization quits work, and keeps away Exempt from the waste of electric energy.
The utility model has the advantages that: realize the humidity in toilet and toxic gas are accurately and efficiently monitored, Ventilating fan is opened immediately, by moisture or harmful when toilet humidity is excessive or there is toxic and harmful Outside gas discharge chamber, it is to avoid human body is worked the mischief;Meanwhile, it is capable to realize the detection to human body, when user enters When entering or be currently in use toilet, open fan, discharge unclean air, when user leaves, be automatically switched off wind Fan, has saved electric energy.Solve major part ventilating fan in the market the most intelligent, need manually opened and close Close, it is impossible to enough environment in toilet detected and automatically determine opening and closing, have forgotten closedown user During exhaust fan, the problem causing waste of energy.Automatic exhausting is taken a breath, and in holding toilet, the cleaning of air is pure and fresh.
Accompanying drawing explanation
Accompanying drawing 1 is structured flowchart of the present utility model;
Detailed description of the invention
Below according to accompanying drawing, the utility model is described in detail:
Structured flowchart as it is shown in figure 1, toilet based on STM32 multifunctional intellectual ventilating fan, including: main Control module, signal acquisition module, alarm module, control module, execution module;Main control module includes STM32F103ZET6 single-chip microcomputer;Signal acquisition module includes that humidity sensor, infrared sensor and gas pass Sensor;Alarm module includes alarm lamp;Control module includes relay;Perform module and include fan.Humidity passes Sensor, infrared sensor, gas sensor and single-chip microcomputer are electrical connections;Alarm lamp and single-chip microcomputer are electrically to connect Connect;Relay and single-chip microcomputer are electrical connections;Fan and relay are electrical connections.The utility model is by wet Humidity in toilet is detected by degree sensor, and humidity sensor is output as digital quantity, and single-chip microcomputer can be straight Connect and be converted into manageable data mode, and compare with the threshold value of default, native system sets Fixed humidity threshold is 45%, when measured value more than 45% time, single-chip microcomputer output high level signal to relay, The actuating of relay also closes, and fan accesses power supply and starts working, by outside indoor moisture discharge chamber;Work as measurement When value is less than 45%, indoor moisture is little, and single-chip microcomputer is output as low level, relay will not action, relay Being off, fan does not access power supply, thus without work.By gas sensor in toilet Coal gas and the toxic gas such as carbon monoxide detect, gas sensor is output as switching value, only can export Just two kinds of level, its sensitivity manually can be regulated by the adjustment of sensitivity knob above it, spirit Sensitivity regulate more high detection effect is the most obvious;When gas sensor detects pernicious gas, send height immediately Level signal is to single-chip microcomputer, and after single-chip microcomputer receives high level signal, output high level signal is to relay immediately, Meanwhile, single-chip microcomputer can send control signal and light to alarm lamp, alarm lamp, and relay is dynamic after receiving high level Making and close, fan accesses power supply and starts working, immediately by outside indoor toxic gas discharge chamber, by fresh Air suction chamber in;When gas sensor is not detected by pernicious gas, will not send high level signal to Single-chip microcomputer, single-chip microcomputer output low level signal to relay, relay will not action, fan does not access power supply Quitting work, single-chip microcomputer also will not send control signal to alarm lamp, and warning will not be bright.Pass through infrared sensor Detecting the human body entering toilet, the infrared emanation of human-body emitting can be on the probe of infrared sensor Producing electric current, in order to effectively detect, the probe of infrared sensor can not be blocked, infrared sensor defeated Going out to be similarly switching value, also only have two kinds of level of height, its sensitivity again may be by sensitivity knob hand Moving and be adjusted, it is the biggest that adjustment of sensitivity obtains the highest valid analysing range;When detecting that user enters or When using toilet, infrared sensor can export high level signal, when single-chip microcomputer receives high level, and will conveying Becoming high level to the level of relay, relay closes, and fan accesses power supply and starts working, and user is made Discharge with the unclean air produced during toilet, change outdoor clean air into;When user leaves, Infrared sensor is output as low level, and after single-chip microcomputer receives low level, the level being delivered to relay becomes Becoming low level signal, relay disconnects, and fan deenergization quits work, it is to avoid the waste of electric energy.
Of the present utility model general principle and principal character and of the present utility model advantage have more than been shown and described. Any those familiar with the art, can be apparently in the technical scope that the utility model discloses The simple change of the technical scheme obtained or equivalence are replaced and are each fallen within protection domain of the present utility model.

Claims (1)

1. toilet based on a STM32 multifunctional intellectual ventilating fan, it is characterised in that including: master control mould Block, signal acquisition module, alarm module, control module, execution module;Main control module includes STM32F103ZET6 single-chip microcomputer;Signal acquisition module includes that humidity sensor, infrared sensor and gas pass Sensor;Alarm module includes alarm lamp;Control module includes relay;Perform module and include fan;Humidity passes Sensor, infrared sensor, gas sensor and single-chip microcomputer are electrical connections;Alarm lamp and single-chip microcomputer are electrically to connect Connect;Relay and single-chip microcomputer are electrical connections;Fan and relay are electrical connections.
CN201620280777.2U 2016-04-05 2016-04-05 Multi -functional intelligent exhaust fan in bathroom based on STM32 Expired - Fee Related CN205478485U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620280777.2U CN205478485U (en) 2016-04-05 2016-04-05 Multi -functional intelligent exhaust fan in bathroom based on STM32

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620280777.2U CN205478485U (en) 2016-04-05 2016-04-05 Multi -functional intelligent exhaust fan in bathroom based on STM32

Publications (1)

Publication Number Publication Date
CN205478485U true CN205478485U (en) 2016-08-17

Family

ID=56643867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620280777.2U Expired - Fee Related CN205478485U (en) 2016-04-05 2016-04-05 Multi -functional intelligent exhaust fan in bathroom based on STM32

Country Status (1)

Country Link
CN (1) CN205478485U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108224661A (en) * 2018-04-16 2018-06-29 安徽机电职业技术学院 A kind of toilet automatic dehumidifying disinfection system
CN109441866A (en) * 2018-10-31 2019-03-08 金威建设集团有限公司 A kind of exhaust fan with learning ability

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108224661A (en) * 2018-04-16 2018-06-29 安徽机电职业技术学院 A kind of toilet automatic dehumidifying disinfection system
CN109441866A (en) * 2018-10-31 2019-03-08 金威建设集团有限公司 A kind of exhaust fan with learning ability

Similar Documents

Publication Publication Date Title
CN104406243B (en) Indoor pressure-fired air cleaner with fresh-air ventilation function
CN208398939U (en) A kind of room air detection device
CN110262330A (en) A kind of smart home environment monitoring system and method based on Arduino
US10982873B1 (en) Integrated air quality control system
CN209147331U (en) A kind of intelligent environment protection humidifier
CN204252723U (en) A kind of domestic intelligent safe window control device
CN205478485U (en) Multi -functional intelligent exhaust fan in bathroom based on STM32
CN104806549A (en) Control system of indoor exhaust fan and lamp
CN209471372U (en) A kind of intelligent home control system
CN203070075U (en) Intelligent home system
CN107740607A (en) A kind of intelligent things public lavatory
CN208475570U (en) Air purifier booting-self controller switch and its system
CN105573136A (en) Home environment quality monitoring system
CN106091283A (en) A kind of system controlling air purifier based on indoor image detecting
CN206162091U (en) Intelligent housing system
CN114076819A (en) Home environment monitoring circuit, detection device and robot
CN209278191U (en) A kind of intelligent ventilating fan
CN208687939U (en) Intelligent indoor air cleaning system
CN204663938U (en) The control system of a kind of indoor exhaust fan and lamp
CN110258736B (en) Intelligent method and system for healthy air in public toilet
CN106020302A (en) Lab environment monitoring device
CN208347548U (en) A kind of window control device for release pernicious gas after fitting up
CN209308132U (en) A kind of energy-efficient public restroom exhaust fan control system
CN109183930A (en) A kind of toilet deodorization system
CN210402653U (en) Odor alarm device for toilet

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: 20160817

Termination date: 20170405