I need to make a smart cane for blind people

I want to make a device that uses an ultrasonic sensor and a motion sensor and a vibrating motor. So I want the vibrating motor’s vibration to intensify the closer an object gets to the ultrasonic sensor and motion sensor.

Here’s a project doing the same story of thing