Introduction: Mother's Day Gift Using Arduino/1sheeld

We know all that Mother's Day is today and so we should be ready to give our mothers what leads her to know how much we love them

But all the traditional ideas have been achieved such as buying her gifts like kitchen tools, cloths, house instruments, etc. so we don’t make any special thing for that day Here is a special box that opens itself within she rotate the mobile, and Then LEDs which take position as whatever we want to write , to draw or to say will launch their lights , after that music will be turned on from the mobile , and finally the camera flash will be opened and take a photo and then upload it on twitter with a caption "happy mothers' day"

in that video I used the laptop as a power supply for the Arduino , so you can use a 5V battery connected the the Arduino

Step 1: Components Used :

Components:

1-Arduino Uno

2-1shield

3-servo motor

4-11 red LEDs

5-breadboard

Follow this tutorial for how to 1Sheeld with Arduino : https://1sheeld.com/tutorials/getting-started/

Step 2: First , the Servo Motor :

Servo motor has 3 pins :

1-VCC which is the red one , is connected to the 5V pin

2-GND which is the black and brown one , is connected to the GND of the Arduino

3-signal pin which is the yellow one , is connected to any digital pin of the Arduino , here I have connected it to pin 9

Step 3: Then , the LEDs :

I chose red LEDs to be suitable for that great event , so it's easy to connect the LEDs to the Arduino , the positive terminals of them are connected to digital pins 13,12,11,10,8,7,6,5,4,3 and 2

And the negative terminals of them are connected to common GND on the breadboard That’s so easy to assemble as we see

Step 4: About the Process:

Let's imagine what we want to do to determine the shields we need in our project , we want the box to be opened within rotating the mobile phone in the direction of X-axis

Then the LEDs which take position as whatever we want to write , to draw or to say will launch their lights , and music will be come from the mobile , and finally the camera flash will be opened and take a photo and then upload it on twitter with a caption "happy mothers' day"
So when we decide what we want to do , it becomes easy

Step 5: Let’s Check the Box:

The box is made from cartoon and covered , the trick in that box that makes it open extremely is not only the servo motor , but there's a hidden rob behind the box which is tied to the upper surface of the box and attached to the back side

And I bought a small piece of metal and fixed it on the servo blades using wax

Step 6: Coding