Giter Club home page Giter Club logo

balancing-cube's Introduction

Balancing cube

The cube balances on its corner using three integrated reaction wheels

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:

  • The Molex cable assemblies which deliver power to the motors (part number 215325-1081) need to be modified. The design requires that each pin is mapped to the same pin number on the other end (1-1, 2-2, etc) but this is by default not the case, as can be seen in the datasheet. You can remove the circuits from their housing using this tool. Cheaper (generic) "terminal removal kits" are available too. I made a small tool myself from two folded pieces of sheet metal which I cut from a SMT soldering stencil. Alternatively, you can modify the motherboard schematic to compensate for the default circuit arrangement of the cable assembly, or build your own cable assembly from scratch using Molex part numbers 39012085 and 39000077. This is the cheapest and arguably best (from a technical point of view) option!
  • 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.