Sphero - page 8

as Innovators
MAKERS
24
at your chosen speed.You will also need to set the
heading, or direction, for Sphero’s path. For the head-
ing, use your protractor to measure each angle that
Sphero needs to turn in order to follow the path.
Use the “Roll” and “Stop” blocks to navigate
Sphero down each segment of the maze. Use the “Set
Heading” or “Spin” blocks to make Sphero turn for the
next segment. Try using the “Delay” block if you want
Sphero to pause between segments. If you want, use
the “Set Color” block to change Sphero’s colors with
each turn. Run your program after you code each seg-
ment of the maze.
If you are having trouble finding the right combi-
nation of code blocks to navigate through the maze,
take a look at the example programs again. The
“Triangle” and “Square” programs have all the tools
you will need in them.
Once you have successfully programmed Sphero
to make it through the maze, set a new challenge. Can
you make Sphero go faster? Spin twice at every cor-
ner? Flash red every time it turns? The choice is yours,
and the possibilities are endless.
1,2,3,4,5,6,7 9,10,11,12
Powered by FlippingBook