I have a piezo element that I got from a song card, it looks like the one at: https://www.sparkfun.com/products/10293, and I was wondering whether it was safe to connect to my raspberry pi without a resistor? When I do it works as a speaker (buzzer) output but I am wondering whether a piezo buzzer would be better.

1 Answer 1


Yes it is safe to connect without a resistor. As for which is better a piezo disc or buzzer. There is not much difference (one may be louder than the other for the same voltage, and the may differ in tone), but only experimenting will tell you if there is enough difference to care.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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