CN203397148U - Automatic controller designed based on MCU - Google Patents
Automatic controller designed based on MCU Download PDFInfo
- Publication number
- CN203397148U CN203397148U CN201320505186.7U CN201320505186U CN203397148U CN 203397148 U CN203397148 U CN 203397148U CN 201320505186 U CN201320505186 U CN 201320505186U CN 203397148 U CN203397148 U CN 203397148U
- Authority
- CN
- China
- Prior art keywords
- chip microcomputer
- room
- mouth
- motor
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Control Of Positive-Displacement Air Blowers (AREA)
Abstract
The utility model relates to an automatic controller designed based on an MCU. The automatic controller comprises a single-chip microcomputer, two infrared control systems, a microphone, a motor drive and a working power supply. A port P2.0 and a port P2.1 of the single-chip microcomputer IO are respectively connected with infrared receiving circuits of two infrared receiving tubes, external interrupt P3.2 of the single-chip microcomputer receives the voltage of voice signals, an output port P2 of the single-chip microcomputer is connected with the motor drive, a pin P2.3 is connected with an electromagnetic relay which control on/off states of a motor of an electric appliance; infrared emission tubes are respectively arranged at the entrance of a room and in the room; and the microphone is arranged in the room. When voltage change is detected by the external interrupt P3.2 , the interrupt starts the motor of the electric appliance, and on/off time of the motor is controlled to be 10-20min; when the port P2.0 of the single-chip microcomputer receives a low level before that the port P2.1 receives the low level, i.e., someone enters the room, the motor of the electric appliance is started to work; and when the port P2.1 of the single-chip microcomputer receives the low level before that the port P2.0 receives the low level, i.e., someone goes out of the room, the motor of the electric appliance stops working. The automatic controller designed based on the MCU reduces waste of power resource due to manual control for exhaust fans, thereby saving the resource, and popularizing automation in daily life.
Description
Technical field
The utility model relates to a kind of self-actuated controller based on MCU design, is specifically related to the exhaust fan control system of the robotization under control system, belongs to automatic control technology field.
Background technology
Exhaust fan on market is by manually controlling substantially, selects the switch on and off of exhaust fan under people's control, easily causes on this basis the waste of electric power resource, cannot guarantee the maximization that electric power resource utilizes.Therefore, need a kind of new robotization exhaust fan control system.
Utility model content
The purpose of this utility model is to provide a kind of self-actuated controller based on MCU design, solves and manually controls the wasting phenomenon to electric power resource under exhaust fan, realizes the saving of resource, promotes the application of robotization to life.
The purpose of this utility model is achieved through the following technical solutions, and a kind of self-actuated controller based on MCU design comprises that single-chip microcomputer, working power, 2 infrared transmitting tubes, 2 infrared receiving tubes, Mike and motors drive; The P2.0 mouth of single-chip microcomputer IO and P2.1 mouth connect respectively the infrared receiving circuit of two infrared receiving tubes, single-chip microcomputer external interrupt P3.2 received speech signal voltage, single-chip microcomputer output P2 mouth connects motor and drives, and the P2.3 pin of single-chip microcomputer connects electromagnetic relay, the break-make of control apparatus motor; The infrared transmitting tube corresponding with the infrared receiving tube of the P2.0 mouth of single-chip microcomputer IO is arranged on porch, room, and the infrared transmitting tube corresponding with the infrared receiving tube of the P2.1 mouth of single-chip microcomputer IO is arranged in room; Mike is arranged in room;
Single-chip microcomputer initialization, drives initialization, opens interruption, when external interrupt P3.2 has detected change in voltage, first starts and interrupts opening electrical equipment and electrical work, and the switch off time of controlling motor is 10-20 minute; When single-chip microcomputer P2.0 mouth first receives low level, while receiving low level state after P2.1 mouth, people enters in room, opens electrical equipment and electrical work; When single-chip microcomputer P2.1 mouth first receives low level, while receiving low level state after P2.0 mouth, people walks out outside room, and disable motor electrical equipment quits work.
Preferably, described single-chip microcomputer adopts STC89C52RC single-chip microcomputer.
Preferably, described infrared transmitting tube is TLN205 infrared transmitting tube, and infrared receiving tube is TPS708 infrared receiving tube.
Preferably, described electrical equipment is exhaust fan or electric fan.
Compared with prior art, the utlity model has following beneficial effect:
The first, the effect of detection is sensitive, and the switch that well reaches motor is controlled.The utility model adopts two pairs of infrared control systems, well controls people and passes in and out the control that room cut-offs motor; The receive infrared detection sensitive by control chip arrives the voltage difference that people produces; Two pairs of infrared detection systems improve the clever lightness detecting, and can be controlled at unlatching and the break-make whether people enters room control exhaust fan.Automatically whether someone enters room in detection, and the break-make of automatic control exhaust fan is saved the trouble that manual unlocking is closed exhaust fan.
The second, dual schemes design, avoids the waste of electric power resource.The utility model is the preferential voice control function that starts under the control of control chip, by control chip, detects the voltage that voice produce, thereby opens the running time of exhaust fan, the more intelligentized waste of avoiding electric power resource.The break-make of two schemes Based Intelligent Control motor, more reasonably controls time of exhaust fan break-make, realizes the intelligence of exhaust fan or electric fan is used.
The 3rd, the break-make of automatic control exhaust fan has been avoided the state that exhaust fan is still worked in the situation that people leaves, and has saved electric power resource.The design of automatic control exhaust fan keeps the fresh of room air constantly, gives the joyful mood of people.
The 4th, self-actuated controller can be independent of exhaust fan work completely, portable high.This circuit is by voice, and infrared detection is controlled motor, and circuit part can depart from the impact of exhaust fan self work completely, and this circuit is independent of exhaust fan.Can pass through the current function of routine change and operating characteristic.
The 5th, self-actuated controller can better be applied to household automation control field.Such as, it can be transplanted on the household electrical appliance such as electric fan, and working interface of exploitation that can be independent, better serve the control system of intelligent residence.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of the hardware components of the self-actuated controller of the utility model based on MCU design;
Fig. 2 is the MCU control circuit figure of the self-actuated controller of the utility model based on MCU design;
Fig. 3 is the Q1 infrared emission receiving circuit figure of the self-actuated controller of the utility model based on MCU design;
Fig. 4 is the Q2 infrared emission receiving circuit figure of the self-actuated controller of the utility model based on MCU design;
Fig. 5 is the motor-drive circuit figure of the self-actuated controller of the utility model based on MCU design;
Fig. 6 is the infrared transmitting circuit figure of the self-actuated controller of the utility model based on MCU design;
Fig. 7 is the infrared receiving circuit figure of the self-actuated controller of the utility model based on MCU design;
Fig. 8 is the sound control circuit figure of the self-actuated controller of the utility model based on MCU design;
Fig. 9 is the process flow diagram of the software section of the self-actuated controller of the utility model based on MCU design;
Figure 10 is the schematic diagram that function is processed in the interruption of Fig. 9;
Figure 11 is the schematic diagram of the infrared processing function of Fig. 9.
Embodiment
Below in conjunction with embodiment, the utility model is further described.
As shown in Fig. 1-11, a kind of self-actuated controller based on MCU design, comprises hardware components and software section.
Hardware components comprises single-chip microcomputer, 2 infrared transmitting tubes, 2 infrared receiving tubes, Mike, motor driving, electromagnetic relay and working powers.The P2.0 mouth of single-chip microcomputer IO and P2.1 mouth connect respectively the infrared receiving circuit of two infrared receiving tubes, single-chip microcomputer external interrupt P3.2 received speech signal voltage, single-chip microcomputer output P2 mouth connects motor and drives, and the P2.3 pin of single-chip microcomputer connects electromagnetic relay, the break-make of control apparatus motor.The infrared transmitting tube corresponding with the infrared receiving tube of the P2.0 mouth of single-chip microcomputer IO (being called for short Q1) is arranged on porch, room, and the infrared transmitting tube (Q2) corresponding with the infrared receiving tube of the P2.1 mouth of single-chip microcomputer IO is arranged in room.Mike is arranged in room.
When people is when entering outdoors room, infrared detecting device Q1 first produces the variation that produces voltage after the variation Q2 of voltage; When people is when walking out within doors room, infrared detecting device Q2 first produces the variation that produces voltage after the variation Q1 of voltage.Also can be according to the unlatching of people's Sound control motor.
The workflow of software section is: single-chip microcomputer initialization, drive initialization, and open interruption, when external interrupt P3.2 has detected change in voltage, first start and interrupt opening electrical equipment and electrical work, the switch off time of controlling motor is 10-20 minute; When single-chip microcomputer P2.0 mouth first receives low level, while receiving low level state after P2.1 mouth, people enters in room, opens electrical equipment and electrical work; When single-chip microcomputer P2.1 mouth first receives low level, while receiving low level state after P2.0 mouth, people walks out outside room, and disable motor electrical equipment quits work.
Single-chip microcomputer adopts STC89C52RC single-chip microcomputer.
Infrared transmitting tube is TLN205 infrared transmitting tube, and infrared receiving tube is TPS708 infrared receiving tube.
Electrical equipment can be exhaust fan or electric fan etc.
Fig. 9 is that function is processed in the interruption of single-chip microcomputer, the time counting configuration parameter of initialization single-chip microcomputer for interrupting, the judgement position of TF0 for interrupting.
In Figure 10 P2.3 be relay by triode the pin that is connected with main control chip, relay generation effect during P2.3=0, inhales and switch, and exhaust fan is worked.
The effect that the utility model detects is sensitive, and the switch that well reaches motor is controlled.The utility model adopts two pairs of infrared control systems, well controls people and passes in and out the control that room cut-offs motor; The receive infrared detection sensitive by control chip arrives the voltage difference that people produces; Two pairs of infrared detection systems improve the clever lightness detecting, and can be controlled at unlatching and the break-make whether people enters room control exhaust fan.Automatically whether someone enters room in detection, and the break-make of automatic control exhaust fan is saved the trouble that manual unlocking is closed exhaust fan.
The utility model adopts dual schemes design, avoids the waste of electric power resource.The utility model is the preferential voice control function that starts under the control of control chip, by control chip, detects the voltage that voice produce, thereby opens the running time of exhaust fan, the more intelligentized waste of avoiding electric power resource.The break-make of two schemes Based Intelligent Control motor, more reasonably controls time of exhaust fan break-make, realizes the intelligence of exhaust fan or electric fan is used.
The break-make of the utility model automatic control exhaust fan has been avoided the state that exhaust fan is still worked in the situation that people leaves, and has saved electric power resource.The design of automatic control exhaust fan keeps the fresh of room air constantly, gives the joyful mood of people.
The utility model self-actuated controller can be independent of exhaust fan work completely, portable high.This circuit is by voice, and infrared detection is controlled motor, and circuit part can depart from the impact of exhaust fan self work completely, and this circuit is independent of exhaust fan.Can pass through the current function of routine change and operating characteristic.
The utility model self-actuated controller can better be applied to household automation control field.Such as, it can be transplanted on the household electrical appliance such as electric fan, and working interface of exploitation that can be independent, better serve the control system of intelligent residence.
Claims (4)
1. the self-actuated controller based on MCU design, comprises single-chip microcomputer and working power, it is characterized in that, is provided with 2 infrared transmitting tubes, 2 infrared receiving tubes, Mike and motors drivings; The P2.0 mouth of single-chip microcomputer IO and P2.1 mouth connect respectively the infrared receiving circuit of two infrared receiving tubes, single-chip microcomputer external interrupt P3.2 received speech signal voltage, single-chip microcomputer output P2 mouth connects motor and drives, and single-chip microcomputer P2.3 pin is connected with the electromagnetic relay of control apparatus motor break-make; The infrared transmitting tube corresponding with the infrared receiving tube of the P2.0 mouth of single-chip microcomputer IO is arranged on porch, room, and the infrared transmitting tube corresponding with the infrared receiving tube of the P2.1 mouth of single-chip microcomputer IO is arranged in room; Mike is arranged in room;
Single-chip microcomputer initialization, drives initialization, opens interruption, when external interrupt P3.2 has detected change in voltage, first starts and interrupts opening electrical equipment and electrical work, and the switch off time of controlling motor is 10-20 minute; When single-chip microcomputer P2.0 mouth first receives low level, while receiving low level state after P2.1 mouth, people enters in room, opens electrical equipment and electrical work; When single-chip microcomputer P2.1 mouth first receives low level, while receiving low level state after P2.0 mouth, people walks out outside room, and disable motor electrical equipment quits work.
2. the self-actuated controller based on MCU design according to claim 1, is characterized in that, described single-chip microcomputer adopts STC89C52RC single-chip microcomputer.
3. the self-actuated controller based on MCU design according to claim 1 and 2, is characterized in that, described infrared transmitting tube is TLN205 infrared transmitting tube, and infrared receiving tube is TPS708 infrared receiving tube.
4. the self-actuated controller based on MCU design according to claim 3, is characterized in that, described electrical equipment is exhaust fan or electric fan.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320505186.7U CN203397148U (en) | 2013-08-19 | 2013-08-19 | Automatic controller designed based on MCU |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320505186.7U CN203397148U (en) | 2013-08-19 | 2013-08-19 | Automatic controller designed based on MCU |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203397148U true CN203397148U (en) | 2014-01-15 |
Family
ID=49908670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201320505186.7U Expired - Fee Related CN203397148U (en) | 2013-08-19 | 2013-08-19 | Automatic controller designed based on MCU |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203397148U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103412507A (en) * | 2013-08-19 | 2013-11-27 | 扬州市职业大学 | Automatic controller designed based on MCU |
CN105581570A (en) * | 2015-12-16 | 2016-05-18 | 美的集团股份有限公司 | Bathroom control system and method and bathroom mirror |
CN110505718A (en) * | 2019-09-05 | 2019-11-26 | 扬州市职业大学(扬州市广播电视大学) | The mobile phone of spontaneous heating outdoor sports coat controls formula thermal control circuit |
-
2013
- 2013-08-19 CN CN201320505186.7U patent/CN203397148U/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103412507A (en) * | 2013-08-19 | 2013-11-27 | 扬州市职业大学 | Automatic controller designed based on MCU |
CN105581570A (en) * | 2015-12-16 | 2016-05-18 | 美的集团股份有限公司 | Bathroom control system and method and bathroom mirror |
CN105581570B (en) * | 2015-12-16 | 2018-04-03 | 美的集团股份有限公司 | Control system, method and the bathroom mirror in bathroom |
CN110505718A (en) * | 2019-09-05 | 2019-11-26 | 扬州市职业大学(扬州市广播电视大学) | The mobile phone of spontaneous heating outdoor sports coat controls formula thermal control circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2010094215A1 (en) | Power supply control device and ventilating device using same | |
CN207150526U (en) | Multicompartment level Quick shut-off device and photovoltaic system | |
CN201569698U (en) | Zero-crossing signal detection device for air conditioner switching power supply | |
WO2015067008A1 (en) | Method and device for remote restart | |
CN203397148U (en) | Automatic controller designed based on MCU | |
CN110119118A (en) | Low-cost energy-saving type wireless remote auto powering on/off apparatus and method applied to AGV | |
CN111076370A (en) | Standby control device, air conditioner and standby control method of air conditioner | |
CN204376518U (en) | A kind of solar energy management devices of energy-saving self-controlling | |
CN104810020A (en) | Intelligent domestic control system based on voice recognition | |
CN202818683U (en) | Intelligent LED lamp | |
CN109236700A (en) | A kind of fan energy-saving control method, energy-saving control system and its fan | |
CN103412507A (en) | Automatic controller designed based on MCU | |
CN201528093U (en) | Automatic energy saving socket circuit | |
CN108488948A (en) | Air-conditioning, air-conditioner control system and outdoor unit switching circuit | |
CN203552695U (en) | Voice control system of electric curtain | |
CN104676835B (en) | The energy-saving running control device and its control method of air-conditioning | |
CN110888368A (en) | Bathroom intelligence control system | |
CN206176501U (en) | Integrated kitchen of acoustic control | |
CN202931340U (en) | Automatic power-off energy-saving household type switch based on flow monitor | |
CN105554572A (en) | Intelligent household equipment sleep method capable of performing network accessing | |
CN204003556U (en) | Intelligent frequency-conversion speed-regulating front end control system | |
CN203840473U (en) | Energy saving remote controller | |
CN208634087U (en) | Blower drive control apparatus | |
CN108869373B (en) | Fan drive control device | |
CN110979622A (en) | Passenger ship balcony room temperature control system and temperature control method |
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 |
Granted publication date: 20140115 Termination date: 20140819 |
|
EXPY | Termination of patent right or utility model |