We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
image to led matrix (Read 1886 times)
image to led matrix
Feb 17th, 2008, 11:59am
 
hello everyone,

does anyone have an idea how to convert an image (jpg, png, etc.) to an LED-Matrix with processing?

there is a max msp solution, but for several reasons i want to have it done with processing.

the matrix will be 16x16. i would like to have an app that i can draw an image to a field to be converted into the matrix.

i am thankful to your hints.

best
til
Re: image to led matrix
Reply #1 - Feb 17th, 2008, 6:20pm
 
maybe can help :

http://schmidt.devlib.org/jiu/index.html

For such a big problem, look for a good library. You have 100% of chance that your problem has already been solved.
Re: image to led matrix
Reply #2 - Feb 17th, 2008, 6:24pm
 
hi,

this is more of a hardware issue than a software issue. a friend of mine used the Serial-enabled LED-matrix from sparkfun.com. An arduino-board (www.arduiono.cc) received the "pixels" over serial from processing and translated them into the SPI-format the led-matrix understands.
The only thing processing did was down-scaling the video-image to the led-matrix resolution and send it over to the arduino.
what kind of hardware-setup do you have? without some hardware controller it's gonna be hard to controll 256 LEDs!

edit: modjibee, can "JIU" do something that processing can't?
Re: image to led matrix
Reply #3 - Feb 18th, 2008, 12:17am
 
first, thank you for your help.

hardwarewise i plan even further, the 16x16 led matrix should be controlled by an ATMEGA128 which i had programmed with arduino. then i want to have a usb connection to a computer running processing, wich is telling the information of the (downsized (16x16px), evaluated (brightness 0-255) image.

at least that is what i think it will be like.

please send more help Smiley

til
Page Index Toggle Pages: 1