After downloading the SPIKE programming software, you’ll need to connect to your hub in order to load a program to your robot. Let’s take a look at how you can do that!
- #1605
- 21 Jul 2020
- 0:33
There are two ways to connect your computer to your hub: using a cable or via Bluetooth.
To connect with a cable, simply plug it into both your computer and the hub. They should connect automatically! This method also charges the hub’s battery.
Bluetooth is usually the preferred option because it gives your robot the freedom to move around the room. This makes it much easier to monitor things like sensor readings or variable values while the robot is in motion. We’ve shown how to do this in the video, but here’s a quick overview of the main steps:
- Turn on the hub by pressing and holding the center button for 1–2 seconds.
- Enable Bluetooth by pressing the Bluetooth button.
- Find your hub in the SPIKE app and connect to it—watch the video for a step-by-step guide on navigating to this option.
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons

Build, Code, Play: Your First Adventures with SPIKE Prime
Welcome to an introduction to the SPIKE Prime set! In this course, you’ll find 7 step-by-step 3D building instructions for SPIKE Prime robots, designed to help you explore the full potential of the base set. Once you've built them, you can bring them to life with our fun programs—these range from simple tasks like moving forward to more complex actions like detecting the nearest object.
And if you're ready for a challenge, we’ve also prepared some advanced tasks! These will encourage you to research and experiment with both the programs and the robot itself. Of course, you're always welcome to add your own creative touches and enjoy the process along the way.
- 4
- 0:33
- 27

Lesson 1 - Larva Robot
Introduction
In this lesson, you’ll build Larvy - the SPIKE larva robot! It’s named that way because it moves just like a larva or caterpillar. The program behind it is quite simple, with a core made up of just three movement blocks in a loop. We’ve added a few tweaks, though, to make it run more smoothly and consistently. You can read more about how it works in the program description.
But first - let’s build the robot!
- 1
- 2
- 2
- 3d_rotation 1