CN106761020A - Compound puzzle lock based on pressure sensor - Google Patents

Compound puzzle lock based on pressure sensor Download PDF

Info

Publication number
CN106761020A
CN106761020A CN201710010338.9A CN201710010338A CN106761020A CN 106761020 A CN106761020 A CN 106761020A CN 201710010338 A CN201710010338 A CN 201710010338A CN 106761020 A CN106761020 A CN 106761020A
Authority
CN
China
Prior art keywords
chip microcomputer
pressure sensor
numbering
password
button
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.)
Pending
Application number
CN201710010338.9A
Other languages
Chinese (zh)
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.)
North University of China
Original Assignee
North University of China
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 North University of China filed Critical North University of China
Priority to CN201710010338.9A priority Critical patent/CN106761020A/en
Publication of CN106761020A publication Critical patent/CN106761020A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • E05B45/00Alarm locks
    • E05B45/06Electric alarm locks
    • E05B45/061Electric alarm locks for combination locks
    • 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
    • E05B47/0012Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof with rotary electromotors

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The present invention provides a kind of compound puzzle lock based on pressure sensor,Including operation button,Display,Single-chip microcomputer,Power circuit,Motor and motor-drive circuit and alarm,Include one group of digital sensor and one group of pressure sensor of collection key press of collection button correspondence numeral in the key information collecting part of operation button,The single-chip microcomputer of model STM32F103ZET6 connects each functional circuit respectively,The pressure sensor of collection key press is added on the basis of original digital cipher lock,Using numeral and two kinds of pin modes of pressure,Both can be used alone,Can also be used in mixed way,By be input into password and control input password when key press size,Form the double code protection to coded lock,Existing password is overcome to lock the shortcoming of easily leakage password,The reliable protection that is perfectly safe is brought to user.

Description

