
To access the full video please subscribe to FLLCasts.com
- #2009
- 01 Jul 2022
It's time to program our robot. The first step is starting the SPIKE software and making a new project.
Finding the SPIKE shortcut and creating a new SPIKE Project
To start a new project, we need to click the "SPIKE Prime" button and then click the plus icon over "New Project" .
A menu for creating a project should open. There, we need to click on the "Word Blocks" button and finish creating by clicking the "CREATE" button.
You now have your first program!
Before we program the robot, we need to connect our robot to the computer to send the program to the hub. To do so, we should first click on Connect. Then find our hub from the list and click Connect again.
This program does not make the robot do anything. To change that, we need a programming block.
To get a movement block, we first need to go to the "MOVEMENT" section.
Then, we click and hold the first purple movement block and drag it close to the starting block.
Now, our program will make the robot move, but we should first upload the program to the hub. To do that, we need to go to the bottom right of the screen, near the button with the number 0. Then, we click on the button that looks like a downward arrow and wait for it to load. When we hear a sound from the hub, our program is ready to be started from the robot.
To start the program from the hub, we need to find the number 0 on its screen. We can do that using the left and right arrows to switch left and right through the programs. Usually, you need only one click to the right, but you might need more.
The last step to start the program is to put the robot on the start line, click the big center button, and GO! If everything is correct, the robot should move for 10 centimeters and stop.
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons

Level A1 - Space Adventure - Robotics with LEGO SPIKE Prime
This is the first level of the LEGO Robotics Curriculum for second, third, and fourth-grade students.
A "space adventure" but with robots. Different robot structures are built in Level A1. The motors are controlled so that the robots perform precise movements around the "Earth", "Moon" and "Sun". We use the force sensor to overcome various obstacles we bump into. We learn interesting facts about the solar system and space vehicles.
- 65
- 30:30
- 76