In many applications like vehicle control, medical applications, robotic movement control, etc.; distance measurement of an object is used. This can be done using a variety of sensors- Ultrasonic, IR, radar, laser, etc. Measurement using ultrasonic sensors is the cheapest and its reliability among several others is very high. In this paper we discuss the uses of these sensors in small robot applications and compare them for a small automobile prototype using controller, to provide an output for automatically finish work without any human interaction. Here we use AI (Artificial Intelligence) and IOT (Internet of Things) concept in this proposed system.