yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
BBC Microbit📖
1.Preparation before class
  • 1.1 Methods of computer programming
  • 1.2 Introduction of programming methods
  • 1.3 APP programming cannot connect to Bluetooth
2.Basic lesson
General course
  • 2.1 Lesson 1 Heart beat
  • 2.2 Lesson 2 “See who is pressing fast”
  • 2.3 Lesson 3 “Flowing sand”
  • 2.4 Lesson 4 “DIY thermometer ”
  • 2.5 Lesson 5 “Direction follower”
  • 2.6 Lesson 6 “Listen to music”
  • 2.7 Lesson 7 “Dice game”
  • 2.8 Lesson 8 “Good morning, good night”
V2 course
  • 1.Play sound effects
  • 2.Changing face
  • 3.Clapping your hands
  • 4.Little mp3
  • 5.Temperature alarm
  • 6.Alarm clock
  • 7.Touch song
  • 8.Detect sound
  • 9.Sleep mode
Download
  • Makecode offline software
  • Code
Download ZIP

Welcome to BBC Microbit repository

2.5 Lesson 5 “Direction follower”


Lesson 5 “Direction follower”

1.Learning goals

image.png image.png image.png image.png

image.png   image.png   image.png image.png

image.png 

After downloading the program, the bit development board can be swung to the east, west, south, north, northeast, northwest, southeast, southwest eight different directions. You can see that no matter which direction the micro:bit swings, the pointer on the dot will point to this direction.

2.Preparation

Hardware:

●  1 X Micro: bit Board

●  1 X Micro USB Cable

●  2 X AAA batteries

Then the micro:bit is connected to the computer through USB, and the computer will pop up a U disk and click the URL in the U disk to enter the programming interface.

3.Search for blocks

image.png 

image.png 

compass heading: "the direction of the compass",

In micro:bit, we use the degree to indicate its direction by default.

image.png 

image.png 

image.png 

image.png 

4.Combine blocks

image.png 

image.png 

 

Lesson 4 “DIY thermometer ”
Lesson 6 “Listen to music”

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文