Baby Sharks SPIKE™ Prime Coding Course Flashcards

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/22

flashcard set

Earn XP

Description and Tags

A set of vocabulary flashcards covering the basic and advanced coding concepts for SPIKE™ Prime as described in the Baby Sharks FLL course.

Last updated 3:55 PM on 7/31/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

23 Terms

1
New cards

SPIKE™ Prime

A LEGO Education robotics system commonly used in FIRST LEGO League that includes a hub, motors, and sensors.

2
New cards

Hub

The central component of the SPIKE™ Prime kit which includes a 5x5 light matrix, Bluetooth, speakers, and ports for motors and sensors.

3
New cards

Color Sensor

A sensor that detects the reflection of light and converts it into data displayed as specific colors or light percentages.

4
New cards

Distance Sensor

A sensor that sends out sound waves to measure the distance from an object in centimeters or inches.

5
New cards

Touch Sensor

Digital switches that detect when a button is pressed and measure force in Newtons or as a percentage.

6
New cards

Gyro Sensor

An electronic chip built into the hub that detects rotation and measures yaw, pitch, and roll angles.

7
New cards

Loop

A coding structure (such as forever, repeat, or repeat until) that tells a robot to repeat an action multiple times or until a condition is met.

8
New cards

Conditional

A programming structure (such as if, if else, and wait until) that allows a robot to make decisions based on specific input.

9
New cards

Variables

A way for a robot to store and change information, such as sensor readings or speed values, while running a program.

10
New cards

Math Operators

Symbols used to perform calculations including addition (+)(+), subtraction ()(-), division (/)(\text{/}), and multiplication (×)(\times).

11
New cards

Comparison Operators

Symbols used to compare numbers including less than (<)(<), greater than (>)(>), and equal to (=)(=).

12
New cards

Logic Operators

Operators such as AND, OR, and NOT used to combine or modify different conditions.

13
New cards

MyBlocks

Custom blocks in SPIKE™ that allow users to organize code and reuse specific sequences easily.

14
New cards

Yaw

The specific rotation of the hub measured by the gyro sensor, crucial for turning and driving straight.

15
New cards

Absolute Value

A mathematical function used in gyro turning to compare angles regardless of whether the value is positive or negative.

16
New cards

Buffer

A small range (usually 353-5 degrees) subtracted from a target angle to account for robot momentum and prevent overshooting during a turn.

17
New cards

Threshold

The midpoint value between black and white light readings used by a color sensor to identify the edge of a line.

18
New cards

Side Parameter

A variable (usually 11 or 1-1) used in line-following code to determine whether the robot follows the left or right edge of a line.

19
New cards

Error (Gyro Straight)

The calculation of how many degrees a robot has drifted from its intended path (yaw=0\text{yaw} = 0).

20
New cards

Gain Value

A multiplier (starting at 1.5-1.5) used to calculate the correction needed to steer a drifting robot back to its path.

21
New cards

Wheel Circumference

The distance around the regular SPIKE™ wheels, which is exactly 17.5 cm17.5\text{ cm}.

22
New cards

Distance Formula

The calculation used to convert motor degrees to centimeters: Distance=((A relative motor position+E relative motor position) / 2)×(17.5 / 360)\text{Distance} = ((\text{A relative motor position} + \text{E relative motor position}) \text{ / } 2) \times (17.5 \text{ / } 360).

23
New cards

5x5 LED Matrix

A grid of pixels on the hub controlled by light blocks to display images, text, or animations.