Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

balancing-cube

> 编程语言
Open source

A cube that balances itself in a corner or edge using reaction wheels

1.1K stars0 likes0 views
WebsiteGitHub

About

A cube that balances itself in a corner or edge using reaction wheels

Balancing cube

This repository contains all design, documentation, configuration and other files related to the balancing cube that I have designed and built.

  • Mechanical parts are designed in Fusion 360.
  • Circuit boards are designed in KiCad 7.
  • Code has been written using Arduino IDE.
  • Motor drivers are commissioned and tuned using Escon Studio.
  • Motors and motor controllers are available from Maxon.
  • Circuit boards and custom mechanical parts can be ordered from PCBWay, for example.

A YouTube video demonstrating the balancing cube is available here.

Want to build one? Read this!

This repository should contain everything you need to order and/or build parts for this cube. Take into account the following:

  • I replaced four of the eight 16AWG wires in each cable assembly by 22AWG wires since only four wires carry large currents. The others carry +5V and hall sensor signals. This reduces weight and makes the cables easier to handle, as well as reducing strain on the mating connectors. The motor connection is rather fragile and might break if stressed too much.
  • The ESP32 board does not go into flashing mode automatically. I fixed this by adding a 10 uF capacitor between the enable and reset pin, as described here.
  • In my blog post, I describe some errors in the design of the motherboard. These have been resolved in the files that are available in this repository.
  • For your own safety, I highly recommend taking precautions to reduce the risk of trapping fingers between the spinning flywheels. One option is to attach very thin (spring steel) discs to each wheel, which may be (laser)cut from larger sheets that are readily available. I do not have designs available for such safety devices yet.

More information

More information about this project and my other projects is available on my website.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++robotics

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言