thats not really great advice, not all arduinos have a resistor on pin 13 (mine doesnt) yes you need one
So R being in ohms, I need a 5000 ohm resistor to protect my piezo which can handle only 1ma
Is that right?
I thought you just said you didn't need a resistor with a pot though?Not sure I understand your question. I'm proposing instead of using a fixed series resistor, use a 5k pot wired as a variable resistor that you can use to adjust for desired volume.I posted the datasheets above. They don't make any mention of a resistor.
my little piezo there can only handle 1ma
V = 5v because that's what's coming out of the pin.So, if ohms law says R = V / I then: 5 / .001 = 5000So R being in ohms, I need a 5000 ohm resistor to protect my piezo which can handle only 1ma, from my 5v source which can safely put out up to 40ma.
Where is Grumpy_Mike when you need him?