micro: Maqueen micro:bit Educational Programming Robot Platform WIKI

micro: Maqueen Lite-micro:bit Educational Programming Robot Platform

Introduction

I am Maqueen

Maqueen is an easy-to-use micro:bit programming robot for STEAM education, which inherits the playability and simple operation of micro:bit. With a mini body, play-and-play, it allows students to quickly learn graphical programming in an entertaining way while nurturing their interests in science and logical thinking.

What are the features of Maqueen?

Function Diagram

Function Diagram

Specification

Product Configuration List

Product Installation

Installation

Silly Maqueen Tutorial(Scratch 3.0-based)

Download address: click here

More tutorail: click here

Import the Makecode Graphical Library

  1. Click the link: makecode.microbit.org, enter the makecode graphical online programming platform. (Note: Loading will be slow in the first time, please wait patiently)

  2. Search the makecode extension for "dfrobot" and select "maqueen".

  3. Paste web address in makecode extension: https://github.com/DFRobot/pxt-maqueen

  4. Import the library by following the steps.


Makecode Programming Example

Motor Control


Makecode Program Link: https://makecode.microbit.org/_MA5ithJL3LMA

Screenshot of Makecode Graphical Program:


RGB Breathing Ambient Light

RGB


Makecode Program Link: https://makecode.microbit.org/_7t0HFXHesULM

Screenshot of Makecode Graphical Program:


LED Light Flash


LED Light Flash

Makecode Program Link: https://makecode.microbit.org/_Uk2F3W4Yt3vD

Screenshot of Makecode Graphical Program:


Read Ultrasonic Distance


Read Ultrasonic Distance

Makecode Program Link: https://makecode.microbit.org/_F1aHEWVaHgs3

Screenshot of Makecode Graphical Program:


Read Infrared Key Assignments


Read Infrared Key Assignments

Makecode Program Link: https://makecode.microbit.org/_JUM2X88rJKdv

Screenshot of Makecode Graphical Program:


IR Remote Control and Its Key Assignments

The key assignments in the following table are in hexadecimal. In this product, we read the last two digits of the key assignments and automatically convert them to decimal data.



IR Remote Control


IR Remote Control

Makecode Program Link: https://makecode.microbit.org/_MxDWYC2bKCtu

Screenshot of Makecode Graphical Program:


Read Line-tracking Sensor


Makecode Program Link: https://makecode.microbit.org/_38mPyj9Rq69q

Screenshot of Makecode Graphical Program:


Line-tracking

Line-tracking

Makecode Program Link: https://makecode.microbit.org/_CWxe2mRJ2KPF

Screenshot of Makecode Graphical Program:


Ultrasonic Obstacle-avoiding

Ultrasonic Obstacle-avoiding

Makecode Program Link: https://makecode.microbit.org/_FxFPvxDzVR8P

Screenshot of Makecode Graphical Program:

Light-operated Sprite

Light-operated Sprite

Makecode Program Link: https://makecode.microbit.org/_UsUV6KDWvfcz

Screenshot of Makecode Graphical Program:

Wireless Remote Control

Load the gamePad library: https://github.com/DFRobot/pxt-gamePad

Wireless Remote Control

Screenshot of Makecode Graphical Program:

Program for Maqueen: https://makecode.microbit.org/_d4D02s0uX6da

Program for gamePad: https://makecode.microbit.org/_49mJKYK4V8c0

Driving Servo

Makecode program link: https://makecode.microbit.org/_5Te7D33q3UoL

Screenshot of Makecode graphical program:

Get Product Information

Program result: the product information is showed on the micro:bit LED panel.

Makecode Program link: https://makecode.microbit.org/_YAebP1f7pdsi

Screenshot of the graphical program:

Get Product Information

Line-tracking Sensor Calibration

The line-tracking sensor is factory calibrated, so there is no need for recalibration. Just like the reset button on digital products, the calibration button is not used in most cases. And improper calibration may cause the sensor error.

But you can try to calibrate it if the sensor can't recognize the black line as usual. The method is as follows:

1.Place the car in the black area of the map that comes with the product, and make sure the left and right sides of the sensor are in the area, as shown in the picture below:

2.Press the calibration button for about 1s, and the two blue LED line-tracking indicators will flash. The calibration is completed after flashing.

3.Check the calibration result: after the calibration is completed, put the sensor in the white area, and the two line-tracking indicators will be on; put it in the black area, and they”ll be off, which means the calibration is correct.

FAQ

1.Upload error? For uploading to the device, you need to switch the code window to the "Auto Generate" window.
2.In ultrasonic wave test, there is 0 value appearing? A constraint condition should be added for test barrier, that is, filter out the data when the distance is not 0 or less than 5. You can also add 100-millisecond delay to prevent multiple reflections.
3.After installing a battery in the car, the motor still can’t be controlled to rotate by burning program while the power light is on? Perhaps the battery is dead, and it is recommended to replace it with a fully charged one. When the battery voltage is lower than 2V, the LED on the board and other functions can work normally, but the motor can’t rotate due to insufficient power.
For any questions, advice or cool ideas to share, please visit the DFRobot Forum. |

More Documents

DFshopping_car1.png Get micro: Maqueen for micro:bit from DFRobot Store or DFRobot Distributor.

Turn to the Top