Introduction: Robot Competition - DFRobot Maqueen Football Game

About: Empowering Creation for Future Innovators; Our mission is to form a community with easy access to whether hardware, software and ideas that allow makers and younger generation to achieve their goals and realiz…

Dribbling, passing, and shooting… come to play the world’s most popular sport! This project turns DFRobot Maqueen Cars into cool football players, and a dazzling football pitch is set up to simulate a real football field.

In our Maqueen football project, first of all, we need to equip Maqueen with a mechanic push and establish the wireless connection between Maqueen and GamePad remote control via the “Radio” service of the mirco:bit. Then we make the GamePad control Maqueen forward, backward, turn right or turn left through programming.

Supplies

Step 1: Maqueen Football Kit

DFRobot 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, plug-and-play, it allows children to quickly learn graphical programming in an entertaining way while nurturing their interests in science and logical thinking. Maqueen is accessible to Mind+ Programming platform now. Mind+ is a graphical programming platform from DFRobot, supporting Python, Arduino, and other programming platforms.

DFRobot Maqueen Football Game teaches children the design, analysis, application and operation of robots, focusing on the achievements of basic knowledge and skills in robotics, and learning the development of robotics theory such as line-tracking principle and practice through hands-on operation in a fun way.

Step 2: The Brain of Robot - Micro:bit

micro:bit is a single-chip credit card-sized microcomputer with ARM architecture designed by BBC. The built-in 5x5 LED display, accelerometer, magnetometer, programmable buttons, and Bluetooth module are very suitable for programming learning for children.

Step 3: Gamepad for Maqueen Robot

GamePad is a micro: bit-controlled joystick. It is a high-precision three-axis analog amount joystick. Children can use the joystick through coding to control the direction and speed of Maqueen at the same time. Moreover, there are up to 7 programmable buttons (A, B, C, D, E, F, Z), they can use these buttons to achieve some interesting function control or directly use the simplest switch control.

Step 4: Colorful Decorations for Football Pitch - RGB LED Strip

This Digital RGB Strip is an intelligent control LED light source. The control circuit and RGB chip are integrated into a package of 5050 components. Its internal includes intelligent digital port data latch and signal reshaping amplification drive circuit. It also contains a precision internal oscillator and a 12V programmable constant current control part, effectively ensuring the consistency of pixel point light color. In the Digital RGB Strip, an IC controls an LED to form a loop, and the controller controls the circuit in the FPCB by controlling the IC, while controlling the changes of the LED light strip, such as flashing, simulated lightning, etc.

Step 5: The Controller for All Decorative Lights - Firebeetle ESP32

DFRobot FireBeetle series is the low-power consumption microcontroller intentionally designed for Internet of Things (IoT) projects. FireBeetle Board - ESP32 integrates a Dual-Core ESP-WROOM-32 module, which supports MCU and Wi-Fi &Bluetooth dual-mode communication.

Step 6: Project Procedures

In order to better distinguish and protect the Maqueen robots from the red and blue teams, we designed and 3D-printed the shell with two colors for Maqueen, one is red and the other is blue. After that, we designed a football field map with a red and blue digital LED strip. We use FireBeetle board-ESP32 to control two light strips via programming. The red and blue lights flowed in two directions from the middle to guide the attack direction of the red and blue sides. The red and blue buttons are pressed respectively to achieve the effect of all red or all blue, indicating the goal of the red and blue squares. Finally, we put in our timer, scoreboard, ball, and other items, and the whole project scene is set up.

Step 7: Maqueen Shell and Codes

The protective case file for Maqueen robots is attached here.

Click to download the Codes for this project.(Load the files into Mind+ and burn the corresponding codes into the devices.)