CN104361384B - A kind of radio frequency card door lock controls circuit - Google Patents
A kind of radio frequency card door lock controls circuit Download PDFInfo
- Publication number
- CN104361384B CN104361384B CN201410615274.1A CN201410615274A CN104361384B CN 104361384 B CN104361384 B CN 104361384B CN 201410615274 A CN201410615274 A CN 201410615274A CN 104361384 B CN104361384 B CN 104361384B
- Authority
- CN
- China
- Prior art keywords
- pin
- resistance
- microprocessor
- radio frequency
- electric capacity
- 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
Links
- 238000005070 sampling Methods 0.000 claims abstract description 10
- 238000004891 communication Methods 0.000 claims abstract description 9
- 238000001914 filtration Methods 0.000 claims abstract description 9
- 230000000087 stabilizing effect Effects 0.000 claims description 13
- 230000005611 electricity Effects 0.000 claims description 10
- 239000013078 crystal Substances 0.000 claims description 6
- VOYADQIFGGIKAT-UHFFFAOYSA-N 1,3-dibutyl-4-hydroxy-2,6-dioxopyrimidine-5-carboximidamide Chemical compound CCCCn1c(O)c(C(N)=N)c(=O)n(CCCC)c1=O VOYADQIFGGIKAT-UHFFFAOYSA-N 0.000 claims 1
- 235000019600 saltiness Nutrition 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000006641 stabilisation Effects 0.000 description 2
- 238000011105 stabilization Methods 0.000 description 2
- 241001391944 Commicarpus scandens Species 0.000 description 1
- 206010034133 Pathogen resistance Diseases 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000013524 data verification Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Circuits Of Receivers In General (AREA)
Abstract
The invention discloses a kind of radio frequency card door lock control circuit, central processing unit integrated circuit is included, radio communication integrated circuit, power switch integrated circuit, the drive circuit of direct current generator, built-in storage integrated circuit, AD samplings and the filtering and amplifying circuit being connected with central processing unit integrated circuit.The present invention has the advantages that low-voltage, low-power consumption, low cost, small volume, and wiring is reasonable, using the battery powered control circuit of saltiness, meets the demand of client.
Description
Technical field
The present invention relates to control circuit field, specifically a kind of radio frequency card door lock control circuit.
Background technology
Modern times are the high-tech industrialization of information epoch, are also the high-tech electronic information products epoch, and these electronic products
It is unable to do without the control of electronic circuit.Radio frequency card door lock instead of mechanical key, eliminate the cumbersome numbering of mechanical key and easy to break
Easily fall just to look for the weak point do not returned, more flexible and convenient, even card is broken or loses, as long as management program is also in PC,
Only need to remove this card information in management program, be not just afraid of and taken advantage of without good people is organic, virtually further increase door
The management intensity of lock.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of radio frequency card door lock control circuit, and it has low-voltage, low work(
Consumption, low cost, the advantage of small volume, and wiring is reasonable, using the battery powered control circuit of saltiness, meets the demand of client.
The technical scheme is that:
A kind of radio frequency card door lock controls circuit, central processing unit integrated circuit is included, with central processing unit integrated circuit
The radio communication integrated circuit of connection, power switch integrated circuit, the drive circuit of direct current generator, built-in storage integrated circuit,
AD samples and filtering and amplifying circuit;
Described central processing unit integrated circuit includes microprocessor, and the pin 1 of microprocessor is connect by resistance R17
Ground terminal, the pin 2 of microprocessor connects one end of VCC_33 and electric capacity C5, the other end of electric capacity C5 and the pin 4 of microprocessor respectively
Parallel connection accesses earth terminal, and the pin 5 and pin 6 of microprocessor are connected respectively to the two ends of crystal oscillator Y1, and one end of pin 7 of microprocessor passes through
Resistance R16 is connected to VCC_33, and the other end connects earth terminal by electric capacity C6;
Described radio communication integrated circuit includes radio frequency chip, and the pin 2 of radio frequency chip is grounded by electric capacity C7, radio frequency
The pin 7 and pin 9 of chip are respectively connected to VCC_33, and the pin 8 of radio frequency chip is directly grounded, and the pin 11 and pin 12 of radio frequency chip lead to respectively
Access electric capacity C10's with the earth of pin 10, one end parallel connection of the pin 13 and diode D1 of radio frequency chip after crossing electric capacity C8 and C9
One end, the other end ground connection of electric capacity C10, resistance R18 is parallel on electric capacity C10, and the pin 19 and pin 20 of radio frequency chip are connected respectively
Pin 19 to the two ends of crystal oscillator Y2, and radio frequency chip is connected with one end of electric capacity C11, and the pin 20 of radio frequency chip is with electric capacity C12's
One end connection, the other end of electric capacity C11 and the other end earth of electric capacity C12, the pin 4 of radio frequency chip, pin 5, pin 6, pin 38
The corresponding connection of pin 15 respectively with microprocessor, pin 16, pin 11, pin 17, the pin 1 of radio frequency chip, pin 3 and pin 39 are and microprocessor
The pin 25 of device is connected;
Described power switch integrated circuit includes interface chip J1, and the pin 1 of interface chip J1 connects output end respectively
VCC_6, it is grounded by electric capacity C1, the pin 2 and pin 6 of interface chip J1 are respectively connected to earth terminal, four resistance combination P1 in parallel
Wherein three pin 3 of one end difference connecting interface chip of resistance, pin 4 and pin 5, four resistance combine wherein three resistance of P1
Other end connection resistance combines one end of P2, the other end connection VCC_33 of P2, one end of electric capacity C2, the pin 7 of interface chip J1
It is connected with motor Wiring port LOCK POWER1 after parallel connection, with electricity after the parallel connection of pin 8 of the other end, interface chip J1 of electric capacity C2
Machine Wiring port LOCK POWER2 are connected;
The base stage of the NPN triode T2 Y1 of the drive circuit of described direct current generator is connected to microprocessor by resistance R6
The pin 8 of device, the emitter stage of triode T2 Y1 accesses earth terminal, one end of the colelctor electrode connection resistance R7 of triode T2 Y1, PNP
The emitter stage of triode T5 Y2 connects one end of VCC_6 and resistance R8, and the base stage of PNP triode T5 Y2 is another with resistance R7
The in parallel other end for accessing R8 in end, one end of resistance R14 and one end of resistance R9 respectively with the colelctor electrode of PNP triode T5 Y2
Connection, the other end of resistance R14 is connected to earth terminal by resistance R15, and the pin 19 of microprocessor is linked into resistance R14 and R15
Between, the other end of resistance R9 is connected respectively with the emitter stage of the emitter stage of PNP triode T6 Y2, PNP triode T7 Y2,
One end of the base stage connection resistance R10 of PNP triode T6 Y2, the one of the colelctor electrode connection resistance R11 of PNP triode T6 Y2
End, the other end of the base stage connection resistance R11 of PNP triode T7 Y2, the colelctor electrode connection resistance R10 of PNP triode T7 Y2
The other end and NPN triode T4 Y1 colelctor electrode, the base stage of NPN triode T4 Y1 connects microprocessor by resistance R13
Pin 9, the emitter stage connection earth terminal of NPN triode T4 Y1, the colelctor electrode of NPN triode T3 Y1 is connected to PNP triode
The colelctor electrode of T6 Y2, the base stage of NPN triode T3 Y1 connects the pin 10 of microprocessor, NPN triode T3 by resistance R12
The emitter stage connection earth terminal of Y1, the colelctor electrode of NPN triode T3 Y1, the colelctor electrode of PNP triode T6 Y2 and PNP triode
The base stage of T7 Y2 is connected with motor Wiring port LOCK POWER2, the colelctor electrode of PNP triode T7 Y2, NPN triode T4
The colelctor electrode of Y1 and the other end of resistance R10 are connected with motor Wiring port LOCK POWER1;
Described built-in storage integrated circuit includes memory, the pin 1 of memory, pin 2, pin 3 and pin 4 is in parallel accesses ground connection
End, the pin 12 of the connection microprocessor of pin 5 of memory and one end of resistance R2, the pin 6 of memory connect the pin 13 of microprocessor
With one end of resistance R1, the connection earth terminal of pin 7 of memory, the connection of pin 8 pin 14 of microprocessor of memory, resistance R1 it is another
One end and the other end of resistance R2;
Described AD samplings and the base stage of the NPN triode Y1 T8 of filtering and amplifying circuit are connected to radio frequency by resistance R5
The pin 44RF TXD interfaces of chip, the emitter stage of NPN triode Y1 T8 connects one end and the earth terminal of electric capacity C14, NPN respectively
The colelctor electrode of triode Y1 T8 is connected to the source electrode of power transistor FDV301, the gate pole and radio frequency of power transistor FDV301
The pin 43RF CLK interfaces connection of chip, the drain electrode of power transistor FDV301 is connected with one end of inductance L1, and resistance R22 is simultaneously
It is associated on NPN triode Y1 T8, the other end of inductance L1 is connected VCC_33 and is grounded by electric capacity C13, the one of inductance L2 respectively
The other end of end connection electric capacity C15, inductance L2 connects positive pole, one end of resistance R19 and the antenna ANTA of diode IN4148, electricity
The other end ground connection of R19 is hindered, the negative pole of diode IN4148 connects one end of electric capacity C17 and one end of resistance R20, electric capacity respectively
The other end ground connection of C17, one end and electric capacity C16 one end of resistance R21 are connected in parallel earth terminal, the other end of resistance R20, resistance
The other end of R21 and the other end of electric capacity C16 are connected to the KARD DETECT interfaces of pin 20 of microprocessor.
A kind of described radio frequency card door lock control circuit also includes that the buzzer being connected with central processing unit integrated circuit drives
Dynamic circuit, it includes buzzer and resistance R3, and NPN triode T1 Y1, the BEEP ends of described buzzer connect VCC_33,
The BELL ends of buzzer connect the colelctor electrode of NPN triode T1 Y1, the emitter stage connection earth terminal of NPN triode T1 Y1, NPN
The base stage of triode T1 Y1 is connected to the pin 23 of microprocessor by resistance R3.
A kind of described radio frequency card door lock control circuit also includes that the LED being connected with central processing unit integrated circuit drives
Circuit, it includes the LED and resistance R4 being connected in series, and the outer end of resistance R4 is connected with the pin 21 of microprocessor, the outer end of LED
It is connected with the pin 22 of microprocessor.
A kind of described radio frequency card door lock control circuit also includes 3.3V power circuits, its include 3.3V voltage stabilizing chips and
The connection earth terminal of pin 1 for having electrode capacitance C3,3.3V voltage stabilizing chip and the one end for having electrode capacitance C3, the pin 2 of 3.3V voltage stabilizing chips connect
Meet VCC_6, the connection power access end VCC_33 of pin 3 and the other end for having electrode capacitance C3 of 3.3V voltage stabilizing chips.
A kind of described radio frequency card door lock control circuit also includes the four-wire system journey being connected with central processing unit integrated circuit
Sequence is downloaded and emulation interface integrated circuit, and it includes interface chip J4, and the pin 1 of interface chip J4 connects the pin 1 of microprocessor,
The pin 3 of the connection of pin 2 VCC_33, interface chip J4 of interface chip J4 connects the pin 7 of microprocessor, and the pin 4 of interface chip J4 connects
Ground.
VCC_33 of the invention refers to 3.3V supply voltages, and VCC_6 refers to 6V supply voltages.
Advantages of the present invention:
The present invention during program is run, when opening microprocessor, start working by the software timer in system, and
And in the time after initialization, now time value is recorded so that once per second mode is cumulative, by SCL (clock line) and SDA (numbers
According to line) and microprocessor communicated, and with frequency of once per second this time store in built-in storage.When penetrating
When frequency card is close to, the magnetic field around antenna changes, and then two Port detectings in antenna decline to voltage, now lead to
Cross AD sample circuits, have radio frequency card near when AD sampled values and initialization context in AD sampled values compare, when being more than
When certain threshold values, AD Sampling interrupts are triggered, and the time now unlocked is passed through SCL (clock line) and SDA (data wire)
Communicated with microprocessor, the time now is stored in built-in storage, convenient data verification later.Buzzer and LED
Buzzing and flicker once, read the card number of card and the password of checking card, and after being verified, the P2.1 of pin 9 of microprocessor connects
Mouth and the P2.2 interfaces of pin 10 produce a high level and a low level, then are controlled by the P2.0 interfaces of microprocessor straight
The current switching of motor is flowed, the rotating forward of direct current generator is then controlled.After motor turns to certain position, spacing opening is triggered
Close, microprocessor the P1.5 Port detectings of pin 26 to low level, after motor is stalled and waited for a period of time, motor reversal time
To original position, P1.5 ports return to high level state.Following buzzer and LED rerun once.The pin of microprocessor
The P1.7 ports of pin 28 of 27 P1.6 ports and microprocessor are used to monitor being left unlocked or unlatched for door.In sum, circuit of the present invention sets
Meter reasonable simplicity, low production cost and is easy to a large amount of productions, greatly meets the demand of client.
Brief description of the drawings
Fig. 1 is central processing unit integrated circuit diagram of the present invention.
Fig. 2 is radio communication integrated circuit diagram of the present invention.
Fig. 3 is power switch integrated circuit figure of the present invention.
Fig. 4 is the drive circuit figure of direct current generator of the present invention.
Fig. 5 is built-in storage integrated circuit diagram of the present invention.
Fig. 6 is AD samplings of the present invention and filtering and amplifying circuit figure.
Fig. 7 is buzzer drive circuit figure of the present invention.
Fig. 8 is LED drive circuit figure of the present invention.
Fig. 9 is 3.3V power circuits figure of the present invention.
Figure 10 is four-wire system download program of the present invention and emulation interface integrated circuit diagram.
Specific embodiment
A kind of radio frequency card door lock controls circuit, includes 3.3V power circuits, central processing unit integrated circuit, with centre
Radio communication integrated circuit, power switch integrated circuit, the drive circuit of direct current generator, the memory storage of reason device integrated circuit connection
Device integrated circuit, AD sampling and filtering and amplifying circuit, buzzer drive circuit, LED drive circuit and four-wire system download program with
Emulation interface integrated circuit;
See Fig. 9,7533 voltage stabilizing chips of 3.3V power circuits are 3.3V 6 volts of photovoltaic conversion, provide a system to stabilization
Voltage source, its include 3.3V voltage stabilizing chips and have electrode capacitance C3,3.3V voltage stabilizing chip pin 1 connection earth terminal and have extremely electricity
Hold C3 one end, 3.3V voltage stabilizing chips pin 2 connection VCC_6,3.3V voltage stabilizing chips pin 3 connection power access end VCC_33 and
There is the other end of electrode capacitance C3;
See Fig. 1, central processing unit integrated circuit includes microprocessor, and the pin 1 of microprocessor is connect by resistance R17
Ground terminal, the pin 2 of microprocessor connects one end of VCC_33 and electric capacity C5, the other end of electric capacity C5 and the pin 4 of microprocessor respectively
Parallel connection accesses earth terminal, and the pin 5 and pin 6 of microprocessor are connected respectively to the two ends of crystal oscillator Y1, and one end of pin 7 of microprocessor leads to
Cross resistance R16 and be connected to VCC_33, the other end connects earth terminal by electric capacity C6;
See Fig. 2, radio communication integrated circuit includes radio frequency chip, and the pin 2 of radio frequency chip is grounded by electric capacity C7, radio frequency
The pin 7 and pin 9 of chip are respectively connected to VCC_33, and the pin 8 of radio frequency chip is directly grounded, and the pin 11 and pin 12 of radio frequency chip lead to respectively
Access electric capacity C10's with the earth of pin 10, one end parallel connection of the pin 13 and diode D1 of radio frequency chip after crossing electric capacity C8 and C9
One end, the other end ground connection of electric capacity C10, resistance R18 is parallel on electric capacity C10, and the pin 19 and pin 20 of radio frequency chip are connected respectively
Pin 19 to the two ends of crystal oscillator Y2, and radio frequency chip is connected with one end of electric capacity C11, and the pin 20 of radio frequency chip is with electric capacity C12's
One end connection, the other end of electric capacity C11 and the other end earth of electric capacity C12, the pin 4 of radio frequency chip, pin 5, pin 6, pin 38
SPI communication connections, the pin 1 of radio frequency chip, pin 3 are realized in pin 15 respectively with microprocessor, pin 16, pin 11, the corresponding connection of pin 17
It is connected with the pin 25 of microprocessor with pin 39;
See Fig. 3, power switch integrated circuit includes interface chip J1, and the pin 1 of interface chip J1 connects output end respectively
VCC_6, it is grounded by electric capacity C1, the pin 2 and pin 6 of interface chip J1 are respectively connected to earth terminal, four resistance combination P1 in parallel
Wherein three pin 3 of one end difference connecting interface chip of resistance, pin 4 and pin 5, four resistance combine wherein three resistance of P1
Other end connection resistance combines one end of P2, the other end connection VCC_33 of P2, one end of electric capacity C2, the pin 7 of interface chip J1
It is connected with motor Wiring port LOCK POWER1 after parallel connection, with electricity after the parallel connection of pin 8 of the other end, interface chip J1 of electric capacity C2
Machine Wiring port LOCK POWER2 are connected;
See Fig. 4, the base stage of the NPN triode T2 Y1 of the drive circuit of direct current generator is connected to microprocessor by resistance R6
The pin 8 of device, the emitter stage of triode T2 Y1 accesses earth terminal, one end of the colelctor electrode connection resistance R7 of triode T2 Y1, PNP
The emitter stage of triode T5 Y2 connects one end of VCC_6 and resistance R8, and the base stage of PNP triode T5 Y2 is another with resistance R7
The in parallel other end for accessing R8 in end, one end of resistance R14 and one end of resistance R9 respectively with the colelctor electrode of PNP triode T5 Y2
Connection, the other end of resistance R14 is connected to earth terminal by resistance R15, and the pin 19 of microprocessor is linked into resistance R14 and R15
Between, the other end of resistance R9 is connected respectively with the emitter stage of the emitter stage of PNP triode T6 Y2, PNP triode T7 Y2,
One end of the base stage connection resistance R10 of PNP triode T6 Y2, the one of the colelctor electrode connection resistance R11 of PNP triode T6 Y2
End, the other end of the base stage connection resistance R11 of PNP triode T7 Y2, the colelctor electrode connection resistance R10 of PNP triode T7 Y2
The other end and NPN triode T4 Y1 colelctor electrode, the base stage of NPN triode T4 Y1 connects microprocessor by resistance R13
Pin 9, the emitter stage connection earth terminal of NPN triode T4 Y1, the colelctor electrode of NPN triode T3 Y1 is connected to PNP triode
The colelctor electrode of T6 Y2, the base stage of NPN triode T3 Y1 connects the pin 10 of microprocessor, NPN triode T3 by resistance R12
The emitter stage connection earth terminal of Y1, the colelctor electrode of NPN triode T3 Y1, the colelctor electrode of PNP triode T6 Y2 and PNP triode
The base stage of T7 Y2 is connected with motor Wiring port LOCK POWER2, the colelctor electrode of PNP triode T7 Y2, NPN triode T4
The colelctor electrode of Y1 and the other end of resistance R10 are connected with motor Wiring port LOCK POWER1;
See Fig. 5, built-in storage integrated circuit includes memory, the pin 1 of memory, pin 2, pin 3 and pin 4 is in parallel accesses ground connection
End, the pin 12 of the connection microprocessor of pin 5 of memory and one end of resistance R2, the pin 6 of memory connect the pin 13 of microprocessor
With one end of resistance R1, the connection earth terminal of pin 7 of memory, the connection of pin 8 pin 14 of microprocessor of memory, resistance R1 it is another
One end and the other end of resistance R2;Memory selects AT24C02 chips, is the Data Transport Protocol of I2C buses, in power down
In the case of, information can be preserved, when work, microprocessor software timer records the working time of microprocessor,
The time is stored in memory every one second simultaneously, and records the information swiped the card, it is convenient to consult historical information;
See Fig. 6, the base stage of the NPN triode Y1 T8 of AD samplings and filtering and amplifying circuit is connected to radio frequency by resistance R5
The pin 44RF TXD interfaces of chip, the emitter stage of NPN triode Y1 T8 connects one end and the earth terminal of electric capacity C14, NPN respectively
The colelctor electrode of triode Y1 T8 is connected to the source electrode of power transistor FDV301, the gate pole and radio frequency of power transistor FDV301
The pin 43RF CLK interfaces connection of chip, the drain electrode of power transistor FDV301 is connected with one end of inductance L1, and resistance R22 is simultaneously
It is associated on NPN triode Y1 T8, the other end of inductance L1 is connected VCC_33 and is grounded by electric capacity C13, the one of inductance L2 respectively
The other end of end connection electric capacity C15, inductance L2 connects positive pole, one end of resistance R19 and the antenna ANTA of diode IN4148, electricity
The other end ground connection of R19 is hindered, the negative pole of diode IN4148 connects one end of electric capacity C17 and one end of resistance R20, electric capacity respectively
The other end ground connection of C17, one end and electric capacity C16 one end of resistance R21 are connected in parallel earth terminal, the other end of resistance R20, electricity
The other end of the other end and electric capacity C16 that hinder R21 is connected to the KARD DETECT interfaces of pin 20 of microprocessor.
See Fig. 7, buzzer drive circuit includes buzzer and resistance R3, NPN triode T1 Y1, described buzzer
BEEP ends connection VCC_33, the colelctor electrode of the BELL ends connection NPN triode T1 Y1 of buzzer, NPN triode T1 Y1's
Emitter stage connects earth terminal, and the base stage of NPN triode T1 Y1 is connected to the pin 23 of microprocessor by resistance R3.
See Fig. 8, LED drive circuit includes the LED and resistance R4 being connected in series, outer end and the microprocessor of resistance R4
Pin 21 is connected, and the outer end of LED is connected with the pin 22 of microprocessor;
See Figure 10, four-wire system download program includes interface chip J4 with emulation interface integrated circuit, interface chip J4's
Pin 1 connects the pin 1 of microprocessor, the connection microprocessor of pin 3 of the connection of pin 2 VCC_33, interface chip J4 of interface chip J4
Pin 7, the pin 4 of interface chip J4 is grounded;Four-wire system download program and emulation interface integrated circuit and traditional JATG14 interface phases
Than microprocessor port takes less, has saved the limited resources of microprocessor
Workflow of the invention:
After energization microprocessor reset, whole system is in the working condition of stabilization.Initialization micro processor leg and interior
Portion's system, makes microprocessor work under low-power consumption mode, while the power consumption control port pin 25 of microprocessor is initialized as height
Level, makes radio frequency chip be also under low-power consumption mode, system power dissipation when reducing static.
After microprocessor is electrified, when high level is detected, buzzer under the driving of triode ring once, together
When LED flash.When i.e. microprocessor detects radio-frequency card, BELL is allocated for height, triode T1 Y1 conductings, drives buzzing
Device rings a sound, and LEDPOWER1 and LEDPOWER2 is respectively high level and low level output to drive LED luminous once.Then
Microprocessor is communicated by SPI, opens the radio-frequency enabled of video chip thm3060, is now generated in the RF_CLK of port
The waveform of 13.56MHZ, by power transistor EDV301 and the 3.3V from system voltage, power is carried out to this waveform and is put
Greatly, then by C15 and R19 the high-pass filtering circuit for constituting, allows and is filtered out less than the waveform of 13.56MHZ frequencies, only allows
The waveform of 13.56MHZ passes through.The waveform of this frequency is loaded into above antenna ANTA, just to one ellipse of outside formation
Magnetic field (profile with antenna is relevant), when the magnetic field conversion in environment when there is radio frequency card to be close to, is now detected, then exists
Two Port detectings of antenna decline to voltage, now the P2.4 ports of pin 20 of microprocessor are by AD sample circuits, record
Under AD values in current environment.After completing once to sample, thm3060 radio-frequency enableds are closed.Under timer effect, interval one
The section time, repeat function above.AD sampled values under the present circumstances and the AD values of initialization are compared, when more than certain
When individual threshold values, AD Sampling interrupts are triggered, then carry out the sampling and cryptographic check of radio frequency card, after being verified, micro- place
The P2.1 and P2.2 for managing the DC motor Driver port of device produce a high level and a low level, then by controlling P2.0 ends
Mouthful the current switching of direct current generator is controlled, then control the rotating forward of direct current generator.After motor turns to certain position, triggering
Limit switch, low level is detected in the port P1.5 of microprocessor, after motor is stalled and waited for a period of time, motor reversal
Original position is returned to, port P1.5 returns to high level state, and following buzzer and LED rerun once.Port P1.6 and
P1.7 is used to monitor being left unlocked or unlatched for door.
During program is run, when opening microprocessor, the software timer in system is started working, and first
In time after beginningization, now time value is recorded so that once per second mode is cumulative, by SCL (clock line) and SDA (data wire)
Communicated with microprocessor, and this time is stored in memory AT24C02 with frequency of once per second.
Claims (5)
1. a kind of radio frequency card door lock controls circuit, it is characterised in that:Central processing unit integrated circuit is included, with central processing unit
Radio communication integrated circuit, power switch integrated circuit, the drive circuit of direct current generator, the built-in storage collection of integrated circuit connection
Into circuit, AD samplings and filtering and amplifying circuit;
Described central processing unit integrated circuit includes microprocessor, and the pin 1 of microprocessor connects ground connection by resistance R17
End, the pin 2 of microprocessor connects one end of VCC_33 and electric capacity C5 respectively, and the other end of electric capacity C5 and the pin 4 of microprocessor are simultaneously
Couple into earth terminal, the pin 5 and pin 6 of microprocessor are connected respectively to the two ends of crystal oscillator Y1, and one end of pin 7 of microprocessor is by electricity
Resistance R16 is connected to VCC_33, and the other end connects earth terminal by electric capacity C6;
Described radio communication integrated circuit includes radio frequency chip, and the pin 2 of radio frequency chip is grounded by electric capacity C7, radio frequency chip
Pin 7 and pin 9 be respectively connected to VCC_33, the pin 8 of radio frequency chip is directly grounded, and the pin 11 and pin 12 of radio frequency chip are respectively by electricity
One end of electric capacity C10 is accessed with the earth of pin 10, one end parallel connection of the pin 13 and diode D1 of radio frequency chip after holding C8 and C9,
The other end ground connection of electric capacity C10, resistance R18 is parallel on electric capacity C10, and the pin 19 and pin 20 of radio frequency chip are connected respectively to crystal oscillator
The two ends of Y2, and the pin 19 of radio frequency chip is connected with one end of electric capacity C11, the pin 20 of radio frequency chip connects with one end of electric capacity C12
Connect, the other end of electric capacity C11 and the other end earth of electric capacity C12, pin 4, pin 5, pin 6, the pin 38 of radio frequency chip respectively with
The pin 15 of microprocessor, pin 16, pin 11, the correspondence of pin 17 are connected, the pin 1 of radio frequency chip, pin 3 and pin 39 with the pin of microprocessor
25 connections;
Described power switch integrated circuit includes interface chip J1, and the pin 1 of interface chip J1 connects output end VCC_ respectively
6th, it is grounded by electric capacity C1, the pin 2 and pin 6 of interface chip J1 are respectively connected to earth terminal, and four resistance combination P1 in parallel is wherein
Three pin 3 of one end difference connecting interface chip of resistance, pin 4 and pin 5, four resistance combine the another of wherein three resistance of P1
End connection resistance combines one end of P2, and one end of the other end connection VCC_33, electric capacity C2 of P2, the pin 7 of interface chip J1 are in parallel
It is connected with motor Wiring port LOCK POWER1 afterwards, is connect with motor after the parallel connection of pin 8 of the other end, interface chip J1 of electric capacity C2
Line end mouthful LOCK POWER2 connections;
The base stage of the NPN triode T2 Y1 of the drive circuit of described direct current generator is connected to microprocessor by resistance R6
Pin 8, the emitter stage of triode T2 Y1 accesses earth terminal, one end of the colelctor electrode connection resistance R7 of triode T2 Y1, the poles of PNP tri-
The emitter stage of pipe T5 Y2 connects one end of VCC_6 and resistance R8, and the base stage of PNP triode T5 Y2 is with the other end of resistance R7 simultaneously
Couple the other end into R8, the colelctor electrode of one end of resistance R14 and one end of resistance R9 respectively with PNP triode T5 Y2 is connected,
The other end of resistance R14 is connected to earth terminal by resistance R15, and the pin 19 of microprocessor is linked between resistance R14 and R15,
The other end of resistance R9 is connected respectively with the emitter stage of PNP triode T6 Y2, the emitter stage of PNP triode T7 Y2, the poles of PNP tri-
One end of the base stage connection resistance R10 of pipe T6 Y2, one end of the colelctor electrode connection resistance R11 of PNP triode T6 Y2, PNP tri-
The other end of the base stage connection resistance R11 of pole pipe T7 Y2, the other end of the colelctor electrode connection resistance R10 of PNP triode T7 Y2
With the colelctor electrode of NPN triode T4 Y1, the base stage of NPN triode T4 Y1 connects the pin 9, NPN of microprocessor by resistance R13
The emitter stage connection earth terminal of triode T4 Y1, the colelctor electrode of NPN triode T3 Y1 is connected to the collection of PNP triode T6 Y2
Electrode, the base stage of NPN triode T3 Y1 connects the pin 10 of microprocessor, the emitter stage of NPN triode T3 Y1 by resistance R12
Connection earth terminal, the base of the colelctor electrode, the colelctor electrode of PNP triode T6 Y2 and PNP triode T7 Y2 of NPN triode T3 Y1
Extremely it is connected with motor Wiring port LOCK POWER2, the colelctor electrode of PNP triode T7 Y2, the current collection of NPN triode T4 Y1
The other end of pole and resistance R10 is connected with motor Wiring port LOCK POWER1;
Described built-in storage integrated circuit includes memory, the pin 1 of memory, pin 2, pin 3 and pin 4 is in parallel accesses earth terminal,
The pin 12 of the connection microprocessor of pin 5 of memory and one end of resistance R2, the pin 6 of memory connect the pin 13 and electricity of microprocessor
One end of R1 is hindered, the connection earth terminal of pin 7 of memory, the pin 8 of memory connects pin 14, the other end of resistance R1 of microprocessor
With the other end of resistance R2;
Described AD samplings and the base stage of the NPN triode Y1 T8 of filtering and amplifying circuit are connected to radio frequency chip by resistance R5
Pin 44RF TXD interfaces, the emitter stage of NPN triode Y1 T8 connects one end and the earth terminal of electric capacity C14, the poles of NPN tri- respectively
The colelctor electrode of pipe Y1 T8 is connected to the source electrode of power transistor FDV301, the gate pole and radio frequency chip of power transistor FDV301
The connection of pin 43RF CLK interfaces, the drain electrode of power transistor FDV301 is connected with one end of inductance L1, and resistance R22 is connected in parallel on
On NPN triode Y1 T8, the other end of inductance L1 is connected VCC_33 and is grounded by electric capacity C13 respectively, and one end of inductance L2 connects
Electric capacity C15 is met, the other end of inductance L2 connects positive pole, one end of resistance R19 and the antenna ANTA of diode IN4148, resistance
The other end ground connection of R19, the negative pole of diode IN4148 connects one end of electric capacity C17 and one end of resistance R20, electric capacity respectively
The other end ground connection of C17, one end and electric capacity C16 one end of resistance R21 are connected in parallel earth terminal, the other end of resistance R20, resistance
The other end of R21 and the other end of electric capacity C16 are connected to the KARD DETECT interfaces of pin 20 of microprocessor;
Described VCC_33 refers to 3.3V supply voltages, and VCC_6 refers to 6V supply voltages.
2. a kind of radio frequency card door lock according to claim 1 controls circuit, it is characterised in that:A kind of described radio frequency toll bar
Lock control circuit also includes the buzzer drive circuit being connected with central processing unit integrated circuit, and it includes buzzer and electricity
Resistance R3, NPN triode T1 Y1, the BEEP ends of described buzzer connect VCC_33, BELL ends connection NPN tri- poles of buzzer
The colelctor electrode of pipe T1 Y1, the emitter stage connection earth terminal of NPN triode T1 Y1, the base stage of NPN triode T1 Y1 passes through resistance
R3 is connected to the pin 23 of microprocessor.
3. a kind of radio frequency card door lock according to claim 1 controls circuit, it is characterised in that:A kind of described radio frequency toll bar
Lock control circuit also includes the LED drive circuit that be connected with central processing unit integrated circuit, its include the LED that is connected in series with
The outer end of resistance R4, resistance R4 is connected with the pin 21 of microprocessor, and the outer end of LED is connected with the pin 22 of microprocessor.
4. a kind of radio frequency card door lock according to claim 1 controls circuit, it is characterised in that:A kind of described radio frequency toll bar
Lock control circuit also includes 3.3V power circuits, and it includes 3.3V voltage stabilizing chips and has electrode capacitance C3,3.3V voltage stabilizing chip
Pin 1 connects earth terminal and has one end of electrode capacitance C3, the connection VCC_6 of pin 2 of 3.3V voltage stabilizing chips, the pin 3 of 3.3V voltage stabilizing chips
Connection power access end VCC_33 and the other end for having electrode capacitance C3.
5. a kind of radio frequency card door lock according to claim 1 controls circuit, it is characterised in that:A kind of described radio frequency toll bar
Lock control circuit also includes the four-wire system download program and emulation interface integrated circuit that are connected with central processing unit integrated circuit, its
Interface chip J4 is included, the pin 1 of interface chip J4 connects the pin 1 of microprocessor, and the pin 2 of interface chip J4 connects VCC_33,
The pin 3 of interface chip J4 connects the pin 7 of microprocessor, and the pin 4 of interface chip J4 is grounded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410615274.1A CN104361384B (en) | 2014-11-05 | 2014-11-05 | A kind of radio frequency card door lock controls circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410615274.1A CN104361384B (en) | 2014-11-05 | 2014-11-05 | A kind of radio frequency card door lock controls circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104361384A CN104361384A (en) | 2015-02-18 |
CN104361384B true CN104361384B (en) | 2017-06-13 |
Family
ID=52528642
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410615274.1A Expired - Fee Related CN104361384B (en) | 2014-11-05 | 2014-11-05 | A kind of radio frequency card door lock controls circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104361384B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1290802A (en) * | 2000-12-04 | 2001-04-11 | 三亚市实业贸易总公司 | Radio frequency remote control lock |
CN200986715Y (en) * | 2006-09-22 | 2007-12-05 | 深圳市尚吉电子有限公司 | Smart card ethernet gate inhibition controller |
CN201352364Y (en) * | 2008-08-07 | 2009-11-25 | 刘孝锋 | Ethernet door lock controller |
CN201444249U (en) * | 2009-05-08 | 2010-04-28 | 辽宁圣维机电科技有限公司 | Control circuit of Temic intelligent electronic lock |
CN104036572A (en) * | 2014-06-20 | 2014-09-10 | 合肥天智科技发展有限公司 | Intelligent lock management system based on Ethernet control |
CN204204009U (en) * | 2014-11-05 | 2015-03-11 | 安徽天智信息科技集团股份有限公司 | A kind of radio frequency card door lock control circuit |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7028861B2 (en) * | 2003-12-16 | 2006-04-18 | Joseph S. Kanfer | Electronically keyed dispensing systems and related methods of installation and use |
-
2014
- 2014-11-05 CN CN201410615274.1A patent/CN104361384B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1290802A (en) * | 2000-12-04 | 2001-04-11 | 三亚市实业贸易总公司 | Radio frequency remote control lock |
CN200986715Y (en) * | 2006-09-22 | 2007-12-05 | 深圳市尚吉电子有限公司 | Smart card ethernet gate inhibition controller |
CN201352364Y (en) * | 2008-08-07 | 2009-11-25 | 刘孝锋 | Ethernet door lock controller |
CN201444249U (en) * | 2009-05-08 | 2010-04-28 | 辽宁圣维机电科技有限公司 | Control circuit of Temic intelligent electronic lock |
CN104036572A (en) * | 2014-06-20 | 2014-09-10 | 合肥天智科技发展有限公司 | Intelligent lock management system based on Ethernet control |
CN204204009U (en) * | 2014-11-05 | 2015-03-11 | 安徽天智信息科技集团股份有限公司 | A kind of radio frequency card door lock control circuit |
Also Published As
Publication number | Publication date |
---|---|
CN104361384A (en) | 2015-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105074832B (en) | power management | |
CN105468470B (en) | D-trigger watchdog MCU monitoring circuit and use method thereof | |
CN117935404A (en) | NFC communication and wireless charging-based passive lock system of power distribution ring main unit | |
CN104361384B (en) | A kind of radio frequency card door lock controls circuit | |
CN204204009U (en) | A kind of radio frequency card door lock control circuit | |
CN206971973U (en) | A kind of smart lock control circuit | |
CN202383706U (en) | Portable low-power consumption identity card reader | |
CN207198896U (en) | Wireless U-disc circuit and wireless U-disc | |
CN104049549B (en) | Electricity-saving control circuit and electronic equipment | |
CN202838475U (en) | Photon key | |
CN207251577U (en) | Switching device | |
CN203921573U (en) | The safe and secret case of a kind of multi-functional paper | |
CN204423381U (en) | A kind of gate inhibition's smart card controller be arranged on metal decking | |
CN109062091A (en) | A kind of agricultural monitoring Internet of things system under crop field environment | |
CN212054155U (en) | RF8.2M electronic unlocker | |
CN209486744U (en) | Low-power consumption fingerprint lock control circuit | |
CN208563166U (en) | Parking stall measure circuit built in a kind of berth lock | |
CN202249276U (en) | Split type fingerprint safety lock | |
CN207216630U (en) | A kind of RFID125K low-power consumption card reading modules based on phase method | |
CN208686232U (en) | A kind of shopping cart electronic lock | |
CN208607742U (en) | A kind of intelligent electric motor-car charging unit | |
CN202249277U (en) | Split type electron fingerprint safety lock | |
CN211956164U (en) | Public entrance guard | |
CN218038115U (en) | 4G intelligent door lock | |
CN213629172U (en) | Public encryption faucet based on RFID |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170613 Termination date: 20181105 |
|
CF01 | Termination of patent right due to non-payment of annual fee |