This paper takes the wheeled line-tracking robot as the investigative object and the realization of intelligent control as the target, bases on SCM STC12C5A60S2, make the design of line-tracking robots soft hardware, and the line-tracking algorithm emphasis, presents a new method in PID control, and combining straight-line acceleration and channel bend modification, The experimental result shows that this line-tracking robot meets the design requirements with rapid moving and stability.