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)

Making it your own

I can't wait to see how you design your guitar and how you play it. Here are a few other ideas that you could use to make your own custom guitar.

You could use the purple sound play sound block and import your sounds. Using the record… option, you could play power chords from the internet and record them to your Intelligent Hub. Using edit sounds… allows you to further customize the sound.

If you are talented, you could record yourself playing the actual chords/notes and pull that into the code:

Figure 3.43 – Be creative and develop some unique sounds

You could also experiment using a block, such as the changing pitch block to change the pitch of a sound if the distance sensor is triggered (think of a whammy bar on an electric guitar) or if you tap the brick, or maybe add a motor to spin.

The possibilities are endless!

Figure 3.44 – Use distance sensors to tweak sounds like...