Mechanical vibration monitoring for rotating mechanical equipment can improve the safety and reliability of the equipment. The traditional wired monitoring technology faces problems such as high-frequency signal pickup and high-precision data collection. Therefore, this paper proposes optimization techniques for mechanical vibration monitoring and signal processing based on wireless sensor networks. First, the hardware design uses high-performance STM32 as the control center and Si4463 as the wireless transceiver core. The monitoring node uses a high-precision MEMS acceleration sensor with a 16-bit resolution ADC acquisition chip to achieve high-frequency, high-precision acquisition of vibration signals. Then, the bearing vibration signal optimization method is studied, and the sparse Bayes algorithm is proposed as a compressed sensing reconstruction algorithm. Finally, the difference in reconstruction accuracy between this method and the traditional reconstruction algorithm is compared through experiments and the effect of this method on the reconstruction performance is analyzed when different parameters are selected.