В момента ресурсът е наличен само на английски

How We Start the SPIKE Software, Connect to the Hub, and Upload Programs Pro Preview

Before we can run Python programs on the robot, we need to open the SPIKE software, create a Python project, and connect the Hub to the computer. In this tutorial, you will learn how to do each of these steps using the LEGO SPIKE software.

Необходимо е да се абонирате за FLLCasts.com, за да достъпите това видео

Абонирай се

  • #2580
  • 27 Jan 2026

Starting the SPIKE software and creating a Python project

To begin programming your robot, you first need to open the LEGO SPIKE software and create a new Python project.

  1. Open the LEGO SPIKE application on your computer.
  2. Select the set you are using (SPIKE Prime).
  3. Click New Project.
  4. Choose Python as the programming language.
  5. Enter a name for your project.
  6. Click Create.
  7. A new project will open with a coding area where you can write your program.
  8. You are now ready to connect your robot and run Python code.

Connecting to the Hub

To send a program to your robot, the SPIKE Hub must be turned on and connected to the computer.

You can connect the Hub using a USB cable or Bluetooth. For a more stable connection, especially at the beginning, it is best to use a USB cable.

  1. Turn on the SPIKE Hub by pressing the center button.
  2. Connect the Hub to your computer using a USB cable (or make sure Bluetooth is on if using wireless connection).
  3. In the SPIKE software, find the Connect button at the top of the screen.
  4. Click Connect and choose the color of your Hub’s button.
  5. Wait for your Hub’s name to appear and select it.
  6. When connected, you will see the Hub icon showing that the robot is ready.
  7. Write your Python program in the project.
  8. Click the Play / Run button to send the program to the Hub.
  9. Your program will start running on the robot.

If the program does not start, check that the Hub is connected and that there are no errors in your code.

Renaming the Hub

Renaming your Hub helps you recognize it easily, especially when working with multiple robots.

  1. Make sure the Hub is turned on and connected.
  2. Open the Hub settings by clicking the Hub Connect icon.
  3. Find the option to Rename the Hub.
  4. Enter a new name (for example, your team name or robot name).
  5. Confirm the change.
  6. The new name will appear in the SPIKE software.

You now know how to start the SPIKE software, create a Python project, connect the Hub, upload programs, and rename the Hub. You are ready to begin programming and testing your robot!