CN102638732B - Building intercom system with resident cellphone used for intercommunicating with visitors and opening gate at stairs - Google Patents

Building intercom system with resident cellphone used for intercommunicating with visitors and opening gate at stairs Download PDF

Info

Publication number
CN102638732B
CN102638732B CN201210063457.8A CN201210063457A CN102638732B CN 102638732 B CN102638732 B CN 102638732B CN 201210063457 A CN201210063457 A CN 201210063457A CN 102638732 B CN102638732 B CN 102638732B
Authority
CN
China
Prior art keywords
pin
chip microcomputer
circuit
cpu single
stairs
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
CN201210063457.8A
Other languages
Chinese (zh)
Other versions
CN102638732A (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.)
NANPING LONGFEIDA COMMODITY CO Ltd
Original Assignee
NANPING LONGFEIDA COMMODITY CO Ltd
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 NANPING LONGFEIDA COMMODITY CO Ltd filed Critical NANPING LONGFEIDA COMMODITY CO Ltd
Priority to CN201210063457.8A priority Critical patent/CN102638732B/en
Publication of CN102638732A publication Critical patent/CN102638732A/en
Application granted granted Critical
Publication of CN102638732B publication Critical patent/CN102638732B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a building intercom system with a resident cellphone used for intercommunicating with visitors and opening a gate at the stairs, which is applied to conversation and communication between visitors and a building resident at the stairs and opening of a gate at the stairs after the resident communication. The building intercom system with a resident cellphone used for intercommunicating with visitors and opening the gate at the stairs comprises an intercom at the stairs, an electrically controlled lock and an automatic door closer, wherein the electrically controlled lock is provided with a relay control line. The building intercom system is characterized in that the system further comprises a resident cellphone, and the intercom at the stairs comprises a wireless mobile communication module, a CPU (central processing unit) single chip microcomputer and a DTMF (dual-tone multifrequency) decoding chip. The wireless communication module is connected with an output end of a microphone audio signal input line and an input end of a loudspeaker audio signal output line respectively through an audio input interface and an audio output interface, the DTMF decoding chip is connected with the CPU single chip microcomputer through a CPU single chip microcomputer interface, and the electrically controlled lock is controlled by the CPU single chip microcomputer through the relay control line. The building intercom system with the resident cellphone used for intercommunicating with visitors and opening the gate at the stairs has the advantages that functions of existing user cellphones are expanded, maintenance of intercoms is facilitated, production of indoor-specific extensions for building users is omitted, cost is saved, and the like.

Description

