This paper advances the software, hardware and mechanical design that the visually impaired can recognize the position and distance of the obstacle while walking. The first software implementation is proposed a method to implement the algorithm graph for the ratio of the distance measuring ultrasonic sensors for voltage. And it was extracted by the precise distance measuring parameter values from simulation to measure the precise distance. Second hardware implementation was designed to be able to detect obstacles in a relatively simple sensor-based walking aid for the visually impaired. In addition, using the switching regulator IC of high performance it was designed to be used to boost the Li-ion battery 3.7V to 5V. The third mechanism was developed by analyzing the sensor angle and the cane angle.