Piezo Vibration Sensor Hookup Guide

Pages
Contributors: jimblom
Favorited Favorite 14

Introduction

Piezo sensors are flexible devices that generate electric charge when they’re stressed. This characteristic makes piezos an ideal solution for low-power flex, touch, and vibration sensing. In more advanced applications, piezos can be the foundation for energy harvesting. Piezo's are the perfect sensor for catching when your fridge is running or as the power source for energy harvesting shake-lights.

Piezo Vibration Sensor - Large

Piezo Vibration Sensor - Large

SEN-09196
$5.50
Piezo Vibration Sensor - Small Horizontal

Piezo Vibration Sensor - Small Horizontal

SEN-09198
$9.95
2
Piezo Vibration Sensor - Small Vertical

Piezo Vibration Sensor - Small Vertical

SEN-09199
$9.95
Piezo Vibration Sensor - Large with Mass

Piezo Vibration Sensor - Large with Mass

SEN-09197
$6.50

Piezo's have the potential to produce very large AC voltage spikes -- ranging upwards of ±50V. Because they produce such high voltages, large resistors are often used to “load down” the piezo sensor in vibration-sensing applications. Zener diodes can also be used to clamp voltages down to safe levels.

Suggested Materials

This tutorial serves as a quick primer on piezo vibration sensors, and demonstrates how to hook them up and use them. Beyond the sensor, the following materials are recommended:

Arduino Uno -- We'll be using the Arduino's analog-to-digital converter to read in the voltage produced by the piezo sensor. Any Arduino-compatible development platform -- be it a RedBoard, Pro or Pro Mini -- can substitute.

Resistor Kit -- To dampen the piezo sensor's AC voltage spikes, a large load resistor -- somewhere around 1MΩ -- is used. This resistor kit includes multiple 1MΩ's, in case you want to combine a few in series.

Breadboard and Jumper Wires -- The piezo sensor's legs are spaced by 0.2" and are breadboard compatible. We'll stick them and the resistor into a breadboard, then use the jumper wires to connect from breadboard to Arduino.

Resistor Kit - 1/4W (500 total)

Resistor Kit - 1/4W (500 total)

COM-10969
$8.95
188
SparkFun RedBoard - Programmed with Arduino

SparkFun RedBoard - Programmed with Arduino

DEV-13975
$21.50
49
Breadboard - Self-Adhesive (White)

Breadboard - Self-Adhesive (White)

PRT-12002
$5.50
48
Jumper Wires Standard 7" M/M - 30 AWG (30 Pack)

Jumper Wires Standard 7" M/M - 30 AWG (30 Pack)

PRT-11026
$2.45
20

Suggested Reading

Piezos are an great entry-level component for beginners, but there are still a few basic electronics concepts you should be familiar with. If any of these tutorial titles sound foreign to you, consider skimming through that content first.

Analog to Digital Conversion

The world is analog. Use analog to digital conversion to help digital devices interpret the world.

What is an Arduino?

What is this 'Arduino' thing anyway? This tutorials dives into what an Arduino is and along with Arduino projects and widgets.

Analog vs. Digital

This tutorial covers the concept of analog and digital signals, as they relate to electronics.

Alternating Current (AC) vs. Direct Current (DC)

Learn the differences between AC and DC, the history, different ways to generate AC and DC, and examples of applications.