With intercommunication between resident family's mobile phone and visitor and open the building conversational system of stairs port door
Technical field
The present invention relates to intercommunication between resident family's mobile phone and visitor and open the building conversational system of stairs port door, being applied to visitor's unlatching to stairs port door after stairs port is with the dialogue communication between floor resident family and resident family's call.
Background technology
In order to strengthen the safety management to entire building room resident family, people set up a sect at Stall (ground) stairs port, enter to control the non-visitor who agrees to through resident family.After facilitating the indoor resident family of floor with visitor in front of the door of stairs port call and end of conversation, open stairs port door, people have installed stairs port intercom on stairs port door leaf side.
The power supply of existing building conversational system taking city's electricity consumption as DC power supply, comprises electric control lock and automatic door closer; And comprise the rectifying and wave-filtering circuit, Mike's audio signal incoming line, the loudspeaker audio frequency output line road that are converted to DC power supply with digital keys circuit, AC power, the stairs port intercom of key number signal and audio signal control treatment system composition.Also comprise that profit is wired to the indoor resident family of floor private branch exchange.The indoor resident family of floor utilizes private branch exchange, and visitor utilizes the stairs port intercom in intercom system, realizes the call between two people.Its deficiency is between stairs port intercom and resident family, need pre-buried and set up special Wireline, and workload is large, and cost is high, and it is large between civil engineering progress, to coordinate difficulty.
Summary of the invention
The object of the invention is to overcome above-mentioned weak point of the prior art, provide a kind of floor resident family avoid using indoor private branch exchange with intercommunication between resident family's mobile phone and visitor and open the building conversational system of stairs port door.The present invention is also a kind of by intercommunication between resident family's mobile phone and visitor the method for opening stairs port door by providing.
(a), with intercommunication between resident family's mobile phone and visitor and open the building conversational system of stairs port door, comprise the stairs port intercom that is arranged on stairs port door leaf side; This stairs port intercom is with DC power supply; Digital keys circuit; Digital circuit; Loudspeaker audio frequency output line road; Mike's audio signal incoming line; Key number signal and audio signal control process circuit system; Comprise electric control lock and automatic door closer; Electric control lock tape relay control circuit; It is characterized in that also comprising: resident family's mobile phone; Described key number signal and audio signal control process circuit system contain following circuit: radio mobile communication module; CPU single-chip microcomputer; DTMF decoding chip; Radio mobile communication module is connected with the output of Mike's audio signal incoming line, the input on loudspeaker audio frequency output line road respectively with audio output interface by audio input interface; Radio mobile communication module is also connected with DTMF decoding chip by DTMF decoding chip interface, be connected with CPU single-chip microcomputer by CPU interface microcontroller, by self built-in aerial or external miniature antenna both one of and mobile radio communication network be connected with resident family's mobile phone; DTMF decoding chip is connected with CPU single-chip microcomputer by CPU interface microcontroller; CPU single-chip microcomputer realizes by the relay main contacts switch being connected in electric control lock electromagnet current circuit the control that electric control lock is opened and closed to state by relay control circuit; The output port of digital keys circuit is directly connected with the keypad interface of CPU single-chip microcomputer; The input of digital circuit is directly connected with the digital display interface of CPU single-chip microcomputer; ) DC power supply provides DC power supply to digital keys circuit, digital circuit, DTMF decoding chip, loudspeaker audio frequency output line road, Mike's audio signal incoming line, radio mobile communication module, CPU single-chip microcomputer, relay control circuit.
(b) described in a with intercommunication between resident family's mobile phone and visitor and open the building conversational system of stairs port door, it is characterized in that writing the program that user's room number code conversion is become to user mobile phone number number in the program storage of CPU single-chip microcomputer.
(c) described in a or b with intercommunication between resident family's mobile phone and visitor and open the building conversational system of stairs port door, it is characterized in that the program of CPU single-chip microcomputer writes the proving program taking " # " button as start button key.
(d), with intercommunication between resident family's mobile phone and visitor and open use in the building conversational system of stairs port door a kind of by intercommunication between resident family's mobile phone and visitor the method for opening stairs port door, it comprises step 1: visitor utilizes digital keys input resident family room number coding; It is characterized in that also comprising the steps:
Step 2: under the control of CPU single-chip microcomputer, show resident family's room number coding of visitor's input by digital circuit; Convert resident family's room number coded digital signal to resident family cell-phone number digital signal by CPU single-chip microcomputer, and resident family's cell-phone number digital signal is exported in radio mobile communication module, directly utilize mobile wireless network to dial resident family's cell-phone number by radio mobile communication module;
Step 3: machine is carried by resident family;
Step 4: radio mobile communication module receives resident family from mobile wireless network and carries machine signal, under the control of CPU single-chip microcomputer, opens the operating state of Mike's audio signal incoming line and the operating state on loudspeaker audio frequency output line road;
Step 5: for resident family, resident family's mobile phone, visitor utilize the mutual intercommunication of stairs port intercom;
Step 6: resident family utilizes numeric keyboard of mobile telephone to press the start button of representative unlatching stairs port door, radio mobile communication module is from mobile wireless network receives the start button digital signal of resident family, and request CPU single-chip microcomputer sends the instruction of unlatching stairs port door to the electric control lock with relay and automatic door closer; Open stairs port door;
Step 7: visitor's door leaf enters, and automatic door closer is closed door leaf automatically; Resident family's mobile phone is hung up in resident family, and hang-up signal sends stairs port intercom to by mobile wireless network, removes the operating state of stairs port intercom, and stairs port intercom is returned to holding state.
(e) described in d with intercommunication between resident family's mobile phone and visitor and open use in the building conversational system of stairs port door a kind of by intercommunication between resident family's mobile phone and visitor the method for opening stairs port door, it is characterized in that between step 6 and step 7 being provided with whether checking start button key is the step of preset key in CPU single-chip microcomputer memory internal program: radio mobile communication module receives user's start button digital signal from mobile wireless network, start button digital signal is delivered to DTMF decoding chip, judge specifically which key in cell phone keyboard of institute's start button key by DTMF decoding chip, and decoded result is delivered to CPU single-chip microcomputer, judged the preset key of whether being appointed as in advance representative unlatching stairs port door by CPU single-chip microcomputer, if so, carry out next step, if not, previous step returned to.
The present invention compared to existing technology tool has the following advantages:
1, expanded the function of existing user mobile phone, by it for opening stairs port door.Because user terminal is general mobile phone, maintain easily.Promote the update of stairs port intercom technology, realized building conversational system from wired to wireless, from network consisting alone to the progress being connected with public communication network.
2, improved the communication efficiency of associating between people, if user stays out, visitor also can utilize stairs port intercom and user session, need not utilize in addition the paging of mobile phone dialing user mobile phone.
3, promoted the update of stairs port intercom technology; for scale, standardization maintenance stairs port machine have been created technical attainable condition; reduced because of existing wired stairs port machine structure loaded down with trivial details; of a great variety and require maintenance personal to understand that multiple stairs port machine technology just can step into the threshold of stairs port intercom maintenance service industry; maintenance is become to be more prone to; effectively pull the appearance of stairs port intercom technical maintenance industry; strengthen the construction of community management and E-Communities aspect, realized social progress.
4, remove the indoor private branch exchange of making building user from, do not needed pre-buried or set up Wireline, saved cost, saved construction cost and the building time of building conversational system.
5,, when resident family stays out, visitor can utilize stairs port intercom with the call of floor resident family, has facilitated the contacts between people.Brief description of the drawings
Fig. 1 is system module figure of the present invention.
In figure, 1 is stairs port intercom, the 2nd, and electric control lock and automatic door closer, the 3rd, mobile radio communication network, the 6th, resident family of resident family mobile phone.
Fig. 2 is that the present invention realizes task operating flow chart of steps.
Fig. 3 is power module line map of the present invention.
In figure, J1 is outlet; U1 is MB6S bridge rectifier integrated package, and U2 is 7805 power supply chips, and U3 is MIC29302 power supply chip; Resistance R 1=2K Ω, R2=43K Ω, R3=100K Ω; Capacitor C 1=100 μ F, C2=0.1 μ F, C3=220 μ F, C4=0.1 μ F, C5=470 μ F, C6=0.1 μ F.
Fig. 4 is numeric keypad line map of the present invention.
The digital output wiring terminal that in figure, J2 is connected with single-chip microcomputer, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16 are digital keys switch.
Fig. 5 is the digital circuit figure of the present invention.
J3 in figure, be the connected segment encode binding post of same single-chip microcomputer, J4 is bit code binding post I, and J5 is bit code binding post II, and U4, U5 are 3461CD group of four figures pipe.Triode Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8 are 9014PNP.Resistance R 3, R4, R5, R6, R7, R8, R9, R10 are 4.7K Ω.Resistance R 11, R12, R13, R14, R15, R16, R17, R18 are 0.33K Ω.
Fig. 6 is embodiment of the present invention schematic circuit, has omitted by the digital circuit under control processor Single-chip Controlling and numeric keypad circuit, and the each module of system is provided to the power module circuit of DC power supply in figure.In figure:
The 11st, CPU single-chip microcomputer STC12C5A60S2 and external circuit figure thereof, in figure, capacitor C 8=30pF, C9=30pF, C10=0.1 μ F, C11=10 μ F, crystal oscillator Y1=11.0592MHZ, resistance R 20 are 10K Ω.
The 12nd, radio mobile communication module EM310 and external circuit figure thereof, in figure, capacitor C 13, C14, C15 are 30pF, C16=0.1 μ F.
The 13rd, Mike's audio signal input circuit figure, in figure, capacitor C 18, C19 are 30pF, C20=100pF. inductance L 1, L2 are 1 μ H.
The 14th, loudspeaker audio frequency output line road figure, capacitor C 22=10pF in figure, C23=10pF, C24=30pF, C25=30pF, C26=10pF.Inductance L 3, L4 are 1 μ H.
The 15th, DTMF decoding chip HT9170B and external circuit figure thereof, resistance R 22=300K Ω in figure, R23=100K Ω, capacitor C 28=20pF, C29=20pF, C30=0.1 μ F, crystal oscillator Y2=3.579545MHz.
The 21st, electric control lock and automatic door closer with relay and control circuit figure thereof.In figure, triode Q9 is PNP9014, R25=3K Ω, and relay is 5V six pin straight cuttings, the binding post that J6 is relay output end.
In addition,
(a) being connected in the element relating between CPU single-chip microcomputer STC12C5A60S2 and radio mobile communication module EM310 has: resistance R 27=1K Ω, R28=1K Ω, R29=1K Ω.
(b) element being connected between radio mobile communication module EM310 and DTMF decoding chip HT9170B has: R30=100K Ω, C32=0.1 μ F.
(c) element relating to being connected between CPU single-chip microcomputer STC12C5A60S2 and DTMF decoding chip HT9170B has: resistance R 31=10K Ω, R32=0.0K Ω (inspection resistance, when inspection line fault, just pin is welded into circuit), NPN triode Q10 is 9013.
(d) element that radio mobile communication module EM310 status indicator lamp circuit relates to has: resistance R 33=0.33K Ω, and R34=1K Ω, triode Q11 is PNP9014, light-emitting diode D2 is 3 millimeters of diameters.
Embodiment
With intercommunication between resident family's mobile phone and visitor and open the building conversational system of stairs port door, comprise the stairs port intercom that is arranged on stairs port door leaf side; This stairs port intercom is with DC power supply; Digital keys circuit; Digital circuit; Loudspeaker audio frequency output line road (14); Mike's audio signal incoming line (13); Key number signal and audio signal control process circuit system; Comprise electric control lock and automatic door closer (2); Electric control lock tape relay control circuit; Relay control circuit is connected on the collector electrode of PNP9014 triode Q9; It is characterized in that also comprising: resident family's mobile phone (4); Described key number signal and audio signal control process circuit system contain following circuit: radio mobile communication module EM310; CPU single-chip microcomputer STC12C5A60S2; DTMF decoding chip HT9170B; Radio mobile communication module EM310 is connected with the output of Mike's audio signal incoming line (13) by audio input interface the 46th pin, the 45th pin, is connected with the input on loudspeaker audio frequency output line road (14) by audio output interface the 50th pin, the 49th pin; The RC series circuit that radio mobile communication module EM310 also consists of with capacitor C 32 via resistance R 30 DTMF decoding chip interface the 50th pin is connected with the 2nd pin of DTMF decoding chip, be connected with the 42nd pin, the 43rd pin, the 40th pin of CPU single-chip microcomputer STC12C5A60S2 through resistance R 29, R28, R27 respectively by CPU interface microcontroller the 15th pin, the 17th pin, the 41st pin, the 42nd first three pin of pin, ground connection after last pin is directly connected with the 16th pin of CPU single-chip microcomputer STC12C5A60S2; Be connected with resident family's mobile phone (4) by self built-in aerial or external miniature antenna and mobile radio communication network (3); DTMF decoding chip HT9170B is connected with CPU single-chip microcomputer STC12C5A60S2 by CPU interface microcontroller, and the 44th, the 1st, the 2nd, the 3rd pin of CPU single-chip microcomputer STC12C5A60S2 is connected with the 14th, the 13rd, the 12nd, the 11st pin of DTMF decoding chip HT9170B respectively; The 8th pin connects triode Q10 collector bias resistance electronegative potential point, and the base stage of triode Q10 is connected with the 14th pin of DTMF decoding chip HT9170B through current-limiting resistance R32.CPU single-chip microcomputer STC12C5A60S2 realizes by the relay main contacts switch being connected in electric control lock electromagnet current circuit the control that electric control lock is opened and closed to state by relay control circuit; The 9th pin of CPU single-chip microcomputer STC12C5A60S2 and electric control lock and automatic door closer with relay and control circuit (21) thereof in the base stage of triode Q9 be connected.The output port of digital keys circuit is directly connected with the keypad interface of CPU single-chip microcomputer STC12C5A60S2; The the 18th, the 19th, 20th, the 17th, 13rd, the 12nd, 11st of CPU single-chip microcomputer STC12C5A60S2, the 10th pin is connected with the 1st, the 2nd, the 3rd, the 4th, the 5th, the 6th, the 7th, the 8th pin of digital output wiring terminal J2 in numeric keypad circuit respectively; The input of digital circuit is directly connected with the digital display interface of CPU single-chip microcomputer STC12C5A60S2; CPU single-chip microcomputer STC12C5A60S2 the 37th, the 36th, the 35th, the 34th, the 33rd, the 32nd, the 31st, the 30th pin is connected with 1~7 the terminal of the segment encode binding post J3 of digital circuit respectively; 28th, the 25th, the 26th, the 27th pin is connected with the 3rd, the 2nd, the 1st, the 0th terminal of digital circuit bit code binding post I J4 respectively; 24th, the 21st, the 22nd, the 23rd pin is connected with the 7th, the 6th, the 5th, the 4th terminal of digital circuit bit code binding post II J4 respectively.(10) DC power supply provides DC power supply to digital keys circuit, digital circuit, DTMF decoding chip, loudspeaker audio frequency output line road, Mike's audio signal incoming line, radio mobile communication module, CPU single-chip microcomputer, relay control circuit.
In CPU single-chip microcomputer STC12C5A60S2 and external circuit thereof (11), connect in power module circuit of the present invention+5V output of the 38th pin of single-chip microcomputer STC12C5A60S2, be the power input of single-chip microcomputer, the 38th pin is through capacitor C 10 ground connection, and this electric capacity has filtering voltage regulation effect.Between the 14th pin and the 15th pin, access crystal oscillator Y1, crystal oscillator Y1 two ends by capacitor C 8, C9 ground connection, are single-chip microcomputer outer clock circuits respectively.The 4th pin of single-chip microcomputer connects the high potential point at resistance R 20 two ends in capacitor C 11 and resistance R 20 series loops, this series loop input with in power module circuit of the present invention+5V output is connected.The 4th pin, for judging the stability of the DC power supply that the 38th pin accesses, in the time there is fluctuation, restores single-chip microcomputer to initial setting up.The reset function of the 4th pin is set by the program writing in single-chip microcomputer register.
Radio mobile communication module EM310 and external circuit thereof (12), all connect in electric former module circuit+4.2V output of 26th~31 pins.21st~25 each pin ground connection.1st, 2,3,4,6,8 pins are connected with the the the 3rd, 1,6,2,5,4 terminals of mobile phone SIM deck respectively, and wherein the the 1st, 2,3,4 pins are respectively through C14 capacitor C 14, C16, C13, C15 ground connection.
In DTMF decoding chip HT9170B and external circuit thereof (15), between the 7th pin, the 8th pin, meet crystal oscillator Y2, crystal oscillator Y2 two ends connect respectively ground connection after capacitor C 28, C29.The 1st pin is directly connected with the 4th pin, connecting resistance R23 between the 2nd pin and the 3rd pin.The 9th pin ground connection.The 10th pin connects power module circuit+5V output, sets high level, and the 11st~14th pin is used for exporting decoding.The 18th pin connects power module circuit+5V output, and the 16th pin accesses power module circuit+5V output after the circuit that resistance R 22 and capacitor C 30 are in series, the RC circuit that composition discharges and recharges the 17th pin.Resistance in the outer RC circuit of the 17th pin access the 16th pin and the potential point between electric capacity.The 16th pin is generally low level, makes the 17th pin also keep low level by peripheral RC circuit discharging.When the 16th pin sets high after level, RC circuit is given the 17th pin charging.When charging voltage changes to 2.35V from 0, when+5V power supply, input signal is that valid code detector produces correct code, and by the 11st~14th pin latch, the 15th pin sets high level.When the 17th pin drops to 2.35V from+5V level, the 15th pin sets low level, and the data on the 11st~14th pin remain to the input of next effectively audio frequency.
Electric control lock and automatic door closer with relay and the control circuit of control circuit (21) with a relay K M, the control circuit of relay K M is connected at PNP transistor collector, the electric control lock solenoid that its main contacts switch control and binding post J6 join logical with close.
Ground connection after the 16th pin of CPU single-chip microcomputer STC12C5A60S2 is connected with the 42nd pin of radio mobile communication module EM310.40th, the 42nd, the 43rd pin is connected with the 41st, the 15th, the 17th pin of radio mobile communication module EM310 through resistance R 27, R29, R28 respectively.44th, the 1st, the 2nd, the 3rd pin is connected with the 14th, the 13rd, the 12nd, the 11st pin of DTMF decoding chip HT9170B respectively.The 8th pin connects triode Q10 collector bias resistance electronegative potential point, and the base stage of triode Q10 is connected with the 14th pin of DTMF decoding chip HT9170B through current-limiting resistance R32.The 9th pin and electric control lock and automatic door closer with relay and control circuit (21) thereof in the base stage of triode Q9 be connected.37th, the 36th, the 35th, the 34th, the 33rd, the 32nd, the 31st, the 30th pin is connected with 1~7 the terminal of the segment encode binding post J3 of digital circuit respectively.28th, the 25th, the 26th, the 27th pin is connected with the 3rd, the 2nd, the 1st, the 0th terminal of digital circuit bit code binding post I J4 respectively; 24th, the 21st, the 22nd, the 23rd pin is connected with the 7th, the 6th, the 5th, the 4th terminal of digital circuit bit code binding post II J4 respectively.18th, the the 19th, 20th, the 17th, 13rd, the 12nd, 11st, the 10th pin is connected with the 1st, the 2nd, the 3rd, the 4th, the 5th, the 6th, the 7th, the 8th pin of digital output wiring terminal J2 in digital keys circuit respectively.
The the 50th, the 49th pin of radio mobile communication module EM310 connects differential filtering circuit input two ends, loudspeaker audio frequency output line road (14).45th, the 46th pin connects the output two ends of Mike's audio signal input circuit (13) differential filtering circuit.The 50th pin is connected with the 2nd pin of DTMF decoding chip HT9170B after capacitor C 32, resistance R 30.
The present invention before use, the one, the program that invention be realized to task operating steps flow chart writes in CPU single-chip microcomputer STC12C5A60S2 program storage (Flash Rom, flash memory use as program storage).The the 8th, the 7th pin of MAX232ACPE serial communication modular is connected with the 3rd, the 2nd pin of the RS-232 serial communication interface of computer respectively, and the output of MaX232ACPE the 9th, the 10th pin is connected with the 7th, the 5th pin of CPU single-chip microcomputer STC12C5A60S2 respectively, the program that realizes task operating steps flow chart (Fig. 2) by STC-ISP software control download the present invention of computer end is to CPU single-chip microcomputer STC12C5A60S2 memory.Described the present invention realizes the program of task operating steps flow chart, is the HEX file being generated by composing software Keil-C51 conversion by following C linguistic source program (See Attachment 1).
The 2nd, resident family's room number coding and cell-phone number be inputed in data storage EEPROM (EEPROM (Electrically Erasable Programmable Read Only Memo)).Can adopt DTMF remote control software to write.Method is to utilize MAX232ACPE serial communication modular to be connected with the RS-232 serial communication interface of computer computer, then carries out DTMF remote control software program.Described " DTMF remote control software program " is following C Plus Plus source program (the seeing appendix two) executable program in WINDOWSXP operating system platform that general compiling means are compiled into routinely.For example, certain community the 8th building building, have 9 layers (suppose that one deck is a family, if the many families of one deck, principle is identical), room number coding be " 801 ", " 802 " ..., " 809 ".Resident family's cell-phone number of corresponding each layer be respectively " 18706003456 ", " 18706003457 " ..., " 1870600346 ".Carry out after DTMF remote control software program, eject interface, the List of input on interface divides " numbering ", " trombone ", " cornet " three row, and building Mei Ceng resident family is one and specifically numbers (can adopt ascending chain number), and for example 1." cornet " fills in the room number coding of Ru Ciceng resident family, for example " 801 "." trombone " fills in the cell-phone number of Ru Ciceng resident family, for example " 18708003456 ".After the room number coding of Ge Ceng resident family and cell-phone number are filled in one by one, press " number setting " button definite.Room number coding and the cell-phone number of Ge Ceng resident family just write in the address and data content specifying in CPU single-chip microcomputer STC12C5A60S2 memory one by one.The form that data are stored in data storage EEPROM is: " 18706003456,801; 18706003457,802; 18706003458,803; 18706003446,809; / ".31 " phone number, XXX; "+polishing complementary+"/" accounts for 512bytes altogether.For example, in the time that the room number coding writing and phone number exceed 512bytes: need deposit altogether 33 " phone number, XXX; ", first write 31 " 18268166119, XXX; "+15 " 0 "+"/" be 512bytes altogether, waits for 30ms, then writes next 512bytes:2 " phone number, XXX; "+479 polishing complementary " 0 "+"/".512bytes writes to alternate 30ms one by one.
The 3rd, in the SIM card seat in radio mobile communication module EM310 and external circuit thereof (12), plug the naked SIM card that a public mobile communication operator is opened.
Below taking room number be encoded to " 801 ", cell-phone number is as the resident family of " 18708003456 " is as example, and use procedure of the present invention is described.Visitor presses the digital keys of building speakerphone, for example, press successively " 8 ", " 0 ", " 1 " three numerical keys, has represented the room number coding " 801 " of resident family.Pass to the the 18th, the 19th, 20th, the 17th, 13rd, the 12nd, 11st of CPU single-chip microcomputer STC12C5A60S2, the 10th these pins of pin by the digital output wiring terminal J2 being connected with single-chip microcomputer of button circuit (Fig. 4).CPU single-chip microcomputer STC12C5A60S2 operation main program main.c and charactron display routine display.h subprogram start the room number coding that digital circuit (Fig. 5) shows that visitor presses out successively.Also move main program main.c and button subprogram key.hkey2.h key3.h key4.h key1.h keystroke handling program simultaneously, by room number coding 801 3 numerals " 8 ", " 0 ", " 1 " and be stored in data storage EEPROM "; " three bit digital before pass through respectively equality comparison.If equate, illustrate that the room number coding of input write in CPU single-chip microcomputer STC12C5A60S2.The program statement of the Do statement inside that to be embedded in taking tel be independent variable comprises judging by equation whether visitor institute has write room number coding by room number coding in data storage below:
if(IapRead(0x0000+tel-3)==dis4+0x30)
if(IapRead(0x0000+tel-2)==dis3+0x30)
if(IapRead(0x0000+tel-1)==dis2+0x30)
Wherein: 0x0000 is data storage hexadecimal data initial address.
Tel is the side-play amount of relative 0x0000 initial address, and its maximum is 0x6DFF.Represent the address of distance 0x0000 initial address in data storage, what maximum had represented data storage can memory capacity.
Dis2, dis3, dis4 are the button numerical value (hexadecimal) that visitor presses.0x30, transfers the key assignments of visitor institute button to count (hexadecimal) adding of ASCII character to.
If the room number coding of visitor's input had not write CPU single-chip microcomputer STC12C5A60S2's, this that is wrong room number are encoded, and building speakerphone is back to initialization state.If the room number of visitor input coding belongs to and has write, for example " 801 ", the numeral " 18708003456 " of " trombone " under identical with " cornet " " 801 " " numbering " is read out by the following statement in following main.c main program, and sends 15th, 17th, 42nd pin of AT instruction (ATD18706003456 carriage return) to radio mobile communication module EM310 by the 42nd, the 43rd, the 40th pin:
sendchar2(IapRead(0x0000+tel-0x0f));
sendchar2(IapRead(0x0000+tel-0x0e));
sendchar2(IapRead(0x0000+tel-0x0d));
sendchar2(IapRead(0x0000+tel-0x0c));
sendchar2(IapRead(0x0000+tel-0x0b));
sendchar2(IapRead(0x0000+tel-0x0a));
sendchar2(IapRead(0x0000+tel-0x09));
sendchar2(IapRead(0x0000+tel-0x08));
sendchar2(IapRead(0x0000+tel-0x07));
sendchar2(IapRead(0x0000+tel-0x06));
sendchar2(IapRead(0x0000+tel-0x05));
sendchar2(';');
sendchar2('\r');
Radio mobile communication module EM310 initiating communication is called out, and be transmitted to mobile radio communication network (3) by antenna, number is the cell-phone bell of " 18706003456 ", room number be encoded to " 801 " if resident family's mobile phone nonreply, after broadcasting mobile phone state and finishing, building speakerphone is back to initialization state.Reply if having by handle and pass radio mobile communication module EM310 by the signal of Answer Key back by mobile radio communication network (3), reach CPU single-chip microcomputer STC12C5A60S2 by radio mobile communication module EM310 again, open Mike's audio frequency incoming line (13) and loudspeaker audio frequency output line road (14) by CPU single-chip microcomputer STC12C5A60S2.Between visitor and resident family, talk with.If dialogue result resident family determines not open stairs port door, building speakerphone is back to initialization state.If resident family determines to open stairs port door, press after user mobile phone " # " button, this button key code transfers back to radio mobile communication module EM310 by mobile radio communication network (3), by the 50th pin output dtmf signal (this signal and voice signal mix) of radio mobile communication module EM310, after the RC series circuit low-frequency noise excision forming via resistance R 30 and capacitor C 32, pass to the 2nd of DTMF decoding chip HT9170B, the 3rd pin, DTMF decoding chip HT9170B decodes to signal, and the consequential signal decoding is passed through to the 11st, the 12nd, the 13rd, the 14th pin flows to the 3rd of CPU single-chip microcomputer STC12C5A60S2, the 2nd, the 1st, the 44th pin, carried out the source program statement that reads the key code that DTMF decoding chip HT9170B sends back by CPU single-chip microcomputer STC12C5A60S2, and verify the start button " # " whether button that resident family presses is preengage.If not building speakerphone returns by the state before start button.If the start button " # " of reservation, CPU single-chip microcomputer STC12C5A60S2 is by the 9th pin output low level, and the main program of CPU single-chip microcomputer STC12C5A60S2 writes the proving program taking " # " button as start button, and proving program comprises following statement:
Wherein, buf_DTMF is the digital keys key assignments that DTMF decoding chip HT9170B decodes.0x0c represents the coding of " # ".
Electric control lock and automatic door closer with relay and control circuit (21) thereof in triode Q9 conducting, relay control circuit has electric current to pass through, the adhesive of relay main contacts normal open switch, electric control lock is opened.Visitor enters.Automatic door closer closes door, and after time delay certain hour, building speakerphone is replied original operating state.
Radio mobile communication module of the present invention, is again public mobile communication module.Except adopting EM310, can also adopt the radio mobile communication modules such as various GSM, CDMA, WCDMA, CDMA2000, TD-SCDMA, as Siemens TC35, TC35i etc.DTMF decoding chip HT9170B can adopt following decoding integrated circuit to replace: CM8870, CM8880, CM8888, MT8870, MT8880, MT8888, HM9270D, HD9170, MC145436.CPU single-chip microcomputer STC12C5A60S2 can adopt 8031,8051,8751,89C51 is serial substitutes.Just the each number of pins of line map has change, but in line map, the Electricity Functional annexation of each pin is constant.
Above to provided by the present invention with intercommunication between resident family's mobile phone and visitor and open the building conversational system of stairs port door and a kind ofly have been introduced the present invention's common practise that technology contents of detailed description is not those skilled in the art by intercommunication between resident family's mobile phone and visitor the method for opening stairs port door.The explanation of embodiment is just for helping to understand core concept of the present invention herein.One of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.Simple, the equivalence that every claims according to the present patent application and description are done changes and modifies, and all falls into claim protection range of the present invention.
Annex one, source program
(1) each file specification
1.2main.c is master program file
1.3em310.h be the file of GPRS communication instruction definition
1.4delay.h delay function
The initialization operation of 1.5init.h modules
1.6send.h character sends function
1.7eeprom.h storage operation
1.8interruptx.h serial ports interrupts and external interrupt program
1.9display.h charactron display routine
1.10key.h key2.h key3.h key4.h key1.h keystroke handling program
(2) each file routine
1.2main.c file
1.3em310.h file
1.4delay.h file
1.5init.h file
1.6send.h file
1.7eeprom.h file
1.8interruptx.h file
1.9display.h file
1.10key.h key2.h key3.h key4.h key1.h file
Annex two, source program
1, PROJECT1.cpp file
2, unit1.cpp file
3, unit1.h file
4, unit2.cpp file
5, unit2.h file
6, unit3.cpp file
7, unit3.h file
8, unit4.cpp file
9, unit4.h file

