Abstract-In the process of measuring the well depth and temperature, due to the uncertainty of the air density in the well, and the different reflection ability of different impedance of the material on the sound wave, the metrical error is usually large. In this paper, we designed the temperature control system based on STC89C52 Single Chip Microcomputer (SCM) and DS18B20 chip, which used the DS18B20 temperature sensor to measure the well temperature and transmitted the temperature to the single chip microcomputer. Furthermore, we used the ultrasound to simulate infrasound to measure the well depth, realizing the temperature data acquisition, reading, processing, LCD1602 display, and the design of the alarm system for well depth, enhancing the precision of parameter measurement, ensuring the stable operation of well control system.