Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Design Innovative Robots with LEGO SPIKE Prime
Design Innovative Robots with LEGO SPIKE Prime

Design Innovative Robots with LEGO SPIKE Prime: Seven creative STEM robotic designs to challenge your mind

Arrow left icon
Profile Icon Aaron Maurer
Arrow right icon
S$12.99 S$47.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8 (6 Ratings)
eBook Jan 2022 264 pages 1st Edition
eBook
S$12.99 S$47.99
Paperback
S$59.99
Subscription
Free Trial
Arrow left icon
Profile Icon Aaron Maurer
Arrow right icon
S$12.99 S$47.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8 (6 Ratings)
eBook Jan 2022 264 pages 1st Edition
eBook
S$12.99 S$47.99
Paperback
S$59.99
Subscription
Free Trial
eBook
S$12.99 S$47.99
Paperback
S$59.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Design Innovative Robots with LEGO SPIKE Prime

Chapter 2: Building an Industrial Robot Claw

Industrial robots have been around for a long time. In many cases, industrial robots are not the humanoid-looking robots we imagine when thinking of robots. Instead, many are robot claws that can do a wide variety of tasks, such as surgery, welding, assembly, painting, and more. In this chapter, you are going to build a robotic claw to pick up an object to better understand how these claws work and operate. In the following image, you can see what you will be building:

Figure 2.1 – A robotic claw

Figure 2.1 – A robotic claw

In this chapter, we will break down the build and program, as follows:

  • Building the base
  • Building the Intelligent Hub frame to move multidirectionally
  • Building the robot arm
  • Building the cargo
  • Writing the code
  • Making it your own

Technical requirements

For the building of the robot, all you will need is the SPIKE Prime kit. For programming, you will need the LEGO SPIKE application/software.

Access to the code can be found here: https://github.com/PacktPublishing/Design-Innovative-Robots-with-LEGO-SPIKE-Prime/blob/main/Chapter%202%20-%20Robot%20Arm%20Code%20.llsp.

You can find the code in action video for this chapter here: https://bit.ly/3xkt1Mj

Building the base

Before we build this claw, let's explore the strategy being used for this claw. There are many LEGO robotic claws to be found online. This claw will use the following tactics and strategies:

  • The claw needs to be able to be controlled by a human.
  • The claw needs to be able to move from side to side.
  • The claw needs to be able to move up and down.
  • The claw needs to be able to open and close to grab various objects.

We are going to start this build using a large yellow 11x19 base plate as the main building foundation for this robotic claw. Let's take the following steps:

  1. Ensuring that we have a solid foundation is key, and the yellow 11x19 base plate shown in the following image is perfect for building on top of when designing a claw:
    Figure 2.2 – The LEGO yellow base plate

    Figure 2.2 – The LEGO yellow base plate

  2. We are going to need to add the second yellow 11x19 base plate:
    Figure 2.3 – The second LEGO yellow base plate

    Figure 2.3 – The second LEGO yellow base plate

  3. On each corner of the yellow base plates, you will add a gray perpendicular connector piece, as shown in the following figure:
    Figure 2.4 – Add gray connectors to edges

    Figure 2.4 – Add gray connectors to edges

  4. Next up, you will now add six 3L black axle pins with friction ridges to the sides, as follows:
    Figure 2.5 – Three axles added to each side

    Figure 2.5 – Three axles added to each side

  5. Now that we have plenty of connectors in place, it is time to build out the next part of the base, which will provide spaces for you to move an object from one location to another. Start by adding a yellow 3L beam and purple 11L beam to each side, as shown in Figure 2.6:
    Figure 2.6 – Fill the space between the gray perpendicular connectors

    Figure 2.6 – Fill the space between the gray perpendicular connectors

  6. From this step, attach an azure 11x15 open center frame on each side. Hold this piece in place using an azure 7L beam and one gray perpendicular connector on each side.
    Figure 2.7 – Attach the open frames for object delivery

    Figure 2.7 – Attach the open frames for object delivery

  7. The final part to assemble on the base is the beginning space for your object. Begin by first adding two gray perpendicular connector pins to the front of the yellow base plate. Attach a black 3x11 panel plate to each connector. Next, attach the 8 black connector pins along this whole edge, as shown in Figure 2.8:
    Figure 2.8 – Adding the black 3x11 panels

    Figure 2.8 – Adding the black 3x11 panels

  8. The next set of elements will help hold everything together. Attach an azure 13L beam across the two black 3x11 panels using the black connector pins already in place. Insert three black connector pins to this beam, as shown in Figure 2.9.

    Follow the same process for the two black 15L beams across the azure open frames.

    Figure 2.9 – Building the support for the front of the base

    Figure 2.9 – Building the support for the front of the base

  9. The final step to this section requires you to add two yellow 3L beams to either end of the azure 11L beam. Lock the black 5x7 open center frame to the azure beam using the black connector pin still available and using two more gray perpendicular connectors, as shown here:
    Figure 2.10 – The final look of the base

    Figure 2.10 – The final look of the base

    You now have completed the base for the robot arm and the playing field to move an object from one open frame to the other. Our next step is to build the frame for Intelligent Hub to serve as our arm controller.

