one micro:bit brief introduction

one micro:bit brief introduction

micro:bit It is a microcomputer development board specially designed for teenagers' Programming Education launched by BBC. In March and June 2016, micro:bit In the United Kingdom, the BBC online and offline supporting a large number of project tutorial resources and activities. The BBC hopes to pass micro:bit Drive teenagers to participate in creative hardware production and software programming, instead of immersing in all kinds of entertainment and consumption every day.

Micro:bit It has the following characteristics:


25 independent programmable LEDs

2 programmable buttons

connection pin

Light sensor and temperature sensor

Motion sensor (acceleration and compass)

Wireless communication via radio and Bluetooth

usb interface

V2 version with microphone and buzzer

major function

Microphone and buzzer

The buzzer vibrates. The microphone detects loudness. The V2 version is unique.

 

1.LED

Led refers to light-emitting diodes. micro:bit There are 25 independently programmable LED lights that you can use to display text, numbers and images.

2 button

stay micro:bit There are two buttons (A and b) on the front of the board. Press these buttons to run the edited code. You can detect when these buttons have been pressed.

3 pin

stay micro:bit There are 25 external interfaces on the edge of the connector, which we call "pins". It can be used to program motors, displays, or other electronic components with pins, or to connect external sensor control codes.

4 light sensor


By reversing the LED screen, micro:bit Enter input mode. The LED screen acts as a basic light sensor that you can use to detect ambient light.


5 temperature sensor


This sensor allows you to micro:bit Detect the current ambient temperature (in degrees Celsius).


6 acceleration sensor


Acceleration sensor can measure micro:bit Acceleration; this sensor can also detect micro:bit Move, shake, tilt and free fall.


7 compass



Compass is used to detect the earth's magnetic field, so you can detect it micro:bit The direction we are facing. You need to calibrate the compass before using it.

"Calibration" is to ensure that the compass result is correct. In the JavaScript Block Editor, use the compass calibration block. Using in Python compass.calibrate () calibrate the compass.

When calibration starts, micro:bit A command will scroll on the screen, either "draw a circle" or "tilt to fill screen". In order to calibrate the compass, you just need to follow these instructions and micro:bit Tilt to move the dot in the center of the screen until you draw a circle or fill the screen.


8 radio


The radio can get you in 2 micro:bit Wireless communication between them. Send messages to other people by radio micro:bit On the board, create multiplayer games and more interesting inventions!


9 Bluetooth


A ble (Bluetooth low power) antenna can make the micro:bit Receive Bluetooth information. It can make you feel better micro:bit Communicate wirelessly with computers, mobile phones and tablets. So you can use it micro:bit Control your mobile phone, and use your mobile phone to send wireless code to your device!

Before using the Bluetooth antenna, you need to connect your micro:bit Pair with another device. Once the pairing is successful, you can send the script to micro:bit- You can learn more about settings here.


10usb interface



The USB interface allows you to connect your micro:bit Connect to the computer. This will give micro:bit Power supply, and allows you to download the code script to micro:bit It's on.

You can learn more about how to work at BBC here micro:bit Run the program script on the, and learn about the error prompts you may receive.

Previous article What is raspberry pie? What can our products match with raspberry pie?