solving the wall-following problem using the Switch block using Start on True blocks a smoother wall-following program with math triggering sequences with custom conditions 76 comparing colors 77 repeating actions while a condition is true 78 what you’ve learned 78 chapter 9 following walls 79 82 using Wait blocks 82 Using the Wait for True blocks 82 83 84 84 proportional steering 85 adjusting R and K 87 backing out of corners 87 what you’ve learned 88 chapter 10 a voice-activated robot 89 Sound Sensor blocks 89 clapper switch 90 clapper navigator 90 Tilt Sensor blocks 91 hey put me down 92 detecting a sudden hit 94 Light blocks 95 random actions 95 random numbers 95 randomizing colors and sounds 96 starting parallel sequences 97 98 the interrupting robot joke building the program 99 what you’ve learned 100 chapter 11 taking a look around 101 building the scanner head 102 single-motor blocks 104 using the rotation sensors 105 scanning 106 moving relative to a zero position 107 resetting the scanner head 109 making composite blocks 110 making composite blocks with inputs 112 editing and removing composite blocks 114 adding inputs 115 deleting inputs 115 deleting a composite block 115 hand following 116 storing numbers with variables 117 xii conTenTs in deTail
navigating around clutter 118 what you’ve learned 120 chapter 12 playing darts 121 remote control blocks 122 making a remote control for MARIO 123 adding the Button Widget to the remote control 125 building the shooter and the target 126 QuickDraw a dart-shooting game 128 program description 128 the composite blocks 130 making the main program 133 using the remote control 133 automatic shooting 133 the Reload composite block 134 how the program works 135 what you’ve learned 136 chapter 13 building techniques 137 LEGO geometry 137 SNOT building 138 139 making your robots strong and sturdy using Technic connections 139 bracing techniques 140 understanding the angular beams 141 working with gears 142 when to use gears 144 getting gears to mesh well 145 perfect and imperfect gear combinations 146 146 meshing gears on parallel axles meshing gears at right angles 147 driving the turntable 148 gear racks 150 153 longer gear trains transforming motion 155 motor assemblies 158 what you’ve learned 159 parT iii brickpecker chapter 14 brickpecker a brick-sorting bird 163 one motor for two movements 186 what you’ve learned 186 chapter 15 programming brickpecker 187 understanding the gear train 188 the Reset composite block 189 the Spinning composite block 191 conTenTs in deTail xiii
the PickAndPlace composite block 192 the Brick-Sorting Bird program 192 what you’ve learned 194 parT iv cyboT chapter 16 building cyboT 197 changing the batteries 224 what you've learned 224 chapter 17 programming cyboT 225 making the composite blocks 225 Reset c-block 225 resetting CYBOT 226 MoveHead c-block 228 Realign c-block 228 Forward c-block 230 TurnRight c-block 230 TurnLeft c-block 230 SpinRight c-block 231 SpinLeft c-block 231 Shoot c-block 231 Explore program 232 Remote Control program 233 voice control 234 counting words 234 235 Command c-block the code 236 what you’ve learned 237 experiment answer key 239 index 249 xiv conTenTs in deTail
introduction The LEGO BOOST set 17101 is called a Creative Toolbox for a reason Its large assortment of LEGO elements and electronic devices allows you to bring your LEGO creation to life The BOOST set and its companion app were designed to teach programming and robotics to kids with a smooth learning curve With LEGO BOOST you can build and program your own robots or boost any of the LEGO models you already have by adding motors and sensors to them why this book Coding has become a buzzword in schools around the world because programming programming is considered a fundamental skill of the 21st century Exploring robotics with LEGO BOOST is a great way to introduce programming to kids of all ages even young ones Although the LEGO BOOST set includes ready-made programming blocks that allow you to do complex things there’s no manual in the box to show you how to get started or to create and program your own robots from scratch That’s where this book comes in The LEGO BOOST Activity Book uses a fun hands-on approach to introduce you to the LEGO BOOST set and teaches you how to use it to build and program your own robots It covers how the BOOST set works general LEGO building techniques and thoroughly introduces you to robot programming in a way that you won’t find inside your BOOST set by itself You’ll learn how to use the BOOST app’s programming blocks to program your own creations You’ll also find building instructions for three different robots xv