Python programmed Robot Snake with LEGO MINDSTORMS Robot Inventor @AntonsMindstorms
Python programmed Robot Snake with LEGO MINDSTORMS Robot Inventor  @AntonsMindstorms
Uploaded December 2021 | Updated September 2026, 2 days ago
This robot snake advances like a real snake, by twisting and curling. The wheels are not powered but only serve to slide the snake along. Because of this movement, the snake is great at avoiding obstacles. In this video, I show you how to program the snake with Python. Compared to Word Blocks, this gives a much smoother animation and performance. Also, using python, you can connect the Robot Snake to the MINDSTORMS RC BLE app. The snake head connects to the app and the two following segments using Bluetooth.

💬 Please like and ask any questions you have in the comments!

Building Instructions:
👉 antonsmindstorms.com/product/robot-snake-with-multiple-51515-inventor-sets

App:
👉 play.google.com/store/apps/details?id=com.antonsmindstorms.mindstormsrc&hl=nl&gl=US

Code:
👉 github.com/antonvh/mpy-robot-tools/tree/master/Example%20projects

--- Chapters ---
00:00:00 A remote-controlled python snake with python code
00:00:25 Overview of the LEGO MINDSTORMS Robot Inventor Python Snake
00:01:47 Removing segments and hubs from the snake
00:03:18 How the snake moves by delaying segments
00:04:46 Single-segment remote-controlled python snake with Robot Inventor
00:06:44 Combining 3 Robot Inventor hubs into a single Python snake
00:07:46 Autonomous LEGO Three-segment snake with obstacle avoidance
00:08:35 Android app controlled three-segment robot snake with Python
00:09:41 Word blocks vs. python performance
00:10:41 Where to find code and building instructions for the LEGO snake

--- Links ---


Get the T-Shirt 👕 here:
👉 https://shop.spreadshirt.nl/antons-mindstorms/

Support 🙏 my work:
👉 patreon.com/antonsmindstorms

For complete building instructions 📄 and in-depth articles go to:
👉 antonsmindstorms.com
Python programmed Robot Snake with LEGO MINDSTORMS Robot InventorHow to program the Technic EV3 Lizard - full tutorialRobot Catfish Autonomous or Remote controlledMaster Luke is in trouble with a single motor LEGO MINDSTORMS EV3 gripper claw!How to make Technic or MINDSTORMS building instructions in StudioMindstorms NXT controlled by NXTPad bluetooth appSuper Fast laser distance sensor on #lego #spikeprime #robot with word blocks ! 😄Redesigned rope plotterProgramming and building a gamepad controlled TMC DumontHow to remote control your MINDSTORMS EV3 robot with SPIKE Prime over bluetoothCan you program precision movement of LEGO MINDSTORMS Motors?Robot Swing Monkey going 360 with official SPIKE Prime app Python
Antons Mindstorms |

Python programmed Robot Snake with LEGO MINDSTORMS Robot Inventor

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER