# How to Make a Six-feet Micro:bit Insect

25

This time we have made a six-feet robotic insect with micro:bit. We use three servos to adjust the center weight of the robot and make it slowly crawl like an insect.

https://youtu.be/-iUR8K31pAQ

Acrylic Board

Glue Gun

Iron Wire

## Step 2: How to Make:

Step 1: Adhere the three servos onto the acrylic board.

Step 2: Connect the servos according to schematic diagram. (The servo in the center is connected to P0, the rest two are connected to P1 and P2 separately.)

## Step 3: Programming

Click to open Microsoft Makecode, write your code in the editor area.

## Step 4: Code Explain

First of all, adjust your servo to the angle of 90 degrees and display an image on the micro:bit board.

The six-foot robot marches forward by adjusting its central weight. So we must rotate the center servo to the angle of 75 degrees and make the robot center turn right. Because the servo rotation takes some time, here we delay time for 200ms.

At this moment, the weight center turns right and its two feet both in front and back can touch the ground now. Next, try to make the two servo in the head and tail rotate to the angle of 100 degrees like human walk with a right foot stretched in the front.

Next step is to make the central servo rotate to the angle of 105 degree and the weight center stay in the left.

Now the weight center is in the left and the left two feet in the head and tail can touch the ground. Then rotate the two servos in the head and tail to the angle of 70 degrees like a human walk with left foot stretched in the front.

Circulate these movements, then the robot insect will come into life!

## Step 5: Success

Now you've made your own micro:bit robot insect successfully. Try to show it around your friends! I am sure they will like it very much.

## Step 6: Source

If you have any questions, you can contact： louise@elecfreaks.com.

## Recommendations

• ### 3D Printed Vacuum Cleaner for a CNC Machine

712 Enrolled

## Discussions

Hello there!

We're glad you want to share something with the Instructables community!

In order to be published live on the site, Instructables must consist of the following things:

- Written instructions in each step