
Photo
MCDGF Self-Balancing Car
Wheeled
An ESP32-based self-balancing robot car with dual wheels, open-source hardware and software, including 3D models and BOM.
Before you build
- Tools
- 3D printer, soldering iron, pliers, wire strippers
- 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 fce0cbe. Something out of date? Tell us
Project information
- Buildability
- 50/100Buildable with some effort
- Parts
- A PDF
- Works with
- Arduino, SimpleFOC
- Weight
- 80 g
No license: all rights reserved by the creator.
No license is stated for part of this robot.
Suggested by Robotheca, created by @macolin007 (opens in a new tab), from github.com/macolin007/mcdgf (opens in a new tab), pinned to commit fce0cbe (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 10 February 2025.
Build it
- Prepare 3D printed parts
- Assemble mechanical structure
- Install electronics and wiring
- Upload and configure software
- Calibrate and test balance and movement
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
The parts list is a PDF in the repository. Robotheca can't read this file, so its quantities and prices are not checked here.
Open BOM and assembly drawing.pdf (opens in a new tab)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 fce0cbe. 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.
- 13D and CAD files1 CAD source file.Most points to gain: Add the parts to print (STL or 3MF files).10/20
- 2Parts listA parts list in the repository as a PDF (BOM and assembly drawing.pdf): Robotheca can't read its quantities, prices or shop links.Add the parts list as a CSV or a Markdown table too, so its prices and shop links can be checked.10/20
- 4DocumentationREADME of 589 characters with 0 pictures; 5 build steps.Write a README of at least 1,500 characters: what the robot does and how to build it. Show the robot and its assembly in pictures in the README.5/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: Software; not counted: Robot description, Simulation
- 3SoftwareCode in this repository, instructions to install or run it, built on Arduino.15/15
- –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
- ESP32 microcontroller
- Dual BLDC motors with encoders
- IMU sensor for tilt detection
- Motor drivers
- Power supply module
Connections: Robotheca's summary
- ESP32 connects to motor drivers via GPIO pins
- Bluetooth module is connected to UART pins on ESP32
- Motor drivers receive power from the power supply module
- Encoders are wired to motor drivers or ESP32
What it can do: Robotheca's summary
- Balances itself on two wheels
- Moves forward and backward
- Turns left and right
- Adjusts PID parameters via Bluetooth from a smartphone
Software
- Framework
- Arduino
- Languages
- C++
- 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 Visual Studio Code with PlatformIO extension
- 2Open the project folder in PlatformIO
- 3Configure the project for ESP32 in platformio.ini
- 4Upload the firmware to the ESP32 using PlatformIO
Software that runs on this robot
The code
Free files
Every file of the project, at commit fce0cbe.
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/mcdgf-self-balancing-car) [](https://robotheca.org/robots/mcdgf-self-balancing-car)
Licence and credits
Robot ID
RobothecaMCDGF Self-Balancing Car
An ESP32-based self-balancing robot car with dual wheels, open-source hardware and software, including 3D models and BOM.
- 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 fce0cbe
- Licenses
- No license, hardware and software
- Commercial use
- Unknown
- Made by
@macolin007 (opens in a new tab), in github.com/macolin007/mcdgf (opens in a new tab) at commit fce0cbe
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,467
- Ready to build

- Ready to build

Open source · free files
Sawppy the Rover
Wheeled · Intermediate
- Score
- Buildability 94 out of 100
- Cost
- $500≈ €458
- 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 1 Dec 2026. The creator's original price always comes first.