How to Store and Run Multiple Programs on LEGO MindStorms Inventor or Spike

If you have a LEGO MindStorms Inventor or Spike Prime set, you might wonder how to store multiple programs to the smart hub and then switch to the program you want to run. In this post, I will demonstrate how to download and store multiple programs.

Now I have a project called “pet dog”, as shown below. I click the button on the bottom-right corner of the LEGO MindStorms App. Its default value is “0”, representing the program will be downloaded to the index position of 0. Click to open the small window as shown below and click the arrow to choose the storing position. Here I choose position 1.

Choose the “download” mode. When you click green arrow button to run the program or click “download” button, the project will get downloaded to your smart hub at position 1.

Now, let’s open another project called “two person test response version 2”. Still click the bottom-right button to choose the storing position. Here, I choose to store it to position 2, and then download the program.

Please note when you download a program to a specific file position, if there is file on that position, the old file will get replaced by the new one.

The following step is optional, but if you want to have a look at all the programs stored on your smart hub, you could click the smart hub icon on the top-right corner of the App to open the following window. Switch to “Programs” tab, you could see that two programs have been stored to the proper positions.

Now we have downloaded the programs to the smart hub. The following steps show how to choose and run a specific program on the smart hub.

The steps are as follows:

  1. Turn on the smart hub.
  2. Use left or right button to choose the program.
  3. Press the center button to run the program.
  4. Press the center button to stop the program.
  5. Repeat step 2 to 4 to run another program.

Hope the above simple steps work for your LEGO MindStorms or Spike Prime set. Enjoy the coding and have fun!

Note: All the analysis articles are copyright products of Anyone re-posting them should credit author and original source. Anyone using them for commercial purposes or translating them into other languages should notify TheCodingFun and get confirmation first. All Rights Reserved.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.