Theory:
Researchers currently use technology that allows them to track and monitor animals. We can create our own devices that monitor an animal’s daily routine. In this case, we want to track the amount of steps a keystone species will take in a single day. This will indicate to us the health of our river system. If these animals aren’t moving far away from the source of water (their step number is fairly low) that means the river system is healthy. However, if they take lots of steps, we can assume they are searching for a better place to live, so we can deduce that the health of the river system is bad.
Practical:
Download the grove extension.
We’ll create two variables: display and count. Count will count how many steps the animal has taken. Display will let us show what number count will be on the 4-digit display. We’ll slow 4-Digit Display from grove into set display and change the second pin to P14.
Then, we’ll go to Input to get an on shake block. Then put a change count by 1 block in. This will count our steps when the microbit notices a shaking motion. Get a strip show number (0) block from grove and then change strip to display. This is how we tell our device to use the 4-digit display. We’ll get a round count variable block from Variables and slot it into the end.
https://makecode.microbit.org/_DxjfzA4R8Rdz