In computing this week, we have been developing a pedometer. Pedometers are devices that track the number of steps you take. They contain an internal mechanism or arm that moves up and down in response to the motion of your hips. With each step, your body tilts to one side and your leg swings forward. As your body shifts the other way, your other leg moves forward as well. Each tilt of your hips, along with the forward swing of your legs, is counted as a step.
In our first lesson, we developed our code – the children needed to fix a few problems with their initial algorithms. We had to use decomposition to help us debug it. In the next lesson, we downloaded our pedometer code to our micro:bits and they worked! Following some success testing them in the classroom, we took them for a spin outside and had lots of fun along the way.
Help at home: Why not have a go at creating a program on Makecode?