buzzer
The structure principle of the buzzer
(1) Piezoelectric buzzer: Piezoelectric buzzer is mainly composed of a multivibrator, a piezoelectric buzzer sheet, an impedance matcher, a resonance box, a shell, etc. Some piezoelectric buzzers are also equipped with a light-emitting diode on the shell.
The multivibrator is composed of transistors or integrated circuits. When the power is turned on (1.5~15V DC working voltage), the multivibrator starts to oscillate and outputs an audio signal of 100-500HZ. The impedance matcher drives the piezoelectric buzzer to sound.
The piezoelectric buzzer is made of lead zirconate titanate or lead magnesium niobate piezoelectric ceramic material. Silver electrodes are plated on both sides of the ceramic sheet, and after polarization and aging treatment, it is bonded to a brass sheet or a stainless steel sheet.
(2) Electromagnetic buzzer: The electromagnetic buzzer consists of an oscillator, an electromagnetic coil, a magnet, a vibrating diaphragm and a casing.
After the power is turned on, the audio signal current generated by the oscillator passes through the electromagnetic coil, causing the electromagnetic coil to generate a magnetic field. Under the interaction between the electromagnetic coil and the magnet, the vibrating diaphragm vibrates periodically and produces sound.
Buzzer sound principle
The sound-generating principle of a buzzer consists of a vibration device and a resonance device, and the buzzer is divided into passive external excitation type and active self-excitation type.
The working principle of the passive external excitation buzzer is: the square wave signal input into the resonant device is converted into a sound signal output.
The working principle of the self-excitation buzzer is: the DC power input passes through the amplification sampling circuit of the oscillation system
A sound signal is generated under the action of the resonance device.
Buzzer in microcontroller
Schematic diagram:
usage:
By changing the frequency of the waveform output by the microcontroller pin, the tone of the buzzer can be adjusted to produce sounds with different timbres and tones.
By changing the duty cycle of the high and low levels of the output level, the volume of the buzzer can be controlled.
Microcontroller controls the buzzer sound code
#include typedef unsigned char u8; typedef unsigned int u16; sbit beep = P1^5; void delay(u16 i) { while(i--); } void main() { while(1) { beep = ~beep; delay(100); } }
Previous article:51 MCU Self-study Notes (VI) - Static Digital Tube
Next article:51 MCU Self-study Notes (IV) - Lighting up LED lights and running lights
Recommended ReadingLatest update time:2024-11-16 12:25
- Popular Resources
- Popular amplifiers
- 西门子S7-12001500 PLC SCL语言编程从入门到精通 (北岛李工)
- Principles and Applications of Single Chip Microcomputers and C51 Programming (3rd Edition) (Xie Weicheng, Yang Jiaguo)
- Teach you to learn 51 single chip microcomputer-C language version (Second Edition) (Song Xuefeng)
- Hand-drawn illustrations revealing the secrets of communication circuits and sensor circuits (Mims III)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- EEWORLD University ---- Digital Integrated Circuit Analysis and Design
- The contradiction between insulation withstand voltage and ESD
- Buck Circuit
- High pass filter gain problem
- Using FPGA to realize accurate time keeping when GPS is out of step
- Does anyone have the BAP protocol in Volkswagen's CAN protocol?
- The Definitive Guide to Automotive Ethernet
- Bluetooth learning notes: analysis of example broadcast data
- (Extra 7) GD32L233 Review - FLASH Read and Write
- Live Review: New Opportunities in UWB Market on June 23