Cute Coin Jar With Shining Eyes!

by alilili2004 in Circuits > LEDs

1783 Views, 4 Favorites, 0 Comments

Cute Coin Jar With Shining Eyes!

Screen Shot 2019-06-02 at 10.42.39 PM.png

Hey! This is a fun little project which is easy to make.

Hope you guys have fun during the process!

Here's a quicker video tutorial I made (pls watch, I spent a lot of time):

Supplies

1. Arduino Leonardo

2. wires

3. hot glue gun

4. coin jar (preferably made with something easy to cut through)

5. wire cutter

6. acrylic paint and brushes (optional)

7. Arduino ultrasonic sensor

8. insulation tape

9. LED lights (any color)

Decorate Your Coin Jar As You Wish

Screen Shot 2019-06-02 at 10.43.51 PM.png

I used acrylic paint and designed an easy smile on it. The LED lights are supposed to become part of the eye which will shine when a coin enters the jar!

My jar was 13.5X10.5 (cm)

Cut Holes in the Eyes So the LED Lights Can Poke Out.

Screen Shot 2019-06-02 at 10.44.57 PM.png

This part is why I recommended using a jar easy to alter, I used a screwdriver and drilled a hole where the eyes were. You can feel free to use any tools you need. Be careful!

Wiring

Screen Shot 2019-06-02 at 10.45.57 PM.png
Screen Shot 2019-06-02 at 10.46.06 PM.png
Screen Shot 2019-06-02 at 10.46.20 PM.png
Screen Shot 2019-06-02 at 10.53.04 PM.png
Screen Shot 2019-06-03 at 2.48.24 PM.png

I connected both LEDs GND and anode pins since they had to share. I did this By using the wire cutter and insulation tape.

1. Cut the wires (beware of which side of the heads you need)

2. roll the cut wires together and make sure they touch completely

3. use insulation tape to keep the wires in place

Details on how are in the video~

The LED lights were put on pin6

And the TRIG pin for the ultrasonic sensor was 5

ECHO pin for the ultrasonic sensor was 4

Code

Screen Shot 2019-05-27 at 7.17.22 AM.png

This is the coding, you can alter the distance that triggers the ultrasonic sensor according to the size of your jar.

You can also change how long the lights stay lit.

Putting Everything in Place

Screen Shot 2019-06-02 at 10.48.03 PM.png
Screen Shot 2019-06-02 at 10.48.10 PM.png
Screen Shot 2019-06-02 at 10.48.22 PM.png
Screen Shot 2019-06-02 at 10.48.35 PM.png

I like to fix my wires so they don't get tangled everywhere.

I used insulation tape and a hot glue gun.

Put the Ultrasonic sensor right beside the coin hole so when coins enter, it detects them.

I Added a Board in the Middle of the Jar to Separate Wire/Arduino and the Coins

Screen Shot 2019-06-02 at 10.50.28 PM.png
Screen Shot 2019-06-02 at 10.50.17 PM.png

Be sure the board is sturdy so it can hold coins, I joined two of them to increase the strength.

I used a hot glue gun during this step.

Add Bottom and Top Cap to the Coin Jar.

Screen Shot 2019-06-02 at 10.51.50 PM.png
Screen Shot 2019-06-02 at 10.52.24 PM.png

I punched a hole in the bottom cap so the power cable could go through.

After putting both caps on, Voila!

You are finished with this easy project!

Grand Unveiling!