Compound puzzle lock based on pressure sensor
Technical field
The invention belongs to coded lock control technology field, it is related to a kind of cipher lock, it is specifically a kind of to be passed based on pressure The compound puzzle lock of sensor.
Background technology
Existing digital cipher lock, after setting numerical ciphers, until next Modify password, password be all it is fixed, i.e., Opening the numerical ciphers of coded lock can repeat to open coded lock, and amended password can also repeatedly open coded lock, so When user opens coded lock using password, because input password is realized by button, user presses the mistake of password Journey, it is easy to seen password and recorded by malicious person, causes password lock cipher to reveal, and damages the property of user Safety.
The content of the invention
It is an object of the invention to provide a kind of compound puzzle lock based on pressure sensor, during by control input password Key press size, formed to the protection of the double code of coded lock, overcome existing password to lock the shortcoming of easily leakage password, give User brings the reliable protection that is perfectly safe.
The technical scheme that is used to achieve these goals of the present invention is:
A kind of compound puzzle lock based on pressure sensor, including computer time control digital and electronic coded lock is in itself, i.e. operation is pressed Key, display, single-chip microcomputer, power circuit, motor and motor-drive circuit and alarm, the button of the operation button Information gathering part includes one group of digital sensor and one group of pressure sensing of collection key press of collection button correspondence numeral Device, the model STM32F103ZET6 of the single-chip microcomputer, numbering is that the wire of PA0-PA6 is connected in the digital sensor Single-chip microcomputer numbering is that on the I/O pins of PA0-PA6, pressure sensor is connected by the wire that numbering is Y0-Y# and compiled on single-chip microcomputer Number for PA0-PA7 and PC0-PC3 I/O pins, the display parallel data grabbing card connection single-chip microcomputer on numbering be PE7- The I/O pins of PE15 are used to show relevant information that numbering to be to be numbered on the wire connection single-chip microcomputer of 3.3V in the power circuit For the pin of VDD is used to provide power supply to single-chip microcomputer, numbering is PD7 and PD6 is connected on single-chip microcomputer in the motor-drive circuit Numbering is PD7 and the I/O pins of PD6 are used to control motor, and numbering is the wire connection master control core of PB5 on the alarm Numbering is the alarm when I/O pins of PB5 are used for abnormal unlocking on piece;
The digital sensor is that information reading is completed by way of keyboard poll, and the pressure value of the pressure sensor reads Be by single-chip microcomputer inside AD sample circuits by programming realization, data information memory is in the internal memory of single-chip microcomputer;
The display uses 1602 liquid crystal displays;
The power circuit includes first order step-down and second level step-down, and first order step-down uses switching regulator IC LM2596, The DC voltage of 30V-7V can be converted into this chip the voltage of direct current 5V;Second level step-down uses the linear steady of low voltage difference Volt circuit AMS1117-3.3V, pure direct current is stablized for being provided to single-chip microcomputer;
The motor-drive circuit is an electromagnetic relay for two-way, be equipped with triode and metal-oxide-semiconductor composition can realize just The circuit of reverse and stopping action.
Beneficial effects of the present invention:Compound puzzle lock based on pressure sensor is entered using numeral and pressure two ways Row password set, both can be used alone, it is also possible to be used in mixed way, be used separately be exactly simple use numerical ciphers password Lock, is used in mixed way and uses numeral and the cipher control of pressure simultaneously;By be input into password and control input password when press Key pressure size, forms to the protection of the double code of coded lock, overcomes existing password to lock the shortcoming of easily leakage password, to using Person brings the reliable protection that is perfectly safe.Unlock every time input password can with independent assortment, such as the password for setting is as 1,2, 3rd, initiation value is provided with 4,5,6, and pressure sensor below figure key 2,4,6 and 50N is set to, when user exists Any combination array that can just be counted with these is input into during input password, if ensure 2,4,6 by when control The size of good power;The security performance for so not only increasing coded lock has also confused malicious person, to the privacy of user Protect the effect that plays a good role.
Brief description of the drawings
Fig. 1 is structured flowchart of the invention;
Fig. 2 is the circuit diagram of the digital information acquisition part of operation button in the present invention;
Fig. 3 is the circuit diagram of single-chip microcomputer of the invention;
Fig. 4 is display circuit schematic diagram of the invention;
Fig. 5 is the circuit diagram of pressure sensor collecting part in the present invention;
Fig. 6 is the schematic diagram of power circuit in the present invention;
Fig. 7 is the schematic diagram of motor-drive circuit in the present invention;
Fig. 8 is the circuit diagram of alarm in the present invention;
Fig. 9 is single-chip microcomputer filter circuit schematic diagram in the present invention;
1 in Fig. 1, operate button;2nd, display;3rd, single-chip microcomputer;4th, power circuit;5th, motor-drive circuit;6th, alarm;7th, number Word sensor;8th, pressure sensor.
Specific embodiment
The present invention will be further described below in conjunction with the accompanying drawings:
A kind of compound puzzle lock based on pressure sensor, as shown in figure 1, including computer time control digital and electronic coded lock sheet Body, that is, operate button 1, display 2, single-chip microcomputer 3, power circuit 4, motor and motor-drive circuit 5 and alarm 6, Being characterized in that for compound puzzle lock, operates the key information collecting part of button digital including one group of collection button correspondence Digital sensor 7 and one group of pressure sensor of collection key press 8, digital sensor 7 and pressure sensor 8 are arranged at behaviour Make the lower section of each button of button 0-9, digital sensor 7 is that information reading is completed by way of keyboard poll, and pressure is passed The pressure value of sensor 8 read be by single-chip microcomputer inside AD sample circuits by programming realization, the model of single-chip microcomputer STM32F103ZET6;As shown in Figures 2 and 3, numbering is to be compiled on the wire connection single-chip microcomputer 3 of PA0-PA6 in digital sensor 7 Number for PA0-PA6 I/O pins on;As shown in Figure 3 and Figure 5, pressure sensor 8 connects single by the wire that numbering is Y0-Y# Numbering is PA0-PA7 and the I/O pins of PC0-PC3 on piece machine;Display 2 uses 1602 liquid crystal displays, such as Fig. 3 and Fig. 4 institutes Show, the I/O pins that numbering on single-chip microcomputer is PE7-PE15 are connected by the parallel data grabbing card of display, for showing related letter Breath;Power circuit 4 is used for as shown in fig. 6, connecting the pin that all numberings on single-chip microcomputer are VDD by the wire that numbering is 3.3V Power supply is provided to single-chip microcomputer 3, power circuit 4 includes first order step-down and second level step-down, and first order step-down uses switch voltage-stabilizing The DC voltage of 30V-7V can be converted into chip LM2596, this chip the voltage of direct current 5V;Second level step-down uses low The linear voltage-stabilizing circuit AMS1117-3.3V of pressure difference, pure direct current is stablized for being provided to single-chip microcomputer 3;Motor-drive circuit 5 as shown in fig. 7, by numbering be PD7 and the wire of PD6 connect single-chip microcomputer 3 on numbering be PD7 and the I/O pins of PD6 be used for control Motor processed, motor-drive circuit 5 is an electromagnetic relay for two-way, be equipped with triode and metal-oxide-semiconductor composition can be real The circuit of existing forward and reverse and stopping action;Alarm 6 is compiled as shown in figure 8, being connected by the wire that numbering is PB6 on single-chip microcomputer 3 Number it is used for alarm during abnormal unlocking for the I/O pins of PB6;As shown in figure 9, by the pin of each VDD in single-chip microcomputer A upper 0.1UFde electric capacity in parallel filters influence of the noise produced by whole system to single-chip microcomputer.
Hybrid password based on pressure sensor adds collection key press on the basis of being locked in original digital cipher lock Pressure sensor;Data storage in single-chip microcomputer includes first memory and second memory, and data information memory is in list In the internal memory of piece machine, ensure that its internal memory does not disappear under first memory energy long-time off-position, second memory is one random Memory RAM, the data storage carries 6 digit counters and 3 count-up counters, while also carrying 10 time countings Device, each of which counter has 3 storages single, and first count-up counter in data storage is used for record and is provided with The number of pressure sensor initiation value, often sets an initiation value for sensor, and count-up counter will add 1, such single-chip microcomputer On just record Opening pressure password need be input into button number;Second count-up counter sets for recording digital cipher lock The number of numerical ciphers is put, a numerical ciphers are often set, count-up counter will add 1, just be recorded out on such single-chip microcomputer Opening digital cipher lock needs to be input into the number of button;3rd count-up counter is used to record the number of times that opener uses button, Most the summation of first, second two count-up counter record input number of times is stored in digit counter single-chip microcomputer at last, while If a button is both pressure password and numerical ciphers in the middle of the password of setting, single-chip microcomputer can give tacit consent to defeated by preprogramming The number of times for entering subtracts one.Digit counter in data storage stores the corresponding number of Opening pressure sensor and starts Value, time counter is used to record the service condition of coded lock.
After the pressure sensor for needing to set initiation value is set, Opening pressure password is just recorded on single-chip microcomputer to be needed The number of button is input into, each pressure sensor is provided with default value, and default value is stored in data storage, when certain digit Code is when being arranged to the element in numerical ciphers group, and default value will disappear failure;Pressure sensor pair below every button The default value answered is general small both relative to initiation value, but will than the power that normal user applies in input numerical ciphers Greatly, whether it is an element in numerical ciphers array for the digital of single-chip microcomputer identified input;No matter whether pressure reaches Initiation value or default value, the 3rd count-up counter can all add 1, when button person is beyond Password Input set in advance on single-chip microcomputer Number and continue during by other buttons, Single-chip Controlling start alarm equipment alarm self-locking;When re-entering, button is maintained at Number can be retried repeatedly in the case of being no more than password number set in advance, but if beyond password number set in advance still Can alarm for opening.When using pressure password, only correctly opened more than or equal to pressure by the power in key mapping when while being applied to Dynamic value, this particular pressure signal input that pressure sensor will can just be detected to the AD sample circuits inside single-chip microcomputer, AD The pressure information of input can be converted into pressure value by sample circuit, then be supplied to the single-chip microcomputer, single-chip microcomputer will to receive pressure value The pressure value for arriving is added, the first pressure value of original programming setting in traversal computer(First pressure value is a pressure limit, and A non-definite value), the first pressure value of the multiple pressure value sum in-scope searched and receive, then transfer again with this The second pressure value of one pressure value association(Second pressure value is a fixed number), finally transfer the control being associated with the second pressure value Processing procedure sequence.Here we do not have and turn on pressure password finding the first pressure value that matches with first pressure value, be because The pressure summation applied every time to open coded lock is typically different from, so first pressure value can only be a pressure limit, Finally transfer the control program being associated with second pressure value, be in order in the case of extraneous unnormal unlocking, can be by password Lock is locked, protects the valuables of user.

