CN105023419A - Control switch and control method of mobile phone Bluetooth - Google Patents

Control switch and control method of mobile phone Bluetooth Download PDF

Info

Publication number
CN105023419A
CN105023419A CN201510475426.7A CN201510475426A CN105023419A CN 105023419 A CN105023419 A CN 105023419A CN 201510475426 A CN201510475426 A CN 201510475426A CN 105023419 A CN105023419 A CN 105023419A
Authority
CN
China
Prior art keywords
mobile phone
controller
button
bluetooth module
bluetooth
Prior art date
Application number
CN201510475426.7A
Other languages
Chinese (zh)
Other versions
CN105023419B (en
Inventor
潘伟
Original Assignee
潘伟
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 潘伟 filed Critical 潘伟
Priority to CN201510475426.7A priority Critical patent/CN105023419B/en
Priority to CN201210570471.7A priority patent/CN103002159B/en
Publication of CN105023419A publication Critical patent/CN105023419A/en
Application granted granted Critical
Publication of CN105023419B publication Critical patent/CN105023419B/en

Links

Abstract

The invention discloses a control switch and control method of mobile phone Bluetooth. The control switch comprises a controller and a mobile phone with a Bluetooth function. The controller is provided with a Bluetooth module, a power module and a switch control module. The Bluetooth module is connected with the power module and the switch control module, the output end of the controller is connected with an appliance switch, and the controller is in communication 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, the control instruction is processed in the Bluetooth module, the Bluetooth module outputs high levels and low levels to control a contact of the switch control module to be closed and released, and the on-off action is achieved; on the other hand, the Bluetooth module sends the processed result to the mobile phone, and feedback information is displayed to a software interface to display the on-off state. The Bluetooth module of the control switch creatively and directly analyzes, processes and controls the control instruction, and works under a non-discoverable mode. The control switch is compact in circuit design, low in cost, high in reliability and easy to use and popularize.

Description

A kind of Bluetooth of mobile phone gauge tap and control method

Technical field

The invention belongs to Industry Control, electrical equipment control and electronic lock and control technical field, particularly a kind of Bluetooth of mobile phone gauge tap and control method.

Background technology

Along with the development of society and the progress of science and technology, the smart mobile phone of giant-screen, touch-screen is just 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 couple together through bluetooth each other, eliminates traditional electric wire.Smart mobile phone has easy to carry, good man-machine interface, is a good telepilot.Traditional commercial unit controls and light fixture controls, and adopt and have line traffic control, control end and controlled terminal exist physics connection.Smart mobile phone is applied to commercial unit control and light fixture control, it makes user free from the line of numerous and complicated, has profound significance; Smart mobile phone is applied to field of vehicles and electronic lock field, can easily realize the unblanking of automobile, car locking, quiet, open boot, start the functions such as air-conditioning, life will be made more convenient.CN 102186285 A discloses 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 is connected with power module with bluetooth module, luminous lamp tube respectively; light fixture is established a communications link by bluetooth module and mobile phone; light fixture receives the control command sent from mobile phone by bluetooth module on the one hand, and control command is transferred to the main control module process of light fixture; Main control module sends packet by bluetooth module to mobile phone on the other hand, and the control command that main control module sends according to user controls luminous lamp tube.Foregoing invention, 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, only be the use of the function that traditional bluetooth module receives data, ignore the power of bluetooth module as chip itself completely, add complexity in circuits, add failure rate, cause certain wasting of resources.

Summary of the invention

The object of the invention is to overcome the deficiencies in the prior art, provides a kind of Bluetooth of mobile phone gauge tap and control method, achieves user and controls commercial unit, electric 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 gauge tap, 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 is connected, the output terminal connecting circuit switch of described controller, described controller is set up communication by bluetooth module and mobile phone and is connected, controller receives the steering order sent from described mobile phone by bluetooth module on the one hand, the steering order received processes by described bluetooth module therein, described bluetooth module controls adhesive and the release of the contact of described switch control module by exporting low and high level, thus realize on-off action, described bluetooth module sends to described mobile phone the result after process on the other hand, and described mobile phone is shown to the current state of display switch on software interface the feedback information received.

All arrange corresponding application program in described mobile phone and described controller, described bluetooth module exports by PIO port adhesive and the release that low and high level controls the contact of described switch control module.

Described power module is connected 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 BC417143 Bluetooth chip, external 8Mbit FLASH, 6 road Non-follow control, and 6 tunnels export.

Described bluetooth module is set to 12 tunnels and exports, 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 tunnels and export or the output of 32 tunnels, even more multiple-channel 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 electric switch comprises the various electromagnetic switch such as relay switch, light switch, car key switch, door switch.

Principle of work of the present invention: controller mainly comprises bluetooth module, power module, switch control module, 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 carries out analyzing and processing to described steering order, drives described switch control module action; Set up applications on user mobile phone, is connected with described controller communication by the bluetooth equipment on 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 gauge tap of the present invention, comprises the following steps:

A () first connects commercial unit or light fixture the output terminal of described controller, described power supply connected by described controller;

B () opens application program of mobile phone, click menu-setting, enters button and arranges, the identifier (identifier is arranged on the nameplate of controller) of load button title and controller, and preserve; Click menu-startup, the main interface of display and control button;

C the type of button of () cell phone software is set to A, B, C three types, specific works flow process is as follows:

Category-A type button: press the button starting outfit, start successfully and press the button closing device again, workflow is as follows:

Starting outfit: press the button-described mobile phone receives instruction to the bluetooth module that described controller sends startup command-described controller and exports high level and drive described switch control module adhesive, and equipment energising runs; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment starts) simultaneously;

