LED Matrix animation editor
Download: http://www.bleq.nl/arduino/downloads/ArduinoFrameAnimator.jar
The jar should be runnable if you have java setup correctly. If you're having trouble starting it, please reply to this thread and I'll try to help you getting it running.
The tool generates a .h file that looks like this:
You can also find the Sketch I'm using this with over here:
http://www.bleq.nl/arduino/downloads/LedMatrixShiftedPwmExample.zip
For this Sketch I have my Arduino wired like this:
As you can see I've chosen to use two shift registers, one for each side of the matrix. This mixes the sourcing and sinking of currents on the registers.
It's not really according to specs, because of the limits on the 74HC595. I draw and sink more current than advised by the documentation, but so far it's still running...
Last updates:
http://www.bleq.nl/arduino/downloads/ArduinoFrameAnimator.jar (linked to latest version)
http://www.bleq.nl/arduino/downloads/ArduinoFrameAnimator_0.3.jar (explicitly download 0.3)
The jar should be runnable if you have java setup correctly. If you're having trouble starting it, please reply to this thread and I'll try to help you getting it running.
The tool generates a .h file that looks like this:
Code:
int animationFrames = 2;
uint8_t animation[][8][8] = {
{
{ 0x1, 0x2, 0x3, 0x2, 0x1, 0x0, 0x1, 0x2 },
{ 0x0, 0x1, 0x2, 0x3, 0x2, 0x1, 0x0, 0x1 },
{ 0x1, 0x0, 0x1, 0x2, 0x3, 0x2, 0x1, 0x0 },
{ 0x2, 0x1, 0x0, 0x1, 0x2, 0x3, 0x2, 0x1 },
{ 0x3, 0x2, 0x1, 0x0, 0x1, 0x2, 0x3, 0x2 },
{ 0x2, 0x3, 0x2, 0x1, 0x0, 0x1, 0x2, 0x3 },
{ 0x1, 0x2, 0x3, 0x2, 0x1, 0x0, 0x1, 0x2 },
{ 0x0, 0x1, 0x2, 0x3, 0x2, 0x1, 0x0, 0x1 }
},
uint8_t animation[][8][8] = {
{
{ 0x1, 0x2, 0x3, 0x2, 0x1, 0x0, 0x1, 0x2 },
{ 0x0, 0x1, 0x2, 0x3, 0x2, 0x1, 0x0, 0x1 },
{ 0x1, 0x0, 0x1, 0x2, 0x3, 0x2, 0x1, 0x0 },
{ 0x2, 0x1, 0x0, 0x1, 0x2, 0x3, 0x2, 0x1 },
{ 0x3, 0x2, 0x1, 0x0, 0x1, 0x2, 0x3, 0x2 },
{ 0x2, 0x3, 0x2, 0x1, 0x0, 0x1, 0x2, 0x3 },
{ 0x1, 0x2, 0x3, 0x2, 0x1, 0x0, 0x1, 0x2 },
{ 0x0, 0x1, 0x2, 0x3, 0x2, 0x1, 0x0, 0x1 }
},
You can also find the Sketch I'm using this with over here:
http://www.bleq.nl/arduino/downloads/LedMatrixShiftedPwmExample.zip
For this Sketch I have my Arduino wired like this:
As you can see I've chosen to use two shift registers, one for each side of the matrix. This mixes the sourcing and sinking of currents on the registers.
It's not really according to specs, because of the limits on the 74HC595. I draw and sink more current than advised by the documentation, but so far it's still running...
Last updates:
http://www.bleq.nl/arduino/downloads/ArduinoFrameAnimator.jar (linked to latest version)
http://www.bleq.nl/arduino/downloads/ArduinoFrameAnimator_0.3.jar (explicitly download 0.3)
Arduino Frame Animator "NOT FOUND"
ReplyDelete