CN105023419B - A kind of Bluetooth of mobile phone control switch and control method - Google Patents
A kind of Bluetooth of mobile phone control switch and control method Download PDFInfo
- Publication number
- CN105023419B CN105023419B CN201510475426.7A CN201510475426A CN105023419B CN 105023419 B CN105023419 B CN 105023419B CN 201510475426 A CN201510475426 A CN 201510475426A CN 105023419 B CN105023419 B CN 105023419B
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- controller
- control
- button
- switch
- Prior art date
Links
- 238000004891 communication Methods 0.000 claims abstract description 15
- 230000000875 corresponding Effects 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 claims description 12
- 230000015654 memory Effects 0.000 claims description 12
- 230000001276 controlling effects Effects 0.000 claims description 9
- 238000009413 insulation Methods 0.000 claims description 7
- 241001269238 Data Species 0.000 claims description 2
- 240000004343 Indigofera suffruticosa Species 0.000 claims description 2
- 238000004321 preservation Methods 0.000 claims description 2
- 235000008331 Pinus X rigitaeda Nutrition 0.000 claims 1
- 235000011613 Pinus brutia Nutrition 0.000 claims 1
- 241000018646 Pinus brutia Species 0.000 claims 1
- 230000003111 delayed Effects 0.000 claims 1
- 230000003760 hair shine Effects 0.000 claims 1
- 241001465382 Physalis alkekengi Species 0.000 description 7
- 238000010586 diagrams Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 4
- 101710043420 ABCD Proteins 0.000 description 3
- 238000005516 engineering processes Methods 0.000 description 3
- 238000000034 methods Methods 0.000 description 3
- 230000002493 climbing Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000000465 moulding Methods 0.000 description 2
- 239000011257 shell materials Substances 0.000 description 2
- 281000157896 Metaswitch companies 0.000 description 1
- 238000004378 air conditioning Methods 0.000 description 1
- 230000002708 enhancing Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Abstract
Description
Technical field
The invention belongs to Industry Control, electrical equipment control and electronic lock control technology field, more particularly to a kind of Bluetooth of mobile phone Control switch and control method.
Background technology
With society development and science and technology progress, large screen, touch screen smart mobile phone just by more and more people's Like, and Bluetooth function has become the standard configuration of smart mobile phone.Bluetooth is a kind of wireless communication technique of short distance, electronic device It can be connected each other through bluetooth, eliminate traditional electric wire.Smart mobile phone has easy to carry, good man-machine boundary Face is a good remote controler.Traditional industrial equipment control and lighting apparatus control, using there is a line traffic control, control terminal and by Controlling end, there are physical circuit connections.Smart mobile phone application to industrial equipment control and lighting apparatus control, it makes user from confused It frees, has far-reaching significance in complicated miscellaneous line;Smart mobile phone application to field of vehicles and electronic lock are led Domain can easily realize the functions such as unlocking, car locking, mute, unlatching boot, the startup air-conditioning of automobile, it will make life more It is convenient.102186285 A of CN disclose a kind of lamps and lanterns of Bluetooth of mobile phone remote control, including lamps and lanterns and bluetooth-capable Mobile phone, lamps and lanterns are provided with main control module, bluetooth module, luminous lamp tube, power module, main control module respectively with bluetooth module, hair Light lamp tube is connected with power module, and lamps and lanterns are established by bluetooth module and mobile phone and communicated to connect, and one side lamps and lanterns pass through bluetooth mould Block receives the control command sent from mobile phone, and transfers to the main control module of lamps and lanterns to handle control command;Another aspect master control For module by bluetooth module to mobile phone transmission data packet, the control command that main control module is sent according to user controls electroluminescent lamp Pipe.Foregoing invention, user controls lamp switch by mobile phone remote, but the lamps and lanterns of the Bluetooth of mobile phone remote control are using master Control module is handled, and is only the function of having used traditional bluetooth module to receive data, is ignored bluetooth module sheet completely Power of the body as chip, increases complexity in circuits, increases failure rate, causes certain wasting of resources.
Invention content
The purpose of the present invention is to overcome the deficiency in the prior art, provides a kind of Bluetooth of mobile phone control switch and control method, It realizes user and industrial equipment, electric switch, the vehicles is controlled by mobile phone wireless, efficiently solve wireless control and wiring Problem.
To achieve the goals above, the technical solution adopted by the present invention is:A kind of Bluetooth of mobile phone control switch, including control Device and mobile phone bluetooth-capable, the controller setting bluetooth module, power module, switch control module, the bluetooth Module is connected with power module, switch control module respectively, the output end connecting circuit switch of the controller, the controller Communication connection is established by bluetooth module and mobile phone, one side controller is sent by bluetooth module reception from the mobile phone Control instruction, the bluetooth module handle the control instruction received inside it, and the bluetooth module passes through output Low and high level controls the actuation and release of the contact of the switch control module, to realize on-off action;Another aspect institute Stating bluetooth module, result is sent to the mobile phone treated, and the feedback information received is shown to software interface by the mobile phone The current state of the display switch that comes up.
Corresponding application program is all set in the mobile phone and the controller, and the bluetooth module is defeated by the ports PIO Go out low and high level control the switch control module contact actuation and release.
The power module is connected with the bluetooth module and the switch control module respectively, is provided for them stable Working power.
Insulation crust is arranged in the controller.
The bluetooth module is set as BC417143 Bluetooth chips, external 8Mbit FLASH, and 6 tunnels manually control, and 6 roads are defeated Go out.
The bluetooth module is set as the output of 12 tunnels, and PIO0~PIO11 is output port, is correspondingly connected with the switch control Module.
The external analog switching ic in the ports PIO of the bluetooth module can be extended to the output of 16 tunnels or 32 tunnels Output, even more multiple-channel output.
The quantity of the mobile phone is set as one or more.
The quantity of the bluetooth module is set as one or more.
The bluetooth module setting User Defined signal code and power failure memory function.
The electric switch includes the various electromagnetic switch such as relay switch, light switch, car key switch, door switch.
Operation principle of the present invention:Controller includes mainly bluetooth module, power module, switch control module, the control Device establishes communication connection by bluetooth module and the mobile phone, and data packet is sended and received to the mobile phone;The bluetooth module Data communication is not only carried out with the mobile phone, but also analyzing processing is carried out to the control instruction, and the switch is driven to control mould Block acts;Application program is installed on user mobile phone, is connect with the controller communication by the bluetooth equipment on the mobile phone, to The controller sends control instruction, and receives the reply data packet that the controller returns.
The control method of Bluetooth of mobile phone control switch of the present invention, includes the following steps:
(a) output end of the controller is connected industrial equipment or lighting apparatus first, described in the controller is connected Power supply;
(b) application program of mobile phone is opened, menu → setting is clicked, is arranged into button, load button title and controller Identifier(Identifier is set on the nameplate of controller), and preserve;Click menu → startup, the main boundary of display control button Face;
(c) type of button of cell phone software is set as A, B, C three types, and specific workflow is as follows:
Type-A button:By lower button starting device, again by lower button pass hull closure after starting successfully, workflow is as follows:
Starting device:The bluetooth for starting order → controller is sent to the controller by lower button → mobile phone Module, which receives, instructs and exports the high level driving switch control module actuation, equipment energization operation;The bluetooth mould simultaneously Block to the mobile phone sends that treated, and result → mobile phone receives feedback information → Button Color and text color becomes Change(Indicate that equipment has been turned on);
Arrestment:After equipment starts successfully, is sent to the controller by lower button → mobile phone and stop life The bluetooth module of order → controller, which receives, instructs and exports the low level driving switch control module releasing contact, makes to set Standby power-off stops;Simultaneously the bluetooth module to the mobile phone send that treated result → mobile phone receive feedback information → Button Color and text color change(Indicate that equipment has stopped);
B type buttons:By lower button starting device, release button pass hull closure, workflow is as follows:
The bluetooth module reception for starting order → controller is sent to the controller by lower button → mobile phone Instructing and exporting high level drives the switch control module to be attracted, and so that equipment is powered and runs;The bluetooth module is to institute simultaneously Mobile phone is stated to send that treated result → mobile phone receives feedback information → Button Color and text color changes(It indicates Equipment has been turned on);
Release button → mobile phone sent to the controller cease and desist order → bluetooth module of the controller receives It instructs and exports low level and drive the switch control module releasing contact, device powers down is made to stop;The bluetooth module simultaneously Sending that treated to the mobile phone, result → mobile phone receives feedback information → Button Color and text color changes (Indicate that equipment has stopped);
C type buttons:By lower button starting device, latching after starting successfully, workflow is as follows:
The bluetooth module reception for starting order → controller is sent to the controller by lower button → mobile phone Instructing and exporting high level drives the switch control module to be attracted, and so that equipment is powered and runs;The bluetooth module is to institute simultaneously Mobile phone is stated to send that treated result → mobile phone receives feedback information → Button Color and text color changes(It indicates Equipment has been turned on)→ delay → the mobile phone sent to the controller cease and desist order → bluetooth module of the controller receives It instructs and exports low level and drive the switch control module releasing contact, device powers down is made to stop;The bluetooth module simultaneously Sending that treated to the mobile phone, result → mobile phone receives feedback information → Button Color and text color changes (Indicate that equipment has stopped);
(d) controller is by bluetooth module reception and analyzing processing control instruction, and the switch is driven to control Molding block makes corresponding action.
(e) it manually controls:Three models are corresponding with, the first is manually controlled, manual when being connected with the bluetooth module When button is closed, the corresponding switch control module is attracted, and so that equipment is powered and is run;When the hand push button disconnects, phase The switch control module releasing contact answered, makes device powers down stop;It manually controls for second, presses the hand push button, Equipment, which is powered, to be run, and presses the hand push button again, and device powers down stops;The third is manually controlled, press it is described manually by Then button, starting device are periodically automatically stopped equipment.If the hand push button be closed equipment it is in operating status when stop suddenly Electricity is sent a telegram here again after a period of time, even if at this moment the hand push button is in closed state, equipment will not be run.
(f) it is used to control industrial equipment, the controller of civil electric appliance equipment with the following functions:
1), a controller support plurality of mobile phones control;
2), single channel and multi-channel control;
3), manually control;
4), by controlling powering on number and controlling the output of single channel or multichannel for controller:
5), power failure memory function;
6), user's selection control operating mode;
(g) it is used to control the vehicles and the controller of electronic lock is with the following functions:
1), 1 controller support plurality of mobile phones control;
2), single channel or multi-channel control;
3), User Defined signal code:The data packet that mobile phone is sent out includes cryptopart and control instruction part, password Setting is divided into two classes:
A signal code is arranged in the first kind:Password is set in cell phone software and is preserved:Press the setting password of controller Button transmission data packet → controller of button → press cell phone software, which receives data packet and stores, arrives memory → release control Setting password button → password of device processed is provided with.It is described when user presses the button transmission data packet of the cell phone software The cryptopart that controller receives the data packet that data packet first parses cryptopart and stores with memory is compared, if close Code part is identical, is then parsed to the control instruction part of the data packet, and the control instruction control after parsing is corresponding defeated Exit port acts.
Multiple signal codes are arranged in second class:Signal code can be arranged in each button of cell phone software, illustrate It is bright:The first signal code of the A buttons of setting cell phone software and preservation:Press the roads the A passwords setting button of the controller → press Lower cell phone software A button transmission datas packet → controller, which receives data packet and stores, arrives A memories → release control The roads A password setting button → password of device processed is provided with.The cipher set-up method of other buttons is identical as the A buttons.When User presses the A button transmission data packets of cell phone software, the number that the controller receives data packet and stored with all memories It is compared according to packet, if data packet is identical, the control instruction for then parsing the data packet controls corresponding output port action.
Beneficial effects of the present invention:
(a) bluetooth module of the controller not only carries out data communication with the mobile phone, but also to the control instruction It analyzed, handled, directly participate in control;
(b) identification only need to be arranged in the cell phone software without searching for, matching in the controller and cell phone software communication Number, you can communication;The bluetooth module of the controller is operated in non-discoverable mode, other bluetooth equipments can not access the control Device processed is to have higher safety coefficient compared with the bluetooth equipment of discoverable mode;
(c) memory function is removed in setting power-off:The either described mobile phone control, still manually controls, one section is crossed after power-off Time sends a telegram here again, and the switch control module is in release conditions always, it is possible to prevente effectively from safety accident occurs;
(d) cell phone software has timing opening, timing closing function;
(e) operating mode of user's selection control;
(f) by controlling powering on number and controlling the output of single channel or multichannel for controller;
(g) user can enhance safety with self-defined signal code;
(h) quantity of the button can be arbitrarily arranged in the cell phone software;
(i) cell phone software can control multiple controllers;And a controller at the same time at most can be by seven The control of mobile phone described in portion.
(j) controller is made of bluetooth module, power module, switch control module this three parts, and circuit structure is set Count it is compact, it is of low cost, and too many levels in circuit design is effectively avoided to lead to control error and the high defect of failure probability, can To effectively improve working efficiency and reliability.
The omnibearing exploration of the present invention function of bluetooth module, change in traditional sense that everybody knows together using bluetooth as The present situation of transmission data element is programmed design using bluetooth as core control element, and it is various to realize Bluetooth control The function of electromagnetic switch switch, perfect in shape and function, operability is strong, safety coefficient is high, creatively improves smart mobile phone practicality Value.
The control protocol of controller and mobile phone of the present invention and the mobile phone of other equally applicable operating systems of method, as long as The mobile phone of its operating system has the condition of bluetooth exploitation, can easily realize mobile phone wireless control industrial equipment, civil electric appliance The function of equipment, the vehicles, electronic lock allows mobile phone to become the really smart mobile phone with practical value.
Description of the drawings
The controller hardware block diagram of Fig. 1 present invention;
Fig. 2 controller hardware circuit diagrams of the present invention;
Electric control wiring schematic diagram on Fig. 3 controllers;
Fig. 4 controllers power on control flow chart;
Fig. 5 controller application program flow diagrams of the present invention;
Fig. 6 Android Android system mobile phones application flows figures of the present invention;
Fig. 7 JAVA system mobile phones application flows figures of the present invention;
Fig. 8 Android Android system mobile phones application rollouts of the present invention;
Fig. 9 JAVA system mobile phones application rollouts of the present invention.
Specific implementation mode
Specific embodiment 1
A kind of Bluetooth of mobile phone control switch, including controller and mobile phone bluetooth-capable, the controller setting are blue Tooth module, power module, switch control module, the controller hardware block diagram as shown in Figure 1, the bluetooth module respectively with institute It states power module and the switch control module is connected, the output end connecting circuit switch of the controller, the controller leads to It crosses the bluetooth module and establishes communication connection with the mobile phone, on the one hand the controller is come from by bluetooth module reception The control instruction that mobile phone is sent, after bluetooth module is handled the control instruction received inside it, bluetooth module passes through Low and high level is exported to control the actuation and release of the contact of switch control module, to realize on-off action;On the other hand blue Tooth module can result be sent to mobile phone treated, and mobile phone is shown to the feedback information received on software interface, for showing Show current on off state.
It is both provided with corresponding application program in the mobile phone and the controller;The controller passes through the bluetooth mould Block receives the control instruction that the mobile phone is sent, and the bluetooth module handles the control instruction received inside it, Low and high level is exported by the ports PIO to control the actuation and release of the contact of the switch control module, to realize switch Effect.
The power module is connected with the bluetooth module and the switch control module respectively, is provided for them stable Working power.
Insulation crust is arranged in the controller, and the insulation crust is installed on inside electric switch, and the electric switch is set It is set to relay switch.
The bluetooth module is set as BC417143 Bluetooth chips;External 8Mbit FLASH, can meet the appearance of the system Amount requires;Low-voltage 3.3V work(3.1V~4.2V)20~40MA of electric current is fluctuated when connection, electric current 20MA when standby;It can compile The ports journey PIO extend convenient for user program;The application program of the bluetooth module operation is developed by C programmer;The indigo plant Tooth module have low-power consumption, small (27mm × 13mm × 2mm), using SMD paster techniques, simple periphery design circuit, 2 power levels of Class, operating temperature:- 25 to+75 degree, are the ideal choses of no line development.
As shown in Fig. 2, the circuit manually controls for 6 tunnels, 6 tunnels export the hardware circuit diagram of the controller. PIO0、 PIO1, PIO2, PIO3, PIO4, PIO5 export controlled quentity controlled variable information as output port, be connected respectively J1, J2, J3, J4, J5, J6 switch control module;PIO6, PIO7, PIO8, PIO9, PIO10, PIO11 are set as input port, input operational motion Information is connected respectively S1, S2, S3, S4, S5, S6 hand push button;When being closed S1 hand push buttons, PIO0 exports high level, J1 relays are attracted;When disconnecting S1 hand push buttons, PIO0 exports low level, the release of J1 relays;Hand push button S2 controls J2 Switch control module, hand push button S4 control J4 switch control modules, is pressed hand push button S3 control J3 switch control modules manually Button S5 control J5 switch control modules, hand push button S6 control J6 switch control modules.
By controlling powering on number and controlling the output state of single channel or multichannel for the controller, the controller powers on Wiring schematic diagram is controlled as shown in figure 3, the controller exports for 4 tunnels, respectively the roads A, the roads B, the roads C, the roads D, switch K are power supplys Switch.The controller power on control flow chart as shown in figure 4, when first time be closed power switch K when, the first work in combination, So-called " combination " refer to just the roads A, the roads B, the roads C, the roads D output working condition be on or off, be expressed as A ON/OFF, B ON/OFF, C The combination of ON/OFF, D ON/OFF can be ABCD standard-sized sheets, or ABCD is fully closed, can also be ABCD it is any, it is wantonly two, times Three, wantonly four on or off;When being closed power switch K second, second " combination " work;When third time is closed power switch When K, third " combination " work.
As previously mentioned, being No. 4 controllers shown in Fig. 3, naturally it is also possible to be set as single channel or multiplexer (MUX, the control Several operating modes can be preset in the bluetooth module program of device, each operating mode corresponds to different " combination ", and user can be with According to the operating mode for needing selection control of oneself, to realize different switching effects.
The controller application program as shown in figure 5, after controller energization, start to work by the bluetooth module, etc. Wait for the connection of mobile phone;After receiving the control instruction that the mobile phone is sent, the bluetooth module controls the switch and controls mould Block executes corresponding action, while sending feedback information to the mobile phone.
User can select matched smart mobile phone according to control software, and installation control is using journey on the mobile phone Sequence:The application program is by JAVA program development, and Android Android system mobile phones application program is as shown in fig. 6, JAVA system hands Machine application program is as shown in Figure 7.
Application program of mobile phone is opened, menu → setting is clicked, is arranged into button, the knowledge of load button title and controller Alias(Position identifier is set on the nameplate of the controller), and preserve;Menu → startup is clicked, shows the main picture of the button Face;The button set is pressed, the mobile phone sends control instruction to the controller, and the controller is according to receipts Corresponding action is executed to control instruction;The mobile phone receives the feedback information that the controller is sent simultaneously, and on software Show the action performed by the controller.Android Android system mobile phones application program is as shown in figure 8, JAVA system mobile phones Application program is as shown in Figure 9.
The quantity of the mobile phone is set as one;The quantity of the bluetooth module is set as one or more.It is easy to implement One mobile phone controls multiple controlled switches simultaneously.
The bluetooth module setting User Defined signal code and power failure memory function.
Specific embodiment 2
Difference lies in the controller is directly mounted at beside electric switch shell, and output end passes through with specific embodiment 1 Conducting wire jumps into switch;The quantity of the mobile phone is set as multiple;The quantity of the bluetooth module is set as one.It is easy to implement more A mobile phone controls the same controlled switch, easy for installation, for its shape it is elegance require it is relatively low, it is of low cost.
Specific embodiment 3
Difference lies in the controller is directly mounted inside electric switch, can be saved well with specific embodiment 1 Space, the electric switch are set as light switch;The quantity of the mobile phone is set as multiple;The quantity of the bluetooth module is set It is set to one.It is easy to implement multiple mobile phones and controls the same controlled switch.
Specific embodiment 4
Difference lies in insulation crust is arranged in the controller, and the insulation crust is installed on electric appliance and opens with specific embodiment 1 Portion inside the Pass, the electric switch are set as industrial relay switch;The bluetooth module is set as the output of 12 tunnels, PIO0~PIO11 It is output port, is correspondingly connected with the switch control module;The quantity of the mobile phone is set as multiple;The number of the bluetooth module Amount is set as multiple.It is easy to implement the controlled switch of the comprehensive control of multiple mobile phones, solving Industry Control, climbing inconvenience is asked up and down Topic.
Specific embodiment 5
Difference lies in the bluetooth module is set as the output of 16 tunnels, and PIO0~PIO15 is output end with specific embodiment 4 Mouthful, it is correspondingly connected with the switch control module;It is easy to implement the controlled switch of the comprehensive control of multiple mobile phones, solves Industry Control The inconvenient problem of climbing up and down.
Specific embodiment 6
Difference lies in the controller is directly mounted at car key switch internal, and it is outer to save insulation with specific embodiment 1 Shell can save space well, will not interfere car key normal use;The quantity of the mobile phone is set as 1;The bluetooth The quantity of module is set as one.It is easy to implement mobile phone control car key, simulation car key action, to automobile remote controllers Function has been transplanted on mobile phone, and even car key is locked in car, can also open car door, solve forget car key must It goes home the troublesome problem taken, while only one mobile phone of coverlet controls, safety is good.The method is equally applicable to other automatically controlled classes The control of the vehicles and electronic lock.
Operation principle of the present invention:Controller includes mainly bluetooth module, power module, switch control module, the control Device establishes communication connection by bluetooth module and the mobile phone, and data packet is sended and received to the mobile phone;The bluetooth module Data communication is not only carried out with the mobile phone, but also analyzing processing is carried out to the control instruction, and the switch is driven to control mould Block acts;Application program is installed on user mobile phone, is connect with the controller communication by the bluetooth equipment on the mobile phone, to The controller sends control instruction, and receives the reply data packet that the controller returns.
Work process:User opens and starts application program of mobile phone, and data connection is established by Bluetooth of mobile phone and controller, Controller receives the control instruction of mobile phone transmission by bluetooth module and is parsed to instruction, output low and high level control switch Control module acts, and realizes on-off action;The result of execution is fed back to mobile phone by bluetooth module simultaneously.
The control method of Bluetooth of mobile phone control switch of the present invention, includes the following steps:
(a) output end of the controller is connected industrial equipment or lighting apparatus first, described in the controller is connected Power supply;
(b) application program of mobile phone is opened, menu → setting is clicked, is arranged into button, load button title and controller Identifier(Identifier is set on the nameplate of controller), and preserve;Click menu → startup, the main boundary of display control button Face;
(c) type of button of cell phone software is set as A, B, C three types, and specific workflow is as follows:
Type-A button:By lower button starting device, again by lower button pass hull closure after starting successfully, workflow is as follows:
Starting device:The bluetooth for starting order → controller is sent to the controller by lower button → mobile phone Module, which receives, instructs and exports the high level driving switch control module actuation, equipment energization operation;The bluetooth mould simultaneously Block to the mobile phone sends that treated, and result → mobile phone receives feedback information → Button Color and text color becomes Change(Indicate that equipment has been turned on);
Arrestment:After equipment starts successfully, is sent to the controller by lower button → mobile phone and stop life The bluetooth module of order → controller, which receives, instructs and exports the low level driving switch control module releasing contact, makes to set Standby power-off stops;Simultaneously the bluetooth module to the mobile phone send that treated result → mobile phone receive feedback information → Button Color and text color change(Indicate that equipment has stopped);
B type buttons:By lower button starting device, release button pass hull closure, workflow is as follows:
The bluetooth module reception for starting order → controller is sent to the controller by lower button → mobile phone Instructing and exporting high level drives the switch control module to be attracted, and so that equipment is powered and runs;The bluetooth module is to institute simultaneously Mobile phone is stated to send that treated result → mobile phone receives feedback information → Button Color and text color changes(It indicates Equipment has been turned on);
Release button → mobile phone sent to the controller cease and desist order → bluetooth module of the controller receives It instructs and exports low level and drive the switch control module releasing contact, device powers down is made to stop;The bluetooth module simultaneously Sending that treated to the mobile phone, result → mobile phone receives feedback information → Button Color and text color changes (Indicate that equipment has stopped);
C type buttons:By lower button starting device, latching after starting successfully, workflow is as follows:
The bluetooth module reception for starting order → controller is sent to the controller by lower button → mobile phone Instructing and exporting high level drives the switch control module to be attracted, and so that equipment is powered and runs;The bluetooth module is to institute simultaneously Mobile phone is stated to send that treated result → mobile phone receives feedback information → Button Color and text color changes(It indicates Equipment has been turned on)→ delay → the mobile phone sent to the controller cease and desist order → bluetooth module of the controller receives It instructs and exports low level and drive the switch control module releasing contact, device powers down is made to stop;The bluetooth module simultaneously Sending that treated to the mobile phone, result → mobile phone receives feedback information → Button Color and text color changes (Indicate that equipment has stopped);
(d) controller is by bluetooth module reception and analyzing processing control instruction, and the switch is driven to control Molding block makes corresponding action.
(e) it manually controls:Three models are corresponding with, the first is manually controlled, manual when being connected with the bluetooth module When button is closed, the corresponding switch control module is attracted, and so that equipment is powered and is run;When the hand push button disconnects, phase The switch control module releasing contact answered, makes device powers down stop;It manually controls for second, presses the hand push button, Equipment, which is powered, to be run, and presses the hand push button again, and device powers down stops;The third is manually controlled, press it is described manually by Then button, starting device are periodically automatically stopped equipment.If the hand push button be closed equipment it is in operating status when stop suddenly Electricity is sent a telegram here again after a period of time, even if at this moment the hand push button is in closed state, equipment will not be run.
Beneficial effects of the present invention:
(a) bluetooth module of the controller not only carries out data communication with the mobile phone, but also to the control instruction It analyzed, handled, directly participate in control;
(b) identification only need to be arranged in the cell phone software without searching for, matching in the controller and cell phone software communication Number, you can communication;The bluetooth module of the controller is operated in non-discoverable mode, other bluetooth equipments can not access the control Device processed is to have higher safety coefficient compared with the bluetooth equipment of discoverable mode;
(c) memory function is removed in setting power-off:The either described mobile phone control, still manually controls, one section is crossed after power-off Time sends a telegram here again, and the switch control module is in release conditions always, it is possible to prevente effectively from safety accident occurs;
(d) cell phone software has timing opening, timing closing function;
(e) quantity of the button can be arbitrarily arranged in the cell phone software;
(f) cell phone software can control multiple controllers;And a controller at the same time at most can be by seven The control of mobile phone described in portion.
(g) controller is made of bluetooth module, power module, switch control module this three parts, and circuit structure is set Count it is compact, it is of low cost, and too many levels in circuit design is effectively avoided to lead to control error and the high defect of failure probability, can To effectively improve working efficiency and reliability.
The omnibearing exploration of the present invention function of bluetooth module, change in traditional sense that everybody knows together using bluetooth as The present situation of transmission data element is programmed design using bluetooth as core control element, and it is various to realize Bluetooth control The function of electromagnetic switch switch, perfect in shape and function, operability is strong, safety coefficient is high, creatively improves smart mobile phone practicality Value.
The control protocol of controller and mobile phone of the present invention and the mobile phone of other equally applicable operating systems of method, as long as The mobile phone of its operating system has the condition of bluetooth exploitation, can easily realize mobile phone wireless control industrial equipment, civil electric appliance The function of equipment, the vehicles, electronic lock allows mobile phone to become the really smart mobile phone with practical value.
Claims (8)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210570471.7A CN103002159B (en) | 2012-12-25 | 2012-12-25 | A kind of Bluetooth of mobile phone control switch and control method |
CN201510475426.7A CN105023419B (en) | 2012-12-25 | 2012-12-25 | A kind of Bluetooth of mobile phone control switch and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510475426.7A CN105023419B (en) | 2012-12-25 | 2012-12-25 | A kind of Bluetooth of mobile phone control switch and control method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date | |
---|---|---|---|---|
CN201210570471.7A Division CN103002159B (en) | 2012-12-25 | 2012-12-25 | A kind of Bluetooth of mobile phone control switch and control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105023419A CN105023419A (en) | 2015-11-04 |
CN105023419B true CN105023419B (en) | 2018-08-10 |
Family
ID=47930277
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510475426.7A CN105023419B (en) | 2012-12-25 | 2012-12-25 | A kind of Bluetooth of mobile phone control switch and control method |
CN201210570471.7A CN103002159B (en) | 2012-12-25 | 2012-12-25 | A kind of Bluetooth of mobile phone control switch and control method |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210570471.7A CN103002159B (en) | 2012-12-25 | 2012-12-25 | A kind of Bluetooth of mobile phone control switch and control method |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN105023419B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103217919A (en) * | 2013-04-27 | 2013-07-24 | 肖迟 | Wireless intelligent switch based on intelligent mobile phone control and control method thereof |
CN103441998A (en) * | 2013-08-22 | 2013-12-11 | 李少杰 | Safe privacy control method for mobile phone during non-calling period |
CN103885368A (en) * | 2014-04-10 | 2014-06-25 | 黄慧 | Intelligent switch control system based on Bluetooth communication |
US10257204B2 (en) | 2014-06-27 | 2019-04-09 | Lenovo (Beijing) Co., Ltd. | Information processing method and electronic apparatus |
CN105450836A (en) * | 2014-08-26 | 2016-03-30 | 联想(北京)有限公司 | Method, device and system for operation mode switching |
CN104601821B (en) * | 2015-01-30 | 2018-09-21 | 江苏中航伟业电子科技发展有限公司 | A method of realizing terminal traffic control |
CN105448069A (en) * | 2015-12-28 | 2016-03-30 | 武汉化神科技有限公司 | Bluetooth controller and operation method |
CN106094666A (en) * | 2016-08-26 | 2016-11-09 | 百色学院 | A kind of network remote controls intelligent switch system |
CN106227113B (en) * | 2016-08-31 | 2019-03-22 | 合肥荣事达电子电器集团有限公司 | A kind of Uni-connection multi-control switch based on wireless control |
KR20190002322A (en) | 2017-06-29 | 2019-01-08 | 캐논 가부시끼가이샤 | Communication apparatus and control method therefor |
CN108694824A (en) * | 2018-05-18 | 2018-10-23 | 深圳市永祥测控技术有限公司 | Control method and system for the energy-efficient Bluetooth switch of Administrative Area electrical equipment |
CN108710314A (en) * | 2018-05-21 | 2018-10-26 | 上海金东唐科技有限公司 | A kind of no button startup method and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8522309B2 (en) * | 2007-01-22 | 2013-08-27 | Simon Yoffe | Security switch |
CN201153310Y (en) * | 2008-01-29 | 2008-11-19 | 中兴通讯股份有限公司 | Mobile phone remote controlling various switches |
CN101447120A (en) * | 2008-12-23 | 2009-06-03 | 天津大学 | Remote control system without standby power consumption based on radio frequency identification and remote control method |
CN101794500B (en) * | 2009-12-29 | 2012-10-10 | 刘利华 | System capable of remotely controlling electronic and electrical equipment |
CN102064859A (en) * | 2010-12-13 | 2011-05-18 | 余阿文 | Bluetooth transmission control and anti-theft device |
CN202435478U (en) * | 2012-01-30 | 2012-09-12 | 河海大学 | Novel mobile phone control switch |
-
2012
- 2012-12-25 CN CN201510475426.7A patent/CN105023419B/en active IP Right Grant
- 2012-12-25 CN CN201210570471.7A patent/CN103002159B/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
CN105023419A (en) | 2015-11-04 |
CN103002159A (en) | 2013-03-27 |
CN103002159B (en) | 2015-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102855744B (en) | Based on infrared home appliance management system and the method for smart mobile phone | |
US9762408B2 (en) | Modular wireless power, light and automation control | |
CN204131490U (en) | Intelligent protection shell and switch | |
CN100488149C (en) | Intelligent housekeeper system and multiple networks single-point accessing integration method | |
CN102854834B (en) | Intelligent switch with long-distance remote control function and long-distance remote control system | |
CN101794500B (en) | System capable of remotely controlling electronic and electrical equipment | |
CN103226347B (en) | Personalized switchgear and control method thereof | |
CN202904845U (en) | Infrared household electric appliance management system based on intelligent cell phone | |
CN201107651Y (en) | Intelligent home service housekeeper system | |
CN201589976U (en) | Intelligent home system based on ZigBee technology | |
US9946230B2 (en) | Automated load control system and method | |
CN201114873Y (en) | A single fire line circuit and remote control single fire line switch control device | |
CN201698189U (en) | Intelligent household power supply controller | |
CN107317871A (en) | Radio source, illumination and Automated condtrol | |
CN102761465A (en) | Network system with remote wake-up mechanism and remote wake-up method thereof | |
CN205018777U (en) | Intelligent curtain | |
CN205189605U (en) | Magnetic force actuation smart door and window control system | |
CN203261485U (en) | Self-power-off energy-saving wireless router based on flow monitoring | |
Nasution et al. | Electrical appliances control prototype by using GSM module and Arduino | |
US20190012863A1 (en) | Method, system, and computer-readable medium relating to internet of things-enabled remote controls | |
CN102262818A (en) | Air conditioner controlled by mobile phone and method for controlling air conditioner | |
CN102594637B (en) | Refrigerator-based smart home control system | |
CN201936429U (en) | ZigBee network-based wireless intelligent household security system | |
Narayanan et al. | Design of Wireless Home automation and security system using PIC Microcontroller | |
CN101753690A (en) | Electrical equipment remote control method and remote control unit thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
C06 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
C10 | Entry into substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180703 Address after: 516000 Guangdong Huizhou Zhongkai hi tech Zone, Chen Jiang Street, Haig Road, No. 1 workshop. Applicant after: Huizhou Hagrid Polytron Technologies Inc Address before: 473000 East Road, Wancheng District, Nanyang, Henan Province, No. 47 Applicant before: Pan Wei |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |