Skip to main content

Case 18: Unicycle Robot

Case Introduction

Use Nezha Pro Sport Kit to make a unicycle robot. Control the motor to drive the robot forward on the unicycle, simulating the unicycle riding motion. In this process, you can gain a deeper understanding of the relevant knowledge and mechanical principles of unicycle motion.

Teaching Preparation

NameGraphic
Nezha Pro Sport Kit

Teaching Objectives

Understand the basic characteristics and skills of unicycle sports, and master the principle of unicycle robot structure-assisted stability.

Through construction and debugging, cultivate mechanical structure design and hands-on practice skills.

Inspire interest in unicycle sports and expand the understanding of sports.

Course Introduction

Students, unicycle riding is a very challenging sport that requires superb balance skills! The unicycle robot we are going to make today does not need to rely on itself to maintain balance like a rider, but cleverly uses a special structure to "stand" steadily. By controlling the motor, it simulates unicycle riding and moves forward like a real unicycle! Want to know what this magical structure looks like? Come and start the production journey together!

Learning and Exploration

Explore how to achieve stable movement of unicycle robots through mechanical structure-assisted support, study the relationship between motor drive and the actual movement state of the unicycle, and understand the physical principles behind unicycle movement.

Building Steps

Hardware connection

Connect the smart servo to the M1 port of the Nezha Pro expansion board.

Code Programming

Go to "makecode.microbit.org" and click New Project.

Enter a project name in the pop-up window and click Create.

Click Extension in the code drawer.

In the pop-up interface, enter nezha pro and click the search icon. Click it when the nezha pro software library is displayed. Load the PlanetX software library in the same way.

Sample Program

Program link: https://makecode.microbit.org/_PdAAyTHXfHsH

You can also download the program directly from the following website.

Download Program

Connect PC and micro:bit V2 with USB cable.

After the connection is successful, a drive named MICROBIT will be recognized on the computer.

Click in the lower left corner and select Connect Device.

Click.

Click.

In the pop-up window, select BBC micro:bit CMSIS-DAP, and then select Connect. At this point, our micro:bit has been successfully connected.

Click Download the program

Case demonstration

Press button A to start the unicycle robot, and press button B to stop the unicycle robot.

Summary and sharing

Extended knowledge

Origin and development of unicycle sports

The unicycle originated in the Han Dynasty in China. It was originally used as a means of transportation and later gradually evolved into a folk juggling and competitive event. In ancient times, unicycles were not only used for daily labor, but also for displaying superb skills in temple fairs, celebrations and other activities. Over time, unicycle sports have spread to all parts of the world and have developed into an extreme sport and competitive event full of challenges and fun in modern times. Today, unicycle sports cover a variety of types such as flatland skills, off-road, and racing, attracting many enthusiasts to participate.

Skills and training for unicycle sports

In actual unicycle sports, riders need to master basic skills such as getting on and off, riding in a straight line, turning, and braking. When getting on the bike, you usually need to step on one foot on the pedal first, and then quickly step on the other pedal after the other foot pushes the ground to gain initial velocity; when turning, the direction change is achieved by transferring the center of gravity of the body and controlling the force of the foot on the pedal. During the training, riders should start with basic balance exercises and gradually improve riding speed and skill difficulty. In addition, training of core strength, leg strength and body coordination is essential to improving unicycle riding skills.

Unicycle sports competitions

Flat skills competition:Competitors complete various difficult movements on a flat field, such as single-leg riding, jumping, spinning, etc. The referee scores according to the difficulty, completion and fluency of the movements.

Cross-country race:Riding on complex terrains such as mountains and jungles tests the endurance, control ability and adaptability of the players to different road conditions.

Speed race:Competing on riding speed on a specified track. Players need to have strong explosive power and lasting endurance, and strive for the best results through reasonable riding rhythm and skills.