

Как да използваме Абсолютна стойност в LEGO SPIKE Prime Word Blocks софтуер
Това е част от блокчето с функции, но какво прави?
- #2509
- 16 Sep 2025
Това е част от блокчето с функции, но какво прави?
Тъй като това е музикално ниво, е важно да се установят някои правила за звуците, които роботите издават. Учениците често не осъзнават колко шумно може да стане, затова им напомнете да намалят силата на звука, за да чуят хъбовете, и да спрат програмите си навреме, тъй като непрекъснатите звуци могат да станат доста силни.
В този урок учениците ще научат много от ключовите концепции, необходими за останалата част от курса. Ето защо има малко конструиране и основно изследване с един сензор за сила. Уверете се, че разбират разликата между височина на тона и сила на звука. Въпреки че са въведени много нови блокове, те са предимно прости и подобни на предишните. Тези блокове ще бъдат използвани и в много бъдещи уроци, което ще даде на учениците достатъчно време да се запознаят с тях. До края на урока учениците би трябвало да са изпробвали следните две програми:
Голяма част от звука е силата му. Ето как да я промените!
Сензора за сила може да засече колко силно го натискаме! Ето как:
Знаете ли, че хъба ви може да пуска звук? Ето как!
Знаете ли, че вашият хъб може да възпроизвежда звук? Ето как!
Вие знаете как работи делението в математиката - ето как да го направите в SPIKE Prime!
Знаете ли, че можете да използвате моторите като сензори? Ето как!
Знаете ли, че можете да използвате моторите като сензори? Ето как!
In this video tutorial, we demonstrate a full run for the FIRST LEGO League 2024-2025 SUBMERGED challenge, completing all missions in a single sequence. Each mission is shown individually beforehand, with close-up views of how the attachments work and the principles behind their design. All attachments are pinless, making them quick to change during the run, though aligning and loading the robot still requires practice. The strategy involves moving from one base to the other while accomplishing as many missions as possible, including retrying those close to base when needed.
While the complete run takes longer than the official 2.5 minutes, the focus here is on demonstrating reliability, consistency, and the trade-offs between time and scoring points. In some cases, missions are skipped to focus on higher-value tasks, but in this run, we aim to complete them all. The result is a strong performance that comes close to the maximum possible score.
The programming process for accomplishing M01 Coral Nursery, M02 Shark, M03 Coral Reef, and M04 Scuba Diver of the FIRST LEGO League 2024-2025 SUBMERGED Challenge is straightforward, despite covering multiple missions in one run. Each mission is accomplished with a simple and reliable approach that minimizes the impact on overall run accuracy.
The code consists mainly of movement blocks and gyro turns, allowing for consistent navigation between mission models. By keeping the programming uncomplicated, the robot can perform pushing, collecting, and delivering tasks efficiently without introducing unnecessary complexity, ensuring a smooth and dependable multi-mission run.
The programming process for accomplishing M01 Coral Nursery and M03 Coral Reef of the FIRST LEGO League 2024-2025 SUBMERGED Challenge is straightforward, focusing on controlled movement and stability. The motor-powered attachment lifts the coral tree smoothly to the coral tree support while also delivering reef segments outside the launch area.
The robot moves forward to position itself, raises the coral tree, and then returns to base. To ensure the reef segments remain secure during the run, the program uses slow acceleration and reduced speed when needed. This simple yet reliable approach keeps the sequence easy to execute while maintaining consistency in performance.
The programming process for accomplishing M06 Raise the Mast and M07 Kraken’s Treasure of the FIRST LEGO League 2024-2025 SUBMERGED Challenge is streamlined, focusing on controlled movement and precision. The design of the attachment ensures that the mast is lifted to the correct height while the treasure chest is securely captured.
The code uses simple maneuvering to reach the mission model, but the return path requires special handling. If the robot makes a sharp turn, the chest can be lost, so the program uses light steering to maintain stability while returning to base. This combination of straightforward navigation and careful return control ensures consistent success for both missions in a single run.
The programming process for accomplishing M05 Angler Fish, M09 Unexpected Encounter, M14 Sample Collection, M12 Feed the Whale, and M03 Coral Reef of the FIRST LEGO League 2024-2025 SUBMERGED Challenge is streamlined, making it easier to manage even in a large multi-mission run. The design of the two-part attachment system significantly influences how the robot moves, simplifying the code and reducing complexity.
The program is surprisingly simple for such a comprehensive run, with the robot performing a series of maneuvers to collect, deliver, and push mission elements. For maximum accuracy, it uses gyro turns, slow acceleration, and reduced speed in trickier spots to maintain control. By letting the attachments guide much of the interaction, the programming remains clean and reliable, enabling the robot to handle multiple scoring tasks efficiently in a single trip.
This programming tutorial focuses on accomplishing M8 Artificial Habitat of the FIRST LEGO League 2024-2025 SUBMERGED Challenge using the Nautiq box robot (a LEGO Education SPIKE Prime robot).
The sequence is optimized to position all four crabs upright with their yellow bases touching the mat for maximum points. The code uses straightforward but highly accurate movement commands, ensuring the robot engages and adjusts the mission model with precision. This dedicated program minimizes errors and allows for consistent high-scoring runs, combining efficient programming with the attachment’s reliable design.
Тhe programming process is streamlined, making it more accessible even for beginners. The design of the attachment significantly influences how the robot moves, simplifying the code and reducing complexity.
The program is way easier due to the form of the attachment that makes the first movement just forward to complete M13 Change Shipping Lanes, and then moving backwards towards M09 Unexpected Encounter. This approach eliminates the need for complex directional adjustments at the start, allowing the programmer to focus on precise positioning later in the sequence. By letting the attachment dictate the natural forward motion initially, the programming logic becomes shorter, cleaner, and easier to debug. As a result, both the initial movement and the reverse action toward M09 can be executed with minimal code changes, ensuring faster development and more reliable performance. Along the way, the robot also partially accomplishes M12 Feed the Whale.
This video tutorial focuses on solving M05, M09, collecting samples for M14, 3 Krill for M12, and Reef Segments for M03 of the FIRST LEGO League 2024-2025 SUBMERGED Challenge using Nautiq box robot (a LEGO Education SPIKE Prime robot).
This video tutorial focuses on accomplishing M8 Artificial Habitat of the FIRST LEGO League 2024-2025 SUBMERGED Challenge using the Nautiq box robot (a LEGO Education SPIKE Prime robot). The run uses a simple active pinless attachment mounted at the front of the robot, designed for precise engagement with the mission model.
The goal is to position all four crabs upright with their yellow bases touching the mat for maximum points, a task requiring careful alignment and controlled movements. While it is possible to complete the mission with fewer crabs upright, this run is programmed for the full score, using dedicated movement commands in a separate run for maximum accuracy. This approach combines a reliable mechanical design with precise navigation to meet the mission’s demanding scoring conditions.
This video tutorial focuses on accomplishing M13 Change Shipping Lanes, and partially M09 Unexpected Encounter and M12 Feed the Whale of the FIRST LEGO League 2024-2025 SUBMERGED Challenge using the Nautiq box robot (a LEGO Education SPIKE Prime robot).
In this run, the robot flips the shipping lane model, collects the small Krill, and retrieves the Unknown Creature from the field by pushing on the mission model. These tasks are executed with precision to ensure that the robot not only scores the primary mission points but also safely returns the collected elements back to base. The sequence is optimized to minimize travel time between missions while maintaining accuracy and control over the robot’s attachments.
We use a pinless, three-in-one design attachment for completing multiple missions in one run. At the front, an angled rubber band mechanism handles M13 Change Shipping Lanes, allowing the robot to launch straight from base without extra positioning.
On one side, a passive curtain mechanism like a cage captures the single Krill for M12 Feed the Whale. On top, a secure basket catches the Unknown Creature from M09 Unexpected Encounter after a push with the robot’s back. The attachment is optimized for quick and reliable mission execution without additional motors.
This 10 out of 10 video tutorial focuses on the flawless accomplishment of M05 Angler Fish, M09 Unexpected Encounter, M10 Send over the Submersible, and M11 Sonar Discovery of the FIRST LEGO League 2024-2025 SUBMERGED Challenge using the Nautiq box robot.
The run uses a combination of aligning, front, and back attachments to execute multiple tasks in one run, including a rotation transfer system using a single long axle for M11, early execution of M10 for a strategic edge, and sensor-based alignment for precision. Despite the reduced per-run accuracy due to the mission count, this method ensures that when the run works, it secures an exceptionally high score.
This video tutorial focuses on accomplishing M05 Angler Fish, M09 Unexpected Encounter, M10 Send over the Submersible, and M11 Sonar Discovery of the FIRST LEGO League 2024-2025 SUBMERGED Challenge using the Nautiq box robot (a LEGO Education SPIKE Prime robot). The run uses three attachments in sequence: an aligning attachment at the start to reduce initial inaccuracies, a front attachment for solving M05 and M10 while collecting krill, reef segments, and the water sample, and a back attachment for solving M11, delivering the unknown creature for M09, and collecting plankton and seabed samples.
The front attachment is particularly interesting in this configuration because it integrates two color sensors and one motor directly onto the attachment itself. These sensors are used to align the robot to the black line near M10, while the aligning attachment at the start ensures a precise launch position.
This version of the big run takes on significantly more missions in a single attempt than a standard sequence, which naturally comes at the cost of reduced accuracy. In the current FLL competition format—where only your best score from three attempts is counted—this trade-off can be highly strategic. A run that works perfectly even just once can yield a massive point boost, making this kind of high-reward, lower-consistency approach a potential game-changer for teams willing to take the risk.