Skip to content

Photo and 3D model

Bipedal Self-Balancing Robot, photo from its repository
Photo@kairobyte (opens in a new tab)MITsource file (opens in a new tab)

3D preview converted from github.com/kairobyte/bipedal_self_balance at 9291561, under MIT. View the original files from GitHub (7.0 MB) (opens in a new tab)

Open source · free filesRobot ID

Bipedal Self-Balancing Robot

Other

A self-balancing bipedal robot with 2-DOF legs and stepper-driven wheels, built from scratch with an ESP32 controller and dual IMUs.

Before you build

Tools
3D printer, soldering iron
Level
Advanced
Licence
MIT (opens in a new tab), hardware and softwareCommercial use: Allowed

Not stated in the creator's files: total cost, shop links, time.

Read from the repository at commit 9291561. Something out of date? Tell us

Project information

Buildability
75/100Buildable with some effort
Parts
Not listed
Works with
Arduino
Sensors
IMU
Degrees of freedom
2

Suggested by Robotheca, created by @kairobyte (opens in a new tab), from github.com/kairobyte/bipedal_self_balance (opens in a new tab), pinned to commit 9291561 (opens in a new tab). You buy the parts yourself; Robotheca doesn't sell robots. Last checked on GitHub on 30 November 2026; its last change there was on 9 September 2026.

Build it

The creator's 6 steps, each linked to its instructions
  1. Model the parts in SolidWorks bottom-up: stepper holders, legs, base
  2. Design the PCB schematic and layout, run DRC, and export Gerber files
  3. 3D print the parts and arrange them in the slicer
  4. Assemble the 3D printed parts and complete the wiring
  5. Flash the test code to confirm motors, sensors and RGB indicators work
  6. Tune the PID controller over serial until the robot balances

The guide appears here as you scroll.

Guide by @kairobyte (README.md), under MIT.

What to buy

This repository has no parts list Robotheca can read yet.

Why it scores 75

It measures the published files, not the robot · How we score

75/100

Buildable with some effort

How complete the published files are for rebuilding this robot, measured by Robotheca at commit 9291561. It isn't a rating of the robot. Counted out of 80 points and scaled to 100: the parts that don't apply to this robot are left out.

  1. 2Parts listNo parts list in the repository or linked.Most points to gain: Link to your parts list, or add it to the repository (a CSV or a Markdown table) with quantities, prices and where to buy each part.0/20
Full points: 3D and CAD files, Software, Documentation, Licenses; not counted: Robot description, Simulation
  1. 13D and CAD files19 printable parts (STL, 3MF), 75 CAD source files.20/20
  2. 3SoftwareCode in this repository, instructions to install or run it, built on Arduino.15/15
  3. 4DocumentationREADME of 6,941 characters with 12 pictures; 6 build steps.15/15
  4. 5LicensesHardware: MIT; software: MIT.10/10
  5. –Robot descriptionNo URDF. Not counted: the score is made of the parts that apply.Optional: add a URDF, and the robot can be seen in 3D and tried in the browser.Not counted
  6. –SimulationNo simulation files. Not counted: the score is made of the parts that apply.Optional: add a simulation model (MuJoCo, Gazebo, Webots or Isaac).Not counted

Wiring and electronics

Notes written by Robotheca from the project's documents, not by its creator

Main parts: Robotheca's summary

  • ESP32 as the main controller.
  • Dual IMUs, MPU6050 and MPU9250, for sensor redundancy.
  • A4988 stepper drivers controlling stepper motors that drive the wheels.
  • Servos for the legs.
  • Two buck converters stepping down 12V from a 3S LiPo battery, one for sensors and one for servos.
  • A capacitor and diode to protect the ESP32 from brownouts.

Connections: Robotheca's summary

  • Two buck converters split power: one dedicated to sensors and one to servos, keeping noisy current away from sensor power.
  • A capacitor and diode are placed to guard the ESP32 against brownouts during high servo and stepper current draw.
  • Extra wires for the second leg degree of freedom were soldered directly onto the ESP32.

What it can do: Robotheca's summary

Written by Robotheca from the project's documents, not by its creator
  • Balances on two wheels as a self-balancing bipedal robot, currently for only a few seconds at a time.
  • Uses PID control running at roughly 1 kHz to keep balance.
  • Tuning parameters can be set over serial and saved without reflashing the ESP32.
  • Legs have 2 degrees of freedom for lean control.
  • Planned: PS4 controller support over Bluetooth and possible machine learning-based balancing.

Software

Framework
Arduino
Languages
C++, Arduino, C
License
MIT

Robotheca doesn't review code. Read it before running it.

How to run it: Robotheca's summary

Written by Robotheca from the project's documents, not by its creator.

  1. 1Flash the ESP32 with the firmware in the repository's 3. Code folder.
  2. 2Run the initial test code first to confirm motors, sensors and RGB indicators work.
  3. 3Start the PID balancing firmware.
  4. 4Send tuning parameters over serial to adjust the PID gains; they are saved without reflashing.

Software that runs on this robot

No software from Robotheca's catalogue found in this robot's files yet. Links come from its robotheca.yaml, its dependency files read as text, or Robotheca's editors.

The code

Free files

Every file of the project, at commit 9291561.

Community

Questions and improvements go to the creator's repository.

Add a badge to your README

For the creator: two badges that link back here. The second always shows this page's current label and score.

Listed on RobothecaRobotheca buildability

Markdown (one click selects it)

[![Listed on Robotheca](https://robotheca.org/robots/bipedal-self-balancing-robot/badge.svg)](https://robotheca.org/robots/bipedal-self-balancing-robot)
[![Robotheca buildability](https://robotheca.org/robots/bipedal-self-balancing-robot/score.svg)](https://robotheca.org/robots/bipedal-self-balancing-robot)

Licence and credits

Robot ID

Robotheca

Bipedal Self-Balancing Robot

A self-balancing bipedal robot with 2-DOF legs and stepper-driven wheels, built from scratch with an ESP32 controller and dual IMUs.

Type
Other
Level
Advanced
Joints
2

Licence: MIT, hardware and softwareCommercial use: Allowed

Buildability: 75/100, Buildable with some effort

Licences read from the files at commit 9291561

robotheca.org/robots/bipedal-self-balancing-robot

Licenses
MIT (opens in a new tab), hardware and software
Commercial use
Allowed

Other other robots

All 98 other robots
  • Ready to build

    Open source · free files

    Koriobots

    Other · Intermediate

    Score
    Buildability 98 out of 100
    Cost
    $972.06≈ €887
  • Ready to build

    Open source · free files

    AmazingHand

    Other · Intermediate

    Score
    Buildability 88 out of 100
    Cost
    under €200
  • Ready to build

    Open source · free files

    DigiArm Prosthetic Hand

    Other · Advanced

    Score
    Buildability 85 out of 100
    Cost
    $250≈ €228
  • 3D render

    Open source · free files

    FloatingFace

    Other · Advanced

    Score
    Buildability 100 out of 100
    Cost
    $328.47≈ €300

≈ € values are approximate, converted at the ECB euro reference rate of 27 Nov 2026. The creator's original price always comes first.