Arrestment: after device start success, press the button-described mobile phone send to described controller 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; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment stops) simultaneously;

Category-B type button: press the button starting outfit, release button closing device, workflow is as follows:

Press the button-described mobile phone receives instruction to the bluetooth module that described controller sends startup command-described controller and exports high level and drive described switch control module adhesive, and equipment is energized and runs; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment starts) simultaneously;

Release button-described mobile phone send to described controller 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; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment stops) simultaneously;

C type button: press the button starting outfit, start latching successfully, workflow is as follows:

Press the button-described mobile phone receives instruction to the bluetooth module that described controller sends startup command-described controller and exports high level and drive described switch control module adhesive, and equipment is energized and runs; Simultaneously described bluetooth module send to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment starts)-time delay-described mobile phone to described controller 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; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment stops) simultaneously;

D () described controller is received and analyzing and processing steering order by described bluetooth module, and drive described switch control module to make corresponding action.

(e) Non-follow control: to having Three models, the first Non-follow control, when the hand push button be connected with described bluetooth module closes, corresponding described switch control module adhesive, makes equipment be energized and runs; When described hand push button disconnects, corresponding described switch control module releasing contact, makes device powers down stop; The second Non-follow control, presses described hand push button, and equipment energising runs, and again presses described hand push button, and device powers down stops; The third Non-follow control, presses described hand push button, starting outfit, 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 if at this moment described hand push button is in closure state, equipment also can not run.

(f) for controlling commercial unit, the controller of civil electric appliance equipment has following functions:

1), a controller supports that plurality of mobile phones controls;

2), single channel and multi-channel control;

3), Non-follow control;

4) number of times that powers on, by controlling controller controls the output of single channel or multichannel:

5), power failure memory function;

6), the mode of operation of user's selection control;

G () has following functions for the controller controlling the vehicles and electronic lock:

1), 1 controller supports that plurality of mobile phones controls;

2), single channel or multi-channel control;

3), User Defined signal code: the packet that mobile phone sends comprises cryptopart and steering order part, and password arranges and is divided into two classes:

The first kind, arranges a signal code: arrange password in cell phone software and preserve: the button arranging password button-press cell phone software pressing controller sends packet-controller and receives packet and the password button-password that arranges being stored into storer-unclamp controller is provided with.The button pressing described cell phone software as user sends packet, described controller receives packet and first resolves cryptopart and the cryptopart of the packet stored with storer compares, if cryptopart is identical, then resolve the steering order part of this packet, the steering order after parsing controls corresponding output port action.

Equations of The Second Kind, multiple signal code is set: each button of cell phone software can arrange signal code, illustrates: the signal code of the A button of cell phone software is first set and preserves: the A road password pressing described controller arranges button-press cell phone software A button and sends packet-described controller and receive packet and the A road password being stored into the described controller of A storer-unclamp arranges button-password is provided with.The cipher set-up method of other buttons is identical with described A button.The A button pressing cell phone software as user sends packet, and described controller receives packet and compares with the packet that all storeies store, if packet is identical, the steering order of then resolving this packet controls corresponding output port action.

Beneficial effect of the present invention:

A the bluetooth module of () described controller not only carries out data communication with described mobile phone, and analyze described steering order, process, and participates in control directly;

B () described controller and cell phone software communication, without the need to search, pairing, only need arrange identifier in described cell phone software, get final product communication; The bluetooth module of described controller is operated in not discoverable mode, and other bluetooth equipments cannot access described controller, is have higher safety coefficient compared with the bluetooth equipment of discoverable mode;

C () arranges power-off and removes memory function: no matter be that described mobile phone controls, or Non-follow control, and send a telegram here after a while after power-off, described switch control module is in release conditions all the time again, can effectively avoid security incident occurs;

(d) described cell phone software have timing open, timing closing function;

The mode of operation of (e) user selection control;

F () controls the output of single channel or multichannel by the number of times that powers on controlling controller;

G () user can self-defined signal code, enhance security;

H () described cell phone software can arrange arbitrarily the quantity of described button;

I () cell phone software can control multiple controller; And a controller can be subject at most the control of seven described mobile phones at the same time.

J () described controller is made up of bluetooth module, power module, this three part of switch control module, circuit structure design is compact, with low cost, and effectively avoid too many levels in circuit design to cause departure and the high defect of failure probability, can effectively increase work efficiency and reliability.

The omnibearing exploration of the present invention function of bluetooth module, change the present situation using bluetooth as transmission data element of everybody common recognition in traditional sense, Programming is carried out as core control element using bluetooth, and achieve the function of the various electromagnetic switch switch of Bluetooth control, perfect in shape and function, workable, safety coefficient is high, creatively improves smart mobile phone practical value.

The control protocol of controller of the present invention and mobile phone and the same mobile phone being suitable for other operating systems of method, as long as the mobile phone of its operating system possesses the condition of bluetooth exploitation, just easily can realize the function that mobile phone wireless controls commercial unit, civil electric appliance equipment, the vehicles, electronic lock, allow mobile phone become the smart mobile phone really with practical value.

Accompanying drawing explanation

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 powers on control flow chart;

Fig. 5 controller application flows figure of the present invention;

Fig. 6 Android Android system mobile phone of the present invention application flows figure;

Fig. 7 JAVA system mobile phone of the present invention application flows figure;

The application rollouts of Fig. 8 Android Android system mobile phone of the present invention;

The application rollouts of Fig. 9 JAVA system mobile phone of the present invention.

Embodiment

Specific embodiment 1

A kind of Bluetooth of mobile phone gauge tap, 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 is connected with described power module and described switch control module respectively, the output terminal 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 steering order sent from mobile phone by described bluetooth module on the one hand, after the steering order received processes by bluetooth module therein, bluetooth module comes adhesive and the release of the contact of gauge tap control module by exporting low and high level, thus realize on-off action, bluetooth module can send to mobile phone the result after process on the other hand, and mobile phone is shown to the feedback information received on software interface, is used for showing current on off state.

