CN205177024U - Wired music door -bell by single chip microcomputer control - Google Patents

Wired music door -bell by single chip microcomputer control Download PDF

Info

Publication number
CN205177024U
CN205177024U CN201520867150.2U CN201520867150U CN205177024U CN 205177024 U CN205177024 U CN 205177024U CN 201520867150 U CN201520867150 U CN 201520867150U CN 205177024 U CN205177024 U CN 205177024U
Authority
CN
China
Prior art keywords
chip microcomputer
loudspeaker
pin
singlechip
triode
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
CN201520867150.2U
Other languages
Chinese (zh)
Inventor
谢少伟
王凤珠
张成蛟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University of Water Resources and Electric Power
Original Assignee
Zhejiang University of Water Resources and Electric Power
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 Zhejiang University of Water Resources and Electric Power filed Critical Zhejiang University of Water Resources and Electric Power
Priority to CN201520867150.2U priority Critical patent/CN205177024U/en
Application granted granted Critical
Publication of CN205177024U publication Critical patent/CN205177024U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The utility model relates to a wired music door -bell by single chip microcomputer control, including singlechip unit, loudspeaker broadcast unit, switch and battery reverse -connection protective circuit, loudspeaker broadcast unit, switch and battery reverse -connection protective circuit link to each other with the singlechip unit respectively. The singlechip unit includes singlechip U1, and the loudspeaker broadcast unit includes triode Q2 and loudspeaker S, and singlechip U1's 8 feet link to each other through resistance R2 and triode Q2's base, triode Q2's grounded collector, and triode Q2's projecting pole and loudspeaker S's negative pole are continuous, and loudspeaker S's positive pole meets voltage + 3V, and singlechip U1's 7 feet connect voltage + 3V, singlechip U1's 4 foot ground connection through resistance R3. The utility model discloses need not special music chip, the melody is typeeed through the singlechip programming, can conveniently adjust and change the melody according to individual hobby, uses very in a flexible way. Realize joining conversely the protection through battery reverse -connection protective circuit, avoid the reverse battery installation, improve the battery live time.

Description

