Editor’s Note: This post was enhanced and co-written by Artificial Intelligence to showcase the technical depth of the project.
Vibration is the heartbeat of machinery. Every rotation, every oscillation tells a story about the health and efficiency of a system. But capturing that story often requires expensive, proprietary equipment. What if we could unlock these insights using open-source hardware and Python?
This project, the Mechanic Vibration Analyser, explores exactly that: a low-cost, high-precision system built on a Raspberry Pi and an MPU6050 accelerometer to measure, visualize, and analyze mechanical vibrations in real-time.
At the core of this experiment is the MPU6050, a 6-axis motion tracking device that combines a 3-axis gyroscope and a 3-axis accelerometer. Connected to a Raspberry Pi 3B+, this sensor becomes a powerful edge device capable of detecting minute changes in acceleration.
The goal? To study the vibratory behavior of a household appliance—specifically, a White-Westinghouse CL/311 dryer (45.5 kg)—and evaluate the effectiveness of vibration damping solutions.
The software stack was designed for flexibility and real-time feedback. You can find the full source code on GitHub.
Key features include:
matplotlib to visualize x, y, and z-axis acceleration as it happens.sockets allows the Pi to sit on the vibrating machine while data is streamed wirelessly to a master computer.We subjected the washing machine/dryer to a forced vibration study. The machine operates with a periodic rotary motion, generating a sinusoidal force profile. By introducing vibration isolation mounts, we aimed to decouple the machine from its base.
The results were visualized using the system:
Figure 1: Vibration acceleration attenuation comparing rigid vs. isolated mounting.
The data revealed a clear decoupling effect. While the machine’s internal behavior remained largely unchanged, the energy transmitted to the floor was significantly reduced. This “insertion loss” proves that even simple, accessible damping systems can effectively mitigate environmental noise and structural stress.
Figure 2: Measured attenuation in decibels.
This project demonstrates that sophisticated vibration analysis doesn’t need to be inaccessible. With a Raspberry Pi and some Python code, we can replicate industrial monitoring systems, allowing for predictive maintenance and structural health monitoring right from a home garage.
For a deep dive into the physics and math behind this study, check out the full academic paper: