Android deep exploration and HAL-driven development (Volume 1)-Chapter 8: android-driven development

Source: Internet
Author: User

Android deep exploration and HAL-driven development (Volume 1)-Chapter 8: android-driven development
Buzzer type and working principle

The buzzer also becomes PWM (Pulse Width Modulation). The basic principle is to control the opening and stopping of the buzzer through the pulse. It is a very effective technology that uses the digital output of a microcontroller to control analog circuits. It is widely used in many fields such as measurement, communication, power control and transformation.
Therefore, we need to operate the buzzer by setting TOUT [0] pin to TOUT_0 and configuring the PWM waveform.

Type

The buzzer is mainly divided into two types: piezoelectric buzzer and electromagnetic buzzer.
The piezoelectric buzzer is mainly composed of multi-harmonic oscillator, piezoelectric beeching, impedance matching, co-occurrence box, and shell. Some piezoelectric buzzer shells are also equipped with light emitting diodes. A multi-harmonic oscillator consists of a transistor or an integrated circuit. After power-on (1.5 ~ 15 v dc operating voltage), multi-harmonic oscillator vibration, output 1.5 ~ Khz audio signal, impedance matching to promote the sound of piezoelectric beeps.

The electromagnetic buzzer consists of an oscillator, an electromagnetic coil, a magnet, a vibrating diaphragm, and a shell. After the power is switched on, the audio signal current generated by the oscillator passes through the electromagnetic coil to generate a magnetic field. The vibration diaphragm periodically vibrates and sounds when the electromagnetic coils and magnets interact.

Differences between the active and passive BUZZER: the word "Source" refers to the power supply, but to the shock source, that is, the active buzzer contains an oscillating source, and the passive buzzer does not have an internal oscillating source. If the source is powered on, the system can generate a voice. if the source is not oscillating, the system must be driven by a pulse signal.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.