Corresponding application program is all provided with in described mobile phone and described controller; Described controller receives the steering order of described mobile phone transmission by described bluetooth module, the steering order received processes by described bluetooth module therein, export by PIO port adhesive and the release that low and high level controls the contact of described switch control module, thus realize on-off action.

Described power module is connected 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 electric switch inside, and described electric switch is set to relay switch.

Described bluetooth module is set to BC417143 Bluetooth chip; External 8Mbit FLASH, can meet the capacity requirement of this system; Electric current 20 ~ 40MA fluctuation when low-voltage 3.3V work (3.1V ~ 4.2V) connects, electric current 20MA time standby; PIO port able to programme, is convenient to user program expansion; The application program that described bluetooth module runs is developed by C programmer; Described bluetooth module has low-power consumption, volume little (27mm × 13mm × 2mm), employing SMD paster technique, simple periphery design circuit, Class 2 power level, working temperature :-25 to+75 degree are the ideal choses without line development.

As shown in Figure 2, this circuit is 6 road Non-follow control to the hardware circuit diagram of described controller, and 6 tunnels export.PIO0, PIO1, PIO2, PIO3, PIO4, PIO5, as output port, export controlled quentity controlled variable information, are connected respectively J1, J2, J3, J4, J5, J6 switch control module; PIO6, PIO7, PIO8, PIO9, PIO10, PIO11 are set to input port, input operation action message, are 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 S1 hand push button, PIO0 output low level, 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.

Controlled the output state of single channel or multichannel by the number of times that powers on controlling described controller, on described controller, electric control wiring schematic diagram as shown in Figure 3, and described controller is that 4 tunnels export, and be respectively A road, B road, C road, D road, K switch is power switch.Described controller powers on control flow chart as shown in Figure 4, as first time closed electrical source switch K, first work in combination, so-called " combination " just refer to A road, B road, C road, the output of D road duty for opening or closing, be expressed as A ON/OFF, B ON/OFF, C ON/OFF, the open/close combination of D, can be ABCD standard-sized sheet, also can be ABCD complete shut-down, can also arbitrary, wantonly two for ABCD, wantonly three, wantonly four open or close; As second time closed electrical source switch K, second " combination " works; As third time closed electrical source switch K, the 3rd " combination " works.

