Stop at Object - Group Activity

task

Add the Ultrasonic Sensor to your Robot.

You are now going to position your Robot 30 cm away from an object. Devise code that moves your Robot 20 cm towards the object, waits for 1 second and then moves a further 20 cm away from the object. (This means your Robot gets to within 10 cm of the object before moving back to the 30 cm mark!)

You MUST demonstrate your Program working to your Teacher!