Claims (2)

1. with intercommunication between resident family's mobile phone and visitor and open the building conversational system of stairs port door,
Comprise the stairs port intercom that is arranged on stairs port door leaf side; This stairs port intercom is with DC power supply;
Digital keys circuit;
Digital circuit;
Loudspeaker audio frequency output line road (14);
Mike's audio signal incoming line (13);
Key number signal and audio signal control process circuit system;
Comprise electric control lock and automatic door closer (2); Electric control lock tape relay control circuit; Relay control circuit is connected on the collector electrode of PNP9014 triode Q9;
It is characterized in that also comprising:
Resident family's mobile phone (4);
Described key number signal and audio signal control process circuit system contain following circuit:
Radio mobile communication module EM310;
CPU single-chip microcomputer STC12C5A60S2;
DTMF decoding chip HT9170B;
Radio mobile communication module EM310 is connected with the output of Mike's audio signal incoming line (13) by audio input interface the 46th pin, the 45th pin, is connected with the input on loudspeaker audio frequency output line road (14) by audio output interface the 50th pin, the 49th pin; The RC circuit that radio mobile communication module EM310 also consists of with capacitor C 32 via resistance R 30 DTMF decoding chip interface the 50th pin is connected with the 2nd pin of DTMF decoding chip, be connected with the 42nd pin, the 43rd pin, the 40th pin of CPU single-chip microcomputer STC12C5A60S2 through resistance R 29, R28, R27 respectively by CPU interface microcontroller the 15th pin, the 17th pin, the 41st pin, the 42nd first three pin of pin, ground connection after last pin is directly connected with the 16th pin of CPU single-chip microcomputer STC12C5A60S2; Be connected with resident family's mobile phone (4) by self built-in aerial or external miniature antenna and mobile radio communication network (3);
DTMF decoding chip HT9170B is connected with CPU single-chip microcomputer STC12C5A60S2 by CPU interface microcontroller, and the 44th, the 1st, the 2nd, the 3rd pin of CPU single-chip microcomputer STC12C5A60S2 is connected with the 14th, the 13rd, the 12nd, the 11st pin of DTMF decoding chip HT9170B respectively; The 8th pin connects triode Q10 collector bias resistance electronegative potential point, and the base stage of triode Q10 is connected with the 14th pin of DTMF decoding chip HT9170B through current-limiting resistance R32;
CPU single-chip microcomputer STC12C5A60S2 realizes by the relay main contacts switch being connected in electric control lock electromagnet current circuit the control that electric control lock is opened and closed to state by relay control circuit; The 9th pin of CPU single-chip microcomputer STC12C5A60S2 and electric control lock and automatic door closer with relay and control circuit (21) thereof in the base stage of triode Q9 be connected;
The output port of digital keys circuit is directly connected with the keypad interface of CPU single-chip microcomputer STC12C5A60S2; The the 18th, the 19th, 20th, the 17th, 13rd, the 12nd, 11st of CPU single-chip microcomputer STC12C5A60S2, the 10th pin is connected with the 1st, the 2nd, the 3rd, the 4th, the 5th, the 6th, the 7th, the 8th pin of digital output wiring terminal J2 in numeric keypad circuit respectively;
The input of digital circuit is directly connected with the digital display interface of CPU single-chip microcomputer STC12C5A60S2; CPU single-chip microcomputer STC12C5A60S2 the 37th, the 36th, the 35th, the 34th, the 33rd, the 32nd, the 31st, the 30th pin is connected with 1~7 the terminal of the segment encode binding post J3 of digital circuit respectively; 28th, the 25th, the 26th, the 27th pin is connected with the 3rd, the 2nd, the 1st, the 0th terminal of digital circuit bit code binding post I J4 respectively; 24th, the 21st, the 22nd, the 23rd pin is connected with the 7th, the 6th, the 5th, the 4th terminal of digital circuit bit code binding post II J4 respectively;
DC power supply provides DC power supply to digital keys circuit, digital circuit, DTMF decoding chip, loudspeaker audio frequency output line road, Mike's audio signal incoming line, radio mobile communication module, CPU single-chip microcomputer, relay control circuit;
In the program storage of CPU single-chip microcomputer, write the program that user's room number code conversion is become to user mobile phone number number.
2. according to claim 1 with intercommunication between resident family's mobile phone and visitor and open the building conversational system of stairs port door, it is characterized in that the program of CPU single-chip microcomputer writes the proving program taking " # " button as start button key.
CN201210063457.8A 2012-03-12 2012-03-12 Building intercom system with resident cellphone used for intercommunicating with visitors and opening gate at stairs Expired - Fee Related CN102638732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210063457.8A CN102638732B (en) 2012-03-12 2012-03-12 Building intercom system with resident cellphone used for intercommunicating with visitors and opening gate at stairs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210063457.8A CN102638732B (en) 2012-03-12 2012-03-12 Building intercom system with resident cellphone used for intercommunicating with visitors and opening gate at stairs

