r/Arduino_AI • • Sep 26 '26

Look What I Made! Self Balancing Double Pendulum

So a couple of weeks ago I made this post on r/Arduino talking about my Self-balancing reinforcement learning double pendulum. And i said that I was working on a youtube video where I would go into high detail about everything. Well the day has come and the video is out.

For the simulation and training, I used NVIDIA Isaac Lab, running on my RTX 3060. And if you are wondering: no, a 3060 is not enough to run Isaac Lab properly.

In the video I go through pretty much everything involved in building the project from scratch: the mechanical design, the electronics, the motors and sensors I'm using, the control system, the reinforcement learning side of things, and how I got the simulation to work with the real hardware.

The project has been a pretty long journey, so there's quite a lot to cover, and I tried to make the video detailed enough that you can actually understand what's going on rather than just watching a pendulum magically balance itself.

And of course, feel free to ask me anything about the project. I'm happy to answer questions!

9 Upvotes

2 comments sorted by

View all comments

Show parent comment

2

u/Classic-Buddy-7404 Sep 26 '26

Yes man, and one thing I didn't mention (that actually threw me off a little bit at firts, but makes a lot of sense) is that higher time resolution, doesn't mean a more accurate system.

If I have a sensor with +-0.5 degrees of noise, making the time resolutions 10 times greater will increase the noise by a factor of 10 when calculating velocity. If you want to use a smaller dt between readings, you need to buy a better sensor as well.

Idk, I kinda thought that was cool