1 Reply Latest reply on Jan 27, 2014 9:56 AM by DaKn_263916

    Output the simplest way

       I want to connect a speaker of a buzzer as output. So that the speaker can produce sound. 


      The only requirment is that I want to control the frequency of sound produced, is there any simplest way to set up?

        • 1. Re: Output the simplest way

          Yes, use a timer, and APIs to set/ change its period.




          Also if using voice coil speaker, use clamp diodes on pin, or


          better yet use a single transistor buffer with a clamp on speaker.


          If you don't you will get transients on pin and blow up the part.




          If you use latter, transistor, limit its base current with an R, same


          for collector in series with speaker.




          Regards, Dana.