Background
With the continuous development of science and technology, the living standard of people is increasing day by day, in order to ensure the security in a cell or a working area, an access control facility is usually arranged at the door of the cell or the door of a company, when a user enters or exits the cell door or the door of the company, the user usually needs to perform authentication at the access control facility, and only after the authentication passes, the user can enter the cell or the company.
At present, the user need rely on the entrance guard card to come through the entrance guard facility, what most entrance guard cards adopted is the radio frequency identification technique, when the user passes through the entrance guard facility, need be close to the card reader with the entrance guard card and just can make the entrance guard facility open, when the card reader position of setting is far away, the user has to waste a lot of unnecessary time at the in-process of punching the card.
Disclosure of Invention
In view of this, an object of the present application is to provide a control circuit, a rechargeable bluetooth remote controller, an access control device and a control method, in which a bluetooth module disposed in the circuit can remotely control the access control terminal to open, which helps to reduce the time spent by a user when the user passes through the access control terminal, and the access control terminal can open the door by one key, is convenient and fast, and is provided with a rechargeable battery, so that the battery does not need to be frequently replaced.
An embodiment of the present application provides a control circuit, the control circuit includes: the Bluetooth module comprises a rechargeable battery, a Bluetooth module, a main control chip, a key circuit and a voltage detection circuit;
the Bluetooth assembly is connected with the main control chip and used for receiving instructions from the main control chip;
the key circuit is connected with the main control chip, and when a key of the key circuit is pressed down, the key circuit sends an output low level signal to the main control chip and triggers the main control chip to send an instruction to the Bluetooth assembly;
the input end of the voltage detection circuit is connected with the rechargeable battery and is used for detecting the voltage of the rechargeable battery; the voltage detection end of the voltage detection circuit is connected with the main control chip and is used for feeding back the voltage value of the rechargeable battery to the main control chip;
the rechargeable battery is connected with the main control chip and used for supplying power to the main control chip.
Furthermore, the control circuit further comprises a charging circuit, and an output end of the charging circuit is connected with the rechargeable battery and is used for charging the rechargeable battery.
Further, the control circuit further comprises a charging prompt circuit, the main control chip is connected with the input end of the charging prompt circuit and used for controlling a charging indicator lamp in the charging prompt circuit to be normally on when receiving a feedback signal that the voltage of the rechargeable battery is smaller than a preset voltage.
Furthermore, the control circuit further comprises an audio processing circuit, and an input end of the audio processing circuit is connected with the main control chip and is used for outputting the audio information sent by the main control chip.
Furthermore, the key circuit comprises a key, a first resistor and a first capacitor;
a first key contact of the key is connected with a first end of the first resistor, and a second key contact of the key is grounded;
the second end of the first resistor is connected with a power supply;
the first end of the first capacitor is connected with the first end of the first resistor, and the second end of the first capacitor is grounded; and the first end of the first resistor and the first end of the first capacitor are connected with the main control chip.
Further, the voltage detection circuit comprises a second resistor and a third resistor;
the positive electrode of the rechargeable battery is connected with the first end of the second resistor, and the negative electrode of the rechargeable battery is connected with the first end of the third resistor;
and the second end of the second resistor is connected with the second end of the third resistor, and the second end of the second resistor and the second end of the third resistor are connected with the main control chip.
Furthermore, the charging circuit comprises a charging interface, a fuse, an anti-reverse diode, a lightning protection diode, a charging indicator lamp, a charging chip and a fourth resistor;
the first connecting end of the charging interface is connected with the first end of the fuse, and the second connecting end of the charging interface is grounded;
the second end of the fuse is connected with the first pin of the charging chip;
the negative electrode of the lightning protection diode is arranged between the second end of the fuse and the first pin of the charging chip, and the positive electrode of the lightning protection diode is connected with the second connecting end of the charging interface;
the negative electrode of the anti-reverse diode is arranged between the negative electrode of the lightning protection diode and the second end of the fuse, and the positive electrode of the anti-reverse diode is arranged between the positive electrode of the lightning protection diode and the second connecting end of the charging interface;
the first end of the charging indicator lamp is arranged between the negative electrode of the lightning protection diode and the first pin of the charging chip, and the second end of the charging indicator lamp is connected with the second pin of the charging chip;
a third pin of the charging chip is connected with a first end of the fourth resistor, and a fourth pin of the charging chip is connected with a negative electrode of the rechargeable battery and a ground end;
and the second end of the fourth resistor is connected with the positive pole of the rechargeable battery.
Furthermore, the charging prompting circuit comprises a fifth resistor, a sixth resistor, a charging prompting lamp and a transistor;
a first end of the fifth resistor is used as an input end of the charging prompt circuit;
the second end of the fifth resistor is connected with the base electrode of the transistor, the collector electrode of the transistor is connected with the negative electrode of the charging prompting lamp, and the emitter electrode of the transistor is grounded;
the positive electrode of the charging prompting lamp is connected with the first end of the sixth resistor; and the second end of the sixth resistor is connected with a power supply.
Further, the audio processing circuit comprises a seventh resistor, an eighth resistor, a ninth resistor, a second capacitor, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor, a power amplifier chip and a loudspeaker device;
a first end of the seventh resistor is used as an input end of the audio processing circuit, and a second end of the seventh resistor is connected with a first end of the second capacitor;
the second end of the second capacitor is connected with the first end of the eighth resistor; the second end of the eighth resistor is connected with the first access end of the power amplifier chip;
the first end of the third capacitor is arranged between the second end of the seventh resistor and the first end of the second capacitor, and the second end of the third capacitor is grounded;
a first end of the ninth resistor is connected with a second access end of the power amplifier chip, and a second end of the ninth resistor is connected with a first end of the fourth capacitor; a second end of the fourth capacitor is grounded;
a first end of the fifth capacitor is connected with a third access end of the power amplifier chip, and a second end of the fifth capacitor is connected with a first end of the speaker device;
the first end of the sixth capacitor is connected with the fourth access end of the power amplifier chip, and the second end of the sixth capacitor is connected with the second end of the loudspeaker device.
The embodiment of the present application further provides a rechargeable bluetooth remote controller, the rechargeable bluetooth remote controller includes: a housing and the control circuit;
the surface of the shell is provided with a key, a charging interface, a charging indicator light, a charging prompt light and a loudspeaker device;
the control circuit is arranged on the shell.
The embodiment of the application further provides an access control device, the access control device comprises an access control terminal and the rechargeable Bluetooth remote controller, and the access control terminal is in communication connection with the rechargeable Bluetooth remote controller.
The embodiment of the application also provides a method for controlling the opening and closing of the access control device, wherein the access control device is the access control device, and the method comprises the following steps:
when a key of the key circuit is pressed down, the key circuit sends an output low level signal to a main control chip and triggers the main control chip to send a door opening instruction to a Bluetooth assembly;
the Bluetooth assembly receives a door opening instruction from the main control chip and sends a door opening request instruction to the access control terminal;
the access control terminal processes the door opening request instruction, executes a door opening instruction and sends a door opening result feedback signal to the Bluetooth component;
the Bluetooth assembly receives a door opening result feedback signal from the access control terminal and sends the door opening result feedback signal to the main control chip.
According to the control circuit, the rechargeable Bluetooth remote controller, the entrance guard device and the control method, the control circuit comprises a rechargeable battery, a Bluetooth assembly, a main control chip, a key circuit and a voltage detection circuit; the Bluetooth assembly is connected with the main control chip and used for receiving instructions from the main control chip; the key circuit is connected with the main control chip, and when a key of the key circuit is pressed down, the key circuit sends an output low level signal to the main control chip and triggers the main control chip to send an instruction to the Bluetooth assembly; the input end of the voltage detection circuit is connected with the rechargeable battery and is used for detecting the voltage of the rechargeable battery; the voltage detection end of the voltage detection circuit is connected with the main control chip and is used for feeding back the voltage value of the rechargeable battery to the main control chip; the rechargeable battery is connected with the main control chip and used for supplying power to the main control chip. Like this, this application is through setting up the bluetooth subassembly in control circuit, can remote control entrance guard terminal open, helps reducing the user time of spending when passing through entrance guard terminal, can the key open the door, convenient, and be provided with rechargeable battery, need not frequent change battery.
The rechargeable Bluetooth remote controller of one embodiment of the application has the following advantages:
(1) the Bluetooth BLE is adopted, so that the speed is high, the power consumption is low, the self-owned protocol is supported, the safety is high, and a new hardware circuit does not need to be added to the access control terminal;
(2) the door is opened by one key, so that the door is convenient and quick;
(3) the rechargeable battery is arranged, so that the battery does not need to be replaced frequently;
(4) the charging reminding function is provided, and the charging reminding is sent out after the voltage of the rechargeable battery is detected to be low;
(5) the charging interfaces are uniformly configured (such as USB or type-C charging interfaces), and no additional power supply is needed;
(6) the intelligent door control system has a voice prompt function, can self-define audio contents, and can be heard and known as soon as the door control state.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a control circuit according to an embodiment of the present disclosure. As shown in fig. 1, the control circuit 100 provided in the embodiment of the present application includes a rechargeable battery 110, a bluetooth module 120, a main control chip 130, a key circuit 140, and a voltage detection circuit 150.
The bluetooth module 120 is connected to the main control chip 130, and the bluetooth module 120 is configured to receive an instruction from the main control chip 130.
The key circuit 140 is connected to the main control chip 130, and the key circuit 140 is configured to output a high level signal to the main control chip 130 all the time when a key 141 (shown in fig. 2) disposed in the key circuit 140 is not pressed; when setting up in button 141 in button circuit 140 is pressed, button circuit 140 will export low level signal send to main control chip 130, at this moment, when main control chip 130 receives low level signal, trigger main control chip 130 to bluetooth subassembly 120 send the instruction, further control with bluetooth subassembly 120 that main control chip 130 is connected sends the request instruction of opening the door to entrance guard's terminal.
The input terminal of the voltage detection circuit 150 is connected to the rechargeable battery 110, and the voltage detection circuit 150 is configured to detect the voltage of the rechargeable battery 110.
The voltage detection end of the voltage detection circuit 150 is connected to the main control chip 130, and is configured to feed back the voltage value of the rechargeable battery 110 to the main control chip 130, and when the voltage of the voltage detection end of the voltage detection circuit 150 is smaller than a preset voltage, it indicates that the electric quantity of the rechargeable battery 110 is too low.
The main control chip 130 may be an Nrf52810 main control chip, an ARM Cotex M432 bit processor core, and supports a Bluetooth Low Energy (BLE) protocol.
In addition, the rechargeable battery 110 may be further connected to a voltage dropping circuit, which may drop the voltage of the rechargeable battery 110 to the operating voltage of the main control chip 130 and supply power to the main control chip 130.
Further, as shown in fig. 2, fig. 2 is a schematic structural diagram of the key circuit 140 shown in fig. 1. The key circuit 140 includes a key 141, a first resistor 142 and a first capacitor 143.
The first key contact 1411 of the key 141 is connected to the first end of the first resistor 142; the second key contact 1412 of the key 141 is grounded; a second end of the first resistor 142 is connected with a power supply; a first end of the first capacitor 143 is connected to a first end of the first resistor 142; a second terminal of the first capacitor 143 is grounded; the first end of the first resistor 142 and the first end of the first capacitor 143 are connected to the main control chip 130.
When the key 141 is pressed, the level signal received by the main control chip 130 is converted from a high level signal to a low level signal, thereby triggering the main control chip 130 to send an instruction to the bluetooth module 120.
The key circuit 140 is a key anti-shake circuit.
In addition, the power supply may be a rechargeable battery 110, or a power supply voltage obtained by stepping down the voltage according to the operating voltage of the key circuit 140.
Further, as shown in fig. 3, fig. 3 is a schematic structural diagram of the voltage detection circuit 150 shown in fig. 1. The voltage detection circuit 150 includes a second resistor 151 and a third resistor 152.
The positive electrode of the rechargeable battery 110 is connected with the first end of the second resistor 151; the negative electrode of the rechargeable battery 110 is connected to the first end of the third resistor 152; a second end of the second resistor 151 is connected to a second end of the third resistor 152; the second end of the second resistor 151 and the second end of the third resistor 152 are connected to the main control chip 130.
Illustratively, the voltage range of the rechargeable battery 110 is 3-4.2V, and the range of the analog signal collected by the main control chip 130 is 0-3V, so that after the voltage of the rechargeable battery 110 needs to be divided when the rechargeable battery 110 normally works, the voltage detection end of the voltage detection circuit 150 is connected with the main control chip 130, and at this time, the range of the analog signal collected by the main control chip 130 is 1.5-2.1V, which is within the collection range of the main control chip 130; when the voltage of the analog signal collected by the main control chip 130 is lower than 1.6V, it indicates that the electric quantity of the rechargeable battery 110 is too low, and charging is required.
Further, as shown in fig. 4, fig. 4 is a second schematic structural diagram of a control circuit according to an embodiment of the present disclosure. The control circuit 100 also includes a charging circuit 160.
The output end of the charging circuit 160 is connected to the rechargeable battery 110, and the charging circuit 160 is used for charging the rechargeable battery 110.
Further, as shown in fig. 5, fig. 5 is a schematic structural diagram of the charging circuit 160 shown in fig. 4. The charging circuit 160 includes a charging interface 161, a fuse 162, a lightning protection diode 163, an anti-reverse diode 164, a charging indicator 165, a charging chip 166, and a fourth resistor 167.
A first connection end of the charging interface 161 is connected with a first end of the fuse 162, and a second connection end of the charging interface 161 is grounded; a second end of the fuse 162 is connected to a first pin of the charging chip 166; the cathode of the lightning protection diode 163 is disposed between the second end of the fuse 162 and the first pin of the charging chip 166, and the anode of the lightning protection diode 163 is connected to the second connection end of the charging interface 161; the cathode of the anti-reverse diode 164 is disposed between the cathode of the lightning protection diode 163 and the second end of the fuse 162, and the anode of the anti-reverse diode 164 is disposed between the anode of the lightning protection diode 163 and the second connection end of the charging interface 161; a first end of the charging indicator 165 is disposed between a cathode of the lightning protection diode 163 and a first pin of the charging chip 166, and a second end of the charging indicator 165 is connected to a second pin of the charging chip 166; a third pin of the charging chip 166 is connected to a first end of the fourth resistor 167; the fourth pin of the charging chip 166 is connected to the negative electrode of the rechargeable battery 110 and the ground terminal; a second terminal of the fourth resistor 167 is connected to the positive terminal of the rechargeable battery 110.
When the charging interface 161 is connected to a charging power source, the charging current of the charging power source charges the rechargeable battery 110 through the charging chip 166 via the fuse 162; if the charging current exceeds a preset current threshold, the fuse is blown out to protect the charging circuit 160.
When the rechargeable battery 110 is in a charging state, the charging chip 166 controls the charging indicator lamp 165 to flash; when the rechargeable battery 110 is in a saturated state, the charging chip 166 controls the charging indicator 165 to be turned off.
Wherein, the interface that charges can be micro usb, type-c interface etc..
Further, as shown in fig. 4, the control circuit 100 further includes a charging prompt circuit 170.
The input end of the charging prompting circuit 170 is connected to the main control chip 130, when the voltage of the rechargeable battery 110 is lower than a preset voltage, the charging prompting circuit 170 feeds back a feedback signal to the main control chip 130, and after receiving the feedback signal, the main control chip 130 controls the charging indicator lamp in the charging prompting circuit 170 to be normally on.
The result feedback signal is a PWM Pulse Width Modulation (PWM) signal.
Further, as shown in fig. 6, fig. 6 is a schematic structural diagram of the charging prompting circuit 170 shown in fig. 4. The charge indication circuit 170 includes a fifth resistor 171, a sixth resistor 172, a charge indication lamp 173, and a transistor 174.
A first end of the fifth resistor 171 serves as an input end of the charging prompt circuit 170; a second end of the fifth resistor 171 is connected to the base of the transistor 174; the collector of the transistor 174 is connected to the negative pole of the charge indicator 173; the emitter of the transistor 174 is grounded; the positive electrode of the charge indicator light 173 is connected to the first end of the sixth resistor 172; a second end of the sixth resistor 172 is connected to a power supply.
When the voltage output by the voltage detection end of the voltage detection circuit 150 is less than the preset voltage, the main control chip 130 outputs a low level voltage, the charging indicator 173 in the charging indicator 170 is turned on in the forward direction, and the charging indicator 173 is turned on.
On the contrary, when the voltage output by the voltage detection terminal of the voltage detection circuit 150 is greater than or equal to the preset voltage, the main control chip 130 outputs a high level voltage, the charging indicator lamp 173 in the charging indicator circuit 170 is turned off in the reverse direction, and the charging indicator lamp 173 does not operate and is turned off.
The power supply may be a rechargeable battery 110, or a power supply voltage obtained by stepping down the working voltage of the charging prompting circuit 170.
Further, as shown in fig. 4, the control circuit 100 further includes an audio processing circuit 180.
The signal input end of the audio processing circuit 180 is connected to the main control chip 130, and is configured to output the audio information sent by the main control chip 130.
Further, as shown in fig. 7, fig. 7 is a schematic structural diagram of the audio processing circuit 180 shown in fig. 4. The audio processing circuit 180 includes a seventh resistor 1801, an eighth resistor 1802, a ninth resistor 1803, a second capacitor 1804, a third capacitor 1805, a fourth capacitor 1806, a fifth capacitor 1807, a sixth capacitor 1808, a power amplifier chip 1809, and a speaker 1810.
A first end of the seventh resistor 1801 serves as an input end of the audio processing circuit 180, and is connected to the main control chip 130; a second end of the seventh resistor 1801 is connected to a first end of the second capacitor 1804; a second end of the second capacitor 1804 is connected to a first end of the eighth resistor 1802; a second end of the eighth resistor 1802 is connected to the first access end of the power amplifier chip 1809; a first end of the third capacitor 1805 is disposed between a second end of the seventh resistor 1801 and a first end of the second capacitor 1804; a second end of the third capacitor 1805 is grounded; a first end of the ninth resistor 1803 is connected to a second access end of the power amplifier chip 1809; a second end of the ninth resistor 1803 is connected to a first end of the fourth capacitor 1806; a second end of the fourth capacitor 1806 is grounded; a first end of the fifth capacitor 1807 is connected to the third access end of the power amplifier chip 1809; a second end of the fifth capacitor 1807 is connected to the first end of the speaker 1810; a first end of the sixth capacitor 1808 is connected to a fourth access end of the power amplifier chip 1809; a second end of the sixth capacitor 1808 is connected to a second end of the speaker 1810.
When the audio processing circuit 180 receives the audio information output by the main control chip 130, the received audio information is amplified by the power amplifier chip 1809, and then the audio information is fed back to the user through the speaker 1810 in the audio processing circuit 180, for example, "door opened" or "door open failed" or the like.
In addition, when the electric quantity of the rechargeable battery 110 is too low, the main control chip 130 generates prompt information, and the audio processing circuit 180 may also feed back the prompt information to the user through the speaker 1810 after the prompt information is amplified by the power amplifier chip 1809.
According to the control circuit provided by the embodiment of the application, the control circuit comprises a rechargeable battery, a Bluetooth assembly, a main control chip, a key circuit and a voltage detection circuit; the Bluetooth assembly is connected with the main control chip and used for receiving instructions from the main control chip; the key circuit is connected with the main control chip, and when a key of the key circuit is pressed down, the key circuit sends an output low level signal to the main control chip and triggers the main control chip to send an instruction to the Bluetooth assembly; the input end of the voltage detection circuit is connected with the rechargeable battery and is used for detecting the voltage of the rechargeable battery; the voltage detection end of the voltage detection circuit is connected with the main control chip and is used for feeding back the voltage value of the rechargeable battery to the main control chip; the rechargeable battery is connected with the main control chip and used for supplying power to the main control chip. Like this, this application is through setting up the bluetooth subassembly in control circuit, can remote control entrance guard terminal open, helps reducing the user time of spending when passing through entrance guard terminal, can the key open the door, convenient, and be provided with rechargeable battery, need not frequent change battery.
Further, an embodiment of the present application further provides a rechargeable bluetooth remote controller, where the rechargeable bluetooth remote controller includes: casing and the above-mentioned control circuit.
The control circuit is arranged on the shell.
The casing be provided with the button on the surface, the interface that charges, charge pilot lamp, charge warning light and speaker. The button may be located on the same surface as the charging interface, the charging indicator light and the speaker device, or may be located on a different surface, for example, the button is disposed on a first surface of the housing, and the charging interface, the charging indicator light and the speaker device are disposed on a second surface of the housing adjacent to the first surface; or, the key, the charging indicator light, and the charging indicator light are disposed on a first surface of the housing, and the charging interface and the speaker device are disposed on a second surface of the housing adjacent to the first surface, which may be specifically disposed according to actual situations, and are not limited herein.
The button may be disposed inside the housing or on the surface of the housing, for example, one surface of the button is connected to a button circuit, and the other surface of the button is provided with a corresponding pressing position for the convenience of the user, so the button may be disposed inside the housing or on the housing; the device may be disposed inside the casing, or may be specifically disposed according to actual conditions, such as at least one of a rechargeable battery, a bluetooth module, a main control chip, a key circuit, and a voltage detection circuit in the control circuit, which is not limited herein.
The rechargeable Bluetooth remote controller has the following advantages:
(1) the Bluetooth BLE is adopted, so that the speed is high, the power consumption is low, the self-owned protocol is supported, the safety is high, and a new hardware circuit does not need to be added to the access control terminal;
(2) the door is opened by one key, so that the door is convenient and quick;
(3) the rechargeable battery is arranged, so that the battery does not need to be replaced frequently;
(4) the charging reminding function is provided, and the charging reminding is sent out after the voltage of the rechargeable battery is detected to be low;
(5) the charging interfaces are uniformly configured (such as USB or type-C charging interfaces), and no additional power supply is needed;
(6) the intelligent door control system has a voice prompt function, can self-define audio contents, and can be heard and known as soon as the door control state.
Further, this application embodiment still provides an entrance guard's device, entrance guard's device includes entrance guard terminal and the chargeable bluetooth remote controller of above-mentioned.
And the entrance guard terminal is in communication connection with the rechargeable Bluetooth remote controller.
Referring to fig. 8, fig. 8 is a schematic flow chart illustrating a method for controlling opening and closing of an access control device according to an embodiment of the present disclosure. As shown in fig. 8, an embodiment of the present application provides a method for controlling opening and closing of an access control device, including:
s801, when a key of the key circuit is pressed down, the key circuit sends the output low level signal to a main control chip and triggers the main control chip to send a door opening instruction to the Bluetooth assembly.
In this step, when a key in the control circuit is pressed, the key circuit in the control circuit is turned on, the current in the key circuit is shunted, and at this time, the key circuit sends an output low level signal to the main control chip; and then, triggering the main control chip to send a door opening instruction to the Bluetooth assembly.
S802, the Bluetooth assembly receives a door opening instruction from the main control chip and sends a door opening request instruction to the access control terminal.
In this step, when the bluetooth module receives the door opening instruction sent by the main control chip, a door opening request is sent to the access control device. In one embodiment, the door opening request may carry identity information of the requester and the like, so that the access control device may verify the identity of the requester according to the received door opening request instruction.
And S803, the access control terminal processes the door opening request instruction, executes the door opening instruction, and sends a door opening result feedback signal to the Bluetooth component.
In the step, the door access terminal processes the door opening request instruction, executes the door opening instruction after confirming that the door opening information is correct, and sends a door opening result feedback signal to the Bluetooth component.
In this step, according to an implementation manner, the access control terminal may verify the identity of the requester according to the received door opening request instruction, and if the requester passes the verification, the access control terminal executes the door opening instruction according to the verification result and sends a door opening result feedback signal to the bluetooth component, where the door opening result feedback signal is a door opening success feedback signal, such as "opened door" or the like; if the requester fails the authentication, the access control terminal will also feed back a door opening result feedback signal to the bluetooth module, and at this time, the door opening result feedback signal is a door opening failure feedback signal, for example, "door opening failure" or the like.
S804, the Bluetooth assembly receives a door opening result feedback signal from the access control terminal and sends the door opening result feedback signal to the main control chip.
In this step, after the bluetooth module receives the door opening result feedback signal fed back by the access control terminal, the received door opening result feedback signal is sent to the main control chip, so that the main control chip generates audio information according to the received door opening result feedback signal.
Preferably, the control circuit further comprises an audio processing circuit, and an input end of the audio processing circuit is connected with the main control chip and outputs the audio information sent by the main control chip.
For example: after receiving the door opening result feedback signal of successful execution, the Bluetooth module sends the signal to the main control chip, and outputs related audio information to the audio processing circuit through the main control chip, and the audio information is amplified by the power amplifier chip and then output to the loudspeaker (such as a loudspeaker), and the loudspeaker finally outputs the 'opened door' to inform the user. If the entrance guard terminal can not execute the instruction of opening the door, then return the result feedback signal that opens the door of execution failure through the bluetooth subassembly, then export relevant audio information to audio processing circuit through main control chip, audio information passes through power amplifier chip and enlargies the back and export loudspeaker (like loudspeaker), and loudspeaker final output "failure of opening the door" informs the user.
Preferably, the control circuit further comprises a charging prompt circuit, an input end of the charging prompt circuit is connected with the main control chip, and when the voltage of the rechargeable battery in the control circuit is smaller than a preset voltage, the control circuit prompts a user to charge in time through a charging indicator lamp.
Preferably, the control circuit further comprises a charging circuit, and an output end of the charging circuit is connected with the rechargeable battery and is used for charging the rechargeable battery.
According to the method for controlling the opening and closing of the access control device, when the key of the key circuit is pressed down, the key circuit sends the output low level signal to the main control chip, and meanwhile, the main control chip is triggered to send a door opening instruction to the Bluetooth assembly; the Bluetooth assembly receives a door opening instruction from the main control chip and sends a door opening request instruction to the access control terminal; the access control terminal processes the door opening request instruction, executes a door opening instruction and sends a door opening result feedback signal to the Bluetooth component; the Bluetooth assembly receives a door opening result feedback signal from the access control terminal and sends the door opening result feedback signal to the main control chip. Like this, this application is through setting up the bluetooth subassembly in control circuit, can remote control entrance guard terminal open, helps reducing the user time of spending when passing through entrance guard terminal, can the key open the door, convenient, and be provided with rechargeable battery, need not frequent change battery.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.