- LED Matrix (16 *32)
You can find it in local market or on this link
- arduino mega
- 1Sheeld For Arduino
- your smart phone
- 14 (male – male) jumper wire
- 5V 2A (2000mA) power supply ( for very high brightness and more than one LED matrix )
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.
Step 2: Download the Matrix Library
this one is better and easier than that one on "free electronics" site.
Step 3: Download 1sheeld Library
Step 4: Download 1sheeld App on Your Phone
From store or
Step 5: 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 6: Change File
Enter 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
Step 8: 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 9: 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 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.
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.
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 ^_^