As previously mentioned, No. 4 controllers shown in Fig. 3, single channel or multiplexer (MUX can certainly be set to, several mode of operation can be preset in the bluetooth module program of described controller, " combination " that often kind of mode of operation is corresponding different, user according to the mode of operation needing selection control of oneself, thus can realize different switching effect.

Described controller application program as shown in Figure 5, after described controller energising, start working, and waits for the connection of mobile phone by described bluetooth module; When after the steering order receiving the transmission of described mobile phone, described bluetooth module controls described switch control module and performs corresponding action, sends feedback information to described mobile phone simultaneously.

User can select smart mobile phone supporting with it according to control software design, controlling application program installed by described mobile phone: described application program is by JAVA program development, as shown in Figure 6, JAVA system mobile phone application program as shown in Figure 7 for Android Android system mobile phone application program.

Open application program of mobile phone, click menu-setting, enter button and arrange, the identifier (position identifier is arranged on the nameplate of described controller) of load button title and controller, and preserve; Click menu-startup, show described button key frame; Press the described button set, described mobile phone is to described controller sending controling instruction, and described controller performs corresponding action according to receiving steering order; Described mobile phone receives the feedback information that described controller sends simultaneously, and on software, show the action performed by described controller.As shown in Figure 8, JAVA system mobile phone application program as shown in Figure 9 for Android Android system mobile phone application program.

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 a mobile phone and control multiple controlled switch simultaneously.

Described bluetooth module arranges User Defined signal code and power failure memory function.

Specific embodiment 2

Distinguish with specific embodiment 1 and be, described controller is directly installed on electric switch shell side, and output terminal jumps into switch by wire; The quantity of described mobile phone is set to multiple; The quantity of described bluetooth module is set to one.Be convenient to realize multiple mobile phone and control same controlled switch, easy for installation, lower, with low cost for the elegance requirement of its profile.

Specific embodiment 3

Distinguish with specific embodiment 1 and be, described controller is directly installed on electric switch inside, can conserve space well, and described electric switch is set to light switch; The quantity of described mobile phone is set to multiple; The quantity of described bluetooth module is set to one.Be convenient to realize multiple mobile phone and control same controlled switch.

Specific embodiment 4

Distinguish with specific embodiment 1 and be, described controller arranges insulation crust, and described insulation crust is installed on electric switch inside, and described electric switch is set to industrial relay switch; Described bluetooth module is set to 12 tunnels and exports, and PIO0 ~ PIO11 is output port, the described switch control module of corresponding connection; The quantity of described mobile phone is set to multiple; The quantity of described bluetooth module is set to multiple.Be convenient to realize the controlled switch of the comprehensive control of multiple mobile phone, solve Industry Control and climb inconvenient problem up and down.

Specific embodiment 5

Distinguish with specific embodiment 4 and be, described bluetooth module is set to 16 tunnels and exports, and 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 multiple mobile phone, solve Industry Control and climb inconvenient problem up and down.

Specific embodiment 6

Distinguish with specific embodiment 1 and be, described controller is directly installed on car key switch internal, saves insulation crust, can conserve space well, can not normally use by Harassment Vehicle key; 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 and control car key, the action of simulation car key, thus the function transplanting of automobile remote controllers has been arrived on mobile phone, even if car key is locked in car, also car door can be opened, solve the troublesome problem forgotten car key and must go home to get, a coverlet one mobile phone controls simultaneously, and security is good.Described method is equally applicable to the control to other automatically controlled class vehicles and electronic lock.

Principle of work of the present invention: controller mainly comprises bluetooth module, power module, switch control module, 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 carries out analyzing and processing to described steering order, drives described switch control module action; Set up applications on user mobile phone, is connected with described controller communication by the bluetooth equipment on described mobile phone, to described controller sending controling instruction, and receives the reply data bag that described controller returns.

Work process: user opens and starts application program of mobile phone, data cube computation is set up by Bluetooth of mobile phone and controller, controller receives the steering order of mobile phone transmission by bluetooth module and resolves instruction, exports the action of low and high level gauge tap control module, realizes on-off action; Simultaneously bluetooth module the result feedback performed to mobile phone.

The control method of Bluetooth of mobile phone gauge tap of the present invention, comprises the following steps:

A () first connects commercial unit or light fixture the output terminal of described controller, described power supply connected by described controller;

B () opens application program of mobile phone, click menu-setting, enters button and arranges, the identifier (identifier is arranged on the nameplate of controller) of load button title and controller, and preserve; Click menu-startup, the main interface of display and control button;

C the type of button of () cell phone software is set to A, B, C three types, specific works flow process is as follows:

Category-A type button: press the button starting outfit, start successfully and press the button closing device again, workflow is as follows:

Starting outfit: press the button-described mobile phone receives instruction to the bluetooth module that described controller sends startup command-described controller and exports high level and drive described switch control module adhesive, and equipment energising runs; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment starts) simultaneously;

Arrestment: after device start success, press the button-described mobile phone send to described controller 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; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment stops) simultaneously;

Category-B type button: press the button starting outfit, release button closing device, workflow is as follows:

Press the button-described mobile phone receives instruction to the bluetooth module that described controller sends startup command-described controller and exports high level and drive described switch control module adhesive, and equipment is energized and runs; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment starts) simultaneously;

Release button-described mobile phone send to described controller 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; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment stops) simultaneously;

C type button: press the button starting outfit, start latching successfully, workflow is as follows:

