SlideShare a Scribd company logo
BASIC TURNING
BEGINNER
PROGRAMMING
LESSON
Lesson Objectives
1. Learn to turn the robot a desired number of degrees
2. Learn the differences between Spin and Pivot Turns
3. Learn how to program two different type of turns
4. Learn to write pseudocode
COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 2
PIVOT Vs. SPIN Turns
COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 3
180 Degree Pivot Turn
180 Degree Spin Turn
Notice where the robot
ends in both pictures after a
180 degree turn.
In the Spin Turn, the robot
moves a lot less and that
makes Spin Turns are great
for tight positions. Spin
turns tend to be a bit faster
but also a little less
accurate.
So when you need to make
turns, you should decide
which turn is best for you!
B
C
Start Position End Position
Motors
B and C
Move
B
C
Motor
B Moves
Start Position
End PositionB
C
B
C
How to Make Pivot and Spin turns
Steering Value
50 -50 100 -100
Pivot Turn Right Pivot Turn Left Spin Turn Right Spin Turn Left
COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 4
Change Steering value here
B
C
B
C
B
C
B
C
Move Steering
Block
MAKING A Pivot turn for 90
DEGREES
COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 5
Program your robot to turn 90 degrees....Does the robot
actually turn 90 degrees if you just pick 90 degrees for
distance?
B
C
B
C
?
Ans. NO! Solution on next
page
how do you make the robot turn
90 degrees?
Ans. Try using the port view to measure the
turn and then input the correct number of
degrees.
COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 6
TEACHER INSTRUCTIONS
• Split up class into groups as needed
• Give each team a copy of the Turning Challenge Worksheet
• Challenge Details are on Slide 8
• Discussion Page Slide 9
• Challenge Solution on Slide 10
COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 7
TURNING CHALLENGES
Challenge 2
• Your robot baseball player must run
to second base, turn around and
come back to first.
• Go straight. Turn 180 degrees and
return to the same spot.
COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 8
Challenge 1
• Your robot is a baseball player who
has to run to all the bases and go
back to home plate.
• Can you program your robot to
move forward and then turn left?
• Use a square box or tape
Start and
End
position
First
Base
B
C
Second
Base
CLASS Discussion GUIDE
Did you try PIVOT and SPIN turns? What did you discover?
Pivot turns were fine for Challenge 1, but for Challenge 2, if we used Pivot turns, we
were farther away from the base.
What situations would one work better than the other?
Spin turns are better for tight turns (places where there is not enough space) and you
stay closer to your original position.
What is PSEUDOCODE? Why do you think programmers find it useful?
(pseudocode is from the worksheet)
Pseudocode allows programmers to write out their code in plain English before you
code in a programming language. It lets you plan and think before you sit down to
code. It lets you share your ideas with others you are working with in a common
language.
COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 9
CHALLENGE SOLUTIONS
Challenge 2
You probably used a spin turn because
it is better for tighter turns and gets
you closer to the starting point!
COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 10
Challenge 1
You probably used a combination of
move steering to go straight and do
pivot turns to go around the box.
Start and
End
position
First
Base
B
C
Second
Base
End of the lesson
11

More Related Content

PPTX
Shift sleeve checking comparator
PDF
AULA DE EV3 CLASSRROM UTILIZANDO SCRATCH
PPTX
scratch-Turning.pptx
PDF
Turningwiththegyroandmovingaroundtje.pdf
PPTX
Ag moving straight2 - Beginner
PDF
Presentation For Mini One Project.pdf
PDF
ABB training report
Shift sleeve checking comparator
AULA DE EV3 CLASSRROM UTILIZANDO SCRATCH
scratch-Turning.pptx
Turningwiththegyroandmovingaroundtje.pdf
Ag moving straight2 - Beginner
Presentation For Mini One Project.pdf
ABB training report

Similar to Ai turning2 - Beginner (8)

PDF
Design book[1]
PPTX
Pick and Place Robotic Arm 1
PPTX
PPTX
Robasics
PPTX
Ah pseudocode2 - Beginner
PDF
Do I Really Need a Cobot For This?
PPTX
Rishabh gaur
PPTX
Chapter 1 Intro to industrial robot automation
Design book[1]
Pick and Place Robotic Arm 1
Robasics
Ah pseudocode2 - Beginner
Do I Really Need a Cobot For This?
Rishabh gaur
Chapter 1 Intro to industrial robot automation
Ad

More from Romaric Saounde Tsopnang (20)