Building the Intelligent Hub frame to move multidirectionally

  1. One part of this kit that is different from previous LEGO MINDSTORMS kits is that the wires for all sensors and motors are set to a specific length. In previous kits, we could attach various cable sizes as we built our bigger structures.

    Because all wires are a set length that we cannot adjust, we must consider this creative constraint in the build design. With that being said, we need to build a frame to place Intelligent Hub at a certain height to allow the motors to be able to reach it while in motion.

    In this case, you will build a base that will provide adequate height along with an opportunity for Intelligent Hub to spin and pivot up and down. Let's look at the following steps:

  2. To begin this aspect of the build, begin by securing two black biscuit elements to the yellow base plate using the blue connector pins. These are centered towards the back of the build and will be three pin holes from the edge. The following figure illustrates this:
    Figure 2.11 – Biscuit elements added to the yellow base plate

    Figure 2.11 – Biscuit elements added to the yellow base plate

  3. Next, attach the yellow 7L axle to the middle of the two black biscuit elements. Slide the tire through the yellow axle. On top of the tire, insert two blue connector pins in the top and bottom pin holes and secure another purple biscuit, leaving space on top to connect more elements, as shown in Figure 2.12:
    Figure 2.12 – Biscuit element on top of the tire

    Figure 2.12 – Biscuit element on top of the tire

  4. Once you have ensured everything is secure and connected, add one more tire to the top of the purple biscuit element, as shown in Figure 2.13:
    Figure 2.13 – Second tire added to the top

    Figure 2.13 – Second tire added to the top

  5. Just like the previous step, you will add another purple biscuit element to the top tire using two blue connectors pins but using the left-side and right-side pin holes, as shown in Figure 2.14:
    Figure 2.14 – Securing another biscuit element

    Figure 2.14 – Securing another biscuit element

    This next sub-model will sit on top of the two tires we just installed. This will serve as the housing unit for Intelligent Hub, allowing it to move forward and backward while using the tire build and spin right and left:

  6. To begin, locate a purple 7x11 open center frame and install four blue connector pins, as shown in Figure 2.15:
    Figure 2.15 – Add four blue connector pins to the purple 7x11 open frame

    Figure 2.15 – Add four blue connector pins to the purple 7x11 open frame

  7. Attach another purple 7x11 open frame using the blue connector pins, as shown in Figure 2.16:
    Figure 2.16 – Stack another purple 7x11 open frame

    Figure 2.16 – Stack another purple 7x11 open frame

    Keep in mind that, for this next part, I suggest you build the black open frame piece first. As you look at Figure 2.17, you can see how it fits within the purple 7x11 open frame, but it is not locked in at this point.

  8. For this step, there is a three-image process to help you see where all the pieces go in Figure 2.17:
    1. Attach a yellow 3L beam to both sides of the purple biscuit. Connect the yellow 3L beams using two black connector pins on the outside pins.
    2. Insert this build into the black 5x7 open frame.
    3. Take this piece and add a gray pin with a bush stop to the middle pin hole on both 5L sides of the black 5x7 open frame. This will allow these pieces to pivot back and forth.
Figure 2.17 – Piecing the elements together

Figure 2.17 – Piecing the elements together

And here is how it fits into the purple 7x11 open frame:

Figure 2.18 – Pivot piece for Intelligent Hub

