Two effects which are closely related to pyroelectricity are ferroelectricity and piezoelectricity.  Normally materials are very nearly electrically neutral on the macroscopic level. However, the positive and negative charges which make up the material are not necessarily distributed in a symmetric manner. If the sum of charge times distance for all elements of the basic cell does not equal zero the cell will have an electric dipole moment (a vector quantity). The dipole moment per unit volume is defined as the dielectric polarization. If this dipole moment changes with the effect of applied temperature changes, applied electric field, or applied pressure, the material is pyroelectric, ferroelectric, or piezoelectric, respectively.
The ferroelectric effect is exhibited by materials which possess an electric polarization in the absence of an externally applied electric field such that the polarization can be reversed if the electric field is reversed.  Since all ferroelectric materials exhibit a spontaneous polarization, all ferroelectric materials are also pyroelectric (but not all pyroelectric materials are ferroelectric).
The piezoelectric effect is exhibited by crystals (such as quartz or ceramic) for which an electric voltage across the material appears when pressure is applied. Similar to pyroelectric effect, the phenomenon is due to the asymmetric structure of the crystals that allows ions to move more easily along one axis than the others. As pressure is applied, each side of the crystal takes on an opposite charge, resulting in a voltage drop across the crystal.
Pyroelectricity should not be confused with thermoelectricity: In a typical demonstration of pyroelectricity, the whole crystal is changed from one temperature to another, and the result is a temporary voltage across the crystal. In a typical demonstration of thermoelectricity, one part of the device is kept at one temperature and the other part at a different temperature, and the result is a permanent voltage across the device as long as there is a temperature difference. Both effects convert temperature change to electrical potential, but the pyroelectric effect converts temperature change over time into electrical potential, while the thermoelectric effect converts temperature change with position into electrical potential.