The study aims to apply a wireless sensor network in the field of electromagnetic wave transmission and mechanical fault prediction. A wireless short-range communication system for underground electromagnetic wave transmission is proposed based on the principle of electromagnetic induction and underground short-range wireless communication. And in the light of the principles of scattering transform and a wireless sensor network, the mechanical fault is predicted. A wireless sensor network detects and monitors mechanical faults and extracts fault features, while it predicts mechanical faults based on the signal processing of scattering transform. The relationship between EMF (Electromotive Force) of receiving coil and carrier frequency under different dielectric conductivity is analysed by MATLAB (Matrix & Laboratory). The results show that the induced voltage first increases and then decreases with the increase of frequency under different conductivity conditions, and the optimal carrier frequency decreases with the increase of conductivity. Under the non-noise condition, the accuracy of the scattering change method used is more than 99%, which is higher than that of the other three feature extraction methods. On different training sets, the classification performance of LSTPSVM (least squares projection double support vector machine) is higher than that of SVM (support vector machine) and PSVM (probabilistic support vector machine). The proposed wireless communication system has the ability to choose the best carrier frequency. With the increase of carrier frequency, the BER (symbol error rate) first increases and then decreases, and can effectively suppress other frequency components in the signal, extract the characteristics of periodic fault signal, so as to achieve the purpose of feature extraction. The results show that the wireless sensor network and the scattering transformation results can effectively predict the mechanical failure, and the wireless short-range communication technology can be effectively used in underground electromagnetic wave transmission.