??? 10/09/06 11:29 Read: times |
#126036 - To generate tones Responding to: ???'s previous message |
Sandy51 Aqsvn said:
does anyone know to generate tone for an octave(using 8 keys)
with AT89C51 microcontroller It is very easy, do the following: 1. You have to find the frequencies of an octave (use google to find them). 2. Use the timer(s) available in 8052 to generate these frequecies. 3. Do switch debouncing for your 8 keys and assign one frequency to each key(using lookup table). 4. Use low pass filter to convert square wave frequency to sine wave and amplify them to get good quality sound. If you do it yourself you learn alot. If you get ready made code it takes you twice as long to understand the code. Mahmood |
Topic | Author | Date |
tone generator(octaves )with 8951 | 01/01/70 00:00 | |
To generate tones | 01/01/70 00:00 | |
Speaker | 01/01/70 00:00 | |
Full details | 01/01/70 00:00 | |
Looks like a homework![]() | 01/01/70 00:00 |