Video tutorials
Filters:
What is a variable?
![]()
Variables are like small boxes inside the computer that store important information for us. Imagine the following situation:
- #2591
- 26 Feb 2026
The "await" command in LEGO SPIKE Python
The await command tells your robot:
“Wait until this action is finished, then continue!”

Why use "await"?
- Motors need time to move
- Sounds need time to play
- Sensors need time to read values
Without "await", the robot may move on too quickly and not finish its actions properly.
Important rule
You can only use "await" inside an "async" function.
async def main(): await motor.run_for_time(port.A, 1000, 1000)
- #2586
- 10 Feb 2026
Angular velocity
We already know how to set the speed of the motor and how long it should move. However, with these commands alone, we cannot control exactly how many degrees the motor turns. To make the motor turn a specific number of degrees, we need to use some simple math.

The motor speed is measured in degrees per second. We can use this to calculate how much the motor will turn using the formula:
S = V * T
S – the distance traveled (in this case, the number of degrees the motor turns);
V – velocity (degrees per second);
T – time (in seconds).
- #2582
- 06 Feb 2026
How We Start the SPIKE Software, Connect to the Hub, and Upload Programs
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.
- #2580
- 27 Jan 2026
Code of conduct during the robotics lessons

During this course, we expect the following from you:
Ask questions when you are curious or need help.
Don’t be afraid to make mistakes - this is how you learn.
Share your ideas, help others, and be open to receiving help.
Listen carefully when the teacher is speaking - it’s important for everyone.
Read your lesson before coming to class.
Ask questions!
The teacher does not expect you to know everything. What matters is that you ask when you don’t understand something. Go to your teacher when you need help - they can support you only if you ask.
It’s okay to make mistakes
It’s normal not to succeed the first time. Learning takes practice. Keep trying, testing, and improving your solution until you succeed.
Work as a team
The whole class is a team. Help each other, share ideas, and learn together. It’s okay to give hints or learn from others - this helps everyone improve.
Listen when the teacher speaks
When the teacher is explaining something, it is important for everyone. You might hear a solution to a problem you will face later.
Prepare before class
You will have access to e-textbooks that you can read at home on a phone, tablet, or computer. Try to think about the tasks in advance so you are ready to work during the lesson.
- #2571
- 19 Jan 2026
Tools shopping list
Here’s a list of all the tools you’ll need to build the DIY Rotating LED Clock Display. Each tool links to Amazon. If a link isn’t available, we’ve included tips on how to find another one.

- #2481
- 06 Nov 2025
Components shopping list
Here’s a list of all the parts you need to build the DIY Rotating LED Clock Display. Each part links to Amazon. If a link doesn’t work, don’t worry - we’ve also added tips on how to find a replacement.

- #2480
- 06 Nov 2025
How to read resistor color codes
Resistors are essential electronic components that limit the flow of electric current in a circuit. Because they’re so small, their resistance value (measured in ohms, Ω) is usually marked with colored bands instead of numbers. Here's how to read them:
- #2510
- 23 Oct 2025
Как да използваме Абсолютна стойност в LEGO SPIKE Prime Word Blocks софтуер
Това е част от блокчето с функции, но какво прави?
- #2509
- 16 Sep 2025
За преподавателя: Музикално въведение
Тъй като това е музикално ниво, е важно да се установят някои правила за звуците, които роботите издават. Учениците често не осъзнават колко шумно може да стане, затова им напомнете да намалят силата на звука, за да чуят хъбовете, и да спрат програмите си навреме, тъй като непрекъснатите звуци могат да станат доста силни.
В този урок учениците ще научат много от ключовите концепции, необходими за останалата част от курса. Ето защо има малко конструиране и основно изследване с един сензор за сила. Уверете се, че разбират разликата между височина на тона и сила на звука. Въпреки че са въведени много нови блокове, те са предимно прости и подобни на предишните. Тези блокове ще бъдат използвани и в много бъдещи уроци, което ще даде на учениците достатъчно време да се запознаят с тях. До края на урока учениците би трябвало да са изпробвали следните две програми:


- #2502
- 16 Sep 2025
Как да използваме блокчето за сила на звука в LEGO SPIKE Prime Word Blocks софтуер
Голяма част от звука е силата му. Ето как да я промените!
- #2501
- 16 Sep 2025
Как да използваме блокчето за натиск на сензора за сила в LEGO SPIKE Prime Word Blocks софтуер
Сензора за сила може да засече колко силно го натискаме! Ето как:
- #2500
- 16 Sep 2025
Как да използваме блокчето за пускане на звук в LEGO SPIKE Prime Word Blocks софтуер
Знаете ли, че хъба ви може да пуска звук? Ето как!
- #2499
- 16 Sep 2025
Как да използвате блока пусни звук за секунди в софтуера LEGO SPIKE Prime Word Blocks
Знаете ли, че вашият хъб може да възпроизвежда звук? Ето как!
- #2497
- 16 Sep 2025