Reader small image

You're reading from  Build and Code Creative Robots with LEGO BOOST

Product typeBook
Published inNov 2021
PublisherPackt
ISBN-139781801075572
Edition1st Edition
Concepts
Right arrow
Author (1)
Ashwin Shah
Ashwin Shah
author image
Ashwin Shah

Ashwin Shah is an Electronics and Communication engineer from India. Teaching is his passion and he started working at the tender age of 16 as a doubt solver for younger kids at after-school classes. Today, he is a successful edupreneur who runs his own STEM-based robotics, coding, and IoT institute - RoboFun Lab. Being one of the pioneers of STEM education in India, he has taught over 3000 students and trained 200+ educators thus far. He has trained 100+ teams for prestigious STEM competitions with 50+ national and 12+ international awards in the bag. Most of his students are now pursuing careers/education in STEM at prominent universities. Ashwin was a state-level badminton player during his college days.
Read more about Ashwin Shah

Right arrow

Time for a challenge

Build a small LEGO element that can represent Yoda. You will have to attach this element to your R2-D2 robot. You can build it using spare LEGO elements from your BOOST kit/use any of your LEGO minifigures that you have at home. Once done, program your R2-D2 to do the following:

  1. Go and meet Jedi Master Yoda at point A. Rotate R2-D2's head one time when the task is done and change the BOOST Hub light color to purple.
  2. Reorient the position of R2-D2 toward Dagobah, the mysterious force planet. Now, reach this planet in less than 6 seconds with Yoda. Rotate the neck for one full rotation and display the message Landed successfully on Dagobah with the master. Also play a unique sound for 3 seconds.
  3. Now, reorient R2-D2 toward the base position again and program it to reach the base in under 4 seconds.
  4. Calculate the total time taken to perform this activity once you are set with the route. Time taken = __________ seconds.

Your route setting...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Build and Code Creative Robots with LEGO BOOST
Published in: Nov 2021Publisher: PacktISBN-13: 9781801075572

Author (1)

author image
Ashwin Shah

Ashwin Shah is an Electronics and Communication engineer from India. Teaching is his passion and he started working at the tender age of 16 as a doubt solver for younger kids at after-school classes. Today, he is a successful edupreneur who runs his own STEM-based robotics, coding, and IoT institute - RoboFun Lab. Being one of the pioneers of STEM education in India, he has taught over 3000 students and trained 200+ educators thus far. He has trained 100+ teams for prestigious STEM competitions with 50+ national and 12+ international awards in the bag. Most of his students are now pursuing careers/education in STEM at prominent universities. Ashwin was a state-level badminton player during his college days.
Read more about Ashwin Shah