Sphero is a resource for supporting the development of computational thinking. The device, about the size of an orange, is controlled with its app, Sphero EDU. The code produced in Sphero EDU is block-based and will appear instantly familiar to those already working in Scratch. Sphero EDU has a large, well supported tutorial section which can be assigned to students through Google Classroom.
Our Math curricula is broken down into a host of discrete outcomes so that instruction can be sequential and manageable. By comparison, 'playing' with Sphero gives students a chance to explore and gain immediate feedback for their ideas. Under some guidance, this can set them up to learn from failure, and to construct their own knowledge.
Can you make it roll to the doorway and come back? How about down the entire hallway, blink twice, and return to you? Getting that much control requires getting to know three variables that we always need to supply when we ask Sphero to move (in code): rate, heading, and time.
Example: "roll 180 degrees, rate 80, for 2.5 seconds".
According to the program above, when 'Start' is pressed:
The result brings the ball back, or near to, it's starting point. Or, that's what one would likely predict.
It won't make it back all the way because it used some of that 1 second to also orient its direction 180 degrees.
But, the code does show that if we ask Sphero to move at a set rate and heading and only changing the duration, we can begin to get an idea about how to consistently make Sphero go where we want it to go.
A good rate for classroom use is about '80'. To accurately compare the various trials, you will also want keep the heading consistent: 0 degrees (forward). The remaining variable —'time'—is a good one to play with.
Here's a description of an activity in which students create a distance chart:
Miami Gr. 10's
After completing the distance chart, groups tried rolling their Sphero around the centre island in the computer lab, using block coding tools in Sphero EDU app.
Great job, everyone!
Sphero at SFX: Gr. 6
Creating a course for Sphero to navigate is a typical first challenge. This one's just a little unusual in how it 'integrates' the class library ;-)