CN105988373A - Bluetooth intelligent home power supply management system on Android APP and control method thereof - Google Patents
Bluetooth intelligent home power supply management system on Android APP and control method thereof Download PDFInfo
- Publication number
- CN105988373A CN105988373A CN201610560231.7A CN201610560231A CN105988373A CN 105988373 A CN105988373 A CN 105988373A CN 201610560231 A CN201610560231 A CN 201610560231A CN 105988373 A CN105988373 A CN 105988373A
- Authority
- CN
- China
- Prior art keywords
- power supply
- carried out
- relay
- bluetooth
- supply management
- 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
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
Abstract
The invention discloses a Bluetooth intelligent home power supply management system on an Android APP and a control method thereof, which belong to the technical field of intelligent homes and are characterized by realizing power supply management on the intelligent home through controlling conduction or cutoff of separate sockets through an APP interface. The control method comprises steps: (1) the APP interface is designed, an initial value is set, and a second step is carried out; (2) the separate sockets on the APP interface are controlled, t is set, an intelligent mobile phone Bluetooth module sends identifiable key bytes and the t, and a third step is carried out; (3) the identifiable key bytes are received by a Bluetooth receiving module carried on a single chip microcomputer minimum system, an M is searched, output is determined, and a fourth step is carried out; (4) whether the output is low level is judged, if yes, a fifth step is carried out, or otherwise, a sixth step is carried out; (5) a relay is conducted, and a seventh step is carried out; (6) the relay is cutoff, and the seventh step is carried out; (7) whether t is over is judged, if yes, high and low level reverse is outputted, and an eighth step is carried out, or otherwise, the t is waited to be over, and the eighth step is carried out; (8) whether a new order exists is judged, if yes, the third step is carried out, or otherwise, a ninth step is carried out; and (9) the system is stopped.
Description
Technical field
The invention belongs to Smart Home technical field, be specifically related to the control method of a kind of Smart Home power supply management system.
Background technology
At present, the development and utilization of Smart Home obtains the concern of national governments day by day, and it is trend of the times that intelligent appliance replaces traditional home appliance.But replacement not only causes the substantial amounts of waste of traditional home appliance on a large scale, and the burden of a lot of family can be increased.Traditional home appliance is directly connected with socket, and the switch of household electrical appliances is manually or remote controller controls, and large number of household electrical appliances cause the numerous of remote controller quantity;It addition, the switch utilizing remote controller to control household electrical appliances does not make household electrical appliances fully powered-off, cause the waste of electric energy;Additionally, the manual closing of traditional switch and disconnection also result in the inconvenience of life.
Summary of the invention
The present invention seeks at smart mobile phone Android APP(cell-phone customer terminal) above develop a kind of Smart Home power supply management system (hereinafter referred to as " system ") and control method thereof, to realize automatization's power supply management of Smart Home.
The present invention is realized in, as it is shown in figure 1, it is characterized in that including have the smart mobile phone based on Android system 1 of Bluetooth function, single-chip minimum system 2, the Bluetooth receptions module 3 being mounted on single-chip minimum system 2, first, second ... n-th carry relay 4,4 ' driven( 1 )... 4 '( n ), tradition power supply base 5, first, second ... n-th Separable socket 6,6 '( 1 )..., 6 '( n ), electrical equipment 7, its annexation is: has the smart mobile phone 1 of Bluetooth function and sends bluetooth wireless signal 11 to the Bluetooth receptions module 3 being mounted on single-chip minimum system 2, and the output port of single-chip minimum system 2 is by first, second ... n-th input lead 8,8 '( 1 )..., 8 '( n )Relay 4,4 ' driven is carried respectively with first, second ... n-th( 1 )... 4 '( n )Connecting, first, second ... n-th carries relay 4,4 ' driven( 1 )... 4 '( n )Respectively by first, second ... n-th output lead 9,9 '( 1 )... 9 '( n )With first, second ... n-th Separable socket 6,6 '( 1 )..., 6 '( n )Connecting, electrical equipment 7 is inserted in first, second ... n-th Separable socket 6,6 '( 1 )..., 6 '( n )On any one, first, second ... n-th carries relay 4,4 ' driven( 1 )... 4 '( n )It is connected with tradition power supply base 5 by connecting wire 10.
The control method of the blue-tooth intelligence household power supply management system of Android APP of the present invention, as shown in Figure 3, it is characterised in that implement step as follows:
Step one, design the upper Smart Home power supply management system control interface developed of Android APP according to the number of Separable socket;Setting the recognizable key bytes of each Separable socket turn-on and turn-off, and store in memory element M, the relay which pin setting single-chip minimum system output port carry driving respectively with is connected, and performs step 2;
Step 2, whole or certain Separable socket controlled in Android APP on the Smart Home power supply management system control interface of exploitation according to actual needs, determine setting operating time t, intelligent mobile phone Bluetooth module sends recognizable key bytes and operating time t, performs step 3;
The recognizable key bytes received by Bluetooth receptions module that step 3, basis are mounted on single-chip minimum system, searches memory element M, determines that the output of output port is low level or high level, performs step 4;
Whether step 4, the output judging output port determined by single-chip minimum system are low level, are, perform step 5, no, perform step 6;
Step 5, determined by carry the relay conducting of driving, i.e. Separable socket conducting, and supply electricity to connected electrical equipment, perform step 7;
Step 6, determined by carry the relay of driving and turn off, i.e. Separable socket turns off, and stops power supply to connected electrical equipment, performs step 7;
Step 7, according to operating time t, it is judged that whether operating time terminates, and is, determined by output port output low and high level reverse, perform step 8, no, wait that operating time terminates, perform step 8;
Step 8, determine whether new control command, be, return step 3, no, perform step 9;
Step 9, system stop;
The present invention compared with prior art, has the advantages that: 1 compared with the prior art, have employed cell-phone customer terminal, facilitates daily life;2 owing to can make legacy powered device fully powered-off, it is possible to reduce the waste of electric energy;3 simple in construction, easy to control, with low cost, cost performance is high.Along with popularizing of smart mobile phone, utilize Android APP developing intellectual resource household power supply management system, control power supply and the power-off of intelligence Separable socket, it is possible not only to so that traditional home appliance has given play to maximum utility, reduce waste, and remote controller quantity can be reduced, reduce waste of energy, improve life convenience.Therefore, it is the most necessary for studying blue-tooth intelligence household power supply management system based on Android APP.
Accompanying drawing explanation
Fig. 1 is present system schematic diagram;
Fig. 2 is invention relay and tradition power supply base connection diagram
Fig. 3 is control method flow chart of the present invention;
In figure: 1 has the smart mobile phone based on Android system of Bluetooth function, 2 single-chip minimum systems, and 3 are mounted in the Bluetooth receptions module on single-chip minimum system 2,4,4 '( 1 )... 4 '( n )First, second ... n-th carries the relay driven, 5 tradition power supply base, 6,6 '( 1 )..., 6 '( n )First, second ... the n-th Separable socket, 7 electrical equipments, 8,8 '( 1 )..., 8 '( n )First, second ... the n-th input lead, 9,9 '( 1 )..., 9 '( n )First, second ... the n-th output lead, 10 connection wires, 11 bluetooth wireless signals, 12 live wires, 13 zero lines.
Detailed description of the invention
Now it is respectively STC89C52RC singlechip chip, HC-05 bluetooth module, SRD-05VDC-SL-C relay with selected ardware model number, and has the smart mobile phone based on Android system 1 of Bluetooth function.
As a example by first Separable socket 6 conducting power supply 1 minute, control method step is 2 for (1) Separable socket number, sets first Separable socket 6 and turns on key bytes as A, shutoff key bytes a, second Separable socket 6 '( 1 )Conducting key bytes is B, turns off key bytes b, is stored by key bytes in memory element M of Bluetooth receptions module, and single-chip minimum system output port P2.0 and P2.1 connects relay 4 and 4 ' carrying driving respectively( 1 ), perform step (2);(2) first Separable socket 6 controlled in Android APP on the Smart Home power supply management system control interface of exploitation according to actual needs turns on, determine and set operating time as 1 minute, intelligent mobile phone Bluetooth module sends recognizable key bytes A and operating time 1 minute, performs step (3);(3) the recognizable key bytes received by Bluetooth receptions module is A, searches memory element M, determines output port P2.0 output low level, performs step (4);(4) judge that single-chip minimum system output port is output as low level, perform step (5);(5) determined by, first Separable socket 6 turns on, and performs step (7);(7) according to operating time 1 minute, it is judged that operating time is not over, wait that operating time terminates, perform step (8);(8) without new control command, step (9) is performed;(9) system stops.
Thus, it can be seen that the use that the present invention is by cell-phone customer terminal, improve the convenience of daily life, it is possible to reduce the waste of electric energy, there is simple in construction, easy to control, with low cost, cost performance advantages of higher.
Claims (2)
1. a blue-tooth intelligence household power supply management system for Android APP, it is characterized in that including have the smart mobile phone (1) based on Android system of Bluetooth function, single-chip minimum system (2), the Bluetooth receptions module (3) being mounted on single-chip minimum system (2), first, second ... n-th carry relay (4,4 ' driven( 1 )... 4 '( n )), tradition power supply base (5), first, second ... n-th Separable socket (6,6 '( 1 )..., 6 '( n )), electrical equipment (7), its annexation is: has the smart mobile phone (1) of Bluetooth function and sends bluetooth wireless signal (11) to the Bluetooth receptions module (3) that is mounted on single-chip minimum system (2), and the output port of single-chip minimum system (2) is by first, second ... n-th input lead (8,8 '( 1 )..., 8 '( n )) carry, with first, second ... n-th, relay (4,4 ' driven respectively( 1 )... 4 '( n )) connect, first, second ... n-th carries relay (4,4 ' driven( 1 )... 4 '( n )) respectively by first, second ... n-th output lead (9,9 '( 1 )... 9 '( n )) with first, second ... n-th Separable socket (6,6 '( 1 )..., 6 '( n )) connect, electrical equipment (7) can be inserted in first, second ... n-th Separable socket (6,6 '( 1 )..., 6 '( n )) on any one, first, second ... n-th carries relay (4,4 ' driven( 1 )... 4 '( n )) be connected with tradition power supply base (5) by connection wire (10).
2. the control method of the blue-tooth intelligence household power supply management system of Android APP as claimed in claim 1, it is characterised in that implement step as follows:
Step one, design the upper Smart Home power supply management system control interface developed of Android APP according to the number of Separable socket;Setting the recognizable key bytes of each Separable socket turn-on and turn-off, and store in memory element M, the relay which pin setting single-chip minimum system output port carry driving respectively with is connected, and performs step 2;
Step 2, whole or certain Separable socket controlled in Android APP on the Smart Home power supply management system control interface of exploitation according to actual needs, determine setting operating time t, intelligent mobile phone Bluetooth module sends recognizable key bytes and operating time t, performs step 3;
The recognizable key bytes received by Bluetooth receptions module that step 3, basis are mounted on single-chip minimum system, searches memory element M, determines that the output of output port is low level or high level, performs step 4;
Whether step 4, the output judging output port determined by single-chip minimum system are low level, are, perform step 5, no, perform step 6;
Step 5, determined by carry the relay conducting of driving, i.e. Separable socket conducting, and supply electricity to connected electrical equipment, perform step 7;
Step 6, determined by carry the relay of driving and turn off, i.e. Separable socket turns off, and stops power supply to connected electrical equipment, performs step 7;
Step 7, according to operating time t, it is judged that whether operating time terminates, and is, determined by output port output low and high level reverse, perform step 8, no, wait that operating time terminates, perform step 8;
Step 8, determine whether new control command, be, return step 2, no, perform step 9;
Step 9, system stop.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610560231.7A CN105988373A (en) | 2016-07-17 | 2016-07-17 | Bluetooth intelligent home power supply management system on Android APP and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610560231.7A CN105988373A (en) | 2016-07-17 | 2016-07-17 | Bluetooth intelligent home power supply management system on Android APP and control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105988373A true CN105988373A (en) | 2016-10-05 |
Family
ID=57044539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610560231.7A Pending CN105988373A (en) | 2016-07-17 | 2016-07-17 | Bluetooth intelligent home power supply management system on Android APP and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105988373A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203012451U (en) * | 2012-11-07 | 2013-06-19 | 张狄 | Multifunctional intelligent control system for electric appliances |
CN103235584A (en) * | 2013-04-26 | 2013-08-07 | 中国科学院微电子研究所 | Intelligent furniture control method, device, microprogrammed control unit (MCU) and system |
CN103268077A (en) * | 2013-04-27 | 2013-08-28 | 吉林大学 | Remote control device based on Android mobile phones and control method thereof |
CN203288884U (en) * | 2013-05-17 | 2013-11-13 | 浙江大学 | Intelligent socket based on Bluetooth control |
CN103474842A (en) * | 2013-08-20 | 2013-12-25 | 青岛歌尔声学科技有限公司 | Intelligent socket system |
CN103986034A (en) * | 2014-05-18 | 2014-08-13 | 西安文理学院 | Socket capable of automatically powering off |
CN104659587A (en) * | 2013-11-25 | 2015-05-27 | 西安思创达通讯科技有限责任公司 | Bluetooth control power supply plug board |
-
2016
- 2016-07-17 CN CN201610560231.7A patent/CN105988373A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203012451U (en) * | 2012-11-07 | 2013-06-19 | 张狄 | Multifunctional intelligent control system for electric appliances |
CN103235584A (en) * | 2013-04-26 | 2013-08-07 | 中国科学院微电子研究所 | Intelligent furniture control method, device, microprogrammed control unit (MCU) and system |
CN103268077A (en) * | 2013-04-27 | 2013-08-28 | 吉林大学 | Remote control device based on Android mobile phones and control method thereof |
CN203288884U (en) * | 2013-05-17 | 2013-11-13 | 浙江大学 | Intelligent socket based on Bluetooth control |
CN103474842A (en) * | 2013-08-20 | 2013-12-25 | 青岛歌尔声学科技有限公司 | Intelligent socket system |
CN104659587A (en) * | 2013-11-25 | 2015-05-27 | 西安思创达通讯科技有限责任公司 | Bluetooth control power supply plug board |
CN103986034A (en) * | 2014-05-18 | 2014-08-13 | 西安文理学院 | Socket capable of automatically powering off |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201698189U (en) | Intelligent household power supply controller | |
CN202423743U (en) | Smart power socket device and control system | |
CN203260174U (en) | Intelligent household remote control system | |
CN204215190U (en) | A kind of intelligence singly opens double control switch device | |
CN203536656U (en) | USB interface intelligent socket possessing wireless control function | |
CN104023429A (en) | Device for controlling lamplight by utilizing mobile phone and control method | |
CN203690619U (en) | Multifunctional remote control socket | |
CN103558796B (en) | A kind of intelligent control switch | |
CN204886393U (en) | A power control system for intelligent gas meter | |
CN103676730A (en) | Intelligent linked washing machine utilizing Android-system cellphone as control terminal | |
CN105988372A (en) | Wi-Fi intelligent home power supply management system based on Android APP and control method thereof | |
CN202975730U (en) | Single live wire control module | |
CN105988373A (en) | Bluetooth intelligent home power supply management system on Android APP and control method thereof | |
CN206116784U (en) | Wireless control smart jack based on WIFI | |
CN204118399U (en) | A kind of energy-saving socket with WIFI hot spot function | |
CN202435142U (en) | Multifunctional power supply converter on basis of power line carrier communication | |
CN205787664U (en) | A kind of electrical appliances intelligent control device based on STM32 processor | |
CN104283071A (en) | Energy-saving socket with WIFI hot spot function | |
CN206441947U (en) | Novel intelligent socket based on ESP8266 chips | |
CN206133241U (en) | WIFI intelligence wall switch based on 86 type | |
CN208256081U (en) | A kind of control circuit device of Bluetooth switch | |
CN205920937U (en) | Switching device and socket | |
CN205103608U (en) | Intelligence double control switch system | |
CN103676732A (en) | Intelligent wireless washing machine with cellphone-based control terminal | |
CN109254534A (en) | Integrated control switch system and its control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20161005 |