In this study, we converted the Sanyang Motorcycle (Mio110,) into a four-wheel vehicle, retain the original frame and engine power unit as the rear-wheel system. This paper has developed a steering mechanism and edge tracing autonomous control system. Such a vehicle can move at a speed of 5KM and automatic obstacle avoidance, In the future, we will add an auto-cleaning agencies in this vehicle and change front wheel to a hub motor, so that can become a garden automatically clean up and the gasoline-electric hybrid robot. In this thesis, PIC18F4520 was used as the controller, and ultrasonic sensor were fixed around the vehicle as the edge tracing and obstacle avoidance sensors. According the feedback signal from surrounding sensors, the control system will drive the vehicle move along the road edge and obstacle avoidance.