# Coding with Sensors & Micro:bit

1. Introduction to Micro: bit Lesson 1.1 1.2 1.3 1.4

2. Variables and The Tally Clicker Counter

3. Built-in Sensors on Micro:bit

4. External Output Devices - Buzzer & LED Light

5. External Input Device- Temperature Sensor

6. Gestural Inputs with Micro: bit

7. Mathematical Functions

8. A Case Study & Problem Solving

#### Variables and the tally clicker counter

An Algorithm is a method to solve problem that consists of exactly a list of rules with a well-defined sequence to follow in order to solve the problem. Algorithmic thinking consists a pool of abilities: to analyse given problems, to specify a problem precisely, to find the basic actions that that are adequate to the given problem, to construct a correct algorithm to a given problem using the workable actions, to think about all possible cases of a problem and to improve the efficiency of an algorithm.

The learners will apply their logical thinking skills to determine the correct directions to travel from one point to another.

#### Connect micro: bit to the external sensors

The story in this module presents situations in which some problems need to be solved by the readers. They are asked questions about the story events, questions such as "What should Jack do ? and "What caused this problem?" are asked. The activities help to facilitate the development of computational thinking problem-solving skills (decomposition, algorithm, abstraction and pattern recognition) that are critical for successful interactions in the classroom and in various types of social situations.

#### Get to Know Data Structure

To let the computer to take over our repeated tasks, we must learn how to design the instructions for the computer to function. Besides these instructions, we also need a collection of data values so that the instructions can be applied to the data.

The picture shows five different locations with the distances between any two points. Learn how to organise your data that enables efficient access and modification.