Skip to content

Photo and 3D model

Its license doesn't let Robotheca show its photos.
See the photos on GitHub (opens in a new tab)

3D model loaded from the original files on GitHub at 13592db, under NONE. View the original files from GitHub (345 KB) (opens in a new tab)

No license yetRobot ID

STM32 Balance Car

Wheeled

A self-balancing robot using STM32F103C8T6 with Mahony algorithm for attitude estimation.

Before you build

Tools
3D printer, soldering iron, Keil5 development environment
Level
Intermediate
Licence
No license, hardware and softwareCommercial use: Unknown

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

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

Project information

Buildability
50/100Buildable with some effort
Parts
Not listed
Sensors
IMU

No license: all rights reserved by the creator.

Work in progress: the creator is still working on it.

No license is stated for part of this robot.

This repository contains executable files that Robotheca doesn't check. Only run them if you trust the creator.

Which files (1 script)

Suggested by Robotheca, created by @WxxGreat (opens in a new tab), from github.com/WxxGreat/STM32-Balance-Car (opens in a new tab), pinned to commit 13592db (opens in a new tab). You buy the parts yourself; Robotheca doesn't sell robots. Last checked on GitHub on 1 December 2026; its last change there was on 7 April 2026.

Build it

The creator's 4 steps, each linked to its instructions
  1. Hardware Assembly
  2. PCB Assembly
  3. 3D Printed Parts Assembly
  4. Firmware Upload and Calibration

The creator's guide is written in Chinese. It has no license, so all rights stay with the creator: Robotheca doesn't show it here or translate it, and gives its own notes about the robot instead.

Read the creator's guideAsk the creator on GitHub (opens in a new tab)

What to buy

This repository has no parts list Robotheca can read yet.

Why it scores 50

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

50/100

Buildable with some effort

How complete the published files are for rebuilding this robot, measured by Robotheca at commit 13592db. 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
  2. 3SoftwareCode in this repository, instructions to install or run it.Say which software framework it uses (ROS 2, LeRobot, Arduino…).10/15
  3. 4DocumentationREADME of 3,479 characters with 0 pictures; 4 build steps.Show the robot and its assembly in pictures in the README.10/15
  4. 5LicensesHardware: no license; software: no license.Add a license for the hardware (e.g. CERN-OHL-S-2.0 or CC-BY-SA-4.0). Add a license for the software (e.g. MIT or Apache-2.0).0/10
Full points: 3D and CAD files; not counted: Robot description, Simulation
  1. 13D and CAD files2 printable parts (STL, 3MF), 2 CAD source files.20/20
  2. –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
  3. –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

  • STM32F103C8T6 microcontroller
  • MPU6050 or ICM20602 or ICM42605 IMU
  • Two MG513P20 12 V DC geared motors with quadrature encoders
  • ST7789 1.3 inch 240×240 LCD

Connections: Robotheca's summary

  • IMU connected via I2C to the STM32
  • Motors driven by H-bridge drivers wired to GPIO and PWM timers
  • LCD wired to SPI pins for display updates
  • Encoders wired to external interrupt pins for speed measurement

What it can do: Robotheca's summary

Written by Robotheca from the project's documents, not by its creator
  • Balances upright on two wheels
  • Moves forward and backward by tilting
  • Stops when tilted beyond ±30°
  • Shows roll, pitch and yaw angles on a 240×240 LCD
  • Uses Mahony algorithm for sensor fusion

Software

Framework
Not stated
Languages
C, Assembly
License
NONE

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. 1Install Keil MDK and STM32F10x firmware library
  2. 2Open the project in Keil and compile the code
  3. 3Flash the resulting hex file to the STM32F103C8T6 via SWD
  4. 4Power on the robot and wait a few seconds for Mahony calibration
  5. 5The robot will balance automatically once calibration finishes

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 13592db.

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/stm32-balance-car/badge.svg)](https://robotheca.org/robots/stm32-balance-car)
[![Robotheca buildability](https://robotheca.org/robots/stm32-balance-car/score.svg)](https://robotheca.org/robots/stm32-balance-car)

Licence and credits

Robot ID

Robotheca
Photo on GitHub

STM32 Balance Car

A self-balancing robot using STM32F103C8T6 with Mahony algorithm for attitude estimation.

Type
Wheeled
Level
Intermediate

Licence: NONE, hardware and softwareCommercial use: Unknown

Buildability: 50/100, Buildable with some effort

Licences read from the files at commit 13592db

robotheca.org/robots/stm32-balance-car

Licenses
No license, hardware and software
Commercial use
Unknown

Other wheeled robots

All 95 wheeled robots
  • Ready to build

    Open source · free files

    LeKiwi

    Wheeled · Intermediate

    Score
    Buildability 95 out of 100
    Cost
    €545.80
  • Ready to build

    Open source · free files

    JPL Open Source Rover

    Wheeled · Intermediate

    Score
    Buildability 94 out of 100
    Cost
    $1,600≈ €1,469
  • Ready to build

    Open source · free files

    Just1

    Wheeled · Intermediate

    Score
    Buildability 94 out of 100
    Cost
    $250≈ €229
  • Ready to build

    Open source · free files

    Sawppy the Rover

    Wheeled · Intermediate

    Score
    Buildability 94 out of 100
    Cost
    $500≈ €459

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