Self Balancing Cube? Is this black magic?!

Sometimes you see a cool project online (like a self balancing cube!), and you realize you just HAVE to build it too.

That was the case for Christiane Kuniyoshi (one of our members at the Programming Electronics Academy).

But as anyone who’s tried to copy and paste code already knows, it doesn’t always go smoothly.

self balancing cube on table

This project was submitted by one of our members.  You can see more of our member's projects here.

Not a member yet?  Sign up here.

Self Balancing Cube Crucible

Other peoples code can feel like black magic…ever been there?

While you might have a code base, it becomes challenging when you don’t know how to change it.

Sometimes the code may not be well-documented, or there are multiple versions, which makes it tricky to modify.

Debugging code when you run into errors can be a real headache.

Christiane’s self balancing cube project was cool, but she hit a few roadblocks during the build. So, she reached out to the Academy forum for help.

“Hey, this might be a stupid question but…”

(For the record, there are no stupid questions inside the Academy!)

Over the course of 81 posts and several videos, Christiane worked with our instructors to bring her project to life, which turned out pretty awesome.

Sweet Success!

Any good project takes a ton of work, and this self balancing cube was no different. Christiane spent a lot of time figuring things out, but she made it happen!

Check out this video compilation we put together from forum posts and videos.

Self Balancing Cube Code

The code Christiane used was generously provided by ReM-RC.

Here is a link to his code.

Here is a link to his YouTube Channel.

So what’s next?

After building a self balancing cube, Christiane is already on to other projects – like using a fingerprint sensor for making a “secret drawer”.  

Once you get into this stuff it really becomes a blast!

Thanks again to Christiane for sharing this project with us!

If you want to learn how to program Arduino to do interesting things, make sure to check out our training here.

AppLab Bricks open in background with actual brick

Arduino AppLab Bricks → Marketing Garbage or New Powerful Interface?

Arduino Ventuno single board computer - top side

New Ventuno Q Dual Brain Single Board Computer

AppLab Pip Install

How to Add Python Packages in Arduino AppLab (No pip install needed)

Arduino Power Section Schematic

Kit-on-a-Shield Schematic Review

Just how random is the ESP32 random number generator?

Just how random is the ESP32 random number generator?

Leave a Comment