Shaw STEM Lab - 2017
Objectives Learn the basics of block coding Understand how to program Sphero to complete simple tasks Code Sphero to move in different ways and patterns
Tablet You must use the tablet to code Sphero, not your own device Be responsible on how you use it No inappropriate websites Do not download anything
SPhero The point of Sphero is to code Sphero to move, not to “free drive” it and not to move through your own obstacle course
Tablet & Sphero Please remember to plug the tablet in and place Sphero back on the charging base when you are not using them
Let’s get coding! Open the Sphero Edu App Click on the programs icon Start a new program and name your program Only use the Blocks option
Let’s get coding! Under the Movement tab, drag in a Roll block Set the block to the following: Heading: 0° Speed: 100 Seconds: 1 Run the program Measure how far Sphero traveled Rerun your program two more times
Let’s get coding! Edit your block code to the following What happened? Heading: 90° Speed: 75 Seconds 1.5 What happened?
Let’s “Ramp” it up! Check out the ramp for Sphero Place the ramp 50 centimeters from Sphero Formulate a code so Sphero will use the ramp
Let’s “Ramp” it up-Take 2! Check out the second ramp for Sphero Place the first ramp 50 centimeters from Sphero Place the second ramp at a 90° angle from Sphero Formulate a code so Sphero uses both ramps
Questions and Research What are the different ways to get Sphero to move? What were your results from slide six? What were your results from slide seven? Explain your results from the two ramp experiments. Explain the most challenging part of coding Sphero.
It’s time to experiment Formulate different codes that Change the color of Sphero From the Lights & Sounds menu Uses a loop From the Controls menu Uses one option from the Events menu
Ready to move on…? Before you may move on, you must demonstrate The Ramp activities At least two of the three activities from the Experiments portion