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: 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.
https://www.arduino.cc/en/main/software
https://www.arduino.cc/en/Guide/HomePage
Step 2: Download the Matrix Libraryhttps://github.com/freetronics/DMD2
this one is better and easier than that one on "free electronics" site.
Step 3: Download 1sheeld Libraryhttps://1sheeld.com/downloads/
Step 4: Download 1sheeld App on Your PhoneFrom store or
https://1sheeld.com/downloads/
Step 5: Extract FilesAfter 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 6: Change FileEnter to the DMD2 library and change the ( DMD2.cpp) with this one attached in the end, it is only changed to work with mega different pins.
Step 7: Connect 1sheeld
Connect your 1sheeld board by following this link
https://1sheeld.com/tutorials/getting-started/
Step 8: Connect LED MatrixIf 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-matrix/connecting-with-jumper-wires
then connect the pins to Arduino like this in the schematic photo.
Step 9: Upload Code on ArduinoAfter connecting we are ready to use the code so connect Arduino to your computer and upload the code in the attached code file in the end .
Step 10: 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.
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 ^_^
Comments
Please log in or sign up to comment.