8 Serial Bluetooth Communication and the micro:bot

Now that we’ve looked at some Bluetooth setup and configuration, let’s explore another way to interact with your micro:bit over Bluetooth—with the UART serial interface. A UART (universal asynchronous receiver/transmitter) is a form of communication via hardware, over a serial connection, in which the data format and transmission speeds are configurable.

This form of communication can sometimes be difficult to set up, but once it’s working it’s the simplest way of sending and receiving messages to your micro:bit board. Since you’re going to want to control your little mobile robot via your board with Bluetooth from your phone, it makes sense to learn about this way of communicating.

UART ...

Get Getting Started with the micro:bit now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.