The BBC micro:bit contains various sensors for measuring temperature, light intensity, direction, movement…