App Inventor Maqueen Micro:bit Project

Controlling the Maqueen robot with smartphone

Purpose of this tutorial:

In this tutorial, we will control the Maqueen robot using the Micro: bit card and a smartphone.

We create two programs: a mobile application with App Inventor for the smartphone and a makecode program for the Micro: bit card.

Necessary components

  • Micro:bit
  • Smartphone
  • Maqueen robot

Makecode program

Here is the makecode program which allows you to connect the Micro: bit card to the smartphone and to receive a message containing the command order of the Maqueen robot.

version 1 program

version 2 program

Creation of the application with App Inventor:

We create a mobile application called ‘commander_maqueen’ with App Inventor which allows the Maqueen robot to be controlled by the smartphone.

We propose to create the design of the application, with the following visual:

Version 1 Application designer

Version 2 Application Designer

Programming with App Inventor

To program the application, App Inventor offers us to use the Blocks space, which allows you to create a program in the form of a block diagram. Very easy to use but requiring a little programming logic.

Here is the program of the application created in the Blocks area of ​​the Inventor App:

Version 1 App Inventor program

version 2 App Inventor program

0 commentaire

Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top