This design was modeled it after a Jaeger-LeCoutre Gyrotourbillon, which they offer in several of their high-end watches. I tried to make the model an accurate (scaled up) version of the original mechanism, which is less that 10mm in diameter. Spending many hours looking at videos of the mechanism to try to get it right.
There is a hardware kit avaliable for it here.
Here is a time lapse of it running. https://youtu.be/cU7_TfCbofo
And a real-time video. https://youtu.be/LBLzIHfYsfQ
Note that this model is not recommended for beginners.
The Arduino code can be found by pressing the Raw Model Files button and downloading the Arduino Files.zip file.