I have a piezo buzzer driven directly from Arduino pin, thus feeding it with 5 V. I need to make the sound louder. Max operating voltage of this buzzer is 30 V. I built a transistor circuit and connected buzzer to the colector part fed by 12V and connected both grounds. Result: no sound at all. The circuit is correct - verified with blink LED example.
Why the buzzer does not make any sound? Is it the transistor (BC547) not able to switch on/off fast enough to make a wave to drive the buzzer?
If the piezo is connected directly to pin 8, it works.
If I replace the piezo in shown circuit with LED+resistor and upload Blink example, LED flashes.