MICRO
MICRO
Micro:bit
What is micro: bit?
Micro:bit
• Is a tiny computer that you can use to create all sorts of fun project. It has
buttons, a display and even sensors that can detect things like temperature and
movement. It can be programmed to make cool games, animation and robotics.
• The micro:bit is a microcontroller board that you can program to perform a
variety of tasks. It's particularly popular in educational settings, especially for
teaching STEM (Science, Technology, Engineering, and Mathematics) subjects.
• The micro:bit is a small, programmable microcontroller designed to make
learning and teaching coding easy and fun. Developed by the BBC, it's popular
among students, hobbyists, and educators.
Features of Micro:bit
• LED Display: A 5x5 grid of 25 LEDs that can be individually
programmed to display patterns, text, and images.
• Buttons: Two programmable buttons (A and B) that can be used
for input.
• Sensors: Includes an accelerometer to detect movement, a
magnetometer (compass), and temperature sensors.
• Connectivity: Bluetooth, infrared, USB for wireless projects.
Why Use a micro:bit?
• Hands-On Learning: It's an excellent tool for hands-on learning,
allowing students to see the immediate results of their code.
• Accessibility: Easy to program using various languages, including
block-based coding (MakeCode), Python, and JavaScript.
• Engagement: Interactive and fun projects help keep students
engaged and motivated to learn.
PARTS OF MICRO:BIT
PARTS OF MICRO:BIT AND IT’S FUNCTIONS
1. Micro USB
• Function: The micro USB connector is used to connect the micro:bit to a
computer for programming and power. It also facilitates USB
communication, allowing you to send and receive data between the
micro:bit and the computer.
2. Microphone
• Function: The built-in microphone allows the micro:bit to detect and
respond to sound. It can be used for projects that involve sound detection,
such as clapping to trigger an action or measuring ambient noise levels.
PARTS OF MICRO:BIT AND IT’S FUNCTIONS
3. User Buttons
• Function: The micro:bit has two programmable buttons labeled A and B.
These buttons can be used as inputs to trigger events or control actions
within your programs, such as starting a game, navigating a menu, or
controlling an LED pattern.
4. External Supply
• Function: The external supply connector allows you to attach an external
battery pack to power the micro:bit. This makes the micro:bit portable and
usable in projects away from a computer.
PARTS OF MICRO:BIT AND IT’S FUNCTIONS
5. Edge Connector
• Function: The edge connector consists of gold-colored rings and pins along the
bottom edge of the micro:bit. It allows you to connect external components,
sensors, and other devices, enabling more complex and versatile projects.
6. Analogue/Digital I/O
• Function: The input/output (I/O) pins on the micro:bit can handle both analogue
and digital signals. These pins can be used to read data from sensors (analogue
input) or control devices like LEDs, motors, and servos (digital output).
PARTS OF MICRO:BIT AND IT’S FUNCTIONS
9. Power Indicator
• Function: The power indicator is an LED that lights up when the micro:bit
is powered on. It helps you easily see if the micro:bit is receiving power
from a USB connection or a battery pack.
10 . USB Activity Indicator
• Function: The USB activity indicator is an LED that flashes when data is
being transferred between the micro:bit and a computer via the USB
connection. It provides visual feedback to indicate that the micro:bit is
actively communicating with the computer.
PARTS OF MICRO:BIT AND IT’S FUNCTIONS
The on-board Bluetooth The Micro:bit master control The Micro:bit robot can be
module of Micro:bit supports board is equipped with an connected to a computer
connection with various infrared receiver. With the with USB cables and
kinds of Bluetooth hosts. It infrared receiver, the user programmed with the
could be controlled by the can control Micro:bit using Makecode software on PC
mecanum robot app on the infrared remote
mobile phones and controller.
computers or remote
controllers with Bluetooth
functionality
Bluetooth Communication
Example Projects:
• Remote Control: Use your smartphone to control a robot built with
a micro:bit.
• Data Logging: Send sensor data from the micro:bit to a mobile app
for real-time monitoring.
How to Use:
1.Pairing: Pair the micro:bit with the Bluetooth device.
2.Programming: Use the micro:bit app or Bluetooth libraries to write
code that handles Bluetooth communication.
Infrared Communication
Example Projects:
• TV Remote Control: Control a TV or other IR-compatible device
using the micro:bit.
• Obstacle Detection: Create a robot that detects obstacles using IR
sensors.
How to Use:
1.Add IR Components: Connect an IR LED and receiver to the
micro:bit.
2.Programming: Write code to send and receive IR signals.
USB Communication
Example Projects:
• Serial Monitor: Send data from the micro:bit to the computer for
debugging and monitoring.
• Game Controller: Use the micro:bit as a game controller by
sending inputs to a computer game.
How to Use:
1.Connecting: Connect the micro:bit to the computer using a USB
cable.
2.Programming: Use the serial libraries to write code that handles
USB communication.
Connect to Apps
Micro USB LED Matrix 5x5
Microphone Touch Sensitive Logo
User Buttons Power Indicator
External Supply USB Activity Indicator
Edge Connector Battery Connector
Analogue/Digital I/O Reset/Power Button
NXP KL27Z ST LSM303AGR
Nordic nRF52833
External Supply:
• Function: Allows you to attach an external battery pack to power
the micro:bit.
• Purpose: Emphasizes making the micro:bit portable and usable in
projects away from a computer.
• Example Use Case: Using a larger or specialized battery pack to
power the micro:bit for extended periods or in remote locations.
• focuses on the broader ability to power the micro:bit away
from a computer.
Battery Connector:
• Function: Allows you to attach an external battery pack to power the
micro:bit.
• Purpose: Highlights the practicality of using the micro:bit in portable
projects where a USB connection isn't feasible.
• Example Use Case: Attaching a standard battery pack (like AA or AAA
batteries) to power the micro:bit in handheld or small-scale projects.
• emphasizes the practical use of a battery pack for portability and
ease of use in various projects.
Knowledge extension;