Three-Body Problem
Planetary motions on a microcontroller.
Written on June 6, 2024
Requirements
- Raspberry Pi Pico x 1
- Breadboard x 1
- Male-to-male jump wires x 4
- 128x64 OLED Display x 1
- Micro-USB cable x 1
- Power adapter or power bank x 1
Instructions
- Connect the OLED display to the Raspberry Pi Pico on a breadboard
- Download and flash the MicroPython firmware
- Copy main.py onto the Raspberry Pi Pico
- Connect the Raspberry Pi Pico to a power source
Demo
References
- Problem overview by Wikipedia
- Python solution by Benjamin Badge
- Initial conditions based on Ricky Reusser