Abstract:After careful analysis of the MWD system works, given the specific methods of measurement-while-drilling stance. And use the STM32F103RET7 and LSM303 completed the design of the core circuit. Complete data acquisition and processing work. Finally, the host computer Labview program to achieve real-time display of data. The experiments show that the designed in this paper embedded with measurement while drilling system with high integration and high accuracy.