Figure 2.18 – Pivot piece for Intelligent Hub

  1. This piece will fit into the purple open frame but, as you can see, when building, it does not stay together, but for a point of reference, these will sit atop the wheels, as shown in Figure 2.19:
    Figure 2.19 – Location of the piece on tires

    Figure 2.19 – Location of the piece on tires

  2. Lock this piece into the purple open frame by using four more gray bush stop pins and connect two on each side, as shown in Figure 2.20:
    Figure 2.20 – Pins with bush stops hold it all together

    Figure 2.20 – Pins with bush stops hold it all together

  3. Add a tan pin connector to each of the gray connectors on the bush stop axle insert, as shown in Figure 2.21:
    Figure 2.21 – Add tan connector pins to each bush stop

    Figure 2.21 – Add tan connector pins to each bush stop

  4. We will now add the azure curved plates to each side to act as a joystick mechanism to help steer Intelligent Hub back and forth, as illustrated in Figure 2.22:
    Figure 2.22 – Azure curved plates for steering

    Figure 2.22 – Azure curved plates for steering

  5. Finally, the last step for the controller of our robot arm is to add the most important piece, the Intelligent Hub, as shown in Figure 2.23. The Intelligent Hub connects to the four blue connector pins in place in the purple open frame. Click all into place and spin your Intelligent Hub around to ensure it properly spins on the yellow axle. Additionally, it should also be able to lean forward and backward.
    Figure 2.23 – Placement of Intelligent Hub

    Figure 2.23 – Placement of Intelligent Hub

    When you have tested these two movements, it is time to build the robot arm itself.

