Multicolor Gem

by muhd18 in Circuits > LEDs

195 Views, 1 Favorites, 0 Comments

Multicolor Gem

F3XZGZXKUB8M4FL.jpeg
IMG-20211004-WA0078.jpg
IMG-20211004-WA0004.jpg

Have you ever seen a multicolored gem? How exciting do you think it will be if you see one…

In this instructables, we will go through making a electric multicolored gem that is made from cheaply available materials and controlled by an Arduino. Amazing, right! Let’s dig in.

Supplies

IMG-20211004-WA0031.jpg
IMG-20211004-WA0081.jpg
IMG-20211004-WA0082.jpg

Tools, Components & Materials

  • Arduino uno (1) or any other arduino board
  • USB (A-B) cable 
  • RGB Module (1)
  • 9V battery and connector
  • Male to female Dupont wires
  • Cardboard
  • Transparent plastic/glass semi-sphere or semi-cylinder 
  • Scissors
  • Pencil
  • Ruler
  • Tape
  • Glue

Software

Mark Out the Dimensions

IMG-20211004-WA0037.jpg
IMG-20211004-WA0006.jpg
IMG-20211004-WA0050.jpg

To start, the dimensions of the cuboid base that will house the arduino has to be marked on the cardboard. So, get a cardboard sheet, then using a ruler and pencil, mark out the dimensions given below:

  • Length: 10 cm
  • Height: 4 cm
  • Width: 10 cm

Cut the Cardboard

IMG-20211004-WA0029.jpg
IMG-20211004-WA0023.jpg
IMG-20211004-WA0017.jpg

After successfully marking out the dimensions, the next step is to cut out the marked area. So pick up the cardboard and use a scissors to cut out the area.

Fold the Cardboard Into a Cuboid

IMG-20211004-WA0012.jpg
IMG-20211004-WA0015.jpg
IMG-20211004-WA0008.jpg
IMG-20211004-WA0070.jpg

After the cardboard has been cut out, what is left is to fold it into the required shape. So, fold the cardboard along the edges. 

After, use tape to glue the edges, but leave one side open. The opened side is where the circuitry will be inserted through.

You end up having an open cuboid.

Connect the Circuit

B9CBD89B-3E1E-4DEA-9807-646489C68404.jpeg

The circuit breadboard diagram is shown above. Therefore, pick up the components (wires, arduino, RGB module) and connect the circuit exactly as in the diagrams.

Use the RGB module, else if you are using an RGB LED, then use a 220 ohm resistor in series with each color segment pin.

Upload the Arduino Code

Once done with the connections, connect the arduino using USB (A-B) cable, then download and upload the arduino code below to the arduino board. Upon successful upload, the RGB LED module will be glowing random colors.

You will need the arduino IDE here (it can be downloaded from arduino.cc/download).

The arduino code (ino) file has been attached below.

Also, make sure the circuit is working before moving to the next step.

Downloads

Put the Circuitry Into the Box

IMG-20211004-WA0034.jpg
IMG-20211004-WA0002.jpg
IMG-20211004-WA0003.jpg

After the code has worked with the circuit, next is to assemble the circuit into the box. Here, the 9V battery can be used to power the system.

At the top of the box, a small hole is needed to be drilled at the center. This hole is for the LED of the RGB module. Insert the LED until it shows up at the top of the box.

Finish Up the Multicolor Gem

IMG-20211004-WA0072.jpg

To finish up the multicolor gem, tape the open side of the box, then place and glue the transparent plastic/glass semi-sphere or semi-cylinder on top of the RGB LED.

Have Fun!

IMG-20211004-WA0073.jpg
IMG-20211004-WA0078.jpg
IMG-20211004-WA0004.jpg
IMG-20211004-WA0036.jpg
IMG-20211004-WA0019.jpg
IMG-20211004-WA0005.jpg

And that’s it. You now have a multicolor gem that can glow zillions of colors.