In the figure we have a circuit to excite a piezoelectric capsule taking advantage of its resonant frequency. The circuit is from a Poptronics and the transistor is general purpose.