Building the robot arm

  1. You are now ready to build the robot arm that will be controlled by Intelligent Hub. In order to achieve this, you will need to take the following steps:

  2. Start with four black connector pins and add them to the front yellow base plate, as shown in Figure 2.24:
    Figure 2.24 – Placement of the black connector pins

    Figure 2.24 – Placement of the black connector pins

  3. On top of these four black connector pins, add the large motor from the kit, as shown in Figure 2.25:
    Figure 2.25 – Attach the large motor to the black connector pins

    Figure 2.25 – Attach the large motor to the black connector pins

  4. Once your motor is secure to the yellow base plate, add two blue connector pins and one black biscuit to the motor. The blue connector pins will be placed on the top and bottom pin holes of the motor, not the right and left sides.
    Figure 2.26 – Attach the blue connector pins and biscuit

    Figure 2.26 – Attach the blue connector pins and biscuit

    Be sure your motor is aligned to position 0 (gray dots aligning):

    Figure 2.27 – Motor aligned to position 0

    Figure 2.27 – Motor aligned to position 0

  5. On top of the black biscuit element using the blue connector pins, you will add a medium motor facing to the left. Again, align the motor to position 0 (dots lined up as shown in Figure 2.27):
    Figure 2.28 – Attach the medium motor

    Figure 2.28 – Attach the medium motor

  6. This next part of the build is to create a simple stopper, so the robot arm does not go straight back and hit Intelligent Hub.

    Begin by adding four black connector pins to the pin holes on the medium motor in the white pin holes. Attach two azure 7L beams facing up, as shown in Figure 2.29:

    Figure 2.29 – Attach the azure 7L beams

    Figure 2.29 – Attach the azure 7L beams

  7. Add a yellow 2x4 L beam to the top of each azure 7L beam using two black connector pins for each one, as shown in Figure 2.30:
    Figure 2.30 – Attach the yellow 2x4 L beams

    Figure 2.30 – Attach the yellow 2x4 L beams

    This has been designed to be simple so that as you tweak this build on your own, you can easily remove these pieces if you wish.

    It is now time to add the second motor for the robot arm by taking the following steps:

  8. Begin by adding two tan connector axle pins to the middle pin hole of the medium motor on either side. On the side of the motor with the azure motor element, add one black connector pin to the top pin hole, as shown in Figure 2.31:
    Figure 2.31 – Prep for the claw

    Figure 2.31 – Prep for the claw

  9. We are now going to build a sub-model of the robot claw that will fit onto the connector pins we just added to the medium motor.

    Start with one black 15L beam, as shown in Figure 2.32:

    Figure 2.32 – Beginning of the claw build

    Figure 2.32 – Beginning of the claw build

  10. Using two blue connector pins, attach a black 9L beam to the 15L beam, as shown in Figure 2.33:
    Figure 2.33 – Attach the 9L beam

    Figure 2.33 – Attach the 9L beam

  11. Using the two blue connector pins, add the second medium motor, as shown in Figure 2.34:
    Figure 2.34 – Attach the second medium motor

    Figure 2.34 – Attach the second medium motor

  12. On the other side of the medium motor, which does not have anything added yet, use two black connector pins and attach another black 15L beam. Let's see what this looks like in an illustration:
    Figure 2.35 – Attach another black 15L beam

    Figure 2.35 – Attach another black 15L beam

  13. On the backside of the motor, insert a yellow 3L axle and two black connector pins to the right and left sides, as shown in Figure 2.36:
    Figure 2.36 – Attach a yellow axle and pins

    Figure 2.36 – Attach a yellow axle and pins

  14. Slide a purple 5L beam across the pin connectors. Add two more black connector pins to each end of the beam, as shown in Figure 2.37:
    Figure 2.37 – Attach a purple 5L beam

    Figure 2.37 – Attach a purple 5L beam

  15. This next little build is what will allow your claw to open and close. Add a tan axle connector pin to a white axle and insert a pin connector element into the right axle hole:
    Figure 2.38 – Claw movement mechanism

    Figure 2.38 – Claw movement mechanism

  16. Add an Azure 1x2 axle hole element to the pin side of the tan axle connector, as shown in Figure 2.39:
    Figure 2.39 – Add the 1x2 axle hole

    Figure 2.39 – Add the 1x2 axle hole

  17. Attach this build element to the backside of the motor, as shown in Figure 2.40:
    Figure 2.40 – Insert into the medium motor

    Figure 2.40 – Insert into the medium motor

  18. Using the two black connector pins that are still open on the purple beam, add one yellow bent lift arm to each pin, as shown in Figure 2.41:
    Figure 2.41 – Add the yellow lift arms to the motor

    Figure 2.41 – Add the yellow lift arms to the motor

  19. If looking at the build straight on, you will add one black axle connector pin on the right side in the third pin hole from the bottom. This will connect the yellow lift arm to the white connector piece behind it. You will add one tan axle pin connector to the left yellow lift arm in the bottom hole. Let's see what this looks like in Figure 2.42:
    Figure 2.42 – Add tan and black connector pins

    Figure 2.42 – Add tan and black connector pins

  20. Secure the yellow lift arms together for movement to occur by using one H-shaped lift arm to hold them in place:
    Figure 2.43 – Add a H-shaped lift arm

    Figure 2.43 – Add a H-shaped lift arm

  21. The final step is to add some grippers so that the arms can hold an object without slipping. Add a yellow 3L axle through the end of each yellow bent lift arm, as shown in Figure 2.44:
    Figure 2.44 – Add a yellow 3L axle beam

    Figure 2.44 – Add a yellow 3L axle beam

  22. Add a rubber gripper to each side, as shown in Figure 2.45. You will use four of them in total:
    Figure 2.45 – Add grippers

    Figure 2.45 – Add grippers

  23. The final step is to now add this claw to the overall build design. Use the pins on the first medium motor to connect everything into place. Let's look at an illustration of this:
    Figure 2.46 – Add the claw to the robot

    Figure 2.46 – Add the claw to the robot

  24. And you now have one sweet-looking robot arm build, ready to be programmed and brought to life! Let's have a look at it in Figure 2.47:
Figure 2.47 – Final view of the robot

Figure 2.47 – Final view of the robot

Now that your claw is complete, we have one more item to build, which is an element to be picked up, so let's build a small cargo element.

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.

Writing the code

For this build, we are going to focus on writing code that allows us to use the Intelligent Hub as a remote control for the arm. This will be a program that allows you to control the robot using the gyro sensor feature of the Intelligent Hub to move the claw left, right, up, and down, and to open and close the claw.

Overall, this program is simple to develop and is created to be easily adaptable for you to remix to meet your needs. Use this sample code to make sure everything works, and then begin to tweak the code to make it work to your desired needs. Make sure you have the proper ports plugged in, and then move on to the code.

Identifying the ports

If you have not plugged in your motors yet, then let's get them plugged into the proper ports. You will plug the large motor that moves the claw to the right and left to motor port E. The medium motor that controls the opening and closing of the claw will plug into port A. The medium motor that controls the arm of the claw to go up and down will use port C. Once you have the motors plugged in, then double-check that the motors are plugged in correctly.

You can check that your motors are properly plugged in by checking the Hub Connection in the software, as seen in the following screenshot:

Figure 2.54 – Hub Connection view