Claims (5)

1. a kind of compound puzzle lock based on pressure sensor, including computer time control digital and electronic coded lock in itself, that is, is operated Button, display, single-chip microcomputer, power circuit, motor and motor-drive circuit and alarm, it is characterised in that:It is described Operating the key information collecting part of button includes one group of digital sensor and one group of collection button of collection button correspondence numeral The pressure sensor of pressure, the digital sensor and pressure sensor are arranged at the lower section of each button of operation button 0-9, The model STM32F103ZET6 of the single-chip microcomputer, numbering is the wire connection single-chip microcomputer of PA0-PA6 in the digital sensor Upper numbering is the I/O pins of PA0-PA6, and it is PA0- that pressure sensor is connected single-chip microcomputer and numbered by the wire that numbering is Y0-Y# The I/O pins of PA7 and PC0-PC3, numbering is the I/O of PE7-PE15 on the parallel data grabbing card connection single-chip microcomputer of the display Pin is used to show relevant information that numbering to be that numbering is drawing for VDD on the wire connection single-chip microcomputer of 3.3V in the power circuit Pin is used to provide power supply to single-chip microcomputer, and numbering is PD7 and the wire of PD6 connected and numbered on single-chip microcomputer in the motor-drive circuit For the I/O pins of PD7 and PD6 are used to control motor, numbering is to be compiled on the wire connection single-chip microcomputer of PB6 on the alarm Number it is used for alarm during abnormal unlocking for the I/O pins of PB6, by parallel one on the pin of each VDD of single-chip microcomputer 0.1UFde electric capacity filters influence of the noise produced by whole system to single-chip microcomputer.
2. a kind of compound puzzle lock based on pressure sensor according to claim 1, it is characterised in that:The numeral Sensor is that information reading is completed by way of keyboard poll, and it is by single-chip microcomputer that the pressure value of the pressure sensor reads , by programming realization, data information memory is in the internal memory of single-chip microcomputer for the AD sample circuits in portion.
3. a kind of compound puzzle lock based on pressure sensor according to claim 1, it is characterised in that:The display Device uses 1602 liquid crystal displays.
4. a kind of compound puzzle lock based on pressure sensor according to claim 1, it is characterised in that:The power supply Circuit includes first order step-down and second level step-down, and first order step-down uses switching regulator IC LM2596, and this chip can be with The DC voltage of 30V-7V is converted into the voltage of direct current 5V;Second level step-down uses the linear voltage-stabilizing circuit of low voltage difference AMS1117-3.3V, pure direct current is stablized for being provided to single-chip microcomputer.
5. a kind of compound puzzle lock based on pressure sensor according to claim 1, it is characterised in that:The motor Drive circuit is an electromagnetic relay for two-way, is equipped with can realizing forward and reverse and stopping dynamic for triode and metal-oxide-semiconductor composition The circuit of work.
CN201710010338.9A 2017-01-06 2017-01-06 Compound puzzle lock based on pressure sensor Pending CN106761020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710010338.9A CN106761020A (en) 2017-01-06 2017-01-06 Compound puzzle lock based on pressure sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710010338.9A CN106761020A (en) 2017-01-06 2017-01-06 Compound puzzle lock based on pressure sensor

