At 01:11 AM 8/11/97 -0700, Andre Abelian wrote: >HI PIC Engineers. > >I am using pic16c62 portb as output >I am driving LEDS and one buzzer. >Buzzer gets distorted signal. >I checked with digital scope I get this > > > > > >-----------------|-|--------------- > | | > | | > | | > | | > |_| > > > I use BSF portb,RB3 ; sound when is high > > >My question is when you set any bit high shouldn't I get >clean 5 v signal or to have little distortion is normal. > >How do you use buzzers with pics. > > > thank you > >Andre > Make sure you aren't exceeding the capacitance loading for the particular part you are using. If its a piezo buzzer it likely has a high capacitance across it. I've run into this and found was able to get a higher sound level by putting a resistor in series with the buzzer. I think I used 150 ohm. The buzzer I used required me to clock out a 2khz signal. Regards, ------------------------------------ | Jeff King Aero Data Systems | | jeff@mich.com P.O. Box 510895 | | (810)471-1787 Livonia, MI 48151 | |F(810)471-0279 United States | ------------------------------------