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.

How to build music tone using 89s51?(play monophonic music)

Status
Not open for further replies.

thomgun_lc

Member level 5
Joined
Jun 29, 2004
Messages
80
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
911
I want to build tone, so i can make a sound (ex:door bell which can playing monophonic music)How to do that?What timer should i use?both?Should i use data pointer?I only can build single tone ex:400Hz tone.Can anybody show me how to program in assembly mode?
 

Re: How to build music tone using 89s51?(play monophonic mus

Hi,
this might help
Circuit Cellar Magazine , Sept 2004
Microcontroller-Driven Sound Effects, by Praveen Deshpande & Prajakta Deshpande, p. 62

Code file attached with this message downloaded from circuit cellar ftp.
 

Re: How to build music tone using 89s51?(play monophonic mus

I have done these with Cypress Psoc. For 8951, it's not easy since there are only limited timer to use. You need to generate frequency and keep that some period.
 

Re: How to build music tone using 89s51?(play monophonic mus

Hi,



It's using PIC and C, but it provide a good background information on how to generate specific frequency tone and use to generate music.
Hope you can get some idea from it for your specific uC implementation.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top