Let’s drive a car (SPIKE) (Block)

Preparations are necessary to play the lab “1. Drive a car”

1 What you need

  • PC, Mac or tablet
  • LEGO® Education SPIKE™ Prime set

2 Build a steering wheel

Build a steering wheel as below with blocks and sensors in the LEGO® Education SPIKE™ Prime set.

Front side
Back side
Upper side

3 Run SPIKE_with_Block.llsp3 on the SPIKE Prime hub

Precondition
* “SPIKE App3” app is used to run Python code.

  1. Download “SPIKE_with_Block3.llsp” from the button below and place it on your desktop or other locationon.
  1. Open SPIKE app for Web here.
    Select “Launch Web App” from the drop-down box next to the blue button.
    * The instructions here are based on the SPIKE app for the web, using the Chrome browser.
    * The installed app can be used, too.
  2. Press the “LAUNCH WEB APP” button to launch the SPIKE app.
  3. Select “SPIKE Prime” on the right.
  4. Press the “GOTIT” button.

  5. Select “UPDATE HUB OS”.
  6. Connect your PC, Mac or tablet to the Prime hub and press the “OPEN” button.
  7. When the connection dialog opens, select “LEGO Technic Large Hub~” and press the “Connect” button.
  8. Select “UPDATE HUB OS” when the warning message appears.
  9. Updating the OS may take several minutes.
  10. After updating the OS, open the project downloaded in step 1.
  11. When the “Save changes to SPIKE_with_Block.llsp3?” dialog opens, press the “Save changes” button. (In some cases, the dialog may not appear.)
  12. “SPIKE_with_Block.llsp3” will be loaded. Once loaded, press the yellow “Connect” button in the upper left corner.
  13. Select “Green” on the left side.
  14. Press “Connect with the USB cable” in the lower right corner.
  15. Press the “OPEN” button.
  16. When the connection dialog opens, select “SPIKE Prime~” and press the “Connect” button.
  17. Name the hub. (First time only)
  18. The Python program will open, so press the yellow button in the lower right corner.
    • When you open the downloaded project with SPIKE App3, you will see red wavy underlines indicating errors in some of the code, but these are not problems. You can run the program as it is.
  19. To stop executing the program, press the red button in the lower right corner.

4 Connect Mind Render with SPIKE

  1. Press and hold the center button on the Prime Hub to switch it on. (The LED will show a heart).
  2. Press the right or left button. (The LED will show 0).
  3. Press the centre button (The LED will show “M”.).
  4. Start Mind Render, go to Lab > Connect with external > SPIKE > 1. Drive a car, and press the ‘Start’ button.
  5. Press the SPIKE object (white rectangular object in the center) on the scene screen.
  6. When the connection screen opens, select ‘SPIKE with Block” and press the ‘Connect’ button. (It may take a while for SPIKE to appear in the options).
  7. Close the screen and run the program. You can now drive the Mind Render car with the SPIKE steering wheel.

Trouble-shooting

Having trouble with your connection?

* © LEGO, the LEGO logo, the Minifigure, DUPLO, the SPIKE logo, MINDSTORMS and the MINDSTORMS logo are trademarks and of the LEGO Group.