Make Lego Artemis rocket liftoff at same time of real launches !
Inspired by https://www.youtube.com/watch?v=e50jLarekx8 (Motorize Lego Technic Artemis)
- Python 3.10
- Lego Powered Up 88009
- Lego Powered Up 88013
- (Optional) Raspberry Pi Zero W
First of all, you need to flush the Lego Hub firmware with pybrick. Go to https://code.pybricks.com and follow instructions. You will be able to restore official Lego firmware if needed.
Once you flushed Hub with pybricks firmware, you just need to go back on https://code.pybricks.com, and past hub.py script on it. Launch program to save it on Hub memory.
You will also need a script that send evens to your Lego Hub. You can use main.py script, and launch it from your computer or your Raspberry Pi.
Start your Lego Hub, click on it to make it discoverable, and start your Python script then to link them together. Then, press button on Lego Hub to launch custom program saved before.
Huge thanks to pybrick and TheSpaceDevs respectivly for fantastic firmware and efficiency (and free :D) API !