Abstract:This paper introduces the design of dehumidifier based on single-chip microcomputer,offers the system diagram,analyses the working process of the compressor and the condensate pump of dehumidifier through the state diagram,and offers the part of source program of the compressor and the condensate pump.The design has been verified and has good performance.