Book Image

Build and Code Creative Robots with LEGO BOOST

By : Ashwin Shah
Book Image

Build and Code Creative Robots with LEGO BOOST

By: Ashwin Shah

Overview of this book

LEGO BOOST is a feature-rich creative toolbox that helps kids to develop science, technology, engineering, and mathematics (STEM) skills in a fun way. The LEGO BOOST kit consists of motors, sensors, and more than 840 LEGO pieces to bring various multifunctional robots to life. This book will take you on an interesting and enjoyable journey where you will have fun building robots while developing your problem-solving and logical thinking skills. This book is an end-to-end guide that will take you from a beginner to expert level of robot building with LEGO BOOST and Scratch. Starting with the unboxing and a brief introduction to LEGO BOOST, you'll quickly get your first robotic model up and running. You'll understand how to use the electronic and non-electronic components and have fun building a range of intriguing robotics projects with increasing complexity and advanced functionality. Throughout the book, you'll work on a variety of amazing projects, such as building your own R2D2, a fictional character from Star Wars, that will pique your curiosity to learn robotics and help you explore the full potential of the LEGO BOOST kit. Once you've had fun working with the projects, you'll be introduced to an interesting challenge for you to solve by yourself! By the end of this book, you'll have gained the skills to build creative robotics projects with the LEGO BOOST creative toolbox, and have built on your logical thinking and problem-solving skills.
Table of Contents (20 chapters)
14
Bonus Chapters

Time for a challenge

Challenge #1

Assume that a door is fixed at an office and the owner wants to allow entry of only specific types of people into the office. So now, program your door to do the following:

  1. Open when it senses people with green and blue hats.
  2. Keep the door closed for people with red hats. Display Sorry, entry is restricted to such people.

You need to use the same man that you built using the BOOST elements. Keep changing the hat color to test it.

Challenge #2

Try to add more colored hats, such as black, white, and yellow hats, using your LEGO elements, and modify the list as follows:

  1. Open the door for people with blue, green, and yellow hats.
  2. Keep the door closed for people with white, black, and red hats. You can display the same warning message.

You can use more of these if-else statements and add to the decision-making capabilities of your BOOST robot for many such exciting projects.