CN103002159A - Mobile phone Bluetooth control switch and mobile phone Bluetooth control method - Google Patents
Mobile phone Bluetooth control switch and mobile phone Bluetooth control method Download PDFInfo
- Publication number
- CN103002159A CN103002159A CN2012105704717A CN201210570471A CN103002159A CN 103002159 A CN103002159 A CN 103002159A CN 2012105704717 A CN2012105704717 A CN 2012105704717A CN 201210570471 A CN201210570471 A CN 201210570471A CN 103002159 A CN103002159 A CN 103002159A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- switch
- bluetooth
- button
- control
- 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.)
- Granted
Links
Images
Landscapes
- Selective Calling Equipment (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a mobile phone Bluetooth control switch and a mobile phone Bluetooth control method. The mobile phone Bluetooth control switch comprises a controller and a mobile phone with a Bluetooth function. The controller is provided with a Bluetooth module, a power supply module and a switch control module, the Bluetooth module is respectively connected with the power supply module and the switch control module, the output end of the controller is connected with an electrical appliance switch, and the controller is in communicating connection with the mobile phone through the Bluetooth module. On the one hand, the controller receives a control instruction sent by the mobile phone through the Bluetooth module and processes the control instruction in the Bluetooth module, and the Bluetooth module outputs high-low electrical level to control attraction and release of contacts of the switch control module to achieve the switching effect; on the other hand, the Bluetooth module sends a processing result to the mobile phone, and feedback information is displayed on a software interface to display a switching state. The Bluetooth module creatively and directly analyzes, processes and controls the control instruction and works in an invisible mode. The mobile phone Bluetooth control switch is compact in circuit design, low in cost, high in reliability and easy to popularize and use.
Description
Technical field
The invention belongs to Industry Control, electrical equipment control and electronic lock control technical field, particularly a kind of Bluetooth of mobile phone control switch and control method.
Background technology
Along with the development of society and the progress of science and technology, the smart mobile phone of large-screen, touch-screen just is being subject to liking of more and more people, and Bluetooth function has become the standard configuration of smart mobile phone.Bluetooth is a kind of wireless communication technique of short distance, and electronic installation can see through bluetooth each other and couple together, and has saved traditional electric wire.Smart mobile phone has easy to carry, good man-machine interface, is a good remote controller.Traditional industrial equipment control and lighting apparatus control, adopting has line traffic control, and there are the physics connection in control end and controlled terminal.Smart mobile phone is applied to industrial equipment control and lighting apparatus control, and it frees the user from the line of numerous and complicated, have profound significance; Smart mobile phone is applied to field of vehicles and electronic lock field, can easily realize automobile unblank, lock car, quiet, open boot, start the functions such as air-conditioning, will make life more convenient.CN 102186285 A disclose a kind of light fixture of Bluetooth of mobile phone Long-distance Control, comprise light fixture and the mobile phone with Bluetooth function, light fixture is provided with main control module, bluetooth module, luminous lamp tube, power module, main control module links to each other with bluetooth module, luminous lamp tube and power module respectively, light fixture establishes a communications link by bluetooth module and mobile phone, light fixture receives the control command that sends from mobile phone by bluetooth module on the one hand, and control command is transferred to the main control module processing of light fixture; Main control module sends packet by bluetooth module to mobile phone on the other hand, and main control module is controlled luminous lamp tube according to the control command that the user sends.Foregoing invention, the user controls lamp switch by mobile phone remote, but the light fixture of described Bluetooth of mobile phone Long-distance Control adopts main control module to process, it only is the function of having used traditional bluetooth module receive data, ignored the power of bluetooth module as chip itself fully, increase complexity in circuits, increased failure rate, caused certain wasting of resources.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, and a kind of Bluetooth of mobile phone control switch and control method are provided, and has realized that the user controls industrial equipment, appliance switch, the vehicles by mobile phone wireless, efficiently solves controlled in wireless and a wiring difficult problem.
To achieve these goals, the technical solution used in the present invention is: a kind of Bluetooth of mobile phone control switch, comprise controller and the mobile phone with Bluetooth function, described controller arranges bluetooth module, power module, switch control module, described bluetooth module respectively with power module, switch control module links to each other, the output connecting circuit switch of described controller, described controller is set up communication by bluetooth module and mobile phone and is connected, controller receives the control command that sends from described mobile phone by bluetooth module on the one hand, described bluetooth module with the control command that receives within it section process, described bluetooth module is controlled adhesive and the release of the contact of described switch control module by the output high-low level, thereby realizes on-off action; Described bluetooth module sends to described mobile phone to the result after processing on the other hand, and described mobile phone is shown to the current state of display switch on the software interface to the feedback information of receiving.
In described mobile phone and the described controller corresponding application program is set all, described bluetooth module is controlled adhesive and the release of the contact of described switch control module by PIO port output high-low level.
Described power module links to each other with described switch control module with described bluetooth module respectively, for they provide stable working power.
Described controller arranges insulation crust.
Described bluetooth module is set to the BC417143 Bluetooth chip, external 8Mbit FLASH, and 6 the tunnel manually control, 6 tunnel outputs.
Described bluetooth module is set to 12 tunnel outputs, and PIO0~PIO11 is output port, the described switch control module of corresponding connection.
The external analog switching ic of PIO port of described bluetooth module can expand to 16 tunnel outputs or 32 tunnel outputs, even more multichannel output.
The quantity of described mobile phone is set to one or more.
The quantity of described bluetooth module is set to one or more.
Described bluetooth module arranges User Defined signal code and power failure memory function.
Described appliance switch comprises the various electromagnetic switch such as relay switch, lighting switch, car key switch, door switch.
Operation principle of the present invention: controller mainly comprises bluetooth module, power module, switch control module, and described controller is set up communication by bluetooth module with described mobile phone and is connected, and receives and send packet to described mobile phone; Described bluetooth module not only carries out data communication with described mobile phone, and described control command is carried out analyzing and processing, drives described switch control module action; Set up applications on the user mobile phone is connected with described controller communication by the bluetooth equipment on the described mobile phone, to described controller sending controling instruction, and receives the reply data bag that described controller returns.
The control method of Bluetooth of mobile phone control switch of the present invention may further comprise the steps:
(a) at first the output of described controller is connected industrial equipment or lighting apparatus, described controller is connected described power supply;
(b) open application program of mobile phone, click menu-setting, enter the button setting, the identifier of load button title and controller (identifier is arranged on the nameplate of controller), and preserve; Click menu-startup, show control button master interface;
(c) type of button of cell phone software is set to A, B, C three types, and the specific works flow process is as follows:
Category-A type button: press the button starting device, press the button closing device after starting successfully again, workflow is as follows:
Starting device: press the button-bluetooth module that described mobile phone sends from starting command-described controller to described controller receives instruction and exports high level and drive described switch control module adhesive, equipment energising operation; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment starts);
Arrestment: after device start success, press the button-described mobile phone sends to described controller and cease and desist order-bluetooth module of described controller receives instruction and output low level drives described switch control module releasing contact, and device powers down is stopped; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment stops);
Category-B type button: press the button starting device, the release button closing device, workflow is as follows:
Press the button-bluetooth module that described mobile phone sends from starting command-described controller to described controller receives instruction and exports high level and drive described switch control module adhesive, makes equipment energising operation; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment starts);
Release button-described mobile phone sends to described controller and ceases and desist order-and the bluetooth module of described controller receives instruction and output low level drives described switch control module releasing contact, and device powers down is stopped; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment stops);
The C type button: press the button starting device, start successfully rear latching, workflow is as follows:
Press the button-bluetooth module that described mobile phone sends from starting command-described controller to described controller receives instruction and exports high level and drive described switch control module adhesive, makes equipment energising operation; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone receive feedback information-button color and text color change (indication equipment starts)-delay time-described mobile phone sends to described controller and ceases and desist order-bluetooth module reception instruction and the output low level of described controller drive described switch control module releasing contact, device powers down is stopped; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment stops);
(d) described controller receives and the analyzing and processing control command by described bluetooth module, and drives described switch control module and make corresponding action.
(e) manually control: to three kinds of patterns should be arranged, the first is manually controlled, and when the hand push button that links to each other with described bluetooth module was closed, corresponding described switch control module adhesive made equipment energising operation; When described hand push button disconnected, corresponding described switch control module releasing contact stopped device powers down; The second is manually controlled, and presses described hand push button, and described hand push button is pressed in equipment energising operation again, and device powers down stops; The third is manually controlled, and presses described hand push button, starting device, then timing automatic arrestment.If described hand push button closing apparatus has a power failure suddenly when being in running status, send a telegram here again after a while, even at this moment described hand push button is in closure state, equipment can not move yet.
(f) controller for control industrial equipment, civil electric appliance equipment has following functions:
1), a controller is supported plurality of mobile phones control;
2), single channel and multichannel control;
3), manually control;
4), control the output of single channel or multichannel by the number of times that powers on of control controller:
5), power failure memory function;
6), the mode of operation of user selection controller;
(g) controller for the control vehicles and electronic lock has following functions:
1), 1 controller is supported plurality of mobile phones control;
2), single channel or multichannel control;
3), User Defined signal code: the packet that mobile phone sends comprises cryptopart and control command part, and the password setting is divided into two classes:
The first kind arranges a signal code: password is set in the cell phone software and preserves: the button that password button-press cell phone software is set of pressing controller sends the password button-password setting that arranges that packet-controller receives packet and store memory-unclamp controller into and finishes.The button of pressing described cell phone software as the user sends packet, described controller receives that packet resolves first cryptopart and compare with the cryptopart of the packet of memory stores, if cryptopart is identical, then the control command of this packet is partly resolved the output port action that the control command control after the parsing is corresponding.
Equations of The Second Kind, a plurality of signal codes are set: each button of cell phone software can arrange signal code, illustrates: arrange first cell phone software the A button signal code and preserve: the A road password of pressing described controller arranges button-press cell phone software A button and sends A road password that packet-described controller receives packet and store the described controller of A memory-unclamp into and button-password setting is set finishes.The cipher set-up method of other buttons is identical with described A button.The A button of pressing cell phone software as the user sends packet, and described controller is received packet and compared with the packet of all memory stores, if packet is identical, then resolves the output port action corresponding to control command control of this packet.
Beneficial effect of the present invention:
(a) bluetooth module of described controller not only carries out data communication with described mobile phone, and described control command is analyzed, processed, and participates in control directly;
(b) described controller and cell phone software communication need not search, pairing, only identifier need be set in the described cell phone software, get final product communication; The bluetooth module of described controller is operated in not discoverable mode, and other bluetooth equipments can't be accessed described controller, and comparing with the bluetooth equipment of discoverable mode is to have higher coefficient of safety;
(c) outage removing memory function is set: no matter be described mobile phone control, or manually control, to send a telegram here again after a while after the outage, described switch control module is in release condition all the time, can effectively avoid occuring security incident;
(d) described cell phone software have regularly open, timing closing function;
(e) mode of operation of user selection controller;
(f) control the output of single channel or multichannel by the number of times that powers on of control controller;
(g) user can self-defined signal code, has strengthened fail safe;
(h) described cell phone software can arrange arbitrarily the quantity of described button;
(i) cell phone software can be controlled a plurality of controllers; And a controller can be subject at most the control of seven described mobile phones at the same time.
(j) described controller is made of bluetooth module, power module, this three part of switch control module, circuit structure design is compact, with low cost, and avoid effectively that too many levels causes departure and the high defective of failure probability in the circuit design, can Effective Raise operating efficiency and reliability.
Omnibearing exploration of the present invention the function of bluetooth module, changed on the traditional sense everybody common recognition with the present situation of bluetooth as the transmission of data element, carry out Programming with bluetooth as the core control element, and realized the function of the various electromagnetic switch switches of Bluetooth control, perfect in shape and function, workable, coefficient of safety is high, has creatively improved the smart mobile phone practical value.
The mobile phone of applicable equally other operating systems of the control protocol of controller of the present invention and mobile phone and method, as long as the mobile phone of its operating system possesses the condition of bluetooth exploitation, just can easily realize the function of mobile phone wireless control industrial equipment, civil electric appliance equipment, the vehicles, electronic lock, allow mobile phone become the smart mobile phone that really has practical value.
Description of drawings
Fig. 1 controller hardware block diagram of the present invention;
Fig. 2 controller hardware circuit diagram of the present invention;
Electric control wiring schematic diagram on Fig. 3 controller;
Fig. 4 controller control flow chart that powers on;
Fig. 5 controller application flows of the present invention figure;
Fig. 6 Android Android system of the present invention application program of mobile phone flow chart;
Fig. 7 JAVA system mobile phone of the present invention application flows figure;
Fig. 8 Android Android system of the present invention application program of mobile phone is showed;
The application rollouts of Fig. 9 JAVA system mobile phone of the present invention.
Embodiment
A kind of Bluetooth of mobile phone control switch, comprise controller and the mobile phone with Bluetooth function, described controller arranges bluetooth module, power module, switch control module, described controller hardware block diagram as shown in Figure 1, described bluetooth module links to each other with described power module and described switch control module respectively, the output connecting circuit switch of described controller, described controller is set up communication by described bluetooth module with described mobile phone and is connected, described controller receives the control command that sends from mobile phone by described bluetooth module on the one hand, bluetooth module is after section processes within it with the control command that receives, bluetooth module comes adhesive and the release of the contact of control switch control module by the output high-low level, thereby realizes on-off action; Bluetooth module can send to mobile phone to the result after processing on the other hand, and mobile phone is shown to the feedback information of receiving on the software interface, is used for showing current on off state.
All be provided with corresponding application program in described mobile phone and the described controller; Described controller receives the control command that described mobile phone sends by described bluetooth module, described bluetooth module with the control command that receives within it section process, control adhesive and the release of the contact of described switch control module by PIO port output high-low level, thereby realize on-off action.
Described power module links to each other with described switch control module with described bluetooth module respectively, for they provide stable working power.
Described controller arranges insulation crust, and described insulation crust is installed on appliance switch inside, and described appliance switch is set to relay switch.
Described bluetooth module is set to the BC417143 Bluetooth chip; External 8Mbit FLASH can satisfy the capacity requirement of this system; Low-voltage 3.3V work (3.1V~electric current 20~40MA fluctuation when 4.2V) connecting, electric current 20MA during standby; PIO port able to programme is convenient to the user program expansion; The application program of described bluetooth module operation is developed by C programmer; Described bluetooth module has low-power consumption, volume, and little (27mm * 13mm * 2mm), adopt SMD paster technique, simple periphery design circuit, Class 2 power ranks, working temperature :-25 to+75 degree are the ideal choses without line development.
The hardware circuit diagram of described controller as shown in Figure 2, this circuit is 6 the tunnel manually to control, 6 tunnel outputs.PIO0, PIO1, PIO2, PIO3, PIO4, PIO5 are as output port, and output controlled quentity controlled variable information is connected respectively J1, J2, J3, J4, J5, J6 switch control module; PIO6, PIO7, PIO8, PIO9, PIO10, PIO11 are set to input port, and the input operation action message is connected respectively S1, S2, S3, S4, S5, S6 hand push button; When closed S1 hand push button, PIO0 exports high level, the adhesive of J1 relay; When disconnecting the S1 hand push button, the PIO0 output low level, the J1 relay discharges; Hand push button S2 control J2 switch control module, hand push button S3 control J3 switch control module, hand push button S4 control J4 switch control module, hand push button S5 control J5 switch control module, hand push button S6 control J6 switch control module.
Control the output state of single channel or multichannel by the number of times that powers on of controlling described controller, on the described controller electric control wiring schematic diagram as shown in Figure 3, described controller is 4 tunnel outputs, is respectively A road, B road, C road, D road, K switch is mains switch.Described controller powers on control flow chart as shown in Figure 4, when first time during closed electrical source switch K, the first work in combination, so-called " combination " just refers to that the operating state of A road, B road, C road, the output of D road is for opening or closing, be expressed as A ON/OFF, B ON/OFF, C ON/OFF, the open/close combination of D, the ABCD standard-sized sheet can be, also the ABCD complete shut-down can be, can also be arbitrary for ABCD, wantonly two, wantonly three, wantonly four opening or closing; When second time during closed electrical source switch K, second " combination " work; When closed electrical source switch K for the third time, the 3rd " combination " work.
As previously mentioned, shown in Figure 3 is No. 4 controllers, can certainly be set to single channel or multiplexer (MUX, can preset several mode of operations in the bluetooth module program of described controller, every kind of " combination " that mode of operation is corresponding different, the user can be according to the mode of operation of needs selection control of oneself, thereby realizes different switch effects.
Described controller application program as shown in Figure 5, after the energising of described controller, described bluetooth module is started working, and waits for the connection of mobile phone; After the control command that receives described mobile phone transmission, described bluetooth module is controlled described switch control module and is carried out corresponding action, sends feedback information to described mobile phone simultaneously.
The user can select supporting with it smart mobile phone according to control software, at described mobile phone controlling application program is installed: described application program is by the JAVA program development, Android Android system application program of mobile phone as shown in Figure 6, JAVA system mobile phone application program is as shown in Figure 7.
Open application program of mobile phone, click menu-setting, enter the button setting, the identifier of load button title and controller (the position identifier is arranged on the nameplate of described controller), and preserve; Click menu-startup, show described button key frame; Press the described button that has set, described mobile phone is to described controller sending controling instruction, and described controller moves according to receiving that control command is carried out accordingly; Described mobile phone receives the feedback information that described controller sends simultaneously, and shows the performed action of described controller at software.Android Android system application program of mobile phone as shown in Figure 8, JAVA system mobile phone application program is as shown in Figure 9.
The quantity of described mobile phone is set to one; The quantity of described bluetooth module is set to one or more.Be convenient to realize that a mobile phone controls a plurality of controlled switches simultaneously.
Described bluetooth module arranges User Defined signal code and power failure memory function.
Be that with specific embodiment 1 difference described controller directly is installed on the electric switch shell next door, output is jumped into switch by wire; The quantity of described mobile phone is set to a plurality of; The quantity of described bluetooth module is set to one.Be convenient to realize that a plurality of mobile phones control same controlled switch, easy for installation, lower, with low cost for its profile exquisiteness requirement.
Be that with specific embodiment 1 difference described controller directly is installed on appliance switch inside, conserve space well, described appliance switch is set to lighting switch; The quantity of described mobile phone is set to a plurality of; The quantity of described bluetooth module is set to one.Be convenient to realize that a plurality of mobile phones control same controlled switch.
Be that with specific embodiment 1 difference described controller arranges insulation crust, described insulation crust is installed on appliance switch inside, and described appliance switch is set to industrial relay switch; Described bluetooth module is set to 12 tunnel outputs, and PIO0~PIO11 is output port, the described switch control module of corresponding connection; The quantity of described mobile phone is set to a plurality of; The quantity of described bluetooth module is set to a plurality of.Be convenient to realize the controlled switch of the comprehensive control of a plurality of mobile phones, solved Industry Control and climbed up and down inconvenient problem.
Be that with specific embodiment 4 differences described bluetooth module is set to 16 tunnel outputs, PIO0~PIO15 is output port, the described switch control module of corresponding connection; Be convenient to realize the controlled switch of the comprehensive control of a plurality of mobile phones, solved Industry Control and climbed up and down inconvenient problem.
Be that with specific embodiment 1 difference it is inner that described controller directly is installed on the car key switch, saves insulation crust, conserve space can normally not used by the Harassment Vehicle key well; The quantity of described mobile phone is set to 1; The quantity of described bluetooth module is set to one.Be convenient to realize mobile phone control car key, the action of simulation car key, thereby the function transplanting of automobile remote controllers has been arrived on the mobile phone, even if car key is locked in the car, also can open car door, solved and forgotten the troublesome problem that car key must go home to get, a simultaneously coverlet one mobile phone control, fail safe is good.Described method is equally applicable to the control to other automatically controlled class vehicles and electronic lock.
Operation principle of the present invention: controller mainly comprises bluetooth module, power module, switch control module, and described controller is set up communication by bluetooth module with described mobile phone and is connected, and receives and send packet to described mobile phone; Described bluetooth module not only carries out data communication with described mobile phone, and described control command is carried out analyzing and processing, drives described switch control module action; Set up applications on the user mobile phone is connected with described controller communication by the bluetooth equipment on the described mobile phone, to described controller sending controling instruction, and receives the reply data bag that described controller returns.
The work engineering: the user opens and starts application program of mobile phone, setting up data by Bluetooth of mobile phone and controller is connected, controller receives the control command of mobile phone transmission by bluetooth module and instruction is resolved, and the action of output high-low level control switch control module realizes on-off action; The result feedback that while bluetooth module handle is carried out is to mobile phone.
The control method of Bluetooth of mobile phone control switch of the present invention may further comprise the steps:
(a) at first the output of described controller is connected industrial equipment or lighting apparatus, described controller is connected described power supply;
(b) open application program of mobile phone, click menu-setting, enter the button setting, the identifier of load button title and controller (identifier is arranged on the nameplate of controller), and preserve; Click menu-startup, show control button master interface;
(c) type of button of cell phone software is set to A, B, C three types, and the specific works flow process is as follows:
Category-A type button: press the button starting device, press the button closing device after starting successfully again, workflow is as follows:
Starting device: press the button-bluetooth module that described mobile phone sends from starting command-described controller to described controller receives instruction and exports high level and drive described switch control module adhesive, equipment energising operation; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment starts);
Arrestment: after device start success, press the button-described mobile phone sends to described controller and cease and desist order-bluetooth module of described controller receives instruction and output low level drives described switch control module releasing contact, and device powers down is stopped; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment stops);
Category-B type button: press the button starting device, the release button closing device, workflow is as follows:
Press the button-bluetooth module that described mobile phone sends from starting command-described controller to described controller receives instruction and exports high level and drive described switch control module adhesive, makes equipment energising operation; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment starts);
Release button-described mobile phone sends to described controller and ceases and desist order-and the bluetooth module of described controller receives instruction and output low level drives described switch control module releasing contact, and device powers down is stopped; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment stops);
The C type button: press the button starting device, start successfully rear latching, workflow is as follows:
Press the button-bluetooth module that described mobile phone sends from starting command-described controller to described controller receives instruction and exports high level and drive described switch control module adhesive, makes equipment energising operation; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone receive feedback information-button color and text color change (indication equipment starts)-delay time-described mobile phone sends to described controller and ceases and desist order-bluetooth module reception instruction and the output low level of described controller drive described switch control module releasing contact, device powers down is stopped; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment stops);
(d) described controller receives and the analyzing and processing control command by described bluetooth module, and drives described switch control module and make corresponding action.
(e) manually control: to three kinds of patterns should be arranged, the first is manually controlled, and when the hand push button that links to each other with described bluetooth module was closed, corresponding described switch control module adhesive made equipment energising operation; When described hand push button disconnected, corresponding described switch control module releasing contact stopped device powers down; The second is manually controlled, and presses described hand push button, and described hand push button is pressed in equipment energising operation again, and device powers down stops; The third is manually controlled, and presses described hand push button, starting device, then timing automatic arrestment.If described hand push button closing apparatus has a power failure suddenly when being in running status, send a telegram here again after a while, even at this moment described hand push button is in closure state, equipment can not move yet.
Beneficial effect of the present invention:
(a) bluetooth module of described controller not only carries out data communication with described mobile phone, and described control command is analyzed, processed, and participates in control directly;
(b) described controller and cell phone software communication need not search, pairing, only identifier need be set in the described cell phone software, get final product communication; The bluetooth module of described controller is operated in not discoverable mode, and other bluetooth equipments can't be accessed described controller, and comparing with the bluetooth equipment of discoverable mode is to have higher coefficient of safety;
(c) outage removing memory function is set: no matter be described mobile phone control, or manually control, to send a telegram here again after a while after the outage, described switch control module is in release condition all the time, can effectively avoid occuring security incident;
(d) described cell phone software have regularly open, timing closing function;
(e) described cell phone software can arrange arbitrarily the quantity of described button;
(f) cell phone software can be controlled a plurality of controllers; And a controller can be subject at most the control of seven described mobile phones at the same time.
(g) described controller is made of bluetooth module, power module, this three part of switch control module, circuit structure design is compact, with low cost, and avoid effectively that too many levels causes departure and the high defective of failure probability in the circuit design, can Effective Raise operating efficiency and reliability.
Omnibearing exploration of the present invention the function of bluetooth module, changed on the traditional sense everybody common recognition with the present situation of bluetooth as the transmission of data element, carry out Programming with bluetooth as the core control element, and realized the function of the various electromagnetic switch switches of Bluetooth control, perfect in shape and function, workable, coefficient of safety is high, has creatively improved the smart mobile phone practical value.
The mobile phone of applicable equally other operating systems of the control protocol of controller of the present invention and mobile phone and method, as long as the mobile phone of its operating system possesses the condition of bluetooth exploitation, just can easily realize the function of mobile phone wireless control industrial equipment, civil electric appliance equipment, the vehicles, electronic lock, allow mobile phone become the smart mobile phone that really has practical value.
Claims (10)
1. Bluetooth of mobile phone control switch, it is characterized in that: comprise controller and the mobile phone with Bluetooth function, described controller arranges bluetooth module, power module, switch control module, described bluetooth module respectively with power module, switch control module links to each other, the output connecting circuit switch of described controller, described controller is set up communication by bluetooth module and mobile phone and is connected, controller receives the control command that sends from described mobile phone by bluetooth module on the one hand, described bluetooth module with the control command that receives within it section process, described bluetooth module is controlled adhesive and the release of the contact of described switch control module by the output high-low level, thereby realizes on-off action; Described bluetooth module sends to described mobile phone to the result after processing on the other hand, and described mobile phone is shown to the current state of display switch on the software interface to the feedback information of receiving.
2. Bluetooth of mobile phone control switch as claimed in claim 1, it is characterized in that: in described mobile phone and the described controller corresponding application program is set all, described bluetooth module is controlled adhesive and the release of the contact of described switch control module by PIO port output high-low level.
3. Bluetooth of mobile phone control switch as claimed in claim 1, it is characterized in that: described controller arranges insulation crust.
4. Bluetooth of mobile phone control switch as claimed in claim 1, it is characterized in that: described bluetooth module is set to the BC417143 Bluetooth chip, external 8Mbit FLASH, the 6 tunnel manually control, 6 tunnel outputs.
5. Bluetooth of mobile phone control switch as claimed in claim 1, it is characterized in that: described bluetooth module is set to 12 tunnel outputs, and PIO0~PIO11 is set to output port, correspondingly connects described switch control module.
6. Bluetooth of mobile phone control switch as claimed in claim 1, it is characterized in that: the external analog switching ic of PIO port of described bluetooth module expands to 16 tunnel outputs, 32 tunnel outputs or more multichannel output.
7. Bluetooth of mobile phone control switch as claimed in claim 1, it is characterized in that: described appliance switch comprises the various electromagnetic switch such as relay switch, lighting switch, car key switch, door switch.
8. Bluetooth of mobile phone control switch as claimed in claim 1, it is characterized in that: described bluetooth module arranges User Defined signal code and power failure memory function.
9. the control method of Bluetooth of mobile phone control switch as described in arbitrary such as claim 1-8 is characterized in that: may further comprise the steps:
(a) at first the output of described controller is connected industrial equipment or lighting apparatus, described controller is connected described power supply;
(b) open application program of mobile phone, click menu-setting, enter the button setting, the identifier of load button title and controller (identifier is arranged on the nameplate of controller), and preserve; Click menu-startup, show control button master interface;
(c) type of button of cell phone software is set to A, B, C three types, and the specific works flow process is as follows:
Category-A type button: press the button starting device, press the button closing device after starting successfully again, workflow is as follows:
Starting device: press the button-bluetooth module that described mobile phone sends from starting command-described controller to described controller receives instruction and exports high level and drive described switch control module adhesive, equipment energising operation; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment starts);
Arrestment: after device start success, press the button-described mobile phone sends to described controller and cease and desist order-bluetooth module of described controller receives instruction and output low level drives described switch control module releasing contact, and device powers down is stopped; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment stops);
Category-B type button: press the button starting device, the release button closing device, workflow is as follows:
Press the button-bluetooth module that described mobile phone sends from starting command-described controller to described controller receives instruction and exports high level and drive described switch control module adhesive, makes equipment energising operation; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment starts);
Release button-described mobile phone sends to described controller and ceases and desist order-and the bluetooth module of described controller receives instruction and output low level drives described switch control module releasing contact, and device powers down is stopped; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment stops);
The C type button: press the button starting device, start successfully rear latching, workflow is as follows:
Press the button-bluetooth module that described mobile phone sends from starting command-described controller to described controller receives instruction and exports high level and drive described switch control module adhesive, makes equipment energising operation; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone receive feedback information-button color and text color change (indication equipment starts)-delay time-described mobile phone sends to described controller and ceases and desist order-bluetooth module reception instruction and the output low level of described controller drive described switch control module releasing contact, device powers down is stopped; Simultaneously the result of described bluetooth module after the described mobile phone transmission processing-described mobile phone is received feedback information-button color and text color change (indication equipment stops);
(d) described controller receives and the analyzing and processing control command by described bluetooth module, and drives described switch control module and make corresponding action;
(e) manually control: to three kinds of patterns should be arranged, the first is manually controlled, and when the hand push button that links to each other with described bluetooth module was closed, corresponding described switch control module adhesive made equipment energising operation; When described hand push button disconnected, corresponding described switch control module releasing contact stopped device powers down; The second is manually controlled, and presses described hand push button, and described hand push button is pressed in equipment energising operation again, and device powers down stops; The third is manually controlled, and presses described hand push button, starting device, then timing automatic arrestment; If described hand push button closing apparatus has a power failure suddenly when being in running status, send a telegram here again after a while, even at this moment described hand push button is in closure state, equipment can not move yet.
10. Bluetooth of mobile phone control switch as described in arbitrary such as claim 1-8, it is characterized in that: described controller has following functions:
1), a controller is supported plurality of mobile phones control;
2), single channel and multichannel control;
3), manually control;
4), control the output of single channel or multichannel by the number of times that powers on of control controller:
5), power failure memory function;
6), the mode of operation of user selection controller.
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 |
---|---|---|---|
CN201210570471.7A CN103002159B (en) | 2012-12-25 | 2012-12-25 | A kind of Bluetooth of mobile phone control switch and control method |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510475426.7A Division CN105023419B (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 |
---|---|
CN103002159A true CN103002159A (en) | 2013-03-27 |
CN103002159B CN103002159B (en) | 2015-09-02 |
Family
ID=47930277
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210570471.7A Expired - Fee Related CN103002159B (en) | 2012-12-25 | 2012-12-25 | A kind of Bluetooth of mobile phone control switch and control method |
CN201510475426.7A Active CN105023419B (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 |
---|---|---|---|
CN201510475426.7A Active CN105023419B (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) | CN103002159B (en) |
Cited By (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 |
CN104601821A (en) * | 2015-01-30 | 2015-05-06 | 江苏中航伟业电子科技发展有限公司 | Method for realizing terminal service control |
CN105450836A (en) * | 2014-08-26 | 2016-03-30 | 联想(北京)有限公司 | Method, device and system for operation mode switching |
CN105448069A (en) * | 2015-12-28 | 2016-03-30 | 武汉化神科技有限公司 | Bluetooth controller and operation method |
CN105676669A (en) * | 2016-04-13 | 2016-06-15 | 南通扬宇电子有限公司 | Intelligent wall switch based on bluetooth 4.1 interconnection technology |
CN106094666A (en) * | 2016-08-26 | 2016-11-09 | 百色学院 | A kind of network remote controls intelligent switch system |
CN106227113A (en) * | 2016-08-31 | 2016-12-14 | 合肥荣事达电子电器集团有限公司 | A kind of Uni-connection multi-control switch based on controlled in wireless |
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 |
US10257204B2 (en) | 2014-06-27 | 2019-04-09 | Lenovo (Beijing) Co., Ltd. | Information processing method and electronic apparatus |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102210020B1 (en) | 2017-06-29 | 2021-02-01 | 캐논 가부시끼가이샤 | Communication apparatus and control method therefor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201153310Y (en) * | 2008-01-29 | 2008-11-19 | 中兴通讯股份有限公司 | Mobile phone remote controlling various switches |
US20110179482A1 (en) * | 2007-01-22 | 2011-07-21 | Simon Yoffe | Security switch |
CN202435478U (en) * | 2012-01-30 | 2012-09-12 | 河海大学 | A new type of mobile phone control switch |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
-
2012
- 2012-12-25 CN CN201210570471.7A patent/CN103002159B/en not_active Expired - Fee Related
- 2012-12-25 CN CN201510475426.7A patent/CN105023419B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110179482A1 (en) * | 2007-01-22 | 2011-07-21 | Simon Yoffe | Security switch |
CN201153310Y (en) * | 2008-01-29 | 2008-11-19 | 中兴通讯股份有限公司 | Mobile phone remote controlling various switches |
CN202435478U (en) * | 2012-01-30 | 2012-09-12 | 河海大学 | A new type of mobile phone control switch |
Cited By (14)
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 |
CN104601821A (en) * | 2015-01-30 | 2015-05-06 | 江苏中航伟业电子科技发展有限公司 | Method for realizing terminal service control |
CN105448069A (en) * | 2015-12-28 | 2016-03-30 | 武汉化神科技有限公司 | Bluetooth controller and operation method |
CN105676669A (en) * | 2016-04-13 | 2016-06-15 | 南通扬宇电子有限公司 | Intelligent wall switch based on bluetooth 4.1 interconnection technology |
CN106094666A (en) * | 2016-08-26 | 2016-11-09 | 百色学院 | A kind of network remote controls intelligent switch system |
CN106227113A (en) * | 2016-08-31 | 2016-12-14 | 合肥荣事达电子电器集团有限公司 | A kind of Uni-connection multi-control switch based on controlled in wireless |
CN106227113B (en) * | 2016-08-31 | 2019-03-22 | 合肥荣事达电子电器集团有限公司 | A kind of Uni-connection multi-control switch based on wireless control |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103002159B (en) | 2015-09-02 |
CN105023419A (en) | 2015-11-04 |
CN105023419B (en) | 2018-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103002159B (en) | A kind of Bluetooth of mobile phone control switch and control method | |
CN102855744B (en) | Based on infrared home appliance management system and the method for smart mobile phone | |
CN202904845U (en) | Infrared household electric appliance management system based on intelligent cell phone | |
EP2582210A1 (en) | Intelligent power controlling system | |
CN103687235A (en) | DALI intelligent light control system based on wireless sensing technology | |
CN105093998A (en) | Editable intelligent switch and control method | |
CN105487491A (en) | Household electrical appliance control system and method based on intelligent bracelet | |
CN104460625A (en) | Intelligent home switching system based on wireless network | |
CN112114554B (en) | Wireless control system and method for power supply on-off of power equipment | |
Malav et al. | Research paper on Bluetooth based home automation using Arduino | |
CN205862203U (en) | Intelligent switch device based on conventional mechanical switch | |
CN203151609U (en) | Mobile phone Bluetooth control switch | |
CN103296540A (en) | Socket, terminal and method for controlling switch of socket | |
CN204697088U (en) | Household intelligent gateway | |
CN205121880U (en) | Trinity intelligence switch | |
CN103002625A (en) | Multi-protocol power switch control system | |
CN105024236A (en) | Automatic code matching intelligent socket and automatic code matching method thereof | |
CN106020104A (en) | Intelligent switch device based on conventional mechanical switch | |
CN111628568A (en) | Power distribution control device, power distribution control method, wireless power distribution control system and wireless power distribution control method | |
CN215117192U (en) | Smart Home Controls and Control Panels | |
CN104678969B (en) | Passive intelligent visitor's control system | |
CN108470435A (en) | A kind of passive and wireless intelligent switch based on Z-Wave technology | |
CN106157597A (en) | A kind of wireless and infrared intelligence switching remote control unit and method | |
CN201919011U (en) | Intelligent power control device | |
CN220691281U (en) | Intelligent switch and intelligent switch control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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: 20150902 Termination date: 20151225 |
|
EXPY | Termination of patent right or utility model |