Publications (2)

Publication Number Publication Date
CN102638732A CN102638732A (en) 2012-08-15
CN102638732B true CN102638732B (en) 2014-07-16

Family

ID=46622935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210063457.8A Expired - Fee Related CN102638732B (en) 2012-03-12 2012-03-12 Building intercom system with resident cellphone used for intercommunicating with visitors and opening gate at stairs

Country Status (1)

Country Link
CN (1) CN102638732B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731131A (en) * 2012-10-15 2014-04-16 成都众易通科技有限公司 Network connection status pin circuit
CN103888854A (en) * 2012-12-24 2014-06-25 深圳市中联创新自控系统有限公司 Visitor intercom system
CN103086275B (en) * 2013-01-11 2015-07-22 辽宁省电力有限公司葫芦岛供电公司 Wireless remote control type electric crane
CN105788036A (en) * 2014-12-25 2016-07-20 重庆慧居智能电子有限公司 Wireless entrance machine/enclosure machine based on 3G/4G communication
CN108919692A (en) * 2018-05-07 2018-11-30 武汉虹信通信技术有限责任公司 A kind of intelligent gate equipment based on eMTC and intelligent traffic system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201435762Y (en) * 2009-05-25 2010-03-31 广州惠禾电子有限责任公司 Novel doorphone terminal for building talkback systems
CN202513981U (en) * 2012-03-12 2012-10-31 南平隆飞达日用品有限公司 Building intercom system without indoor dedicated extension

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201435762Y (en) * 2009-05-25 2010-03-31 广州惠禾电子有限责任公司 Novel doorphone terminal for building talkback systems
CN202513981U (en) * 2012-03-12 2012-10-31 南平隆飞达日用品有限公司 Building intercom system without indoor dedicated extension

