Developer diaries

Major upgrade with M5StickC Plus2! Building a Simple Bipedal Robot – Part 10

Toon Robotics is supported by its audience. When you purchase through links on my site, I may earn an affiliate commision.

Previous Development

Previously, I created and successfully completed Ver. 2.1 with color printing.

Completed for now? Building a simple bipedal robot - Part 9 Toon Robotics is supported by its audience. When you purchase throu...

Plans for further upgrades

I have created a new model called Ver. 2.1 last time, but here I got a little greedy.

I want to make a version with a little more performance.

For example, it can detect posture to prevent tipping over, check the status on the display, make a sound, perform more complicated calculations, etc.

It is possible to add some sensors to Ver.2.1, but it may require complicated wiring and trial and error for installation position.

I was doing some research with this in mind, and this is what I found!

M5StickC Plus2 on eBay

It is a relatively small version of the famous M5Stack series, but it is equipped with an IMU (Inertia Measurement Unit), a display, a buzzer, a microphone, and so on. There are smaller versions, but this one seems to be just right, as it has a lot of stuff.

And the timing seems good, as it has just been updated from the M5StickC Plus.

The ESP32-PICO-V3-02 has more computing power than the Raspberry Pi Pico, and has more RAM, Flash, etc., so you can do a lot of things with it. The price is also higher, though…

So I will create an upgraded version with M5StickC Plus2.

Keep the parts that can be diverted.

However, the body part of the system is fully operational up to Ver. 2.1, so the things that needs to be changed are

  1. Change of circuits and sensors to be used
  2. Internal circuit storage area

However, since the timing is just right, we will make the parts that required painting into an assembly type so that painting is not necessary. Servo motors and batteries are the same as before.

The servo motor control board and ultrasonic sensor will be changed, and the ultrasonic sensor will be Grove-compatible because GPIO pins are limited and Grove pins must be used efficiently.

I use this for the servomotor control board.

Adafruit 16-Channel 12-bit PWM/Servo Driver – I2C interface – PCA9685

Ultrasonic sensors are here.

https://wiki.seeedstudio.com/Grove-Ultrasonic_Ranger

Internal Design

Now let’s make the internal part that houses these circuits and the part that holds the sensor in place.

This is what it looks like.

Figure 1: Circuit housing and ultrasonic sensor mounting part
Figure 2: Changed eyeballs to assembled type
Figure 3: The back of the head cover also has a wider hole. Decorative antennas are changed to assembled type.

All other parts will use the previous version without modification.

Printing! Assembly!

Now let’s print it out.

Figure 4: Printed parts

I wanted the pupils to be black, but there was no black filament available, so I printed them in gray. I will paint this one a little later.

Now, let’s assemble, assemble, assemble. The legs come first.

Figure 5: Assembling the legs. Installation of servos.
Figure 6: In the process of assembling the legs
Figure 7: Created left and right

Next is the body section.

Figure 8: Create the body part. Insert the servomotors.
Figure 9: Gears are installed and body assembly is complete.

Next is the internal circuit.

Figure 10: Mounting and storage part of the circuit.

M5StickC Plus2 also fits perfectly.

Figure 11: Creating the circuit; the M5StickC Plus2 fits perfectly.

The new eyeballs were also assembled…

Figure 12: A little glue was applied to hold it in place.
The painting is no longer necessary since it is now assembled.
Figure 13: Other decorative parts installed

An ultrasonic distance sensor is also installed…

Figure 14: Ultrasonic sensor distance sensor assembly

And somehow… it’s done.

Figure 15: New model on the left, Ver. 2.1 on the right

There are only a few visual differences, but the internals have been significantly upgraded. It also works well.

Video 1:Walking motion test. When the ultrasonic sensor finds an object within a certain range, it stands still. Note that there is a little noise from the ultrasonic sensor.

Next

In the next article, I will introduce the internal circuitry and other new features.

For the latest status, check here.