O'Reilly logo

Arduino Project Handbook by Mark Geddes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PROJECT 8: MEMORY GAME

IN THIS PROJECT WE’LL CREATE OUR OWN VERSION OF AN ATARI ARCADE MEMORY GAME CALLED TOUCH ME, USING FOUR LEDS, FOUR PUSHBUTTON SWITCHES, A PIEZO BUZZER, AND SOME RESISTORS AND JUMPER WIRES.

image
image

PARTS REQUIRED

• Arduino board

• Breadboard

• Jumper wires

• Piezo buzzer

• 4 momentary tactile four-pin pushbuttons

• 4 LEDs

• 4 220-ohm resistors

LIBRARIES REQUIRED

• Tone

HOW IT WORKS

The original Atari game had four colored panels, each with an LED that lit up in a particular pattern that players had to repeat back (see Figure 8-1 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required