MIKROE-1153 mikroElektronika, MIKROE-1153 Datasheet - Page 32

no-image

MIKROE-1153

Manufacturer Part Number
MIKROE-1153
Description
Development Boards & Kits - PIC / DSPIC EASYPIC v7 dsPIC30 DEVELOPMENT SYSTEM
Manufacturer
mikroElektronika
Datasheet

Specifications of MIKROE-1153

Rohs
yes
Product
Development Kits
Tool Is For Evaluation Of
dsPIC30 MCUs
Core
dsPIC
Interface Type
CAN, RS-232, USB
Operating Supply Voltage
3.3 V, 5 V
Dimensions
266 mm x 220 mm
page 32
Figure 19-1: Piezo
buzzer connected to RD0
microcontroller pin
Freq = 3kHz, Duty Cycle = 50%
Freq = 3kHz, Duty Cycle = 80%
Freq = 3kHz, Duty Cycle = 20%
PERSPECTIVE
PERSPECTIVE
PERSPECTIVE
by generating a PWM (Pulse Width Modulated) signal – a square wave
VIEW
VIEW
VIEW
VIEW
VIEW
VIEW
TOP
TOP
TOP
by transistor Q6 (Figure 19-1). Microcontrollers can create sound
PERSPECTIVE
is determined by the position of J12 jumper. Buzzer is driven
VIEW
VIEW
TOP
Freq = 3kHz,
Volume = 50%
Freq = 3kHz,
Volume = 80%
Freq = 3kHz,
Volume = 20%
connected either to RD0 or RA11 microcontroller pins, which
v7 for dsPIC30® comes with piezo buzzer which can be
when provided with analog electrical signal. EasyPIC
BUZZER
BUZZER
BUZZER
and sizes, which can be used to create sound waves
is an electric component that comes in different shapes
BC846
BC846
BC846
sound generators, called piezo buzzers. Piezo buzzer
PZ1
PZ1
PZ1
BUZZER
applications of piezo electricity is the production of
physically deform. One of the most widely used
Q6
Q6
Q6
BC846
charge to the piezoelectric material causes it to
PZ1
Piezo Buzzer
to mechanical pressure, but also providing the
Piezo
accumulates in certain solid materials in response
Q6
VCC-5V
VCC-5V
VCC-5V
VCC-5V
How to make it sing?
Buzzer starts "singing" when you provide
PWM signal from the microcontroller
to the buzzer driver. The pitch of the
sound is determined by the frequency,
and amplitude is determined by the
duty cycle of the PWM signal.
electricity
R23
1K
R23
1K
R23
1K
R23
1K
R24
10K
is
the
BUZZER
R24
10K
R24
10K
R24
10K
DATA BUS
charge
BUZZER
BUZZER
BUZZER
DATA BUS
DATA BUS
DATA BUS
J12
RA11
which
RD0
J12
J12
signal, which is nothing more than a sequence of logic zeros
and ones. Frequency of the square signal determines the pitch
of the generated sound, and duty cycle of the signal can be
used to increase or decrease the volume in the range from 0%
to 100% of the duty cycle. You can generate PWM signal using
hardware capture-compare module, which is usually available
in most microcontrollers, or by writing a custom software
which emulates the desired signal waveform.
Supported sound frequencies
Piezo buzzer’s resonant frequency (where you can expect it's
best performance) is 3.8kHz, but you can also use it to create
sound in the range between 2kHz and 4kHz.
RA11
RA11
RA11
Enabling Piezo Buzzer
In order to use the on-board Piezo Buzzer in
your application, you first have to connect the
transistor driver of piezo buzzer to the appropriate
microcontroller pin. This is done using jumper J12.
You can place the jumper in two positions, thus
connecting the buzzer driver to either RD0 or RA11
microcontroller pin.
RD0
RD0
RD0
Figure 19-2:
Use jumper
J12 to
connect
Piezo buzzer
on RD0 or
RA11 pin
EasyPIC
for dsPIC30
®
v7

Related parts for MIKROE-1153