Skip to content

Photo and 3D model

Arduino SimpleFOC Balancer, 3D render from its repository3D render
3D render, not a photo@simplefoc (opens in a new tab)MITsource file (opens in a new tab)

3D preview converted from github.com/simplefoc/Arduino-FOC-balancer at ec0e896, under MIT. View the original files from GitHub (613 KB) (opens in a new tab)

Open source · free filesRobot ID

Arduino SimpleFOC Balancer

Other

A modular two-wheel self-balancing robot driven by gimbal BLDC motors and the SimpleFOC library.

Before you build

Tools
3D printer, screwdriver
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 ec0e896. Something out of date? Tell us

Project information

Buildability
75/100Buildable with some effort
Parts
Not listed
Works with
Arduino
Sensors
IMU

Suggested by Robotheca, created by @simplefoc (opens in a new tab), from github.com/simplefoc/Arduino-FOC-balancer (opens in a new tab), pinned to commit ec0e896 (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 31 July 2024.

Build it

The creator's 6 steps, each linked to its instructions
  1. Print the 3D printed parts (center frame, wheels, MCU mount, top plate)
  2. Acquire the hardware screws and RC car tires
  3. Assemble the mechanical structure with the BLDC motors and encoders
  4. Mount the SimpleFOC Shield and microcontroller
  5. Connect the MPU6050 IMU and Bluetooth module
  6. Upload the Arduino sketch and tune the PID controllers

The guide appears here as you scroll.

Guide by @simplefoc (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 ec0e896. 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 files4 printable parts (STL, 3MF), 43 CAD source files.20/20
  2. 3SoftwareCode in this repository, instructions to install or run it, built on Arduino.15/15
  3. 4DocumentationREADME of 9,373 characters with 7 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

  • Two gimbal BLDC motors (iPower GM4108H-120T or similar), each driving one wheel.
  • Two AMT103 encoders as position sensors, one per motor (other sensors supported by Simple FOC may be used).
  • Simple FOC Shield v2.0.3 as the BLDC driver, though other supported gimbal drivers may be used.
  • MPU6050 IMU with integrated DMP for measuring pitch.
  • Microcontroller: ESP32-based board (e.g. WeMos D1 R32) or STM32 Nucleo-64, or a gimbal controller board with integrated MCU.
  • HC-06 or HC-05 Bluetooth module when a non-ESP32 microcontroller is used.

Connections: Robotheca's summary

  • The Simple FOC Shield plugs directly onto the Arduino-compatible microcontroller as an Arduino shield.
  • The gimbal motor driver is connected to the motors and encoders in the setup described in the documents.
  • The MPU6050 IMU is connected to the microcontroller to supply pitch readings.
  • The Bluetooth module, if used, is connected to the microcontroller serial port; the ESP32 needs no separate module.

What it can do: Robotheca's summary

Written by Robotheca from the project's documents, not by its creator
  • Balances on two wheels using a cascaded pair of PID controllers driving two gimbal BLDC motors with FOC.
  • Can be driven forward or backward at a user-set throttle and turned via a steering command.
  • Can be switched on and off remotely.
  • Commands are sent over Bluetooth from a mobile joystick app, with the app's byte protocol decoded in the sketch.

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. 1Install the Simple FOC Arduino library.
  2. 2Open the balancer Arduino sketch and set the sensor and motor parameters for your hardware.
  3. 3Upload the sketch to the microcontroller.
  4. 4Pair the joystick app over Bluetooth and send throttle, steering and on/off commands to run the robot.

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 ec0e896.

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

Licence and credits

Robot ID

Robotheca
3D render

Arduino SimpleFOC Balancer

A modular two-wheel self-balancing robot driven by gimbal BLDC motors and the SimpleFOC library.

Type
Other
Level
Advanced

Licence: MIT, hardware and softwareCommercial use: Allowed

Buildability: 75/100, Buildable with some effort

Licences read from the files at commit ec0e896

robotheca.org/robots/arduino-simplefoc-balancer

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≈ €892
  • 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≈ €229
  • 3D render

    Open source · free files

    FloatingFace

    Other · Advanced

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

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