PPTX
Aq switches2 - Beginner
PPTX
Aq les conditionnelles - Débutant
PPTX
Ap les boucles - Débutants
PPTX
Ap loops2 - Beginner
PPTX
Ao light nxt2 - Beginner
PPTX
An capteur de couleur - Débutant
PPTX
An color Sensor - Beginner
PPTX
Al capteur tactile - Débutant
PPTX
Al touch2 - Beginner
PPTX
Ak custom imagessounds2 - Beginner
PPTX
Ak image et son standard - Débutant
PPTX
Aj display2 - Beginner
PPTX
Aj affichage - Débutant
PPTX
Ai virages - Débutant
PPTX
Ah pseudocode-fr - Débutant
PPTX
Ag deplacement droit - Débutant
PPTX
Af port view2 - Beginner
PPTX
Af vue des portes - Débutant
PPTX
Ae common issues2 - Beginner
PPTX
Ae problemes frequents - Débutant
Aq switches2 - Beginner
Aq les conditionnelles - Débutant
Ap les boucles - Débutants
Ap loops2 - Beginner
Ao light nxt2 - Beginner
An capteur de couleur - Débutant
An color Sensor - Beginner
Al capteur tactile - Débutant
Al touch2 - Beginner
Ak custom imagessounds2 - Beginner
Ak image et son standard - Débutant
Aj display2 - Beginner
Aj affichage - Débutant
Ai virages - Débutant
Ah pseudocode-fr - Débutant
Ag deplacement droit - Débutant
Af port view2 - Beginner
Af vue des portes - Débutant
Ae common issues2 - Beginner
Ae problemes frequents - Débutant
Ad

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPT
Teaching material agriculture food technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Cloud computing and distributed systems.
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
cuic standard and advanced reporting.pdf
PDF
Encapsulation theory and applications.pdf
Review of recent advances in non-invasive hemoglobin estimation
Spectral efficient network and resource selection model in 5G networks
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
The Rise and Fall of 3GPP – Time for a Sabbatical?
“AI and Expert System Decision Support & Business Intelligence Systems”
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Spectroscopy.pptx food analysis technology
Teaching material agriculture food technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Cloud computing and distributed systems.
Building Integrated photovoltaic BIPV_UPV.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation_ Review paper, used for researhc scholars
MIND Revenue Release Quarter 2 2025 Press Release
Programs and apps: productivity, graphics, security and other tools
cuic standard and advanced reporting.pdf
Encapsulation theory and applications.pdf

Ai turning2 - Beginner

  • 2. Lesson Objectives 1. Learn to turn the robot a desired number of degrees 2. Learn the differences between Spin and Pivot Turns 3. Learn how to program two different type of turns 4. Learn to write pseudocode COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 2
  • 3. PIVOT Vs. SPIN Turns COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 3 180 Degree Pivot Turn 180 Degree Spin Turn Notice where the robot ends in both pictures after a 180 degree turn. In the Spin Turn, the robot moves a lot less and that makes Spin Turns are great for tight positions. Spin turns tend to be a bit faster but also a little less accurate. So when you need to make turns, you should decide which turn is best for you! B C Start Position End Position Motors B and C Move B C Motor B Moves Start Position End PositionB C B C
  • 4. How to Make Pivot and Spin turns Steering Value 50 -50 100 -100 Pivot Turn Right Pivot Turn Left Spin Turn Right Spin Turn Left COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 4 Change Steering value here B C B C B C B C Move Steering Block
  • 5. MAKING A Pivot turn for 90 DEGREES COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 5 Program your robot to turn 90 degrees....Does the robot actually turn 90 degrees if you just pick 90 degrees for distance? B C B C ? Ans. NO! Solution on next page
  • 6. how do you make the robot turn 90 degrees? Ans. Try using the port view to measure the turn and then input the correct number of degrees. COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 6
  • 7. TEACHER INSTRUCTIONS • Split up class into groups as needed • Give each team a copy of the Turning Challenge Worksheet • Challenge Details are on Slide 8 • Discussion Page Slide 9 • Challenge Solution on Slide 10 COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 7
  • 8. TURNING CHALLENGES Challenge 2 • Your robot baseball player must run to second base, turn around and come back to first. • Go straight. Turn 180 degrees and return to the same spot. COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 8 Challenge 1 • Your robot is a baseball player who has to run to all the bases and go back to home plate. • Can you program your robot to move forward and then turn left? • Use a square box or tape Start and End position First Base B C Second Base
  • 9. CLASS Discussion GUIDE Did you try PIVOT and SPIN turns? What did you discover? Pivot turns were fine for Challenge 1, but for Challenge 2, if we used Pivot turns, we were farther away from the base. What situations would one work better than the other? Spin turns are better for tight turns (places where there is not enough space) and you stay closer to your original position. What is PSEUDOCODE? Why do you think programmers find it useful? (pseudocode is from the worksheet) Pseudocode allows programmers to write out their code in plain English before you code in a programming language. It lets you plan and think before you sit down to code. It lets you share your ideas with others you are working with in a common language. COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 9
  • 10. CHALLENGE SOLUTIONS Challenge 2 You probably used a spin turn because it is better for tighter turns and gets you closer to the starting point! COPYRIGHT © EV3LESSONS.COM 2015 (LAST EDIT: 7/07/2016) 10 Challenge 1 You probably used a combination of move steering to go straight and do pivot turns to go around the box. Start and End position First Base B C Second Base
  • 11. End of the lesson 11