How does PZT generate electricity?
Piezoelectricity is a physical phenomenon via which mechanically stressed crystals generate potential differences. Quartz is one of these piezoelectric crystals. By squeezing and stretching it, it generates a slight electrical potential difference between its ends by rearranging its charges.