EasyManua.ls Logo

Elego 37 SENSOR KIT - Page 44

Default Icon
137 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Http://www.elego.cc
44 / 137
(1) x USB cable
(1) x Active buzzer module
(1) x Passive buzzer module
(x) x F-M wires
Component Introduction
Active Buzzer:
As a type of electronic buzzer with integrated structure, buzzers, which are supplied by DC
power, are widely used in computers, printers, photocopiers, alarms, electronic toys,
automotive electronic devices, telephones, timers and other electronic products for voice
devices. Buzzers can be categorized as active and passive ones (see the following picture).
Turn the pins of two buzzers face up, and the one with a green circuit board is a passive
buzzer, while the other enclosed with a black tape is an active one.
The difference between an active buzzer and a passive buzzer is:
An active buzzer has a built-in oscillating source, so it will make sounds when electrified. But
a passive buzzer does not have such source, so it will not tweet if DC signals are used;
instead, you need to use square waves whose frequency is between 2K and 5K to drive it.
The active buzzer is often more expensive than the passive one because of multiple built-in
oscillating circuits.
Passive Buzzer:
Passive buzzer, in fact, just use PWM generating audio, drives the buzzer, allowing the air to
vibrate, can sound. Appropriately changed as long as the vibration frequency, it can
generate different sound scale. For example, sending a pulse wave can be generated
523Hz Alto Do, pulse 587Hz can produce midrange Re, 659Hz can produce midrange Mi. If
you then with a different beat, you can play a song. Here be careful not to use the Arduino
analog Write () function to generate a pulse wave, because the frequency analog Write ()
is fixed (500Hz), no way to scale the output of different sounds.
Distinguish between Active and Passive Buzzer
Teach you to distinguish between active and passive buzzer
Now a small buzzer on the market because of its small size (diameter of only ll mm), light
weight, low price, solid structure, and is widely used in a variety of needs audible electrical