PROJECT 4: DISCO STROBE LIGHT

IN THIS PROJECT, YOU’LL APPLY THE SKILLS YOU LEARNED IN PROJECT 3 TO MAKE A STROBE LIGHT WITH ADJUSTABLE SPEED SETTINGS.

image
image

PARTS REQUIRED

• Arduino board

• Breadboard

• Jumper wires

• 2 blue LEDs

• 2 red LEDs

• 50k-ohm potentiometer

• 4 220-ohm resistors

HOW IT WORKS

Turning the potentiometer up or down changes the speed of the flashing lights, creating a strobe effect. You can use red and blue LEDs for a flashing police light effect (see Figure 4-1). Connect the LEDs of the same color to the same Arduino pin so they’ll ...

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.