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 cargo

Now that the arm mechanism has been built, you need an element to pick up. You will now build a cargo build to practice using your claw:

  1. Start with two black 2x8 plates and place them side by side, as illustrated in Figure 2.48:
    Figure 2.48 – Two black 2x8 bricks

    Figure 2.48 – Two black 2x8 bricks

  2. Connect these elements together using two purple 2x5 blocks and place them at each end, as shown in Figure 2.49:
    Figure 2.49 – Join together using 2x4 blocks

    Figure 2.49 – Join together using 2x4 blocks

  3. Insert a yellow 3L axle into the middle of each purple 2x4 block, as shown in Figure 2.50:
    Figure 2.50 – Insert a yellow 3L axle

    Figure 2.50 – Insert a yellow 3L axle

  4. Slide a gray bushing onto each yellow axle, as shown in Figure 2.51:
    Figure 2.51 – Insert a gray bushing into each axle

    Figure 2.51 – Insert a gray bushing into each axle

  5. The next step is to add a yellow 90-degree connector to the top of each yellow axle, as shown in Figure 2.52:
    Figure 2.52 – Add a yellow 90-degree connector

    Figure 2.52 – Add a yellow 90-degree connector

  6. The final step is to use a 5L axle and, in the middle, slide it onto a tire. Secure the tire using a gray bushing on each side. Finally, work the 5L axle into the two yellow 90-degree connectors, as shown in Figure 2.53:
Figure 2.53 – Add the tire to the middle of a 5L axle

Figure 2.53 – Add the tire to the middle of a 5L axle

This will be the cargo item we will use to grab and move to different locations. Next, it will be time to move on to the coding to bring the robot claw into use.