CN106917541B - A kind of light encourages bluetooth ID intelligent and safe lock core - Google Patents

A kind of light encourages bluetooth ID intelligent and safe lock core Download PDF

Info

Publication number
CN106917541B
CN106917541B CN201710103374.XA CN201710103374A CN106917541B CN 106917541 B CN106917541 B CN 106917541B CN 201710103374 A CN201710103374 A CN 201710103374A CN 106917541 B CN106917541 B CN 106917541B
Authority
CN
China
Prior art keywords
feet
resistance
triode
connect
chip microcontroller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201710103374.XA
Other languages
Chinese (zh)
Other versions
CN106917541A (en
Inventor
张海峰
梁文成
陈鸿
刘云飞
郭奋强
刘璜
邢亚楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Inter Rock Hardware Co ltd
Original Assignee
Hangzhou Dianzi University
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 Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201710103374.XA priority Critical patent/CN106917541B/en
Publication of CN106917541A publication Critical patent/CN106917541A/en
Application granted granted Critical
Publication of CN106917541B publication Critical patent/CN106917541B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B47/0001Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B49/00Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B49/00Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor
    • E05B49/002Keys with mechanical characteristics, e.g. notches, perforations, opaque marks
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B2047/0048Circuits, feeding, monitoring

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a kind of light to encourage bluetooth ID intelligent and safe lock core, and the present invention includes cylinder side and key side.Cylinder side includes cylinder side master control system chip circuit, infrared transmitting circuit, 433MHz RF receiving circuit, motor driven and lock-rotor detection circuit, and a key switch power supply holding circuit, voltage detection circuit, battery is for electrical connection circuit and switch.Key side includes infrared receiving circuit, Master control chip circuit, power circuit and radio frequency transmitter circuitry.The present invention is low in energy consumption, low in cost, and intelligent lock core tooth number is enabled to not reduce and be electrically connected simple process.

Description

A kind of light encourages bluetooth ID intelligent and safe lock core
Technical field
The present invention relates to intelligent and safe lock core device technical field, more particularly to it is a kind of using mechanical structure, it is infrared, penetrate The intelligent lock core of the multiple-authentication of frequency communication verification.
Background technique
Conventional door lock lock core is to be realized completely by mechanical structure, there is a problem of tartar coding deficiency, causes key Mutual opening rate is higher, to solve this problem, some producers use key end increase the unique chip of World Wide ID, the chip with The DS2400 of maxim company is representative, they are unibus structures, as long as controlling it ground wire and a signal wire i.e. It can.The method increase the safeties of conventional lock cylinders, realize electric-mechanic control system.But ID code is sent to since there are the ways of contact It in MCU in lock core, needs to set up contact in the position of key pins, which reduce the tooth numbers on mechanical key, as room is big It is big, Sun Xiaodong, Ma Qingyu, intelligent cylinder design [J] Nanjing Normal University journal (engineering skill of the Miao Hua based on PIC single chip microcomputer Art version), the lock core in 2013,01:25-29. document.If powered on the key, number of contacts is more, so that the tartar of mechanical part Mutual opening rate rise it is more, meanwhile, it is this to be electrically connected complex process in such a way that billiards structure carries out data communication, research and development at This height.It is mutual using the reduction of ID chip solution tartar coding, the tartar of mechanical part that the present invention can effectively solve common intelligent lock core Rate is opened to rise, electrical connection complex process, research and develop deficiency at high cost and poor stability.
Summary of the invention
In order to overcome the above-mentioned deficiencies of the prior art, the present invention provides a kind of light to encourage bluetooth ID intelligent and safe lock core knot Structure.
It includes cylinder side and key side that a kind of light, which encourages bluetooth ID intelligent and safe lock core,.Cylinder side includes cylinder side master control system Chip circuit, infrared transmitting circuit, 433MHz RF receiving circuit, motor driven and lock-rotor detection circuit, a key switch power supply Holding circuit, voltage detection circuit, battery is for electrical connection circuit and switch.Key side includes infrared receiving circuit, master control Chip circuit processed, power circuit and radio frequency transmitter circuitry.
The cylinder side master control system chip circuit includes single-chip microcontroller U2, the first nonpolar capacitor C1, the second nonpolarity Capacitor C2, the first polar capacitor C3 and third nonpolarity capacitor C4;Single-chip microcontroller U2 model STM8S105.
1 foot of the single-chip microcontroller U2 is connect with one end of the first nonpolar capacitor C1, and the first nonpolar capacitor C1's is another One termination GND;4 feet, 10 feet of single-chip microcontroller U2 meet GND, and 5 feet are connect with one end of the second nonpolar capacitor C2, the second nonpolarity Another termination GND of capacitor C2;6 feet, 7 feet, 9 feet and the nonpolar electricity of the anode of the first polar capacitor C3, third of single-chip microcontroller U2 The one end for holding C4 connects and connects the anode of battery P3, the other end of the cathode of the first polar capacitor C3, third nonpolarity capacitor C4 Connect and ground;2 feet, 3 feet, 8 feet, 14 feet, 17 feet, 18 feet, 19 feet, 20 feet, 21 feet, 23 feet, 25 feet, 26 of single-chip microcontroller U2 Foot, 29 feet, 30 feet, 31 feet, 32 feet are aerial.
Infrared transmitting circuit includes first resistor R1, second resistance R4,3rd resistor R7, the 4th resistance R8, the 5th resistance R16, the first triode P5, the second triode P8, the first infrared-emitting diode LED1, the first Schottky diode D1 and second Schottky diode D3.
One end of the first resistor R1 connect and connects with the emitter of one end of second resistance R4, the first triode P5 The cathode of the anode of battery P3, the other end of first resistor R1 and the second Schottky diode D3, one end of 3rd resistor R7 connect Meet and connect 12 feet of single-chip microcontroller U2, one end, the first Schottky diode D1 of the other end of second resistance R4 and the 4th resistance R8 Cathode connect and connect 11 feet of single-chip microcontroller U2;The sun of the anode of first Schottky diode D1 and the second Schottky diode D3 Pole meets GND;The other end of 3rd resistor R7 is connect with the base stage of the first triode P5, the collector and second of the first triode P5 The emitter of triode P8 connects, and the base stage of the second triode P8 is connect with the other end of the 4th resistance R8, the second triode P8 Collector connect with one end of the 5th resistance R16, the other end of the 5th resistance R16 and the first infrared-emitting diode LED1's Anode connection, the cathode of the first infrared-emitting diode LED1 meet GND.
433MHz RF receiving circuit uses H3V4F type 433MHz Receiver Module;The radio frequency receiving 1 foot of block connects the anode of battery P3, and 2 feet connect 13 feet of single-chip microcontroller U2, and 3 feet meet GND;
Cylinder side motor driven and lock-rotor detection circuit include the 6th resistance R2, the 7th resistance R5, the 8th resistance R10, the Nine resistance R6, the tenth resistance R3, eleventh resistor R11, twelfth resistor R14, thirteenth resistor R15, the first triode P6, Two triode P7, third transistor N4, the 4th triode N5 and motor MOTOR.
The anode of a termination battery P3 of the 6th resistance R2, the other end of the 6th resistance R2 and the 7th resistance R5's One end, the 8th resistance R10 one end connect and connect 28 feet of single-chip microcontroller U2, the other end of the 7th resistance R5 and the first triode P6 Base stage connection, the emitter of the first triode P6 is connected to the anode of battery P3, the collector and motor of the first triode P6 In addition the collector connection of 2 feet, third transistor N4 of MOTOR, the base stage of third transistor N4 are connected to the 8th resistance R10 One end, emitter and one end of twelfth resistor R14, one end and the four or three pole of thirteenth resistor R15 of third transistor N4 The emitter of pipe N5 connects, and the other end of thirteenth resistor R15 is connected to 16 feet of single-chip microcontroller U2, twelfth resistor R14's Other end is connected to GND, the collector of the collector of the 4th triode N5 and 1 foot of motor MOTOR and the second triode P7 Connection, the base stage of the 4th triode N5 are connected to one end of eleventh resistor R11, the other end and list of eleventh resistor R11 27 pins of piece machine U2, one end of the tenth resistance R3 are connected with one end of the 9th resistance R6, and the other end of the 9th resistance R6 connects It is connected to the base stage of the second triode P7, the other end of the tenth resistance R3 is connected to the anode of battery P3, the second triode P7's Emitter is connected to the anode of battery P3.
One key switch power supply holding circuit of cylinder side includes the 14th resistance R13, the 15th resistance R19, the 16th resistance R9, the 17th resistance R18, the 18th resistance R20, third Schottky diode D2, the 5th triode N1, the 6th triode P1 and 7th triode N3.
Described one end of the 14th resistance R13 is connect with 22 feet of single-chip microcontroller U2, the other end of the 14th resistance R13 with The base stage connection of one end, the 5th triode N1 of the 15th resistance R19, the other end and third Schottky of the 15th resistance R19 The cathode of diode D2 connects and connects GND, and the anode of third Schottky diode D2 is connect with the emitter of the 5th triode N1, The collector of 5th triode N1 is connect with one end of the 16th resistance R9, the other end and the 6th triode of the 16th resistance R9 The base stage of P1 connects, and the emitter of the 6th triode P1 is connect with the positive of battery P3, the collector of the 6th triode P1 and the One end connection of one end, the 18th resistance R20 of 17 resistance R18, the other end and the 7th triode N3 of the 17th resistance R18 Base stage connection, the collector of the 7th triode N3 meets GND, and the emitter of the 7th triode N3 is another with the 18th resistance R20's One end connects and meets PGND.
Cylinder side voltage detection circuit includes the electricity of the 2, the 19th resistance R23 of the first Light-emitting diode LED and the 20th Hinder R24.
The anode of first Light-emitting diode LED 2 connects the anode of battery P3, the cathode of the first Light-emitting diode LED 2 It is connect with one end of one end of the 19th resistance R23, the 20th resistance R24, the other end and single-chip microcontroller U2 of the 19th resistance R23 The connection of 24 feet, the other end of the 20th resistance R24 connect with 15 feet of single-chip microcontroller U2.
Cylinder side battery connection circuitry includes No. 8 battery P3 of 3 section;The cathode of battery P3 meets PGND, and the anode of battery P3 connects VCC。
Cylinder side switch is switch P4;Termination a PGND, another termination GND of switch P4.
Key side infrared receiving circuit includes HS0038 infrared receiving tube U5;1 foot and single-chip microcontroller U3 of infrared receiving tube U5 The connection of 4 feet, 2 feet meet GND, and 3 feet are connect with 3 feet of single-chip microcontroller U3.
Key side Master control chip circuit includes single-chip microcontroller U3 and the 21st resistance R25, and the model of single-chip microcontroller U3 is MSP430G2001;One end of 21st resistance R25 is connect with 10 feet of single-chip microcontroller U3, the other end of the 21st resistance R25 It is connect with battery P9 anode;1 foot of single-chip microcontroller U3 connects battery P9 anode, and 14 feet meet GND;5 feet, 6 feet, 7 feet, 8 feet, 9 feet, 11 Foot, 12 feet, 13 feet are aerial.
Key side power circuit includes battery P9, and battery P9 model is CR2032;Battery P9 cathode meets GND.
Key side radio frequency transmitter circuitry includes 433MHz transmitting module U4, and transmitting module U4 model is H34B-433;It is described 1 foot of transmitting module U4 connect with battery P9 anode, 2 feet are connect with 2 feet of single-chip microcontroller U3, and 3 feet of single-chip microcontroller U3 meet GND.
The beneficial effects of the present invention are:
1. intelligent lock core tooth number is not reduced: this is most important function, tartar number directly determine the safety of lock core Property, tartar do not reduce, and the tartar mutual opening rate of mechanical part reduces, and the safety of lock core is also accordingly promoted.
2. being electrically connected simple process: by wireless and infrared mode, circuit technique thereof is simple, and stability improves, research and development Cost reduces, and system is more stable.
3. low-power consumption: key side uses TI low-power scm, button cell power supply;Cylinder side uses key switch electricity Road, so that system power dissipation is low.
4. low cost: carrying out data communication without using mechanical system, be electrically connected simple process, reduce costs.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples.
Fig. 1 is overall structure diagram of the invention;
Fig. 2 is cylinder side master control system chip circuit figure;
Fig. 3 is cylinder side infrared transmitting circuit figure;
Fig. 4 is cylinder side 433MHz RF receiving circuit figure;
Fig. 5 is cylinder side motor driven and lock-rotor detection circuit figure;
Fig. 6 is one key switch power supply holding circuit figure of cylinder side;
Fig. 7 is cylinder side voltage detection circuit figure;
Fig. 8 is cylinder side battery connection circuitry figure;
Fig. 9 is cylinder side switch;
Figure 10 is key side infrared receiving circuit figure;
Figure 11 is key side Master control chip circuit diagram;
Figure 12 is key side power circuit diagram;
Figure 13 is key side radio frequency transmitter circuitry figure.
Specific embodiment
Below in conjunction with attached drawing, the present invention is further described.
As shown in Figure 1, it includes cylinder side and key side that a kind of light, which encourages bluetooth ID intelligent and safe lock core,.Cylinder side includes lock core Side master control system chip circuit, infrared transmitting circuit, 433MHz RF receiving circuit, motor driven and lock-rotor detection circuit, one Key switch power supply holding circuit, voltage detection circuit, battery is for electrical connection circuit and switch.Key side includes infrared receiver Circuit, Master control chip circuit, power circuit and radio frequency transmitter circuitry.
As shown in Fig. 2, the cylinder side master control system chip circuit includes single-chip microcontroller U2, the first nonpolar capacitor C1, Second nonpolar capacitor C2, the first polar capacitor C3 and third nonpolarity capacitor C4;Single-chip microcontroller U2 model STM8S105.
1 foot of the single-chip microcontroller U2 is connect with one end of the first nonpolar capacitor C1, and the first nonpolar capacitor C1's is another One termination GND;4 feet, 10 feet of single-chip microcontroller U2 meet GND, and 5 feet are connect with one end of the second nonpolar capacitor C2, the second nonpolarity Another termination GND of capacitor C2;6 feet, 7 feet, 9 feet and the nonpolar electricity of the anode of the first polar capacitor C3, third of single-chip microcontroller U2 The one end for holding C4 connects and connects the anode of battery P3, the other end of the cathode of the first polar capacitor C3, third nonpolarity capacitor C4 Connect and ground;2 feet, 3 feet, 8 feet, 14 feet, 17 feet, 18 feet, 19 feet, 20 feet, 21 feet, 23 feet, 25 feet, 26 of single-chip microcontroller U2 Foot, 29 feet, 30 feet, 31 feet, 32 feet are aerial.
As shown in figure 3, infrared transmitting circuit includes first resistor R1, second resistance R4,3rd resistor R7, the 4th resistance R8, the 5th resistance R16, the first triode P5, the second triode P8, the first infrared-emitting diode LED1, the first Schottky two Pole pipe D1 and the second Schottky diode D3.
One end of the first resistor R1 connect and connects with the emitter of one end of second resistance R4, the first triode P5 The cathode of the anode of battery P3, the other end of first resistor R1 and the second Schottky diode D3, one end of 3rd resistor R7 connect Meet and connect 12 feet of single-chip microcontroller U2, one end, the first Schottky diode D1 of the other end of second resistance R4 and the 4th resistance R8 Cathode connect and connect 11 feet of single-chip microcontroller U2;The sun of the anode of first Schottky diode D1 and the second Schottky diode D3 Pole meets GND;The other end of 3rd resistor R7 is connect with the base stage of the first triode P5, the collector and second of the first triode P5 The emitter of triode P8 connects, and the base stage of the second triode P8 is connect with the other end of the 4th resistance R8, the second triode P8 Collector connect with one end of the 5th resistance R16, the other end of the 5th resistance R16 and the first infrared-emitting diode LED1's Anode connection, the cathode of the first infrared-emitting diode LED1 meet GND.
As shown in figure 4,433MHz RF receiving circuit uses H3V4F type 433MHz Receiver Module;Described 1 foot of Receiver Module connects the anode of battery P3, and 2 feet connect 13 feet of single-chip microcontroller U2, and 3 feet meet GND;
As shown in figure 5, cylinder side motor driven and lock-rotor detection circuit include the 6th resistance R2, the 7th resistance R5, the 8th Resistance R10, the 9th resistance R6, the tenth resistance R3, eleventh resistor R11, twelfth resistor R14, thirteenth resistor R15, first Triode P6, the second triode P7, third transistor N4, the 4th triode N5 and motor MOTOR.
The anode of a termination battery P3 of the 6th resistance R2, the other end of the 6th resistance R2 and the 7th resistance R5's One end, the 8th resistance R10 one end connect and connect 28 feet of single-chip microcontroller U2, the other end of the 7th resistance R5 and the first triode P6 Base stage connection, the emitter of the first triode P6 is connected to the anode of battery P3, the collector and motor of the first triode P6 In addition the collector connection of 2 feet, third transistor N4 of MOTOR, the base stage of third transistor N4 are connected to the 8th resistance R10 One end, emitter and one end of twelfth resistor R14, one end and the four or three pole of thirteenth resistor R15 of third transistor N4 The emitter of pipe N5 connects, and the other end of thirteenth resistor R15 is connected to 16 feet of single-chip microcontroller U2, twelfth resistor R14's Other end is connected to GND, the collector of the collector of the 4th triode N5 and 1 foot of motor MOTOR and the second triode P7 Connection, the base stage of the 4th triode N5 are connected to one end of eleventh resistor R11, the other end and list of eleventh resistor R11 27 pins of piece machine U2, one end of the tenth resistance R3 are connected with one end of the 9th resistance R6, and the other end of the 9th resistance R6 connects It is connected to the base stage of the second triode P7, the other end of the tenth resistance R3 is connected to the anode of battery P3, the second triode P7's Emitter is connected to the anode of battery P3.
As shown in fig. 6, one key switch power supply holding circuit of cylinder side include the 14th resistance R13, the 15th resistance R19, 16th resistance R9, the 17th resistance R18, the 18th resistance R20, third Schottky diode D2, the 5th triode N1, the 6th Triode P1 and the 7th triode N3.
Described one end of the 14th resistance R13 is connect with 22 feet of single-chip microcontroller U2, the other end of the 14th resistance R13 with The base stage connection of one end, the 5th triode N1 of the 15th resistance R19, the other end and third Schottky of the 15th resistance R19 The cathode of diode D2 connects and connects GND, and the anode of third Schottky diode D2 is connect with the emitter of the 5th triode N1, The collector of 5th triode N1 is connect with one end of the 16th resistance R9, the other end and the 6th triode of the 16th resistance R9 The base stage of P1 connects, and the emitter of the 6th triode P1 is connect with the positive of battery P3, the collector of the 6th triode P1 and the One end connection of one end, the 18th resistance R20 of 17 resistance R18, the other end and the 7th triode N3 of the 17th resistance R18 Base stage connection, the collector of the 7th triode N3 meets GND, and the emitter of the 7th triode N3 is another with the 18th resistance R20's One end connects and meets PGND.
As shown in fig. 7, cylinder side voltage detection circuit includes the 2, the 19th resistance R23 of the first Light-emitting diode LED With the 20th resistance R24.
The anode of first Light-emitting diode LED 2 connects the anode of battery P3, the cathode of the first Light-emitting diode LED 2 It is connect with one end of one end of the 19th resistance R23, the 20th resistance R24, the other end and single-chip microcontroller U2 of the 19th resistance R23 The connection of 24 feet, the other end of the 20th resistance R24 connect with 15 feet of single-chip microcontroller U2.
As shown in figure 8, cylinder side battery connection circuitry includes No. 8 battery P3 of 3 section;The cathode of battery P3 connects PGND, battery The anode of P3 meets VCC.
As shown in figure 9, cylinder side switch is switch P4;Termination a PGND, another termination GND of switch P4.
As shown in Figure 10, key side infrared receiving circuit includes HS0038 infrared receiving tube U5;1 foot of infrared receiving tube U5 It is connect with 4 feet of single-chip microcontroller U3,2 feet meet GND, and 3 feet are connect with 3 feet of single-chip microcontroller U3.
As shown in figure 11, key side Master control chip circuit includes single-chip microcontroller U3 and the 21st resistance R25, single-chip microcontroller U3 Model be MSP430G2001;One end of 21st resistance R25 is connect with 10 feet of single-chip microcontroller U3, the 21st resistance R25 The other end connect with battery P9 anode;1 foot of single-chip microcontroller U3 connects battery P9 anode, and 14 feet meet GND;5 feet, 6 feet, 7 feet, 8 feet, 9 feet, 11 feet, 12 feet, 13 feet are aerial.
As shown in figure 12, key side power circuit includes battery P9, and battery P9 model is CR2032;Battery P9 cathode connects GND。
As shown in figure 13, key side radio frequency transmitter circuitry includes 433MHz transmitting module U4, and transmitting module U4 model is H34B-433;1 foot of the transmitting module U4 is connect with battery P9 anode, and 2 feet are connect with 2 feet of single-chip microcontroller U3, single-chip microcontroller 3 feet of U3 meet GND.
As shown in Figure 1, the present invention is broadly divided into key side and cylinder side two parts, wherein key side can receive infrared letter Number, and issue 433MHz radio-frequency information;And cylinder side can send infrared signal and receive 433MHz information, to verify key side Information whether match.Key side and cylinder side specific works are as follows:
1, key side: on the key, design has arbitrary single-chip microcontroller (such as MSP430G2001 single-chip microcontroller), designs simultaneously There are infrared receiving module circuit and the bluetooth transmitting line of 433MHZ, is equipped on software protocol and receives infrared excitation code, bluetooth Send the mode of synchronous head, ID (identity code) data and transmission end code etc., the bluetooth that ID is reliably passed through into 433MHz Technology is sent in cylinder side.
2, cylinder side: on lock core, design has arbitrary single-chip microcontroller, inside has Flash ROM or EEPROM that can save journey The a plurality of key id information of sequence and setting, under program control, MCU send infrared excitation code to infrared receiver on the key Pipe, the 433MHz transmit circuit of single-chip microcontroller initiation key sends ID data on the key after matching, and lock core receives the 433MHz of key The ID data of radio-frequency transmissions judge to control motor if identical with the presence or absence of ID identical with key in lock core storage inside Lock tongue buckle is opened, achievees the purpose that opening lock master, if the mechanical tartar of key not pair or ID is not right, does not fail to open lock Core.
For the power supply for reducing cylinder side, the configuration switch in lock core, while power supply holding circuit is realized in circuit.Reach Only be inserted into mechanical key, power circuit works, and does not consume electric energy usually, extend battery life, meanwhile, key side it is infrared Reception pipe is also to control it by single-chip microcontroller to start and stop, and usually power consumption is very low.
Specific workflow is as follows:
Single-chip microcontroller on the key carries out short pulse power supply to infrared receiving module while reading whether infrared receiving module has Signal input, key only has single-chip microcontroller and infrared receiving tube U5 to work when usually inputting without correct infrared signal, and power consumption It is very low.When key is inserted into lock core, the switch (P4 in such as Fig. 9) in lock core can be pressed, GND and PGND conducting, single-chip microcontroller U2 Work is started power up, the GND-CON in Fig. 6 is connected to the I/O port of U2 (STM8S105 single-chip microcontroller), and single-chip microcontroller can control GND- The level realization of CON controls the power supply of lock core single-chip microcontroller, and PGND is connected to the cathode of battery, and VCC is connected to battery Anode, and the power supply end of lock core single-chip microcontroller is attached to VCC and GND respectively, when P4 key does not press namely key It is not inserted into and when system cut-off state, then this pin for being connected to single-chip I/O mouth of GND-CON is floating state, the collection of N1 Electrode and emitter are not turned on, so that P1 collector and emitter disconnects, so that N3 collector and emitter disconnects, therefore battery Line PGND and the GND ground wire of single-chip microcontroller power supply are not turned on, therefore do not become galvanic circle, system power dissipation very little, when key is inserted into Lock core, then the P4 key in Fig. 9 is pressed, and GND and PGND directly connect together, and SCM system powers on, and passes through program Control single chip computer GND-CON pin is high level, then N1 collector and emitter is connected, thus P1 and N3 collector and emitter Conducting, that is, GND and PGND realize conducting by single-chip microcontroller control GND-CON pin, SCM system can keep be System is powered, meanwhile, when key is extracted, it is low level that lock core single-chip microcontroller, which controls GND-CON pin, then GND and PGND pin is disconnected It opens, realizing only insertion key, then lock core single-chip microcontroller U2 is started power up and worked, and single-chip microcontroller has the function of control system power on/off Energy.Key is inserted into lock core, and one key switch holding circuit GND-CON of single-chip microcontroller U2 (using STM8S105 single-chip microcontroller) control system draws Foot is that high level realizes system electrification, powers on rear 3 lock core end infrared transmitting circuit of control figure transmitting infrared excitation code, wherein F38KHZ is connected to 11 pins of single-chip microcontroller U2 and provides carrier wave, TX-HW to infrared transmitting tube LED1 (such as: TSAL6200 model) 12 mouthfuls for being connected to single-chip microcontroller U2 send data to LED1.Infrared receiving circuit on the key is as shown in Figure 10, U3 monolithic machine examination Measured infrared excitation code then begin through control U4 realize Figure 13 this 433MHz radio frequency transmitter circuitry module (such as: H34B- 433) send key ID to Fig. 4 on U1 less radio-frequency receiving module circuit (such as: H3V4F), the U2 of Fig. 2 is connect by the U1 of Fig. 4 Receive after ID compared with the ID in U2 storage inside, illustrate if consistent key be it is matched, U2 controls driving circuit Fig. 5 (this is classical H bridge motor-drive circuit, and bridge end is connected to motor positive and negative anodes, and P-M+ and P-M- are connected to the I/O port of U2, IMotor is connected to the AD analog-to-digital conversion interface measurement motor rotation blockage electric current of U2, and U2 controls the two pins of P-M+ and P-M- and realizes Control to motor, R14 are a small resistance, and the partial pressure size of the electric current that it is flowed through above above it shows the work of motor Whether normal, then electric current is big for stall, and the voltage on R14 is also just big, and the A D interface that IMotor is connected to U2 collects its voltage just Know motor whether stall, therefore stall judgement can be carried out), can be with if the tartar of mechanical part is also verified at this time Lock core is opened in success, and otherwise, any one is not verified, and lock core can not all be opened.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art Member can also make several improvements and modifications without departing from the inventive concept of the premise, but these also should be regarded as it is of the invention In protection scope.

Claims (1)

1. a kind of light encourages bluetooth ID intelligent and safe lock core, it is characterised in that: including cylinder side and key side;Cylinder side includes lock core Side master control system chip circuit, infrared transmitting circuit, 433MHz RF receiving circuit, motor driven and lock-rotor detection circuit, one Key switch power supply holding circuit, voltage detection circuit, battery is for electrical connection circuit and switch;Key side includes infrared receiver Circuit, Master control chip circuit, power circuit and radio frequency transmitter circuitry;
The cylinder side master control system chip circuit includes single-chip microcontroller U2, the first nonpolar capacitor C1, the second nonpolar capacitor C2, the first polar capacitor C3 and third nonpolarity capacitor C4;Single-chip microcontroller U2 model STM8S105;
1 foot of the single-chip microcontroller U2 is connect with one end of the first nonpolar capacitor C1, the other end of the first nonpolar capacitor C1 Meet GND;4 feet, 10 feet of single-chip microcontroller U2 meet GND, and 5 feet are connect with one end of the second nonpolar capacitor C2, the second nonpolar capacitor Another termination GND of C2;6 feet of single-chip microcontroller U2,7 feet, 9 feet and the first polar capacitor C3 anode, third nonpolarity capacitor C4 One end connect and connect the anode of battery P3, the other end connection of the cathode, third nonpolarity capacitor C4 of the first polar capacitor C3 And it is grounded;2 feet, 3 feet, 8 feet, 14 feet, 17 feet, 18 feet, 19 feet, 20 feet, 21 feet, 23 feet, 25 feet, 26 feet, 29 of single-chip microcontroller U2 Foot, 30 feet, 31 feet, 32 feet are aerial;
Infrared transmitting circuit includes first resistor R1, second resistance R4,3rd resistor R7, the 4th resistance R8, the 5th resistance R16, First triode P5, the second triode P8, the first infrared-emitting diode LED1, the first Schottky diode D1 and the second Xiao Te Based diode D3;
One end of the first resistor R1 connect with the emitter of one end of second resistance R4, the first triode P5 and connects battery The anode of P3, the other end of first resistor R1 are connect simultaneously with one end of the cathode of the second Schottky diode D3,3rd resistor R7 Connect 12 feet of single-chip microcontroller U2, one end of the other end of second resistance R4 and the 4th resistance R8, the first Schottky diode D1 yin Pole connects and connects 11 feet of single-chip microcontroller U2;The anode of the anode of first Schottky diode D1 and the second Schottky diode D3 connect GND;The other end of 3rd resistor R7 is connect with the base stage of the first triode P5, the collector of the first triode P5 and the two or three pole The emitter of pipe P8 connects, and the base stage of the second triode P8 is connect with the other end of the 4th resistance R8, the collection of the second triode P8 Electrode is connect with one end of the 5th resistance R16, the anode of the other end of the 5th resistance R16 and the first infrared-emitting diode LED1 Connection, the cathode of the first infrared-emitting diode LED1 meet GND;
433MHz RF receiving circuit uses H3V4F type 433MHz Receiver Module;The 1 of the Receiver Module Foot connects the anode of battery P3, and 2 feet connect 13 feet of single-chip microcontroller U2, and 3 feet meet GND;
Cylinder side motor driven and lock-rotor detection circuit include the 6th resistance R2, the 7th resistance R5, the 8th resistance R10, the 9th electricity Hinder R6, the tenth resistance R3, eleventh resistor R11, twelfth resistor R14, thirteenth resistor R15, the first triode P6, the two or three Pole pipe P7, third transistor N4, the 4th triode N5 and motor MOTOR;
The anode of a termination battery P3 of the 6th resistance R2, the one of the other end of the 6th resistance R2 and the 7th resistance R5 End, the 8th resistance R10 one end connect and connect 28 feet of single-chip microcontroller U2, the other end of the 7th resistance R5 and the first triode P6's Base stage connection, the emitter of the first triode P6 are connected to the anode of battery P3, the collector and motor of the first triode P6 In addition the collector connection of 2 feet, third transistor N4 of MOTOR, the base stage of third transistor N4 are connected to the 8th resistance R10 One end, emitter and one end of twelfth resistor R14, one end and the four or three pole of thirteenth resistor R15 of third transistor N4 The emitter of pipe N5 connects, and the other end of thirteenth resistor R15 is connected to 16 feet of single-chip microcontroller U2, twelfth resistor R14's Other end is connected to GND, the collector of the collector of the 4th triode N5 and 1 foot of motor MOTOR and the second triode P7 Connection, the base stage of the 4th triode N5 are connected to one end of eleventh resistor R11, the other end and list of eleventh resistor R11 27 pins of piece machine U2, one end of the tenth resistance R3 are connected with one end of the 9th resistance R6, and the other end of the 9th resistance R6 connects It is connected to the base stage of the second triode P7, the other end of the tenth resistance R3 is connected to the anode of battery P3, the second triode P7's Emitter is connected to the anode of battery P3;
One key switch power supply holding circuit of cylinder side includes the 14th resistance R13, the 15th resistance R19, the 16th resistance R9, the 17 resistance R18, the 18th resistance R20, third Schottky diode D2, the 5th triode N1, the 6th triode P1 and the 7th Triode N3;
Described one end of the 14th resistance R13 is connect with 22 feet of single-chip microcontroller U2, the other end and the tenth of the 14th resistance R13 The base stage connection of one end, the 5th triode N1 of five resistance R19, the other end of the 15th resistance R19 and two pole of third Schottky The cathode of pipe D2 connects and connects GND, and the anode of third Schottky diode D2 is connect with the emitter of the 5th triode N1, and the 5th The collector of triode N1 is connect with one end of the 16th resistance R9, the other end of the 16th resistance R9 and the 6th triode P1's Base stage connection, the emitter of the 6th triode P1 are connect with the anode of battery P3, the collector and the 17th of the 6th triode P1 One end connection of one end of resistance R18, the 18th resistance R20, the other end of the 17th resistance R18 and the base of the 7th triode N3 Pole connection, the collector of the 7th triode N3 connect GND, the emitter of the 7th triode N3 and the other end of the 18th resistance R20 It connects and meets PGND;
Cylinder side voltage detection circuit includes the 2, the 19th resistance R23 of the first Light-emitting diode LED and the 20th resistance R24;
The anode of first Light-emitting diode LED 2 connects the anode of battery P3, the cathode of the first Light-emitting diode LED 2 and One end connection of one end, the 20th resistance R24 of 19 resistance R23, the other end of the 19th resistance R23 and the 24 of single-chip microcontroller U2 Foot connection, the other end of the 20th resistance R24 are connect with 15 feet of single-chip microcontroller U2;
Cylinder side battery connection circuitry includes No. 8 battery P3 of 3 section;The cathode of battery P3 meets PGND, and the anode of battery P3 meets VCC;
Cylinder side switch is switch P4;Termination a PGND, another termination GND of switch P4;
Key side infrared receiving circuit includes HS0038 infrared receiving tube U5;1 foot of infrared receiving tube U5 and 4 feet of single-chip microcontroller U3 Connection, 2 feet meet GND, and 3 feet are connect with 3 feet of single-chip microcontroller U3;
Key side Master control chip circuit includes single-chip microcontroller U3 and the 21st resistance R25, and the model of single-chip microcontroller U3 is MSP430G2001;One end of 21st resistance R25 is connect with 10 feet of single-chip microcontroller U3, the other end of the 21st resistance R25 It is connect with battery P9 anode;1 foot of single-chip microcontroller U3 connects battery P9 anode, and 14 feet meet GND;5 feet, 6 feet, 7 feet, 8 feet, 9 feet, 11 Foot, 12 feet, 13 feet are aerial;
Key side power circuit includes battery P9, and battery P9 model is CR2032;Battery P9 cathode meets GND;
Key side radio frequency transmitter circuitry includes 433MHz transmitting module U4, and transmitting module U4 model is H34B-433;The hair 1 foot for penetrating module U4 is connect with battery P9 anode, and 2 feet are connect with 2 feet of single-chip microcontroller U3, and 3 feet of single-chip microcontroller U3 meet GND.
CN201710103374.XA 2017-02-24 2017-02-24 A kind of light encourages bluetooth ID intelligent and safe lock core Expired - Fee Related CN106917541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710103374.XA CN106917541B (en) 2017-02-24 2017-02-24 A kind of light encourages bluetooth ID intelligent and safe lock core

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710103374.XA CN106917541B (en) 2017-02-24 2017-02-24 A kind of light encourages bluetooth ID intelligent and safe lock core

Publications (2)

Publication Number Publication Date
CN106917541A CN106917541A (en) 2017-07-04
CN106917541B true CN106917541B (en) 2019-03-29

Family

ID=59453726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710103374.XA Expired - Fee Related CN106917541B (en) 2017-02-24 2017-02-24 A kind of light encourages bluetooth ID intelligent and safe lock core

Country Status (1)

Country Link
CN (1) CN106917541B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107435466B (en) * 2017-07-13 2019-07-09 杭州电子科技大学 A kind of intelligent lock system that Light Electrical combines
CN108416930B (en) * 2017-08-21 2020-12-04 杭州创屹机电科技有限公司 Shared bicycle system and bicycle borrowing and returning method thereof
FR3071000B1 (en) * 2017-09-14 2019-09-06 Havr ELECTRONIC DEVICE FOR OPENING AND / OR CLOSING A DOOR, COMPRISING AN ELECTRICAL LOCK, AND ITS INSTALLATION METHOD

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002242501A (en) * 2001-02-16 2002-08-28 Denso Corp Radio locking-unlocking apparatus for automobile
CN1916336A (en) * 2006-09-01 2007-02-21 蔡林强 Intelligent lock capable of recognizing ID of key
CN101882332A (en) * 2009-05-09 2010-11-10 罗仁泽 Intelligent control method of multifunctional infrared remote control electronic coded lock
CN201891311U (en) * 2010-07-13 2011-07-06 珠海共创电力安全技术股份有限公司 Magnetically controlled computer key
CN105464485A (en) * 2015-11-20 2016-04-06 国家电网公司 Multiple burglarproof Bluetooth office lock

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8876172B2 (en) * 2004-03-05 2014-11-04 Triteq Lock And Security, Llc Vending machine lock with motor controlled slide-bar and hook mechanism and electronic access

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002242501A (en) * 2001-02-16 2002-08-28 Denso Corp Radio locking-unlocking apparatus for automobile
CN1916336A (en) * 2006-09-01 2007-02-21 蔡林强 Intelligent lock capable of recognizing ID of key
CN101882332A (en) * 2009-05-09 2010-11-10 罗仁泽 Intelligent control method of multifunctional infrared remote control electronic coded lock
CN201891311U (en) * 2010-07-13 2011-07-06 珠海共创电力安全技术股份有限公司 Magnetically controlled computer key
CN105464485A (en) * 2015-11-20 2016-04-06 国家电网公司 Multiple burglarproof Bluetooth office lock

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于STM32单片机和移动通信模块的门户智能锁网络;鄢秋容等;《实验室研究与探索》;20160331;第35卷(第3期);115-118 *

Also Published As

Publication number Publication date
CN106917541A (en) 2017-07-04

Similar Documents

Publication Publication Date Title
CN106917541B (en) A kind of light encourages bluetooth ID intelligent and safe lock core
CN207216729U (en) A kind of smart lock with cellular network handoff functionality
CN101427862B (en) Solar energy automatic remote control umbrella
CN201312604Y (en) Solar energy automatic remote-control umbrella
CN207847316U (en) A kind of bicycle smart lock with identification battery pack
CN107435466B (en) A kind of intelligent lock system that Light Electrical combines
CN102497485A (en) Intelligent unlocking method on basis of Zigbee technology and device
CN207399233U (en) A kind of Multifunctional gateway device of household safety-protection
CN205212090U (en) Novel intelligent plug
CN209000094U (en) A kind of smart bluetooth electronic lock system
CN203720901U (en) Micro-power-consumption remote control lock device remotely controlled by mobile phone Bluetooth and supplied with power by battery
CN206696926U (en) A kind of Bluetooth door lock
CN201829039U (en) Multipurpose intelligent remote control unit
CN214281008U (en) Energy optimization management system based on building information model
CN205666798U (en) Photovoltaic power generation monitoring device
CN212105477U (en) Safety protection intelligence lock equipment
CN204044900U (en) A kind of Multifunctional safety door
CN101995524B (en) Detecting device and detecting method for electrical interface
CN103632518B (en) USB wireless network connections equipment, onboard system and its awakening method
CN208579808U (en) A kind of LORAWAN water leakage monitoring device
CN208421550U (en) A kind of intelligent home control system based on mobile phone remote remote control and technology of Internet of things
CN208400301U (en) A kind of zero-power remote controler
CN207721807U (en) A kind of Wifi transmission electronic sphygmomanometer
CN206657210U (en) Intelligent fingerprint identification door bell and button system transmitting terminal circuit
CN109118741A (en) A kind of infrared curtain control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201208

Address after: No. 200, Majiazhai Road, Nanqiao Town, Fengxian District, Shanghai, 201401

Patentee after: SHANGHAI INTER-ROCK HARDWARE Co.,Ltd.

Address before: Hangzhou City, Zhejiang province 310018 Xiasha Higher Education Park No. 2 street

Patentee before: HANGZHOU DIANZI University

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190329