Publications (1)

Publication Number Publication Date
CN106761020A true CN106761020A (en) 2017-05-31

Family

ID=58950878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710010338.9A Pending CN106761020A (en) 2017-01-06 2017-01-06 Compound puzzle lock based on pressure sensor

Country Status (1)

Country Link
CN (1) CN106761020A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108824986A (en) * 2018-06-19 2018-11-16 苏州爱盟机械有限公司 Smart lock pressure controls method for opening and closing
CN110033574A (en) * 2019-01-28 2019-07-19 邢台学院 A kind of intelligent regenerative resource classification casting system for prompting and its control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9606379D0 (en) * 1995-04-03 1996-06-05 Talleres Escoriaza Sa A self contained electronic lock with a proximity reader
CN202887291U (en) * 2012-10-30 2013-04-17 深圳纽迪瑞科技开发有限公司 Novel electronic password lock
CN202970180U (en) * 2012-11-06 2013-06-05 哈尔滨维尔士科技发展有限公司 Electronic coded lock anti-theft device
CN104590209A (en) * 2014-12-19 2015-05-06 湖南科技大学 Car anti-theft alarming device
CN204476015U (en) * 2015-03-03 2015-07-15 南京工程学院 Based on monolithic processor controlled mechanical password door lock
CN105370145A (en) * 2015-11-30 2016-03-02 惠州学院 Pressure sensing type electronic protecting equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9606379D0 (en) * 1995-04-03 1996-06-05 Talleres Escoriaza Sa A self contained electronic lock with a proximity reader
CN202887291U (en) * 2012-10-30 2013-04-17 深圳纽迪瑞科技开发有限公司 Novel electronic password lock
CN202970180U (en) * 2012-11-06 2013-06-05 哈尔滨维尔士科技发展有限公司 Electronic coded lock anti-theft device
CN104590209A (en) * 2014-12-19 2015-05-06 湖南科技大学 Car anti-theft alarming device
CN204476015U (en) * 2015-03-03 2015-07-15 南京工程学院 Based on monolithic processor controlled mechanical password door lock
CN105370145A (en) * 2015-11-30 2016-03-02 惠州学院 Pressure sensing type electronic protecting equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108824986A (en) * 2018-06-19 2018-11-16 苏州爱盟机械有限公司 Smart lock pressure controls method for opening and closing
CN110033574A (en) * 2019-01-28 2019-07-19 邢台学院 A kind of intelligent regenerative resource classification casting system for prompting and its control method

