Skip to content

Photo and 3D model

This repository has no photo of the robot yet.

3D preview converted from github.com/FranHawk/simplefoc_balance_car at 4fd3b23, under MIT. View the original files from GitHub (350 KB) (opens in a new tab)

Open source · free filesRobot ID

SimpleFOC Balance Car

Wheeled

A self-balancing robot car driven by two BLDC motors using the SimpleFOC library and ESP32 microcontroller.

Before you build

Tools
3D printer, soldering iron, screwdriver, wire cutters/strippers
Level
Intermediate
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 4fd3b23. Something out of date? Tell us

Project information

Buildability
75/100Buildable with some effort
Parts
10 lines
Works with
Arduino
Sensors
IMU
Power
12 V

Suggested by Robotheca, created by @FranHawk (opens in a new tab), from github.com/FranHawk/simplefoc_balance_car (opens in a new tab), pinned to commit 4fd3b23 (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 28 June 2022.

Build it

The creator's 8 steps, each linked to its instructions
  1. Assemble the circuit boards
  2. Prepare the mechanical components
  3. Assemble the motor units
  4. 3D print the wheels and mounts
  5. Mount the electronics and battery
  6. Connect all components
  7. Flash the firmware
  8. Calibrate and test the balance car

The guide appears here as you scroll.

Guide by @FranHawk (readme.md), under MIT. The English translation is by Robotheca, shared under the same license.

What to buy

Export CSV (parts list)

10 of 10 parts shown

  • 1100nf––
  • 110u––
  • 1HDGC1002WR-S-4P–LCSC
  • 1HDGC1002WR-S-3P–LCSC
  • 1HDR-F-2.54_1x3–LCSC
  • 1HDR-M-2.54_1x4–LCSC
  • 3短路连接点–MONIK2020
  • 24.7k––
  • 110K––
  • 1AS5600-ASOM–LCSC

10 of 10 needed parts have no price in the source, so there is no parts total.

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 4fd3b23. 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 list10 lines: 0 with a price, 0 with a shop link.Most points to gain: Add prices to 10 lines. Add shop links to 10 lines.5/20
  2. 4DocumentationREADME of 7,118 characters with 0 pictures; 8 build steps.Show the robot and its assembly in pictures in the README.10/15
Full points: 3D and CAD files, Software, Licenses; not counted: Robot description, Simulation
  1. 13D and CAD files2 printable parts (STL, 3MF), 2 CAD source files.20/20
  2. 3SoftwareCode in this repository, instructions to install or run it, built on Arduino.15/15
  3. 5LicensesHardware: MIT; software: MIT.10/10
  4. –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
  5. –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 microcontroller
  • Two L6234P three-phase H-bridge motor drivers
  • Two AS5600 magnetic encoders via I²C
  • Two INA240A1 current sensors
  • MPU6050 6-axis IMU
  • WS1802B addressable RGB LEDs on two strips
  • ESP-CAM module for Wi-Fi video transmission
  • TPS5430 12 V to 5 V buck converter
  • AMS1117 5 V to 3.3 V linear regulator
  • 3S 900 mAh LiPo battery

Connections: Robotheca's summary

  • ESP32 I²C bus to AS5600 encoders (SDA, SCL)
  • ESP32 analog inputs to INA240A1 current sensors
  • ESP32 GPIO to WS1802B LED strips
  • ESP32 UART to ESP-CAM module
  • ESP32 PWM outputs to L6234P motor drivers
  • 12 V battery to TPS5430 input, TPS5430 output to 5 V rail, AMS1117 input from 5 V rail

What it can do: Robotheca's summary

Written by Robotheca from the project's documents, not by its creator
  • Self-balances on two wheels
  • Moves forward, backward and turns via Bluetooth app
  • Shows RGB light effects on two LED strips
  • Streams video over Wi-Fi using an ESP-CAM module

Software

Framework
Arduino
Languages
C++, C, Arduino, Shell, Python
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. 1Install VSCode and PlatformIO
  2. 2Open the project in PlatformIO
  3. 3Edit hw_bldc.cpp to remove parameters from motor.initFOC() calls
  4. 4Flash the firmware to the ESP32
  5. 5Read the serial output to obtain motor calibration values
  6. 6Edit hw_bldc.cpp again to insert the calibration values into motor.initFOC() calls
  7. 7Flash the firmware a second time
  8. 8Power on the robot and pair the Bluetooth app to control it

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 4fd3b23.

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

Licence and credits

Robot ID

Robotheca
No photo yet

SimpleFOC Balance Car

A self-balancing robot car driven by two BLDC motors using the SimpleFOC library and ESP32 microcontroller.

Type
Wheeled
Level
Intermediate

Licence: MIT, hardware and softwareCommercial use: Allowed

Buildability: 75/100, Buildable with some effort

Licences read from the files at commit 4fd3b23

robotheca.org/robots/simplefoc-balance-car

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

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,467
  • 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≈ €458

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