What makes some shows and some movies are so excited?
The answer is… the effects …. I loved the luminous sword in "star wars" and the fantastic blue suit of " max steel" superhero. when I used some simple LEDs in my project, I discovered that they can color the world and that what they do in the shows. so I decided to get in this lovely fantastic world with something maybe new!. make a simple draw and make it move with my hand by using my phone and very simple components.
Step 1: Components:-
1- LED Matrix(16*32 )
You can find it in local market or on this link
2- Arduino mega
3- 1Sheeld board
4- your smartphone
6- 14 (male – male) jumper wires
7- 5V 2A (2000mA) power supply ( for very high brightness and more than one LED matrix )
Step 2: Download Arduino Coding Software
Step 3: Download the Matrix Library
this one is better and easier than that one on "free electronics" site.
Step 6: Extract Files
After you successfully downloaded the libraries, extract the files in Arduino's library directory “Path\UserName\Documents\Arduino\libraries”.
And rename them to DMD2 and oneSheeld.
Step 7: Change File
Enter to the DMD2 library and change the ( DMD2.cpp) with this one attached, it is only changed to work with mega different pins.
Step 8: Connect 1sheeld
Connect your 1sheeld board by following this link
Step 9: Connect LED Matrix
If INPUT is not labeled, look for one or more arrows pointing in the horizontal direction (ignore any vertical arrows, whether up or down). The horizontal arrows show the direction data moves from INPUT to OUTPUT — then you know which connector is which.
To understand ribbon connector, visit this link
then connect the pins to Arduino like this in the schematic photo.
Step 10: Upload Code on Arduino
After connecting we are ready to use the code so connect Arduino to your computer and upload the code in the attached code file.
Step 11: Use the 1sheeld App
Open your app and connect with 1sheeld, Activate accelerometer and click on the upper right triple-shield sign to see the values of your motion. Move your phone with hand to left and to right.
The accelerometer is an acceleration sensor designed to calculate the simplest changes in the rate of movement in a certain direction, but existing applications today for this device are interested making Transducer for movement and positioning.
Now you can enjoy it.
Step 12: Finally:-
If there is any questions or Suggestions or comments it is my pleasure to answer and to learn from you.
And hope you make it and better.
And you can make this swimmer to rich the final ^_^