Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

generating musical notes using AT89S52 and buzzer

Status
Not open for further replies.

embeddedaebi

Junior Member level 1
Joined
Sep 9, 2012
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,373
Hello all,

I am trying to play some musical tunes through a 8051 based microcontroller. I have written the code for PWM output for different frequencies
and 50% duty cycle. When I connect the buzzer to the pin and Vcc, sound is produced but at very low volume. Moreover it is very noisy.
I have tried some circuits given on the Internet but then the buzzer doesn't sounds.
Can any one tell me how can I make this work fine?
The buzzer is HXD buzzer. I don't have the data sheet but found the following features on the net:
42 ohm
5V
2 KHz resonant frequency.

Thanx in advance.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top