PROJECT 14: FORTUNE TELLER

IN THIS PROJECT, WE’LL CREATE AN ELECTRONIC VERSION OF A CLASSIC FORTUNE-TELLING DEVICE: THE MAGIC 8 BALL.

image
image

PARTS REQUIRED

• Arduino board

• Breadboard

• Jumper wires

• 16x2 LCD screen (Hitachi HD44780 compatible)

• Tilt ball switch

• 50k-ohm potentiometer

• 1k-ohm resistor

LIBRARIES REQUIRED

• LiquidCrystal

HOW IT WORKS

The Magic 8 Ball, a novelty toy created in the 1950s, is made of a hollow sphere in which a 20-sided die floated in alcohol. When you ask the ball a question and shake it, one side of the die floats ...

Get Arduino Project Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.