Coding A Micro:Bit Social Distancing App

0
Coding A Micro:Bit Social Distancing App

Well this blog post is a long time coming. I’ve been on the hunt since COVID started for a class to try this project. I finally sat down to tinker with it myself.

Before we get started, let us explore the MicroBit. Internally, it carries a radio signal strength that is a numerical value which increases when two microbes get close together.

In theory, a simple conditional boolean statement should suffice to determine what that number is at any given time.

In this example, we want to print a checkmark to the screen if signal strength is greater than 60. Otherwise, print an X.

Following this, we can add some sounds too.

There you have it. The micro:bit social distancing app. Let us test it in the video below. Click here to watch it on YouTube.

(Visited 1,087 times, 1 visits today)

Leave a Reply

Name
Name*
Email
Email *
Website
Website