O'Reilly logo

Beginning Arduino by Michael McRoberts

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 5 – LED Chase Effect

You're going to use a string of LEDs (10 in total) to make an LED chase effect, similar to that used on the car KITT on Knight Rider or on the face of the Cylons in Battlestar Galactica. This project will introduce the concept of arrays.

Parts Required

10 5mm RED LEDs                         images

10 Current Limiting Resistors         images

Connect It Up

First, make sure your Arduino is powered off by unplugging it from the USB cable. Now, use your breadboard, LEDs, resistors, and wires to connect everything as shown in Figure ...

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