Using STC89C58 MCU as the core, through the acceleration sensor and a humidity sensor for the monitoring the displacement of underground conditions, to simply realize real-time monitoring function of the displacement of underground. Introduces the working principle and software/hardware system design. The experimental results show that, the system has stable operation, achieved the expected goals.