I've looted this speaker from my old PC and trying to understand how to connect it to Arduino to produce simple sound notification (and not fry anything in the process).
As far as I understand this is a piezo speaker, there is no markings on it. Here is how it looks:
How do I connect\control it?
Should I connect it to PWM pin? If so, what are the safe values to output on PWM pin?
Should I use resistor when connecting speaker? What resistor should I use?