MuTech RoboticsLearning Hub
Kids OK with adultESP32Level 3/3

4-Legged Crawler Robot (12 servos)

A low, spider-style walking robot: 12 servos, three per leg, and it can wave hello.

Sign in to save
4-Legged Crawler Robot (12 servos)
Kids OK, with an adult

DIY project. Children must build this only with an adult (16+ years) beside them at all times. Not suitable for children under 8 years.

The battery pack must be handled and charged by the adult. Power the servos from the converter, never from the ESP32.

Strictly follow the description given with this video.

Video

The video link will be added here soon.

How it works

  1. Each leg has three servos: the hip swings it forward and back, the thigh lifts it, and the knee bends through a push rod.
  2. The servos sit up in the body, so the legs stay light.
  3. It walks one leg at a time (front-left, rear-right, front-right, rear-left), so three feet always stay on the ground.
  4. An ESP32 sends the angles to a 16-channel servo driver; a battery pack feeds the servo bus through a converter.

Parts you need

  • ESP32 dev boardESP32 dev board₹518× 1Buy
  • 16-channel servo driver (I2C)16-channel servo driver (I2C)₹345× 1Buy
  • Metal-gear micro servoMetal-gear micro servo₹218× 12Buy
  • Li-ion battery pack 7.4 VLi-ion battery pack 7.4 V₹747× 1Buy
  • Buck converter, 6 V (high current, for the servo bus)Buck converter, 6 V (high current, for the servo bus)₹69× 1Buy

Wiring

Servo driverSDASCLVCCGNDV+ and ESP32 VINESP32D21D223V3GNDConverterIN+IN−OUT 6VOUT −Battery+−Common GND
PowerGroundSignal
#FromConnect to
1 SignalServo driver SDAESP32 D21
2 SignalServo driver SCLESP32 D22
3 PowerServo driver VCCESP32 3V3
4 GroundServo driver GNDESP32 GND
5 PowerBattery +Converter IN+
6 GroundBattery −Converter IN−
7 PowerConverter OUT 6VServo driver V+ and ESP32 VIN
8 GroundConverter OUT −Common GND
9 SignalFront-left hip / thigh / knee servosChannels 0 / 1 / 2
10 SignalFront-right hip / thigh / knee servosChannels 3 / 4 / 5
11 SignalRear-left hip / thigh / knee servosChannels 6 / 7 / 8
12 SignalRear-right hip / thigh / knee servosChannels 9 / 10 / 11

3D print files

This project has no 3D-printed parts.

Code

Get the code