In this article, we’re going to learn how to detect vibration with the Arduino using shock sensors and knock sensors. Accelerometers are the most accurate way to detect vibration, and we’ll learn about them in another article. But for some projects, you don’t need such high accuracy. Shock sensors and knock sensors can be used to detect closing doors, excessive vibration in machinery, or collisions in remote controlled vehicles.