The words you are searching are inside this book. To get more targeted content, please make full-text search by clicking here.
Discover the best professional documents and content resources in AnyFlip Document Base.
Search
Published by izwan Elvira microbit, 2020-04-20 08:27:52

MANUAL BOOK (1)

MANUAL BOOK (1)

ELVIRA
MICRO:BIT

QUICK
START KIT
MANUAL

CONTENTS

1 Introduction
3 Item Supplied
4 Experiment
4 BBC Micro:bit
8 Piezo Buzzer
12 LED
14 Servo Motor
17 Simple Experiment

REV1.0 FOR JPN PAHANG USE ONLY

INTRODUCTION

WHAT IS MICRO:BIT?

Micro:bit is a pocket sized microcontroller
designed for kids and beginners learning how

to program.
Micro:bit comes with a variety of on-board
modules including 25 LED light that also
support light detection , 2 programmable

buttons, motion detector, compass and
bluetooth.

REV1.0 FOR JPN PAHANG USE ONLY 1

GETTING
CONNECTED

"microbit.org"

REV1.0 FOR JPN PAHANG USE ONLY 2

ITEM SUPPLIED

Red LED 2x Servo motor 1x

Micro:bit 1x

Battery AAA holder 1x Yellow LED 2x Flag 1x

Green LED 2x Connector block 1x

Battery AA holder 1x

Resistor 6x

Fan's Set

USB Cable 1x

Jumper Wire 3x

Buzzer 1x

Alligator Clips 10x 3

REV1.0 FOR JPN PAHANG USE ONLY

EXPERIMENTS

1. SAY "HELLO" WITH BBC micro:bit

Aims:
To learn how to create and display words on the BBC
micro:bit's LED matrix using Microsoft Makecode Block
Editor
To learn how to use the "Show String' command
To compile the program to generate a .hex file
To upload the .hex file onto BBC micro:bit

Part used: UNIT
1
ASSEMBLY PARTS
USB WIRE

THE PROGRAM WILL NEED THESE BLOCKS

BASIC FOREVER SHOW STRING

Coding:

Steps:
1. Download the program to generate the .hex file
2. Save the .hex file ready to upload to the BBC micro:bit
3. Plug the BBC micro:bit into a USB port then drag and drop
the .hex file onto the BBC micro:bit window to upload the
program

REV1.0 FOR JPN PAHANG USE ONLY 4

2. SHOW SMILE ICON BY PRESSING THE BUTTON

Aims:
To learn how to create and display an image on the BBC
micro:bit's LED matrix using Microsoft Makecode Block
Editor
To learn how to use the 'On Button' command
To compile the program to generate a .hex file
To upload the .hex file onto BBC micro:bit

Part used:

ASSEMBLY PARTS UNIT
USB WIRE 1
2
PUSH SWITCH

THE PROGRAM WILL NEED THESE BLOCKS
BASIC SHOW STRING

INPUT ON BUTTON A PRESSED
ON BUTTON B PRESSED
ON BUTTON A + B PRESSED

REV1.0 FOR JPN PAHANG USE ONLY 5

Coding:

Steps:
1. Press the 'A' button on the BBC micro:bit to see the LED
pattern
2. Then press the 'B' button on the BBC micro:bit to play
another pattern
3.Lastly press both the 'A & B' button on the BBC micro:bit to
play the third LED pattern

REV1.0 FOR JPN PAHANG USE ONLY 6

3. MAKE DICE BY SHAKING THE BBC micro:bit

Aims:
To learn how to shake the BBC micro:bit to form display
random number like the dice
To learn how to use the 'On Shake' command

Part used:

ASSEMBLY PARTS UNIT
USB WIRE 1

THE PROGRAM WILL NEED THESE BLOCKS

BASIC SHOW STRING

INPUT ON SHAKE

MATH PICK RANDOM

Coding:

Steps: 7
1. Download the program to generate the .hex file
2. Save the .hex file to upload to the BBC micro:bit
3. Plug the BBC micro:bit into a USB port then drag and drop
the .hex file onto the BBC micro:bit window to upload the
program
4. Shake the BBC micro:bit to display random number

REV1.0 FOR JPN PAHANG USE ONLY

4. SETTING THE TONE WITH A PIEZO BUZZZER

Aims:
To use the Music Blocks to access more functions of the
BBC micro:bit
To learn how to control the tone of a piezo buzzer

