Check out this piezoelectric transducer Circuit and learn how piezoelectric transducer produces voltage when applying a force and vice versa.