View on GitHub

microbit-networking-book

Preface

Cover image

About the book

This book presents a series of activities to teach the basics of computer networks. While you will not learn all aspects of computer networking, we hope that it will serve as a good starting point.

To network micro:bits, we use custom micro:bit radio to radio communication. When one hears the word radio, what comes to mind is the radio that blasts out tunes from your favourite radio broadcasting channel. But, a radio, or a radio transceiver (transmitter/receiver), is used in communications to generate and receive radio waves that contain information such as audio, video or digital data. And all micro:bits have built-in radios1.

Each chapter presents interesting challenges in radio communications and networking with micro:bits. After every few chapters, there’s an exciting game to look forward to! In the programming sections, you will use the JavaScript Blocks Editor at the Microsoft Makecode site to develop solutions to overcome those challenges2.

Writing this book, we have assumed no knowledge of radio communications or networking.

However, we assume that you have written programs with a micro:bit. For example, we expect that you are familiar with variables, if-then-else statements, and loops. The activities in each chapter will provide ample opportunity to put this knowledge into practice.

Editions

A PDF version is available for download.

You can buy a printed copy from Amazon.co.uk or Amazon.com (this is the cheapest & most efficient way for us to make printed copies available).

A Spanish translation of ‘Networking with the micro:bit’ is also available.

About the authors

We are researchers, which means we work on new ideas and products. Our company Nominet runs the part of the Internet that controls how names (like http://www.bbc.co.uk)) are used when people, computers, or devices like tablets or smartphones connect to other computers over the Internet. We’re very excited to have the opportunity to work with micro:bits and the Micro:bit Foundation.

Understanding how computers talk to each other is something that we think is important, which is why we wrote this book! We’ve enjoyed designing the tasks and challenges in the book, and we hope you do too.

Anthony & Cigdem

Outline

Let’s start!

(BLE) protocol but in this book, we will use the simpler micro:bit to micro:bit communication.

  1. The CPU on the micro:bit is a Nordic Semiconductor nRF51822 and contains a built-in 2.4GHz radio module. This radio can be configured to run Bluetooth Low Energy 

  2. This version of the book uses JavaScript Blocks Editor; we are also working on a MicroPython version.