micro: Maqueen micro:bit Educational Programming Robot Platform WIKI

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

1.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

Features

Specification

2.Product Configuration List

Image List
Car Body x 1 (Motors and bearing wheel have been assembled before leaving factory)
Wheel x 2
Three AAA batteries Box x 1
Double Sided Adhesive Tape x 1
SR04 Ultrasonic x 1
Quick start Guide x 1

Product Installation

Installation

3. Introduction to Teaching Contents and Documents

This book provides a cost-efficient and fun way for primary and secondary school students to learn programming. The courses guide them to explore how to control a robot car Maqueen by coding, during which they will get to know the basics of robotics. Maqueen is a mini robot car intensively designed for STEAM education, small but powerful. It is developed based on the popular micro:bit board. Children can code Maqueen to play, learn and create so as to enhance their analytical and creative thinking skills, which is precisely what the original intention of STEAM education is. The programming software Mind+ is used in this book. Mind+ is a Scratch 3.0-based graphical programming platform that supports all kinds of open-source hardware such as Arduino and micro:bit. Drag and drop graphical code blocks to make programs, or use high-level programming languages like Python, C, C++, etc. to code. Easy to experience the joy of creating. This book is composed of 20 teaching cases, including some classic games like Catching Apple, Cat and Mouse, etc, and projects related to life scenes like Obstacle Avoidance Maqueen, Research and Rescue Maqueen. Each case is designed based on teaching practices. It aims to inspire all children to participate in programming and pave the path for them to further develop and create.

Refer to CSTA curriculum standard, the course catalog and field distribution are shown below:

Silly Maqueen Tutorial(Scratch 3.0-based)

3.1 Documents

Click to view online tutorial https://edu.dfrobot.com/course-661.html
Click to download the tutorial 1.crazy maqueen -mindplus
2.silly maqueen -makecode And Maqueen & microbit Graphical Programming
3.Maqueen Mechanic Getting Started Guide(MakeCode)-20200929.pdf
More tutorail click here
Product pictures ROB0148-EN Product pictures.rar

4. 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.

5. Makecode Programming Example

Motor Control


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

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/_5AuHAMPPmD28

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/_UV9W1vRPP4tW

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/_bfuHRf53RdXM

Screenshot of Makecode Graphical Program:

Read Line-tracking Sensor


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

Screenshot of Makecode Graphical Program:

Line-tracking

Line-tracking

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

Screenshot of Makecode Graphical Program:

Ultrasonic Obstacle-avoiding

Ultrasonic Obstacle-avoiding

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

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/_fzJDgMDzceUL

Screenshot of the graphical program:

6. 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