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 15: REACTION TIMER GAME

IN THIS PROJECT, LET’S COMBINE OUR LCD SCREEN WITH AN RGB LED AND A PIEZO BUZZER TO MAKE A REACTION TIMER GAME.

image
image

PARTS REQUIRED

• Arduino board

• Breadboard

• Jumper wires

• 16x2 LCD screen (Hitachi HD44780 compatible)

• RGB LED module

• Piezo buzzer

• Momentary tactile four-pin pushbutton

• 50k-ohm potentiometer

• 220-ohm resistor

LIBRARIES REQUIRED

• LiquidCrystal

HOW IT WORKS

You start the game by holding down the pushbutton. The RGB LED lights up and fades through some random colors. Your aim is to react as ...

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