Press the button-described mobile phone receives instruction to the bluetooth module that described controller sends startup command-described controller and exports high level and drive described switch control module adhesive, and equipment is energized and runs; Simultaneously described bluetooth module send to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment starts)-time delay-described mobile phone to described controller 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; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes (indication equipment stops) simultaneously;

D () described controller is received and analyzing and processing steering order by described bluetooth module, and drive described switch control module to make corresponding action.

(e) Non-follow control: to having Three models, the first Non-follow control, when the hand push button be connected with described bluetooth module closes, corresponding described switch control module adhesive, makes equipment be energized and runs; When described hand push button disconnects, corresponding described switch control module releasing contact, makes device powers down stop; The second Non-follow control, presses described hand push button, and equipment energising runs, and again presses described hand push button, and device powers down stops; The third Non-follow control, presses described hand push button, starting outfit, 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 if at this moment described hand push button is in closure state, equipment also can not run.

Beneficial effect of the present invention:

A the bluetooth module of () described controller not only carries out data communication with described mobile phone, and analyze described steering order, process, and participates in control directly;

B () described controller and cell phone software communication, without the need to search, pairing, only need arrange identifier in described cell phone software, get final product communication; The bluetooth module of described controller is operated in not discoverable mode, and other bluetooth equipments cannot access described controller, is have higher safety coefficient compared with the bluetooth equipment of discoverable mode;

C () arranges power-off and removes memory function: no matter be that described mobile phone controls, or Non-follow control, and send a telegram here after a while after power-off, described switch control module is in release conditions all the time again, can effectively avoid security incident occurs;

(d) described cell phone software have timing open, timing closing function;

E () described cell phone software can arrange arbitrarily the quantity of described button;

F () cell phone software can control multiple controller; And a controller can be subject at most the control of seven described mobile phones at the same time.

G () described controller is made up of bluetooth module, power module, this three part of switch control module, circuit structure design is compact, with low cost, and effectively avoid too many levels in circuit design to cause departure and the high defect of failure probability, can effectively increase work efficiency and reliability.

The omnibearing exploration of the present invention function of bluetooth module, change the present situation using bluetooth as transmission data element of everybody common recognition in traditional sense, Programming is carried out as core control element using bluetooth, and achieve the function of the various electromagnetic switch switch of Bluetooth control, perfect in shape and function, workable, safety coefficient is high, creatively improves smart mobile phone practical value.

The control protocol of controller of the present invention and mobile phone and the same mobile phone being suitable for other operating systems of method, as long as the mobile phone of its operating system possesses the condition of bluetooth exploitation, just easily can realize the function that mobile phone wireless controls commercial unit, civil electric appliance equipment, the vehicles, electronic lock, allow mobile phone become the smart mobile phone really with practical value.

Claims (8)

