EV3 Programming: Moving and Turning CONFIDENTIAL © 2014 Cymer, LLC
Review of last session Remind me… What was that about? Let’s Motor! Why are motors important? What is programming? What is a program? Connecting to the robot Moving the robot Turning the robot Review EV3 Programming Moving and Turning
Review of Last Session
Let’s Motor!
Connecting to the Robot You can connect via USB cable, or… You can connect via Bluetooth… But only connect to your robot!! Click here to see connection options
Programming the Robot to Move In the Green section (Actions), click Move Tank and add it to the program The Move Tank block controls the motors on the robot that drive the wheels.
Programming the Robot to Move Changing the settings of the Move Tank block How motors are controlled Speed of left motor Speed of right motor # seconds, degrees, or rotations Brakes? Or no brakes?
Move the robot at different speeds. Leave it on On for Rotations. Does changing the speed change the distance traveled? Now change Motor Control to On for Seconds. Does changing the time change the distance traveled? Try different amounts of time. (10 seconds, 15 seconds, etc.) Let’s Explore!!
Turning the Robot 3 Different Methods
Turn both wheels at different speeds. The robot will turn in the direction of the slower wheel. Change motor speeds so one is 10 and the other is 80. Turning the Robot: Method 1 wall.e
Turn both wheels in opposite directions. The robot will pivot on its center. Change motor speeds to 50 and -50. Turning the Robot: Method 2 wall.e
Only turn one wheel. The robot will pivot on the non- moving wheel Change motor speeds to 0 and Turning the Robot: Method 3 wall.e
*Move the robot with each motor at different speeds: What happens? Why does this happen? *Move the robot with the motors at opposite speeds: What happens? Why? *Move the robot where only one wheel moves: What happens? Why? * Add more Move Tank blocks to program your robot to go straight and turn multiple times. Let’s Explore
1.How did the turning radius of each method compare to each other? Which was the smallest? Why? Which was the largest? Why? 2.How can you program the robot to continue increasing the turn radius? Is there a limit to how big the turn radius could be? Turning the Robot: Review
Thank You!!! Happy Motoring!!!