Gem of Light [WITH JIGGLE BUTTON ACTION!]

by ericlikescats1 in Circuits > Arduino

135 Views, 1 Favorites, 0 Comments

Gem of Light [WITH JIGGLE BUTTON ACTION!]

IMG_20250516_101216388_MF_PORTRAIT.jpg
IMG_20250516_101228358_MF_PORTRAIT.jpg
IMG_20250516_101211308_MF_PORTRAIT.jpg

Hello, this is a passion project I have been working on for a few months now. The design of the craft is highly inspired by a pink diamond from Steven universe. I would also like to quickly credit https://www.youtube.com/@JustBaselmansYT for the code which I have altered to fit the project.

Supplies

IMG_20250428_094241777.jpg
IMG_20250428_094325980.jpg
IMG_20250428_094335812.jpg
IMG_20250428_094342272.jpg
IMG_20250428_094400074.jpg
IMG_20250428_094558930.jpg
IMG_20250428_094651511.jpg
IMG_20250428_094656284.jpg
IMG_20250428_094842516.jpg

Supplies:

Small Breadboard with power lines

1 9V Battery Header

1 9V Battery

1 Arduino Nano

1 9V to 5V power converter

1 DFplayer mini

1 DPDT button and button cover

Assorted colors of solid core wire

1 1K resistor

1 Capacitor [I chose a 680uF/16V capacitor]

1 micro SD card

1 white LED

1 Speaker

Male to Male jumper cables

Female to Male jumper cables

Translucent Filament [I have chosen pink, but any color will work.]

Tools:

Hot glue gun

Access to a 3d Printer

Access to a solder station/gun

Access to a computer

Wire Strippers

Mini USB cable

Drill to make a hole...

3D Print the Gem Shell and Button

Currently the gem is split into 4 parts, the button, the top, and 2 split parts of the base. Priority for printing first should be the top and part 1 of the base.

Solder the LED

Solder 2 wires to each side of the LED. I personally used a LED that required soldering, but if your using a LED diode, you should be able to attach jumper cables to the pins without too much effort.

Solder the Speaker

IMG_20250429_082838656.jpg
IMG_20250429_085535563_HDR.jpg

Just like the LED, solder 2 wires to each side of the speaker.

Solder Button

IMG_20250509_091036928.jpg
Screenshot 2025-05-12 100713.png
IMG_20250509_092818185_HDR.jpg

This one will require some effort. cut off both jumper ends of the 9 V battery header, and strip it carefully using a pair of wire strippers. following the above image, choose one side of the DPDT button and solder the red wire to one of openly open pin and the black wire to the common pin.

Assemble Resistor

Grab 1 1k resistor and place it between 2 female ends of 2 jumper cables and set aside

Construct the Circuit

IMG_20250428_090306979.jpg
Screenshot 2025-05-20 095211.png

Now that we have all the parts required assembled and lets put together this circuit. grab the breadboard, arduino and DFplayer and speaker and resistor and place them on the breadboard. attach either jumper cables or stripped solid core wire and attached them to the assigned spot according to the diagram.

Download Arduino IDE and Formatter

Using a desktop or laptop, install the Arduino IDE software and SD card formatter.

Format and Fill Micro-SD

Using either a SD card slot on your desktop or laptop, use the formatter to format the micro-SD into a FAT32 or FAT16 format. after formatting, make a folder named 01 and fill it with the desired audio file. I included the song I used from the show this is based off of, but the song is up to you. after completed, attach into the DFPlayer's Micro-SD card slot

Write Arduino Code

open Arduino IDE after instillation and ensure it opens properly. after confirming, open the included file, this should open IDE and make a new project using the code.

Upload Arduino Code

Using the above project, plug in your Arduino using the mini USB cable to the desktop. at the top left there is an arrow that should when hovered over it say "upload". press upload and wait for it to be finished and ensure it uploaded properly before continuing. IF IT DOES NOT UPLOAD, CHECK THAT NEXT TO THE UPLOAD IT SAYS "ARDUINO NANO" IF IT DOESN'T, PLEASE CLICK THE SELECT BOARD AND SELECT ARDUINO NANO FROM THE LIST.

Attach Battery and Converter

IMG_20250509_095810685.jpg
IMG_20250509_093908241.jpg
IMG_20250509_093902939.jpg

Using a hot glue gun, thread the button and header through the hole in the top of the gem. glue the converter to the gem top as shown and screw in the positive and ground wires.

Attach Breadboard

IMG_20250509_083948080_HDR.jpg
IMG_20250509_083617109.jpg

attach the breadboard as shown in the images to part 1 of the base, making sure to both thread the LED through the 2 holes and to place the speaker so the soldered part is in the curved end of the square shaped hole.

Attach Speaker

IMG_20250509_083632367.jpg
IMG_20250509_102329308_HDR.jpg

using hot glue, carefully glue down the corners of the speaker, being extremely careful not to get glue in the actual speaker itself.

Attach Buttons

IMG_20250509_102638383.jpg

carefully put glue on top of the small wall on the base and place the button on top making sure the button fits snugly on the wall

Attach LED

IMG_20250509_103143324.jpg
IMG_20250509_103117483_HDR.jpg

after all the parts have been been glued down, flip over the base and dab a small bead of hot glue and stick on the LED.

Glue Together the 2 Gem Pieces

IMG_20250512_085619783_HDR.jpg
IMG_20250512_084401230_HDR.jpg

after all parts have cooled and solidified, find the orientation which the second part of the gem base fits smoothly, then place glue around the rim of the gem, making sure you are gluing LED side up. place the final base piece on.

Add Electrical Tape to Cover Lights (optional)

IMG_20250512_090903753.jpg

reflip over the gem, grab a few pieces of electrical tape and cover both lights on the DFPlayer and arduino.

Attach Final Button

IMG_20250515_101219475.jpg
IMG_20250516_101211308_MF_PORTRAIT.jpg

using a piece of tape, place it on the button and orient the 3d printed button to fit the top, pressing down so the tape sticks. using the tape as a guide, drill a hole into the button. glue one of the button caps into the newly made hole, making note of the button orientation. [Use enough hot glue inside the button to make for a firm and steady push. align the button and press down to attach the cap with the button on the circuit.

BASK IN ITS LIGHT

IMG_20250520_103112519.jpg

Your gem is officially done! the gem will run forever so long as it has power and hasn't been turned off. if you want the song to replay just turn it off and on again! THANK YOU SO MUCH FOR READING