O'Reilly logo

Make: Basic Arduino Projects by Don Wilcher

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

Chapter 10. The Magic Light Bulb

Pushbutton Multicolor Flasher

Here’s a cool trick you can play on a friend using the Arduino and an RGB LED. Build an RGB flasher with a mini pushbutton switch on an Arduino MakerShield. Show your friend the MakerShield and tell him the mini light bulb is magical and it can produce three colors: red, green, and blue. Have your friend close his eyes and chant “Are Gee Bee” three times. Briefly press the mini pushbutton switch to start the RGB flashing sequence. Tell your friend to open his eyes and watch in amazement the mini color light show produced by the Arduino. The Magic Light Bulb device is shown in Figure 10-1. The parts you will use for this project are two fixed resistors, an RGB LED, a pushbutton switch, ...

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