
Photo and 3D model
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)
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
- Hardware Assembly
- PCB Assembly
- 3D Printed Parts Assembly
- 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
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.
- 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
- 3SoftwareCode in this repository, instructions to install or run it.Say which software framework it uses (ROS 2, LeRobot, Arduino…).10/15
- 4DocumentationREADME of 3,479 characters with 0 pictures; 4 build steps.Show the robot and its assembly in pictures in the README.10/15
- 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
- 13D and CAD files2 printable parts (STL, 3MF), 2 CAD source files.20/20
- –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
- –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
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
Schematics, boards and diagrams
What it can do: Robotheca's summary
- 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.
- 1Install Keil MDK and STM32F10x firmware library
- 2Open the project in Keil and compile the code
- 3Flash the resulting hex file to the STM32F103C8T6 via SWD
- 4Power on the robot and wait a few seconds for Mahony calibration
- 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
- Issues on GitHub (opens in a new tab)
- Pull requests on GitHub (opens in a new tab)
- Are you the creator? Manage this robot
- Report outdated info
- Report this robot
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.
Markdown (one click selects it)
[](https://robotheca.org/robots/stm32-balance-car) [](https://robotheca.org/robots/stm32-balance-car)
Licence and credits
Robot ID
RobothecaSTM32 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
- Licenses
- No license, hardware and software
- Commercial use
- Unknown
- Made by
@WxxGreat (opens in a new tab), in github.com/WxxGreat/STM32-Balance-Car (opens in a new tab) at commit 13592db
Other wheeled robots
All 95 wheeled robots- Ready to build

- 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

- Ready to build

Open source · free files
Sawppy the Rover
Wheeled · Intermediate
- Score
- Buildability 94 out of 100
- Cost
- $500≈ €459
- Ready to build

Open source · free files
Agrofelis Agricultural Robot
Wheeled · Advanced
- Score
- Buildability 88 out of 100
- Cost
- €3,729.58
≈ € values are approximate, converted at the ECB euro reference rate of 30 Nov 2026. The creator's original price always comes first.