Also Published As

Publication number Publication date
CN102638732A (en) 2012-08-15

Similar Documents

Publication Publication Date Title
CN102638732B (en) Building intercom system with resident cellphone used for intercommunicating with visitors and opening gate at stairs
CN103295304B (en) Based on community intelligent entrance guard control method and the device thereof of mobile phone 3G network
CN104528482B (en) Elevator and cell burglarproof door integrated management control system and control method
CN202513981U (en) Building intercom system without indoor dedicated extension
CN203301681U (en) Intelligent building intercom system
CN204537270U (en) A kind of intelligent doorway machine based on VOIP
CN203825684U (en) Wireless intelligent building talkback gangway machine
CN107146328A (en) Shared power-supply system and paying charging method
CN107093275A (en) The paying power-supply system shared with Wi Fi
CN210528142U (en) Intelligent access control system with elevator calling function
CN203054962U (en) Building access control and community service calling system based on mobile communication network
CN202634629U (en) Face identification building intercommunication system with call forwarding function
CN206948509U (en) Intelligent building intercom system
CN106056728A (en) Split type Bluetooth lock access device
CN209659462U (en) A kind of recognition of face cloud intercom system based on artificial intelligence and Internet of Things
CN201726501U (en) Device for directly selecting room numbers of users through building conversational system contact screen
CN202503580U (en) Multifunctional communication device
CN203224917U (en) Access control based on RFID (radio frequency identification) and GPRS (general packet radio service) technologies
CN201015201Y (en) In-home media information interconnection system
CN210895580U (en) Mobile terminal dynamic modification intelligent door lock password
CN1822064A (en) Novel radio anti-theft intercommunication device for building
CN201766681U (en) Doorway talkback equipment utilizing public telephone network to communicate
CN207877044U (en) Intelligent WIFI elevator IC cards manage system
CN101450760A (en) Elevator IC card cipher keyboard
CN201563196U (en) Video e-network visual information terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
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: 20140716

Termination date: 20170312