So, I sometimes like to by low-cost electronics...some would say junk...Usually these are a buck or two, sometimes less. They take a long time to arrive and I sometimes forget what and why I bought it in the frst place, but around now, they are like little holiday gifts...and better than fruitcake for the most part.
So, I bought a couple of these at US$1 each (free shipping):
Typical little piezo buzzer with some switching circuitry. When I get stuff like this, I like to check it out...test it...write a couple notes...bag it, label it, and stick it in a drawer...where I hope I will find it when I want.
There are four components:
The Buzzer
SMT resistor marked 510 (R2) - that's 51 Ohms
SMT resistor marked 101 (R1) - that's 100 Ohms
SMT transistor marked J3Y - that's an NPN with an Hfe=120+
I traced out the circuit (had to remove the buzzer), and this is what I saw...
Unless I am missing something fundamental, the value of R2 is WAY too low to be safely driven by an MCU GPIO. I believe it is simply a mistake. I don't have any 3.3 MCU IO that can source ~65 ma or any 5V MCU IO that can source ~98 mA.
I can still use them and if I connect a 470 ohm resistor (or higher) to the GPIO and then to the I/O pin on the board, it works fine. I think someone simply made a mistake.
So, I bought a couple of these at US$1 each (free shipping):
Typical little piezo buzzer with some switching circuitry. When I get stuff like this, I like to check it out...test it...write a couple notes...bag it, label it, and stick it in a drawer...where I hope I will find it when I want.
There are four components:
The Buzzer
SMT resistor marked 510 (R2) - that's 51 Ohms
SMT resistor marked 101 (R1) - that's 100 Ohms
SMT transistor marked J3Y - that's an NPN with an Hfe=120+
I traced out the circuit (had to remove the buzzer), and this is what I saw...
Unless I am missing something fundamental, the value of R2 is WAY too low to be safely driven by an MCU GPIO. I believe it is simply a mistake. I don't have any 3.3 MCU IO that can source ~65 ma or any 5V MCU IO that can source ~98 mA.
I can still use them and if I connect a 470 ohm resistor (or higher) to the GPIO and then to the I/O pin on the board, it works fine. I think someone simply made a mistake.