A kind of by monolithic processor controlled wired music door-bell
Technical field
The utility model relates to a kind of music door-bell, particularly relates to a kind of by monolithic processor controlled wired music door-bell.
Background technology
Current music door-bell is generally by using dedicated music chip to realize, and melody range of choice is less, can not carry out easily adjusting and changing by the hobby of user, uses underaction.
Summary of the invention
The utility model mainly solves original music door-bell generally by using dedicated music chip to realize, and melody range of choice is less, can not carry out easily adjusting and changing by the hobby of user, uses the technical matters of underaction; There is provided a kind of by monolithic processor controlled wired music door-bell, its music is without the need to dedicated music chip, and melody carries out typing by mcu programming, and the replacing amendment of melody is very convenient, can carry out easily adjusting and changing according to personal like, use flexibly.
Above-mentioned technical matters of the present utility model is mainly solved by following technical proposals: the utility model comprises single machine unit, loudspeaker broadcast unit, switch and reverse battery protection circuit, and loudspeaker broadcast unit, switch and reverse battery protection circuit are connected with single machine unit respectively.The utility model is battery-powered, and the triggering of doorbell is by switch control rule, and turn on-switch, single machine unit outputs signal to loudspeaker broadcast unit, and loudspeaker start to play music.The melody that the utility model is play carries out typing by mcu programming, and single-chip microcomputer produces and the same frequency square wave corresponding to note, is added on loudspeaker broadcast unit and carries out music.Square wave is produced by single-chip microcomputer Interruption, after each timer overflows, by the negate of single-chip microcomputer mouth line in interrupt service routine, can produce audio frequency square wave, and changing timing length can the side's of change wave frequency.Melody is by certain coded system, programming is entered in single-chip microcomputer, coding comprises tone, velocity of sound, note (pitch and beat) etc., typing melody quantity is determined by the length of melody and the capacity of selected Single Chip Microcomputer (SCM) program memory, therefore the replacing amendment of melody is very convenient, can carry out adjusting and changing according to personal like, use flexibly.
As preferably, described single machine unit comprises single-chip microcomputer U1, single-chip microcomputer U1 adopts STC15L104 single-chip microcomputer, described loudspeaker broadcast unit comprises triode Q2 and loudspeaker S, and 8 pin of single-chip microcomputer U1 are connected with the base stage of triode Q2 through resistance R2, the grounded collector of triode Q2, the emitter of triode Q2 is connected with the negative pole of loudspeaker S, the positive pole of loudspeaker S meets voltage+3V, and 7 pin of single-chip microcomputer U1 meet voltage+3V through resistance R3, the 4 pin ground connection of single-chip microcomputer U1.Flash program storage and independently hardware watchdog circuit in the built-in 4K sheet of STC15L104 single-chip microcomputer, its operating voltage range is 2.4V ~ 3.6V, is applicable to 3V powered battery.Electric current < 0.1uA under power-down mode, and can by external interrupt wakeup, has the features such as high speed, low-power consumption, anti-interference and cryptographic capabilities be strong.The built-in reset circuit of STC15L104 single-chip microcomputer, inside is provided with highly reliable internal reset circuit, and 8 grades of optional reset threshold voltages, eliminate external reset circuit.STC15L104 single-chip microcomputer has internal clock circuit, establishes high precision R/C clock in it, and under normal temperature, temperature wafts 5 ‰, and internal clocking is optional from 5MHz ~ 35MHz, eliminates outer clock circuit.After one first melody plays, enter power-down mode by programmed control single-chip microcomputer, before single-chip microcomputer power down, 7 pin of single-chip microcomputer and 8 pin should be set high level, triode Q2 is ended, no current on resistance R2 and loudspeaker, to reduce stand-by power consumption.After entering power-down mode, by pressing doorbell switch, triggering single-chip microcomputer external interrupt, it can be waken up from power-down mode, after doorbell switch release, next melody will be play, and back and forth capable of circulation.
As preferably, described switch adopts push-button switch K, and one end of push-button switch K is connected with 7 pin of single-chip microcomputer U1, the other end ground connection of push-button switch K.Easy to operate.
As preferably; described reverse battery protection circuit comprises metal-oxide-semiconductor Q1 and resistance R1; the grid of metal-oxide-semiconductor Q1 meets voltage+3V through resistance R1; voltage+3V is through electric capacity C1 ground connection; 2 pin of single-chip microcomputer U1 meet voltage+3V; the drain electrode of metal-oxide-semiconductor Q1 is connected with battery cathode, and the source electrode of metal-oxide-semiconductor Q1 is connected with 4 pin of single-chip microcomputer U1.Because battery is easily oppositely installed when reality uses, reverse protection need be carried out.In order to reduce the conduction voltage drop of protection circuit, improve the service time of battery, the technical program have employed low voltage difference metal-oxide-semiconductor reverse protection circuit, and metal-oxide-semiconductor Q1 adopts SI2302MOS pipe.SI2302MOS pipe is low turn-on voltage N-channel MOS pipe, and its cut-in voltage is between 0.65 ~ 1.2V, and on state resistance RDS is 0.110 Ω, and grid leakage current is ± 100nA.Because SI2302MOS pipe has built-in protection diode, therefore being drained is connected with battery negative terminal, once reverse battery is installed, metal-oxide-semiconductor will be in cut-off state, play a protective role.
As preferably, 5 pin of described single-chip microcomputer U1 and 6 pin are connected with the RS232 interface as music download interface.5 pin of single-chip microcomputer U1 and 6 pin, as download program interface, carry out the download of ISP system program, need adopt the RS232 interface circuit of 3V series during download program.The melody that doorbell is play is programmed by certain coded system, is then entered in single-chip microcomputer by RS232 interface.
The beneficial effects of the utility model are: music is without the need to dedicated music chip, and melody carries out typing by mcu programming, and the replacing amendment of melody is very convenient, can carry out easily adjusting and changing according to personal like, use very flexible.And by reverse battery protection circuit, carry out reverse protection, avoid reverse battery to install, improve service time of battery.
Accompanying drawing explanation
Fig. 1 is a kind of circuit theory syndeton block diagram of the present utility model.
Fig. 2 is a kind of circuit theory diagrams of the present utility model.
1. single machine unit in figure, 2. loudspeaker broadcast unit, 3. switch, 4. reverse battery protection circuit.
Embodiment
Below by embodiment, and by reference to the accompanying drawings, the technical solution of the utility model is described in further detail.
Embodiment: the one of the present embodiment is by monolithic processor controlled wired music door-bell; as shown in Figure 1; comprise single machine unit 1, loudspeaker broadcast unit 2, switch 3 and reverse battery protection circuit 4; loudspeaker broadcast unit 2, switch 3 and reverse battery protection circuit 4 are connected with single machine unit 1 respectively; the present embodiment is battery-powered, and reverse battery protection circuit 4 is connected with battery.As shown in Figure 2, single machine unit 1 comprises single-chip microcomputer U1, and single-chip microcomputer U1 adopts STC15L104 single-chip microcomputer; Loudspeaker broadcast unit 2 comprises triode Q2 and loudspeaker S; Switch 3 adopts push-button switch K; Reverse battery protection circuit 4 comprises metal-oxide-semiconductor Q1 and resistance R1, and metal-oxide-semiconductor Q1 adopts SI2302MOS pipe.8 pin of single-chip microcomputer U1 are connected with the base stage of triode Q2 through resistance R2, the grounded collector of triode Q2, the emitter of triode Q2 is connected with the negative pole of loudspeaker S, and the positive pole of loudspeaker S meets voltage+3V, 7 pin of single-chip microcomputer U1 meet voltage+3V through resistance R3, the 4 pin ground connection of single-chip microcomputer U1.One end of push-button switch K is connected with 7 pin of single-chip microcomputer U1, the other end ground connection of push-button switch K.5 pin of single-chip microcomputer U1 and 6 pin are connected with the RS232 interface as music download interface.The grid of metal-oxide-semiconductor Q1 meets voltage+3V through resistance R1, i.e. anode, and voltage+3V is through electric capacity C1 ground connection, and 2 pin of single-chip microcomputer U1 meet voltage+3V, and the drain electrode of metal-oxide-semiconductor Q1 is connected with battery cathode, and the source electrode of metal-oxide-semiconductor Q1 is connected with 4 pin of single-chip microcomputer U1.
Flash program storage and independently hardware watchdog circuit in the built-in 4K sheet of STC15L104 single-chip microcomputer, its operating voltage range is 2.4V ~ 3.6V, is applicable to 3V powered battery.Electric current < 0.1uA under power-down mode, and can by external interrupt wakeup, has the features such as high speed, low-power consumption, anti-interference and cryptographic capabilities be strong.The built-in reset circuit of STC15L104 single-chip microcomputer, inside is provided with highly reliable internal reset circuit, and 8 grades of optional reset threshold voltages, eliminate external reset circuit.STC15L104 single-chip microcomputer has internal clock circuit, establishes high precision R/C clock in it, and under normal temperature, temperature wafts 5 ‰, and internal clocking is optional from 5MHz ~ 35MHz, eliminates outer clock circuit.After one first melody plays, enter power-down mode by programmed control single-chip microcomputer, before single-chip microcomputer power down, 7 pin of single-chip microcomputer and 8 pin should be set high level, triode Q2 is ended, no current on resistance R2 and loudspeaker, to reduce stand-by power consumption.After entering power-down mode, by pressing doorbell switch, triggering single-chip microcomputer external interrupt, it can be waken up from power-down mode, after doorbell switch release, next melody will be play, and back and forth capable of circulation.Because battery is easily oppositely installed when reality uses, reverse protection need be carried out.In order to reduce the conduction voltage drop of protection circuit, improve the service time of battery, the technical program have employed low voltage difference metal-oxide-semiconductor reverse protection circuit, and metal-oxide-semiconductor Q1 adopts SI2302MOS pipe.SI2302MOS pipe is low turn-on voltage N-channel MOS pipe, and its cut-in voltage is between 0.65 ~ 1.2V, and on state resistance RDS is 0.110 Ω, and grid leakage current is ± 100nA.Because SI2302MOS pipe has built-in protection diode, therefore being drained is connected with battery negative terminal, once reverse battery is installed, metal-oxide-semiconductor will be in cut-off state, play a protective role.
The melody that the utility model is play carries out typing by mcu programming, and single-chip microcomputer produces and the same frequency square wave corresponding to note, is added on loudspeaker broadcast unit and carries out music.Square wave is produced by single-chip microcomputer Interruption, after each timer overflows, by the negate of single-chip microcomputer mouth line in interrupt service routine, can produce audio frequency square wave, and changing timing length can the side's of change wave frequency.Melody is by certain coded system, programming is entered in single-chip microcomputer, coding comprises tone, velocity of sound, note (pitch and beat) etc., typing melody quantity is determined by the length of melody and the capacity of selected Single Chip Microcomputer (SCM) program memory, therefore the replacing amendment of melody is very convenient, can carry out adjusting and changing according to personal like, use flexibly.

