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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/06/06 16:49
Read: times


 
#121751 - Yes, but...
Responding to: ???'s previous message
Leonardo said:
The correct way to drive a buzzer is using a transistor. You can use any PNP or NPN with hFE higher than 100 (a BC547 or BC557 would fit).

Not necessarily. If the buzzer is a piezo you don't need a transistor.

Leonardo said:
Using a NPN transistor: connect a 10k resistor between to the port pin of the MCU and the transistor's base. The emitter goes to ground and the collector is tied to the buzzer(-). The buzzer(+) is tied directly to +5V (no resistor is needed).

Using a PNP transistor: connect a 10k resistor between to the port pin of the MCU and the transistor's base. The emitter goes to +5V and the collector is tied to the buzzer(+). The buzzer(-) is tied to GND (no resistor is needed).

Yes, but if the buzzer contains a coil, then you should add a free wheeling diode!

Again, we should exactly know what type of buzzer Eugene is using, first.

Kai

List of 40 messages in thread
TopicAuthorDate
Does logic "low" represent 0V?            01/01/70 00:00      
   The diagram does not work            01/01/70 00:00      
      What current are we talking about?            01/01/70 00:00      
      More details needed!            01/01/70 00:00      
   Using a transistor            01/01/70 00:00      
      Yes, but...            01/01/70 00:00      
         bear in mind            01/01/70 00:00      
            Of course, but...            01/01/70 00:00      
         forgot to mention: cookbook was for a piezo buzzer            01/01/70 00:00      
            In such a case...            01/01/70 00:00      
      Low hissing sound            01/01/70 00:00      
         Try            01/01/70 00:00      
            Circuit details and summary of my problem            01/01/70 00:00      
               either a mistype or connecting the buzzer the wron            01/01/70 00:00      
                  Update            01/01/70 00:00      
                     Please do as I have asked: connect the buzzer            01/01/70 00:00      
               What you tell is confusing...            01/01/70 00:00      
                  As mentioned by Kai Klaas            01/01/70 00:00      
                     Do not 'believe' MEASURE and be sure            01/01/70 00:00      
               Solving buzzer problem            01/01/70 00:00      
   Barbecue?            01/01/70 00:00      
   Type of buzzer            01/01/70 00:00      
      who knows how much power, how big spikes            01/01/70 00:00      
      Again...            01/01/70 00:00      
         Yeah            01/01/70 00:00      
            Try this!            01/01/70 00:00      
               just guessing            01/01/70 00:00      
                  guessing the current is below 5A...            01/01/70 00:00      
                     then what if it is 1uA            01/01/70 00:00      
                        Sorry.            01/01/70 00:00      
                     We just do not want to guess!!            01/01/70 00:00      
                        Sorry.            01/01/70 00:00      
                           No need to appologize, dear Leonardo...            01/01/70 00:00      
                           not a metter of apology            01/01/70 00:00      
               Buzzer Problem Solved            01/01/70 00:00      
                  Nice to know            01/01/70 00:00      
   No longer interested, Eugene??            01/01/70 00:00      
      of course not            01/01/70 00:00      

Back to Subject List