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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/29/05 06:13
Read: times


 
#90576 - Not at all!
Responding to: ???'s previous message
Sushil Raut said:
... in PWM mode, it is not possible to generate audio tones of different frequency viz., 250 Hz, 500 Hz and 1 kHz (which i intend to generate).


No, that's not it at all!

If all you need to do is to vary the frequency, then you don't need PWM at all! You just need a simple frequency divider.

If you want to vary both the frequency and the volume (amplitude) of the tone, then PWM can give you the amplitude variation, but not the frequency variation.

To get variable frequency and amplitude, you need to vary the divider value to give the required frequency, and then Pulse-Width Modulate that signal.





List of 19 messages in thread
TopicAuthorDate
PWM generation using microcontroller            01/01/70 00:00      
   Whats your intention.            01/01/70 00:00      
      PWM generation using microcontroller            01/01/70 00:00      
         Freq. or duty cycle or both ?            01/01/70 00:00      
         PWM?            01/01/70 00:00      
            Amplitude?            01/01/70 00:00      
               Amplitude control by PWM            01/01/70 00:00      
                  I agree...            01/01/70 00:00      
                     Back to the question            01/01/70 00:00      
                     Remote hugging..            01/01/70 00:00      
                        Sorry guys...            01/01/70 00:00      
                           PWM generation using microcontroller            01/01/70 00:00      
                              Not at all!            01/01/70 00:00      
   Varying both frequency and duty cycle.            01/01/70 00:00      
   possibly this way            01/01/70 00:00      
      thanxs but..................            01/01/70 00:00      
         PWM and frequency            01/01/70 00:00      
            This thread is fuzzy because            01/01/70 00:00      
         Both frequency and amplitude? Yes!            01/01/70 00:00      

Back to Subject List