Claims (5)

1. one kind by monolithic processor controlled wired music door-bell; it is characterized in that comprising single machine unit (1), loudspeaker broadcast unit (2), switch (3) and reverse battery protection circuit (4), loudspeaker broadcast unit (2), switch (3) and reverse battery protection circuit (4) are connected with described single machine unit (1) respectively.
2. one according to claim 1 is by monolithic processor controlled wired music door-bell, it is characterized in that described single machine unit (1) comprises single-chip microcomputer U1, single-chip microcomputer U1 adopts STC15L104 single-chip microcomputer, described loudspeaker broadcast unit (2) comprises triode Q2 and loudspeaker S, 8 pin of single-chip microcomputer U1 are connected with the base stage of triode Q2 through resistance R2, the grounded collector of triode Q2, the emitter of triode Q2 is connected with the negative pole of loudspeaker S, the positive pole of loudspeaker S meets voltage+3V, 7 pin of single-chip microcomputer U1 meet voltage+3V through resistance R3, the 4 pin ground connection of single-chip microcomputer U1.
3. one according to claim 2 is by monolithic processor controlled wired music door-bell, it is characterized in that described switch (3) adopts push-button switch K, one end of push-button switch K is connected with 7 pin of single-chip microcomputer U1, the other end ground connection of push-button switch K.
4. the one according to Claims 2 or 3 is by monolithic processor controlled wired music door-bell; it is characterized in that described reverse battery protection circuit (4) comprises metal-oxide-semiconductor Q1 and resistance R1; the grid of metal-oxide-semiconductor Q1 meets voltage+3V through resistance R1; voltage+3V is through electric capacity C1 ground connection; 2 pin of single-chip microcomputer U1 meet voltage+3V; the drain electrode of metal-oxide-semiconductor Q1 is connected with battery cathode, and the source electrode of metal-oxide-semiconductor Q1 is connected with 4 pin of single-chip microcomputer U1.
5. the one according to Claims 2 or 3, by monolithic processor controlled wired music door-bell, is characterized in that 5 pin of described single-chip microcomputer U1 and 6 pin are connected with the RS232 interface as music download interface.
CN201520867150.2U 2015-11-02 2015-11-02 Wired music door -bell by single chip microcomputer control Expired - Fee Related CN205177024U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520867150.2U CN205177024U (en) 2015-11-02 2015-11-02 Wired music door -bell by single chip microcomputer control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520867150.2U CN205177024U (en) 2015-11-02 2015-11-02 Wired music door -bell by single chip microcomputer control

