
Chapter 10: Chomper Bot
186
• Once both are mounted, let’s test it out! Plug in the
Arduino and watch! After two seconds (delay(2000))
the eyeball will start moving left to right (four times.)
Then, after three seconds (delay(3000)) the mouth will
begin to chomp as the eyeball wiggles! Once we know
all of this is working, disconnect the USB cable from the
Arduino, plug a 9V battery into the board, and test once
more.
• Then, duct tape the battery to the top, mount the plug
onto the battery, and set your Chomper Bot aside as we
create our magic cards
(Figure
48
)
.
• Take out eight blank index cards. Glue two of them
together with craft glue stick, ...