Figure 2.54 – Hub Connection view

It is time to write the program so that you can control the claw.

The Intelligent Hub remote-control robot program

To get started with this program, let's go ahead with the following steps to make the robot come to life:

  1. Open up the SPIKE Prime software.

    Click on New Project at the center of the main screen:

    Figure 2.55 – Choosing a new project

    Figure 2.55 – Choosing a new project

  2. On the New Project window, select the Word Blocks option, give your program name, and click on Create.
  3. When the coding canvas opens, there is already a default when program starts block provided, as shown in Figure 2.56. Let's begin with this code stack. We will add some code to align all our motors to a common starting point at the beginning of the code. Add a cyan sensor block called set yaw angle to under the when program starts block:
    Figure 2.56 – Creating the initial code stack

    Figure 2.56 – Creating the initial code stack

  4. Yaw is the orientation of Intelligent Hub turning right or left, as shown in Figure 2.57. In other words, it is the rotation around the z axis:
    Figure 2.57 – Yaw is turning Intelligent Hub left and/or right on the z axis

    Figure 2.57 – Yaw is turning Intelligent Hub left and/or right on the z axis

  5. The last two blocks we will add to this stack are blue motor blocks. Add two of the motor go shortest path to position blocks, as shown in Figure 2.58. Set one block for motor E and the other for motor C:
    Figure 2.58 – Set motors E and C to the start position

    Figure 2.58 – Set motors E and C to the start position

    We are now going to create a new code stack for the claw to close. Go to the Events code block section and select the block when left Button pressed. Change this block to right Button pressed. Add a blue motor block named run for 1 clockwise rotations. Change the settings of the block to motor A and change the settings to 7 degrees:

    Figure 2.59 – Set the claw to close

    Figure 2.59 – Set the claw to close

    You will now copy this stack and do the opposite to open. Right-click the Event block and you will see an option to Duplicate. Change this stack to left Button on the orange event block. For the blue motor block, change the direction of the turn to counterclockwise:

    Figure 2.60 – Set the claw to open

    Figure 2.60 – Set the claw to open

  6. The final code stack will be created to allow the arm to move in the direction of Intelligent Hub using angle and yaw. Begin by adding an Event block named when program starts.
  7. Add a blue motor block to adjust the motor C speed to 5%. You can adjust the speed to your liking once you get the arm moving.
  8. The next block we will add is a Control block named forever. In this block, add another blue motor block, moving motor E to the shortest path to position the block. Where the number 0 sits, you will add a cyan sensor block named Pitch Angle. Add that to 0 and then change the pitch to Yaw. Figure 2.61 will showcase what you should have at this point:
    Figure 2.61 – Controlling arm code

    Figure 2.61 – Controlling arm code

  9. Next, we will create an If Then statement and basically duplicate it two more times to complete the code. This will program the arm to follow the motion of Intelligent Hub. Go to the Control blocks and add an If Then block into the Forever block of our code. Add a green Operator block of less than. On the left side, add a cyan Sensor block of Pitch Angle, and to the right of the equation, add -3. Under that block, add a blue motor block, Start Motor, and change to motor C and in a counterclockwise direction:
    Figure 2.62 – Arm move to the left

    Figure 2.62 – Arm move to the left

  10. We will now copy this format, but use different Operator blocks for greater than and another Operator block when the pitch is between -3 and 3. See Figure 2.63 for the rest of the code to complete the sequence:
Figure 2.63 – Complete code for arm control

Figure 2.63 – Complete code for arm control

When it is all complete, your code should look like this:

Figure 2.64 – Complete code for this project

Figure 2.64 – Complete code for this project

And that is it! You did it. You built a nice-looking and working robot claw. Now comes the fun part, which is to remix the claw to make it your own. Let's look at some ideas.

Making it your own

This is the part I love, and I hope you do too. This robot is just the beginning of the fun. It is now time for you to take this framework of the robot build and sample code and make it unique to your talents and imagination.

Here are a few ideas to consider applying to this robot:

  • Add sensors to trigger autonomous robot decisions. For example, could you add a color sensor so that, as the claw moves, it is waiting to detect a color to stop and pick up the object and move to another location?
  • Could you program the arm to move without human interaction?
  • Instead of using the buttons on Intelligent Hub to open and close the claw, could you use the Force Sensor instead?
  • How could you modify the claw to grab different objects and sizes?
  • Add lights from the Light-Emitting Diode (LED) matrix on Intelligent Hub to provide insights or cool new looks as the robot operates.
  • Add sound effects to make it sound like an industrial robot.

