Minibots
Home

Three free micro:bit projects

Make a dice, a reaction timer and a rover routine.

Shake-to-roll dice

In MakeCode, put “show number” with a random integer from 1 to 6 inside the shake event. Test several rolls in the simulator. Replace the number with LED patterns as an extension.

Reaction timer

On button A, clear the screen, pause for a random interval, show an icon and store the running time. On button B, subtract that stored time from the current running time and display the difference. Use a ready flag so early presses are ignored. Clear the flag after the first valid press.

Rover square

Start by simulating a forward-turn sequence with arrows. For a physical rover, install its vendor’s MakeCode extension. Place the chassis on the floor in a clear area. Run one forward move, stop, then turn. Adjust the duration against a marked square and repeat four times. Different floors and batteries change the result.

Start a new MakeCode project