CAS Community   >   Resources   >  

Radio
Making two micro:bits talk via radio

This tutorial will show how to make one micro:bit talk to the other using the built in radio. It allows one micro:bit to control a Kitronik buggy wirelessly

David Franks

Created by David Franks
last edited Jun 21 2016 by David Franks



There seem to be multiple ways of making one micro:bit talk to another, but none of the help available seems to talk about wireless communication, at least not at a level or using a programming language accessible by all year 7s.

This tutorial will show a simple way of making one micro:bit control another in a Kitronik buggy.

The buggy itself has been built without the included line sensor, so is driven by manually turning the pins on within the program itself.

The controller makes the buggy drive:

  • Forwards if tilted forwards
  • Backwards if tilted backwards
  • Stops the buggy if relatively flat
  • Turns the buggy left when you press A
  • Turns the buggy right when you press B

Please note, the language used for this is called PXT, it is a block implementation of JavaScript I stumbled upon recently but have really been enjoying so far.

The .hex files for both the sender and receiver are attached.

Level: Beginner / Intermediate

Downloaded 2286 times.

Download

This resource has attached files: to access these files, please tick the box below to assent to the license terms
License: The resources on CAS website are under Creative Commons Attribution-Share Alike 3.0 licence unless otherwise specified by the resource creators.

You must confirm that you have read and agree the licence's ToS before you can download the attachments of this resource.

I have read the licence agreement of this resource and agree to abide by its terms and conditions.

Feedback and Comments


Available when logged in (join via the front page, for free):
  • View 4 comments on this resource.
  • View resource history, links to related resources.
  • Leave feedback for the author(s), or help by editing the resource.
Categories:


All Rights Reserved © Computing At School 2020
Using the websiteDisclaimer of liabilityCookies policyPrivacy policy