Summary

Industry continues to rely on robotics to achieve production goals. By the end of this chapter, we had explored the concept of industrial robots by building a robotic claw that can pick up an object and transport it to another location. Additionally, we explored how to have several motors working together to create an actual working claw. This is a classic build that must be done with any new robotic kit!

Let's now head to the next chapter and explore a whole different world of robotics by building a guitar.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Get up and running with new parts not seen in previous LEGO kits
  • Gain deeper insights into non-compatible sensors and components that work with all prior LEGO components and third-party elements
  • Explore new features and experiment with new robot builds with LEGO's new coding platform

Description

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.

Who is this book for?

This book is for robot enthusiasts, LEGO lovers, hobbyists, educators, students, and anyone looking to learn about the new LEGO SPIKE Prime kit. The book is designed to go beyond the basic builds to intermediate and advanced builds, while also helping you to learn how to add your own personal touch to the builds and code. To make the most of this book, you'll need a basic understanding of build techniques, coding in block-based software environments, and weaving them together to create unique robot builds.

What you will learn

  • Discover how the LEGO SPIKE Prime kit works, and explore its parts and the elements inside them
  • Build and design robots that go beyond basic robotic designs
  • Create interactive robots with the help of sensors
  • Explore real-world robots and learn how to build them by yourself
  • Find out challenging ways to remix build ideas with your own imagination and skills
  • Develop coding skills using the Scratch programming interface

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jan 06, 2022
Length: 264 pages
Edition : 1st
Language : English
ISBN-13 : 9781801813389
Category :
Concepts :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Jan 06, 2022
Length: 264 pages
Edition : 1st
Language : English
ISBN-13 : 9781801813389
Category :
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total S$ 165.97
Build and Code Creative Robots with LEGO BOOST
S$52.99
Smart Robotics with LEGO MINDSTORMS Robot Inventor
S$52.99
Design Innovative Robots with LEGO SPIKE Prime
S$59.99
Total S$ 165.97 Stars icon
Banner background image

Table of Contents

8 Chapters
Chapter 1: Getting Started with SPIKE Prime Chevron down icon Chevron up icon
Chapter 2: Building an Industrial Robot Claw Chevron down icon Chevron up icon
Chapter 3: Building a LEGO Guitar Chevron down icon Chevron up icon
Chapter 4: Building a Mechanical Bird Chevron down icon Chevron up icon
Chapter 5: Building a Sumobot Chevron down icon Chevron up icon
Chapter 6: Building a Dragster Chevron down icon Chevron up icon
Chapter 7: Building a Simon Says Game Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8
(6 Ratings)
5 star 83.3%
4 star 16.7%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Udruga tehnicke kulture Galileo Galilei Feb 13, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Very good book and fantastic price
Feefo Verified review Feefo
D. Apr 22, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am planning to purchase this book for a teacher professional development workshop to be held in 2022. Building instructions and coding instructions were complete and comprehensive, and models functioned as intended. A few of the builds did not seem to have a quick response time, so having a group of teachers work with the Spike Prime kit to build and code will refine use and perceptions.
Amazon Verified review Amazon
Denise Wright Apr 11, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have used "Design Innovative Robots with Lego Spike Prime" in my classroom especially since we are new to the Lego Spike Prime ! The book gives fun ideas on how to integrate the Prime into your classroom. I highly recommend this book since it is a great tool to innovate your classroom. Outstanding, worth purchasing for your STEM library. Denise Wright, STEM Teacher, Myrtle Beach SC
Amazon Verified review Amazon
Chris Cartellone Apr 06, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As I read Aaron's book, I realized I felt like I was having a conversation with a friend, not a tech expert. I'm not super tech-savvy and his book lays everything out so nicely, from photos to easy to follow descriptions, anyone can build and get creative with his help. I feel like this book is for anyone interested in learning and growing their lego creativity more, from young kids to adults, everyone can read, build, and have some fun. I highly recommend Aaron's book for any robotics class, for any robotics teachers, and for STEM teachers as you will see your students creative juices grow!
Amazon Verified review Amazon
Emma Folland Apr 14, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a teacher who is new to computer science, I found this book very easy to use. This book really helped support the lessons we were doing at the middle school level!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.