Introduction: LED Matrix Wave Move With Hand
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
http://www.freetronics.com.au/collections/display/...
2- Arduino mega
https://www.sparkfun.com/products/11061
3- 1Sheeld board
https://www.amazon.com/1Sheeld-For-Arduino-and-And...
4- your smartphone
5- breadboard
https://www.sparkfun.com/products/12615
6- 14 (male – male) jumper wires
https://www.sparkfun.com/products/13870
7- 5V 2A (2000mA) power supply ( for very high brightness and more than one LED matrix )
Step 2: Download Arduino Coding Software
If it is your first time for using Arduino you should download Arduino software for coding to can talk to your Arduino.
Step 3: Download the Matrix Library
https://github.com/freetronics/DMD2
this one is better and easier than that one on "free electronics" site.
Step 4: Download 1sheeld Library
Step 5: Download 1sheeld App on Your Phone
From store or
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
https://learn.adafruit.com/32x16-32x32-rgb-led-mat...
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.
Attachments
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.
Small note:
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 ^_^
2 Comments
6 years ago
That's a fun idea! I would play with that for hours, lol.
Reply 6 years ago
I hope you have fun :)