In this paper,an automatic obstacle evading vehicle based on single-chip microcomputer and infrared sensor is designed.The vehicle includes the frame,the central control module,the power supply module,the sensing module,the motor driving module,and so on.The central control module selects and uses AT89C52 single-chip microcomputer,the driving module adopts the L293D driving chip,and the sensing module adopts infrared sensor.The experiment results show that the so-designed vehicle can evade obstacles successfully.