Page 40 - LEGO MINDSTORMS - Robotics Invention System-2 Projects
P. 40

Robot 1 • The Bug

        Final Step 10






















                                                                                              With the
                                                                                      addition of the
                                                                              pincers and eyebrows to
                                                                      the robot as shown, the Bug is
                                                                   complete! Load and run the cock-
                                                                roach program to make the Bug seek
                                                              out the dark corners of a room. Run the
                                                           moth program, and the Bug will be drawn
                                                        to bright lights. Shine a flashlight at the Bug,
                                                      and he’ll follow you around.








       Inventing…
       Programs and Add-ons

       The programs for the Bug are located
       on the Syngress Solutions Web site
       (www.syngress.com/solutions). There
       are also two variations of the Bug
       available at this site: A line-following
       version and a version that incorporates
       a proximity sensor!














                                                     26
   35   36   37   38   39   40   41   42   43   44   45