Uploaded April 2020 | Updated September 2026, 1 day ago
In this video, I show how you can program a LEGO SPIKE Prime robot with Scratch. I explain how you can detect the end of the pendulum swing. This allows you to time the robot movements and add energy to the swing. In the end, you have a LEGO robot swing that can start from a standstill. If you tune the program well it can make up to 180-degree swings!
Please like and ask any questions you have in the comments!
Get the T-Shirt on:
https://shop.spreadshirt.nl/antons-mindstorms/
Support my work on:
patreon.com/antonsmindstorms
For complete building instructions and in-depth articles go to:
antonsmindstorms.com
In this video, I show how you can program a LEGO SPIKE Prime robot with Scratch. I explain how you can detect the end of the pendulum swing. This allows you to time the robot movements and add energy to the swing. In the end, you have a LEGO robot swing that can start from a standstill. If you tune the program well it can make up to 180-degree swings!
Please like and ask any questions you have in the comments!
Get the T-Shirt on:
https://shop.spreadshirt.nl/antons-mindstorms/
Support my work on:
patreon.com/antonsmindstorms
For complete building instructions and in-depth articles go to:
antonsmindstorms.com










