Example Code for micro:bit-Remote Controller

Last revision 2026/01/14

The article offers example codes for creating a remote controller using micro:bit with Maqueen Plus V2 and Gamepad Expansion, detailing hardware and software setup, wiring, and sample code links for basic and speed control programs.

Hardware Preparation

Software Preparation

Wiring Diagram

Install one micro:bit on the car and one on the remote control handle.

Other Preparation Work

  1. Install the micro:bit on the remote control handle.
  2. Complete the Quick Start Guide steps for the car.

Sample Code

Basic Remote Program Link: https://makecode.microbit.org/_Ew9VCh414YW3

Basic Car Program Link: https://makecode.microbit.org/_bTPhA5JDs6mA

Speed Control Remote Program Link: https://makecode.microbit.org/_99UJEH9hahwF

Speed Control Car Program Link: https://makecode.microbit.org/_evzJtbUqoLFt

Result

Basic: Use the remote joystick to control direction.
Speed Control: Joystick angle controls both direction and speed.

Additional Information

Was this article helpful?

TOP