Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/07/06 16:33
Read: times


 
#125962 - to generate tone of octave(8keys)with 89c51
Responding to: ???'s previous message
Sir,

Could you assist me in developing a code(.asm) for

tone generation with 8051/89C51 microcontroller
well would be using the 8051 development board
well th concept to generate tones of octaves
i.e port0 would be the 8(just for 1 octave)push button
Sir,

Could you assist me in developing and sending a code(.asm) for

tone generation with 8051/89C51 microcontroller
well would be using the 8051 development board
well th concept to generate tones of octaves
i.e port0 would be the 8(just for 1 octave)push button
keys as the input and port1 or port2 as o/p
i.e the amplifier circuit to speaker.....
once key is pressed and recognized its corresponding
count (audio note frequency) is given to timer section
of 8051 to give a square wave to speaker.
octaves(combination of musical notes with 8 keys[not
necessary a matrix])

program logic
1.look up table for mapping the count of audio freq's
of keys
2.key debouncing
3.key pressed then map the count frm look up table
4.give to timer section of 8051 at 12mhz to get the
o/p

I would be grateful to the earnest reply.....

sandy51


List of 20 messages in thread
TopicAuthorDate
problem with delays            01/01/70 00:00      
   Omitted pull-ups at Port 0?            01/01/70 00:00      
      No, it's pulled high            01/01/70 00:00      
         You should see the connection...            01/01/70 00:00      
   could it be your approach?            01/01/70 00:00      
   p0 initialised as input port            01/01/70 00:00      
   post the WHOLE code            01/01/70 00:00      
   WHOLE code            01/01/70 00:00      
      Try this            01/01/70 00:00      
   WHOLE code            01/01/70 00:00      
      Assuming that the external pullups are not working            01/01/70 00:00      
         why is the delay not being excecuted?            01/01/70 00:00      
            HOW DO YOU KNOW            01/01/70 00:00      
               Through debugging            01/01/70 00:00      
                  I know nothing about keil debugger            01/01/70 00:00      
                     make code that resembles the flowchart and you wil            01/01/70 00:00      
      whole?            01/01/70 00:00      
         Ashwins stack handling is totally unsuited!            01/01/70 00:00      
      to generate tone of octave(8keys)with 89c51            01/01/70 00:00      
         sandy please start a new thread            01/01/70 00:00      

Back to Subject List