Part used:

ASSEMBLY PARTS UNIT
PIEZO ELEMENT BUZZER 1
2
MALE-TO-FEMALE JUMPERĀ 
WIRE

THE PROGRAM WILL NEED THESE BLOCKS

INPUT ON BUTTON A PRESSED

ON BUTTON B PRESSED

ON BUTTON A + B PRESSED

MUSIC PLAY TONE
START MELODY

REV1.0 FOR JPN PAHANG USE ONLY 8

Coding:

Steps:
1. Press the 'A' button on the BBC micro:bit, the buzzer
should play a brief tone
2.Then press the 'B' button on the BBC micro:bit, the buzzer
should play another brief and slightly lower pitch tone
3.Lastly press both the 'A' and 'B' button on the BBC
micro:bit, the buzzer should then play a tune

REV1.0 FOR JPN PAHANG USE ONLY 9

Circuit:

10REV1.0 FOR JPN PAHANG USE ONLY

5. TURN ON LED
Aims:

To use a button to turn an external LED 'on'
To use a resistor to create resistance in the flow of electric
current

This experiment will use a variable to track whether an LED
should be turned on or off when a button on BBC micro:bit is
pressed. Using a digital wire, we can change the status of the

LED from off (0) to on (1).

Part used:

ASSEMBLY PARTS UNIT
47Ī© RESISTOR 1
1
M/F JUMPER WIRE 1
RED 5MM LED

THE PROGRAM WILL NEED THESE BLOCKS

INPUT ON PIN

VARIABLES SET ANALOG

REV1.0 FOR JPN PAHANG USE ONLY 11

Coding:

Steps:
1.Connect the resistor and LED to the BBC micro:bit using
alligator wires
2.Press the button A. The LED should come on
3.Now press the button B and the LED should dim

12REV1.0 FOR JPN PAHANG USE ONLY

Circuit:

13REV1.0 FOR JPN PAHANG USE ONLY

6. USING THE BBC MICRO:BIT TO CONTROL A SERVO

Aims:
To control a servo using the micro:bit

This experiment will using a battery pack to provide power
directly to the servo and only using the BBC micro:bit to
supply the control signal to the servo is the best way to

protect your BBC micro:bit from harm and to ensure that you
are getting the full amount of torque from the servo

Part used:

ASSEMBLY PARTS UNIT
BBC MICRO:BIT 1
180 MINI SERVO 1
4
M/F JUMPER WIRES 2
CROCODILE CLIPS

THE PROGRAM WILL NEED THESE BLOCKS

INPUT ON BUTTON A PRESSED

SERVO ON BUTTON B PRESSED
SET SERVO

14REV1.0 FOR JPN PAHANG USE ONLY

Coding:

Steps:
1.The servo has a three wire connector. The brown wire is
ground, the red wire is positive and the orange wire is the
signal wire. The BBC micro:bit will send instructions to the
servo from the P0 pin via the servo's signal wire.
2. Use the jumper wires to connect the circuit using the
connector block
3. Use the crocodile clips to connect jumper wires and BBC
micro:bit.

15REV1.0 FOR JPN PAHANG USE ONLY

Circuit:

16REV1.0 FOR JPN PAHANG USE ONLY

7. SIMPLE EXPERIMENT USING SERVO AND PIEZO BUZZER

Aims:
To learn how to control both servo and piezo buzzer using
micro:bit

This experiment included the BBC micro:bit comes with piezo
buzzer and servo in this kit serve that a good deal in adding
audio and motor movement to your application. Using a
battery pack to provide power directly to the servo and
buzzer.

Part used:

ASSEMBLY PARTS UNIT
BBC MICRO:BIT 1
180 MINI SERVO 1
3
M/F JUMPER WIRES 1
BUZZER 4
1
ALLIGATOR CLIPS
CONNECTOR BLOCK

17REV1.0 FOR JPN PAHANG USE ONLY

THE PROGRAM WILL NEED THESE BLOCKS

BASIC FOREVER

SHOW STRING

PAUSE

INPUT ON BUTTON A PRESSED
ON BUTTON B PRESSED

MUSIC PLAY TONE

SERVO SET SERVO

Coding:

18REV1.0 FOR JPN PAHANG USE ONLY

Circuit:

19REV1.0 FOR JPN PAHANG USE ONLY


Click to View FlipBook Version