Abandoning complex internals, modular programming of micro:bit development boards is easy to get started

When it comes to programming, those who have studied microcontrollers will recall the 51 microcontroller, when they needed to be familiar with each of its registers in order to make up a set of programs that could run. Micro:bit is a microcontroller development board developed by the British company BBC, which encapsulates the underlying functions into library files, so that the user only needs to call the library functions to build the logic, without caring about the internal structure of the microcontroller and registers, which greatly reduces the threshold of programming. It is very suitable for young people to start learning programming.

The micro:bit is very small, only 5cm * 4cm size, smaller than a credit card, but it integrates a 5x5 LED dot matrix display, two programmable buttons, accelerometer, electronic compass, temperature and light sensors, Bluetooth low power consumption, while supporting the reading of all kinds of sensor data, but also can control the servo, led strip and other electronic components, ideal for small It is ideal for small robot development.

The first step is to connect the micro:bit to the computer using the MicroUSB cable.

Open the DETAILS.TXT file and you can see that this document contains some parameters of the MicroBit development board. From the information, we can infer that MicroBit is developed on the basis of Mbed.

Double click on the MICROBIT.HTM file, the system will automatically call the browser to open the development board URL. microBit is developed on top of Mbed, so it also supports this online compiler method. The user can choose between student mode or teacher mode in order to see the different learning content. microBit's website supports many common languages and can be switched freely.

On this site, we can write and download programs. The programs are written using graphical programming. The user does not need to pay attention to the hardware driver and only needs to select the appropriate instruction in the standard library to implement the programming.

Once the program is programmed, you can directly click on download and then you can transfer the program inside the micro:bit. He himself supports USB power supply, so if your micro:bit is powered, the micro:bit will automatically start running the program after the program download is completed.

PI-SUPPLY is a professional component supplier, providing everything you need for your component project. We also stock a huge selection of Raspberry piArduinomicro:bitrock pi and nvidia manufacturer accessories from your favorite brands.