Rainbow Light

by sbmull in Circuits > LEDs

9996 Views, 119 Favorites, 0 Comments

Rainbow Light

A.JPG

This set-by-set guide will show you how to construct the Rainbow Light kit available at applemountain.etsy.com

First the Brain....

IMG_6546.JPG
IMG_6547.JPG
IMG_6549.JPG

First, place the microcontroller on the printed circuit board. The microcontroller will go on the rectangle outline in the middle of the board. As you can see in the first picture, one end on the rectangle has a notch. Also, notice in the second picture that the microcontroller has a dot on one end. Make sure the dot on the microcontroller and notch on printer circuit board are on the same side, just like the pictures shown.

Now you can solder the microcontroller in.

Lights!

IMG_6550.JPG
IMG_6551.JPG
IMG_6552.JPG
IMG_6554.JPG
IMG_6555.JPG
IMG_6553.JPG

It wouldn't be much fun without the LED so let's add that next!

You can see the outline for the LED on the PCB board. It is a circle with a flat side. That flat side is important. The LED also has a flat side, so be sure to match the flat side of the LED to the flat side on the LED outline on the board.

Spread the leads out as shown in the second and third pictures. The long lead goes on the hole with the square outline. Double check that the flat side of the LED matches the flat side on the LED outline on the board.

Now you can solder the LED in place and trim the excess leads.

Power Up!

IMG_6556.JPG
IMG_6558.JPG

We have the brain, the light and now we need some power!

Solder the red wire of the 2xAA battery holder in the hole on the board labeled "v+". Next, solder the black wire of the battery holder in the hole beside it labeled "g".

If you put batteries in the holder, the kit should light up and start rotating through the rainbow!

Everything Changes...

IMG_6561.JPG
IMG_6568.JPG

Last, you can add the included pin header in the last two holes to use as switch. If you bridge the pins with a paperclip, the lights will cycle from rainbow -> red -> green -> blue -> sleep -> rainbow.

You can add you own external switch too! Just add a momentary push button switch between the "sw" and "g" pins.

If you use another power source, keep it a 3.3v or below. A CR2032 works great (hint, hint).

That is all! Thanks for reading!

See more kits at applemountain.etsy.com