I have a buzzer with an internal resistance of 16.5 Ohms, which I have used with an Arduino and it worked fine, so I assume it is 5V.
Can I connect a buzzer to the GPIO pins without a transistor, or would it damage the pins?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.
Sign up to join this communityI have a buzzer with an internal resistance of 16.5 Ohms, which I have used with an Arduino and it worked fine, so I assume it is 5V.
Can I connect a buzzer to the GPIO pins without a transistor, or would it damage the pins?
The maximum safe current from a GPIO pin is only 16mA
3.3v/16.5Ω would be ~200mA, so No. Definitely not safe
You would need to add a series resistor of 190Ω or more to make it safe to connect and then the voltage across the buzzer will be only 0.26V, so very very quiet