The Walking Robot

The Walking Robot

Purpose

While I am browsing the website, an interesting Chebyshev connecting rod structure case comes to my eyes, which are used to simulate the walking of the robots.

The Walking Robot

The Walking Robot

Thus, I am going to a walking robot with our bricks and Nezha inventor’s kit.

Bricks assembly

The Walking Robot

The Walking Robot

The Walking Robot

The Walking Robot

The Walking Robot

The Walking Robot

The Walking Robot

The Walking Robot

The Walking Robot

The Walking Robot

The Walking Robot

If you have Lego studio app, please download this file: The Walking Robot.io

After assembly, install the motors and Nezha Nezha expansion board with the bricks.

The Walking Robot

The Walking Robot

The Walking Robot

Software Programm

Step 1

Click "Advanced" in the MakeCode drawer to see more choices

The Walking Robot

For programming, we need to add a package: click “Extensions” at the bottom of the MakeCode drawer and search with “nezha” in the dialogue box to download it.

The Walking Robot

Notice: If you met a tip indicating that some codebases would be deleted due to incompatibility, you may continue as the tips say or create a new project in the menu.

Step 2

Program:

The Walking Robot

Link: https://makecode.microbit.org/_AbuaPP542RAY

Result

Press button A on the micro:bit to make the robot walk forward, press button B to stop it.