1. a Bluetooth of mobile phone gauge tap, 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 is connected, the output terminal connecting circuit switch of described controller, described controller is set up communication by bluetooth module and mobile phone and is connected, controller receives the steering order sent from described mobile phone by bluetooth module on the one hand, the steering order received processes by described bluetooth module therein, described bluetooth module controls adhesive and the release of the contact of described switch control module by exporting low and high level, thus realize on-off action, described bluetooth module sends to described mobile phone the result after process on the other hand, and described mobile phone is shown to the current state of display switch on software interface the feedback information received,
Its control method, comprises the following steps:
A () first connects commercial unit or light fixture the output terminal of described controller, described power supply connected by described controller;
B () opens application program of mobile phone, click menu-setting, enters button and arranges, the identifier of load button title and controller, and preserve; Click menu-startup, the main interface of display and control button;
C the type of button of () cell phone software is set to A, B, C three types, specific works flow process is as follows:
Category-A type button: press the button starting outfit, start successfully and press the button closing device again, workflow is as follows:
Starting outfit: press the button-described mobile phone receives instruction to the bluetooth module that described controller sends startup command-described controller and exports high level and drive described switch control module adhesive, and equipment energising runs; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes simultaneously;
Arrestment: after device start success, press the button-described mobile phone send to described controller 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; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes simultaneously;
Category-B type button: press the button starting outfit, release button closing device, workflow is as follows:
Press the button-described mobile phone receives instruction to the bluetooth module that described controller sends startup command-described controller and exports high level and drive described switch control module adhesive, and equipment is energized and runs; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes simultaneously;
Release button-described mobile phone send to described controller 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; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes simultaneously;
C type button: press the button starting outfit, start latching successfully, workflow is as follows:
Press the button-described mobile phone receives instruction to the bluetooth module that described controller sends startup command-described controller and exports high level and drive described switch control module adhesive, and equipment is energized and runs; Simultaneously described bluetooth module to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes-time delay-described mobile phone send to described controller 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; Described bluetooth module is to the result after described mobile phone transmission processing-described mobile phone receives feedback information-Button Color and text color changes simultaneously;
D () described controller is received and analyzing and processing steering order by described bluetooth module, and drive described switch control module to make corresponding action;
(e) Non-follow control: to having Three models, the first Non-follow control, when the hand push button be connected with described bluetooth module closes, corresponding described switch control module adhesive, makes equipment be energized and runs; When described hand push button disconnects, corresponding described switch control module releasing contact, makes device powers down stop; The second Non-follow control, presses described hand push button, and equipment energising runs, and again presses described hand push button, and device powers down stops; The third Non-follow control, presses described hand push button, starting outfit, 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 if at this moment described hand push button is in closure state, equipment also can not run;
Described Bluetooth of mobile phone gauge tap is respectively used to the controller controlling commercial unit, civil electric appliance equipment, the vehicles and electronic lock;
Be set forth in the controller controlling the vehicles and electronic lock there is following functions:
1), 1 controller supports that plurality of mobile phones controls;
2), single channel or multi-channel control;
3), User Defined signal code: the packet that mobile phone sends comprises cryptopart and steering order part, and password arranges and is divided into two classes:
The first kind, arranges a signal code: arrange password in cell phone software and preserve: the button arranging password button-press cell phone software pressing controller sends packet-controller and receives packet and the password button-password that arranges being stored into storer-unclamp controller is provided with;
Equations of The Second Kind, multiple signal code is set: each button of cell phone software can arrange signal code, illustrates: the signal code of the A button of cell phone software is first set and preserves: the A road password pressing described controller arranges button-press cell phone software A button and sends packet-described controller and receive packet and the A road password being stored into the described controller of A storer-unclamp arranges button-password is provided with.
2. Bluetooth of mobile phone gauge tap as claimed in claim 1, it is characterized in that: all arrange corresponding application program in described mobile phone and described controller, described bluetooth module exports by PIO port adhesive and the release that low and high level controls the contact of described switch control module.
3. Bluetooth of mobile phone gauge tap as claimed in claim 1, is characterized in that: described controller arranges insulation crust.
4. Bluetooth of mobile phone gauge tap as claimed in claim 1, is characterized in that: described bluetooth module is set to BC417143 Bluetooth chip, external 8Mbit FLASH, 6 road Non-follow control, and 6 tunnels export.
5. Bluetooth of mobile phone gauge tap as claimed in claim 1, is characterized in that: described bluetooth module is set to 12 tunnels and exports, and PIO0 ~ PIO11 is set to output port, correspondingly connects described switch control module.
6. Bluetooth of mobile phone gauge tap as claimed in claim 1, is characterized in that: the external analog switching ic of PIO port of described bluetooth module, expands to that 16 tunnels export, 32 tunnels export or more multiple-channel output.
7. Bluetooth of mobile phone gauge tap as claimed in claim 1, is characterized in that: described electric switch comprises the various electromagnetic switch such as relay switch, light switch, car key switch, door switch.
8. Bluetooth of mobile phone gauge tap as described in as arbitrary in claim 1-7, is characterized in that: described control commercial unit, civil electric appliance device controller have following functions:
1), a controller supports that plurality of mobile phones controls;
2), single channel and multi-channel control;
3), Non-follow control;
4) number of times that powers on, by controlling controller controls the output of single channel or multichannel:
5), power failure memory function;
6), the mode of operation of user's selection control.
CN201510475426.7A 2012-12-25 2012-12-25 A kind of Bluetooth of mobile phone control switch and control method CN105023419B (en)

