The Mine Intrinsically Safe Borehole Drilling Orienteer is a new portable device for intelligent measurement of drilling rig posture. With built-in high precision gyroscope and acceleration sensor, the device can measure the azimuth angle and tilt angle of the drilling rig through the high precision gyroscope and accurately position the selected holing location of the drilling rig. The measurement process is not affected by geomagnetic and ferromagnetic materials, which overcomes the problem of inaccurate measurement caused by magnetic materials such as drilling rig, steel mesh and anchor bolt in traditional address compass measurement. The angle compensation algorithm is adopted, which overcomes the defect of large azimuth error of similar equipment when the tilt angle is greater than 85o, and realizes the accurate measurement of azimuth angle and tilt angle within the range of full title angle.