This document discusses using principal component analysis (PCA) to automate fault detection in rotating machinery based on vibration analysis. An experiment was conducted using a machinery fault simulator to collect vibration data under healthy, unbalanced, and misaligned conditions. PCA was then used to analyze the fast Fourier transform (FFT) data to identify patterns associated with each fault type. The results showed that PCA successfully identified and grouped the healthy, unbalanced, and misaligned conditions. Therefore, PCA has potential for automating vibration-based fault detection and reducing maintenance costs.