Tell me more ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

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 gpio without a transistor, or would it damage the pin?

share|improve this question
How could I know? I remember using that buzzer with an arduino and it worked fine, so I assume it is 5v. – Euphorbium Aug 8 '12 at 11:12

1 Answer

up vote 6 down vote accepted

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

share|improve this answer
V=IR and all that... – Alex Chamberlain Aug 8 '12 at 11:46
Could @Euphorbium add a series resisitor? I don't know how buzzers work... – Alex Chamberlain Aug 8 '12 at 11:46
@AlexChamberlain, the buzzer would be very very quiet by the time the resistor was big enough – gnibbler Aug 8 '12 at 11:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.