Book Image

Design Innovative Robots with LEGO SPIKE Prime

By : Aaron Maurer
5 (1)
Book Image

Design Innovative Robots with LEGO SPIKE Prime

5 (1)
By: Aaron Maurer

Overview of this book

The new LEGO SPIKE Prime is one of the latest additions to the LEGO robotics line of products. This book will help you to enjoy building robots and understand how exciting robotics can be in terms of design, coding, and the expression of ideas. The book begins by taking you through a new realm of playful learning experiences designed for inventors and creators of any age. In each chapter, you'll find out how to build a creative robot, learn to bring the robot to life through code, and finally work with exercises to test what you've learned and remix the robot to suit your own unique style. Throughout the chapters, you'll build exciting new smart robots such as a handheld game, a robotic arm with a joystick, a guitar, a flying bird, a sumobot, a dragster, and a Simon Says game. By the end of this LEGO book, you'll have gained the knowledge and skills you need to build any robot that you can imagine.
Table of Contents (9 chapters)

Building the ultrasonic sensor attachment

  1. You are now going to add the ultrasonic sensor so that during competition, your robot can detect the opponent:

  2. Add two black connector pins to the azure 11x15 open frame where the motors are positioned and then add an azure 7L beam to these pins. Next, add two more black connector pins to the end pin holes of this beam:

    Figure 5.8 – Attaching the 7L beam to the frame

  3. Connect the ultrasonic sensor to the robot by using the two black connector pins:

    Figure 5.9 – Connecting the ultrasonic sensor

  4. You are now going to build a sub-model that will eventually connect underneath the ultrasonic sensor using the following steps:
    1. Place two purple 2x16 plates side by side.
    2. Secure them together using four white 2x2 round bricks.
    3. Add four yellow 1x2 slopes on the ends to serve as a bumper to lift up your robot opponent in battle:

Figure 5.10 – Building the plow for the front

  1. It is time to add another...