Smart SPIKE
LEGO® Education SPIKE™ Prime based Smart Motor
Smart SPIKE uses LEGO® Education SPIKE™ Prime hub, sensors and motors to implement the Smart Motors concept. Once set up the Smart SPIKE code can be run from the hub directly. It supports single sensor - single motor, single sensor - multi motor as well as multi sensor - multi motor setup.

Parts Needed
Description
Implementation
Smart SPIKE uses LEGO® Education SPIKE™ Prime set to implement the Smart Motor concept. It uses ports on the left (A,C,E) for sensors (Force, Distance and Color) and ports on the right (B, D, F) for motors (both medium and large). There can be a single sensor to single motor (1 to 3 pairs at a time) configuration or single to multi motor pairing configuration. The LED matrix shows the configuration of the input and output. Users use the left and right buttons to navigate.
Navigation
The system starts up in configuration mode. In this mode, the users can plug in the sensors and motors. The lines on the LED matrix show how the sensors and motors are related. Pressing the right button locks the configration. Now for each configuration the user takes data using the left button. Right button press takes the system to play mode.
Training and Operation
In the train mode, user creates sensor-motor associations by positioning the motor at desired locations and pressing the left button while the sensor registered specific readings like holding the distance sensor at a certain distance for that motor position. Each successful pairing is indicated by a beep, confirming data storage. After taking data for the confuration, pressing the right button either goes to training mode for another configuration (if there are multiple sensor- motor pairs) or goes to Play Mode, where the motor responds automatically based on trained sensor-motor relationships. Right button press will exit the play mode.
Uploading Smart SPIKE code to LEGO® Education SPIKE™ Prime
- Go to the Smart Motor update website by clicking the button below
- Connect LEGO® Education SPIKE™ Prime to the computer and turn it on
- Click the “Connect via USB” button
- Click the “Convert SPIKE to SMART SPIKE” button to upload the Smart SPIKE code