A piezoelectric sensor is a device that uses the piezoelectric effect to detect changes in pressure, acceleration, temperature, strain, or force by converting them to an electrical charge. A piezoelectric disc generates voltage when deformed. The converse is also true; when voltage is applied, the piezoelectric material distorts. If attached to a metal diaphragm, it becomes a kind of speaker that can be used to create a high-pitched tone. All Electronics carries both non-encased and encased piezo elements in various sizes and ratings.