Similar Documents

Publication Publication Date Title
CN106761020A (en) Compound puzzle lock based on pressure sensor
CN206859874U (en) Door lock state detects prompt system
CN204314970U (en) A kind of contactless 3D fingerprint entrance guard system
CN107622542A (en) A kind of AB doors method for controlling opening and closing, apparatus and system
CN104085204A (en) Stamping module for stamp control device
CN104234535B (en) A kind of Double-lock-core door lock
CN1880713A (en) Digital electronic key lock
CN103928797B (en) A kind of safety socket
CN103180885A (en) Access control system for a gate or a door
CN203217641U (en) Intelligent tool and instrument cabinet
CN203420534U (en) Intelligent TM (touch memory)-card fingerprint password lock
CN205428063U (en) ATM cash dispenser of fingerprint, compound discernment of people's face
CN205722075U (en) A kind of multifunction entrance guard guard system
CN103093518A (en) Entrance guard management system and method
CN207428652U (en) A kind of intelligence jewellery case
CN104085206A (en) Control method for stamps
CN104935752B (en) A kind of mobile terminal-opening method, device and mobile terminal
CN204326746U (en) Intelligent electric lock core
CN106815950A (en) A kind of wisdom automatic teller machine driving method and its system based on single module
CN202929715U (en) Fingerprint access control system
CN205944615U (en) Secret -related USB data transmission device
CN202573324U (en) IC (Integrated Circuit) stamp
CN205722063U (en) Intelligent lock circuit board capable of being connected with multiple fingerprint head sensors
CN206460466U (en) A kind of computer network encryption protection equipment
CN204856653U (en) Fingerprint access control system that unblanks

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531