In this paper,we design a millimeter wave distance measuring system based on AVR micro controller and provide the structure of the hardware and the software.This distance measuring system may suffice the need of high sampling speed and signal timing processing in echo disposal.