Can anyone help me with codes for a simple obstacle and avoidance robot project.Am using Arduino uno board,12 V unipolar motors,Ultrasonic sensors(HC SR04).First i have to start the robot by a switch button and I just want my design to turn right if an obstacle is 20cm away(without stopping,just decreasing its speed) and continue to move forward.AM NOT USING A SERVO MOTOR.God bless u in advance!!!