Publications (1)

Publication Number Publication Date
CN205177024U true CN205177024U (en) 2016-04-20

Family

ID=55740985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520867150.2U Expired - Fee Related CN205177024U (en) 2015-11-02 2015-11-02 Wired music door -bell by single chip microcomputer control

Country Status (1)

Country Link
CN (1) CN205177024U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106901965A (en) * 2017-03-22 2017-06-30 深圳市蓝蜂时代实业有限公司 A kind of vibrator for massage control system and method based on handset audio signal
CN110313825A (en) * 2018-03-28 2019-10-11 佛山市顺德区美的电热电器制造有限公司 Liquid overflow detection method and device, cookware, electromagnetic heating component
CN110687837A (en) * 2019-08-30 2020-01-14 浙江威星智能仪表股份有限公司 Power failure detection circuit based on single chip microcomputer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106901965A (en) * 2017-03-22 2017-06-30 深圳市蓝蜂时代实业有限公司 A kind of vibrator for massage control system and method based on handset audio signal
CN110313825A (en) * 2018-03-28 2019-10-11 佛山市顺德区美的电热电器制造有限公司 Liquid overflow detection method and device, cookware, electromagnetic heating component
CN110313825B (en) * 2018-03-28 2021-07-16 佛山市顺德区美的电热电器制造有限公司 Liquid overflow detection method and device, pot and electromagnetic heating assembly
CN110687837A (en) * 2019-08-30 2020-01-14 浙江威星智能仪表股份有限公司 Power failure detection circuit based on single chip microcomputer

Similar Documents

Publication Publication Date Title
CN205177024U (en) Wired music door -bell by single chip microcomputer control
CN103294147A (en) Software startup and shutdown circuit and realizing method
CN111756091A (en) Power supply switching circuit and intelligent door lock
CN106505715A (en) A kind of green power supply for computer
CN202856419U (en) Alarm clock circuit structure
CN204859450U (en) Regularly awaken up and dormancy circuit
CN201657158U (en) Automatic television turning-on circuit in response to urgent messages and television
CN212462838U (en) Power supply switching circuit and intelligent door lock system
CN204302733U (en) A kind of ON-OFF control circuit based on touch controlled key
CN207937526U (en) Power-fail detection circuit on charging pile
CN105138099B (en) Isolation circuit for solving overlarge voltage drop
CN201289453Y (en) Soft closedown circuit
CN201733130U (en) Power supply management module circuit
CN206878493U (en) A kind of power-saving circuit
CN204481727U (en) Induction type alignment circuit
CN205017365U (en) Computer uses condition monitoring ware
CN204668911U (en) A kind of voltage protection circuit
CN205680047U (en) A kind of Intelligent Single-Chip Based reset control circuit
CN204718643U (en) A kind of green house of vegetables humiture transfinites comprehensive alarm device
CN204378606U (en) A kind of voice-control is intelligent baby bed
CN205070961U (en) Time switch circuit of low -power consumption for electric light
CN103347348A (en) Solar LED streetlight controller
CN220691389U (en) Dormancy awakening integrated control circuit and electronic equipment
CN204631462U (en) A kind of can the desktop clock of the autonomous dormancy of acoustic control
CN209092532U (en) Ear canal inflammation auxiliary therapeutic instrument

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160420

Termination date: 20161102

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