Category: The Magic Light Bulb
-
Circuit Theory
The Arduino controls the tricolor pattern that is sent to the RGB LED, as shown in Example 10-1. The RGB LED sequence or pattern is started with a short press of the mini pushbutton switch. Within the sketch is a counter that plays the pattern for a set number of times (in this case, three times). The replay…
-
Upload the Magic Light Bulb Sketch
With the Magic Light Bulb circuit built on the MakerShield, it’s time to upload the sketch. Example 10-1 operates the RGB LEDs using a mini pushbutton switch. Here are the steps you’ll need to follow: The Arduino will sequence the RGB LED tricolor pattern three times. Figure 10-3 shows the Magic Light Bulb in action. Figure 10-3. The Magic Light Bulb running through…
-
Let’s Build a Magic Light Bulb
The Magic Light Bulb is an easy-to-build Arduino project. You can build the electronic circuit on a breadboard or the MakerShield. Building the Magic Light Bulb on the MakerShield allows the project to fit nicely in the palm of your hand, which offers great visual appeal for presentation to your friends. The wiring for the Magic Light…
-
Introduction
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…