Priority Applications (2)

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
CN201210570471.7A CN103002159B (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 true CN105023419A (en) 2015-11-04
CN105023419B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218552A (en) * 2017-06-29 2019-01-15 佳能株式会社 Communication device and its control method
US10771648B2 (en) 2017-06-29 2020-09-08 Canon Kabushiki Kaisha Communication apparatus and control method therefor

Families Citing this family (11)

* Cited by examiner, † Cited by third party
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
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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN101794500A (en) * 2009-12-29 2010-08-04 刘利华 System capable of remotely controlling electronic and electrical equipment
CN102064859A (en) * 2010-12-13 2011-05-18 余阿文 Bluetooth transmission control and anti-theft device
US8522309B2 (en) * 2007-01-22 2013-08-27 Simon Yoffe Security switch

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202435478U (en) * 2012-01-30 2012-09-12 河海大学 Novel mobile phone control switch

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN101794500A (en) * 2009-12-29 2010-08-04 刘利华 System capable of remotely controlling electronic and electrical equipment
CN102064859A (en) * 2010-12-13 2011-05-18 余阿文 Bluetooth transmission control and anti-theft device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218552A (en) * 2017-06-29 2019-01-15 佳能株式会社 Communication device and its control method
US10771648B2 (en) 2017-06-29 2020-09-08 Canon Kabushiki Kaisha Communication apparatus and control method therefor

Also Published As

Publication number Publication date
CN103002159B (en) 2015-09-02
CN103002159A (en) 2013-03-27
CN105023419B (en) 2018-08-10

Similar Documents

Publication Publication Date Title
US9589459B2 (en) Modular wireless power, light and automation control
CN103795444B (en) Enable the home automation device pairing of the portable set of NFC
CN103365269B (en) Based on intelligent appliance multi-mode long distance control system and the method for wireless sense network
CN104155938B (en) A kind of home equipment management method and system
Park et al. Smart digital door lock for the home automation
CN100573383C (en) Intelligent home control system based on phone and ZigBee technology
CN102854834B (en) Intelligent switch with long-distance remote control function and long-distance remote control system
CN203084539U (en) Intelligent household control system
WO2014169807A1 (en) Smart home system and control method
CN203178784U (en) Intelligent household control system based on Internet of Things
CN203521786U (en) Intelligent measuring socket
CN201589976U (en) Intelligent home system based on ZigBee technology
CN203251317U (en) A smart home monitoring system using Bluetooth low-energy BLE modules
CN102651165A (en) Wireless learning type infrared repeating system and working method thereof
CN103092172A (en) Wire arrangement type intelligent home integrated control device based on cloud service platform
US20130253720A1 (en) Intelligent power distribution system and method
CN202058994U (en) Intelligent socket
CN202904845U (en) Infrared household electric appliance management system based on intelligent cell phone
CN103019181A (en) Intelligent internet-of-things home system based on ZigBee wireless communication protocol
CN103217963A (en) General intelligent housing system
CN206097455U (en) Speech recognition controlgear
CN103699079A (en) Method for performing timing control on intelligent home equipment through mobile terminal
CN104270518B (en) The switching method of operation interface in a kind of remote control terminal
US20190012863A1 (en) Method, system, and computer-readable medium relating to internet of things-enabled remote controls
CN103345211A (en) Intelligent home control system and control method

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