MuTech Robotics
Join
Kids OK with adultArduino UnoLevel 3/3

This Robot Walks on 2 Legs With Just 8 Servos

A two-legged walking robot: four servos in each leg for the hip, thigh, knee and ankle, driven by an Arduino and a 16-channel servo driver.

Sign in to save
This Robot Walks on 2 Legs With Just 8 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.

An adult handles the battery pack. Keep fingers out of the joints while the servos are powered.

Strictly follow the description given with this video.

Video

How it works

  1. Each leg has four joints, hip, thigh, knee and ankle, each turned by its own servo.
  2. The Arduino sends positions over I2C to a 16-channel servo driver, which moves all 8 servos.
  3. A walk is a loop of poses: lean onto one foot, lift the other knee, step forward, then swap sides.
  4. A separate battery powers the servos, not the Arduino, and all grounds are joined.

Parts you need

  • Arduino UnoArduino Uno₹632× 1Buy
  • 16-channel servo driver (PCA9685)16-channel servo driver (PCA9685)₹345× 1Buy
  • Metal-gear servo motorMetal-gear servo motor₹379× 8Buy
  • 4×AA battery holder4×AA battery holder₹34× 1Buy
  • AA rechargeable cellsAA rechargeable cells₹172× 4Buy
  • Jumper wiresJumper wires₹80× 1Buy

Wiring

Arduino5VA4 / A5DriverVCCSDA / SCLV+Battery packLeft hip, thigh, knee, ankleServos 0–3Right hip, thigh, knee, ankleServos 4–7Common GNDAll grounds
PowerGroundSignal
#FromConnect to
1 PowerDriver VCCArduino 5V
2 SignalDriver SDA / SCLArduino A4 / A5
3 PowerBattery packDriver V+ (servo power)
4 SignalServos 0–3Left hip, thigh, knee, ankle
5 SignalServos 4–7Right hip, thigh, knee, ankle
6 GroundAll groundsCommon GND

3D print files

This project has no 3D-printed parts.

Code

Get the code