Creative Happy Birthday Ideas

Introduction: Creative Happy Birthday Ideas

This is a birthday card idea made for your friends and loved ones. The LED light symbolizes the candle within the card, while the black round thing is the speaker, the speaker will be playing the happy birthday song. Both the song and the light will be controlled by Photoresistor, simulating the close and open motion of the card. So when you open the card, the light will simulate the candle, and the happy birthday song will be playing in the background. The card is a happy birthday card, the cake on the card is a happy birthday cake, in which on the top of the cake, there lies a candle for a touch of competence. The creature on the right-hand side is what I believe kids looked like when they look at their birthday cake. It doesn't really matter whether the target audience is for elders or children, the symbol of a kid looking at the birthday party means the innocence we all possess when we were younger.

Supplies

- Breadboard *1

- wires * 7

- extended wires*4

- speaker (piezo) *1

- LED*1

- Photoresistor *1

- Resistor*2

- paper* 1

- pencil* 1

- Adaptor* 1

- coloring pencil*1

Step 1: Set Up the Photoresistor

Before you set up the photoresistor, remember to connect the wires ( shown in picture 1), connect the positive to 5v and the negative to GND to assist on the flow. Then, from the positive lane, you will need to connect another wire and extend it to the ABCDE lane of the breadboard. The next to the freshly connected wires, you will need to use another wire to connect the next spot to A0 on the Arduino board. After connecting the A0, you apply the photoresistor onto the breadboard, make sure both ends of the photoresistor lines up with the positive-extended wire and the A0 wire. Once your photoresistor is lined up, you will then add the resistor, which should also be lined up with the A0 wire. While on the other hand on the resistor, you will need to use another wire to line it up and extend the wire to the negatively charged lane. The complete product should look like the second picture.

Step 2: Connect the LED

First, you will have to use a longer wire connect the D-pin, which is any pin on the top of the Arduino board ( I used D12) then connect it to any part of the Arduino board. Next, use an extension wire for the LED ( should look like a red clip) line up one of the ends with the D-pin, while connecting the other end on any spot on the breadboard. On the bottom of one end, the end who is not lined up with the D-pin should use a resistor. At the other end of the resistor, use the wire to connect it to the negatively charged lane ( should be lined up). The finished product should look like the image above.

Step 3: Setting Up the Speaker

Because the wires connected to the speaker can't directly connect it to the board, so we will be needing extending wires. The red one connected to the speaker is the positive one, so therefore, we need to connect it to the D-pin. The black wire is the negative one, so therefore, we need to connect it to GND.

Step 4: Coding

The website for my coding: https://create.arduino.cc/editor/coco_chao/34e072...

At first, the int speaker pin is the D-pin for the speaker. Then the length is the number of notes, the char notes are the notes the happy birthday song is going to play. The beat is the note in numbers and the tempo is the length of the note. In the happy birthday song, there are 8 notes each, starting from note one, the note will be one second, then the code will move on to note two, so and so forth. Then the next part of the code is for the Photoresistor to control the speakers. Next, the part where it says void play note is basically the same thing, it plays the note corresponding to the frequency. As mentioned above, there are 8 notes in this song, and the code will inform the speaker to start from note one. Then the next part where it says set the digital pin as an output, its the LED lightbulb. The void loop is the Photoresistor's code. So when the light waves are smaller than 500, the Photoresistor won't commend the LED and speaker to work, but if it's over the amount, then the LED will shine, and the speaker will start playing songs.

Step 5: Decoration

The decoration varies from person to person. I personally, enjoy hand craft cards, so I made one. The key to making the card is easy, all you need are coloring pencils, a pencil, some tape, and an A4 paper. You can find a birthday cake that you like, and either trace or draw in down on the top half part of the paper. After drawing it, you could add some other illustrations on the side. After finish decorating the upper part of the paper, fold it in halves. After folding it halves, figure out where do you want your LED and Photoresistor and cut 2 holes, one for each spot ( cut a small hole, but big enough to fit Photoresistor and LED). Use tape to secure the LED and Photoresistor. Then the bottom half is for you to write your heartwarming birthday message. The completed card is shown in the pictures above. Good luck!

Be the First to Share

    Recommendations

    • Retro Tech Challenge

      Retro Tech Challenge
    • Halloween Contest

      Halloween Contest
    • Robots Contest

      Robots Contest

    Comments