Use HC-SR04 Ultrasonic Sensor to move a motor

It was The Communication between computer and that was The problem There.

What about The problem with The stepper not moving right? Any ideas for a solution?