scroobieha
New Member
- Joined
- Aug 8, 2009
- Messages
- 1
- Reaction score
- 0
- Points
- 1
I have a microcontroller connected to piezo buzzer. The buzzer uses at max 150ma. My microcontroller can only source 20ma. Furthermore I want to power the buzzer with 9v, instead of the 5v the microcontroller is running at. The obvious solution here is to run the buzzer through a transistor.
My problem is, the transistor can only handle 100mw of power, which since the buzzer is running at 9v, is clearly not enough.
If I put an appropriately rated resistor (120ohms or so) inline with the transistor and buzzer, will the resistor soak up the power that could burn out the transistor? Seems to me not, in that >100mw will still be flowing through the transistor?
My problem is, the transistor can only handle 100mw of power, which since the buzzer is running at 9v, is clearly not enough.
If I put an appropriately rated resistor (120ohms or so) inline with the transistor and buzzer, will the resistor soak up the power that could burn out the transistor? Seems to me not, in that >100mw will still be flowing through the transistor?