Go Down

Topic: TLC5940 + Music Synchronisation (Read 2618 times) previous topic - next topic

bobthesheep

Hello,

I'm currently using 2 TlC5940 to drive leds and I wish to be able to make them react to music. I know that normally you can use BeatDetect from Processing to communicate with the pins on Arduino, but I don't really know how to make Processing communicate with the TLC5940. Any suggestions?

Thanks

Jahta

I'm curious about this aswell. i'm working on a 4x10 rgb matrix with 3 tlc5940's and 1 hd74ls138

Grumpy_Mike

Quote
but I don't really know how to make Processing communicate with the TLC5940.

You don't.
Processing will send a message to the arduino. Then the sketch in the arduino will receive that and and use the data to talk to the TLC5940.

Jahta

mike i've seen some of your posts about your projects i'm completely new to the arduino and programming in anyway. i'm really good with hardware though. Are there any tips you could give me about programming the arduino for a rgb matrix using tlc5940 and HD74LS138p.I've ran some of the sample code for the tlc5940 and everything works fine i'm just ready to take it further(code wise) and i'm not sure how to go about it. as for what i want to do i'm more interested in patterns and such like that. I"m just asking for tips not someone to do the work for me      XD

Grumpy_Mike

Tips about refreshing a matrix:-
http://www.thebox.myzen.co.uk/Tutorial/Arrays.html

Quote
I"m just asking for tips not someone to do the work for me

:)
Well in this case I have done a 4 by 4 RGB LED matrix using one TLC5940
http://www.thebox.myzen.co.uk/Hardware/Mini_Monome.html

And in effect an 8 by 8 matrix using three TLC5940s
http://www.thebox.myzen.co.uk/Hardware/Hexome.html


macegr

Processing works pretty well for beat detection and visualizations. I used it to generate high resolution visuals, which were then downsampled to the LED array size.

Here's an article about it. The system uses my own LED modules, but you can throw out the Arduino code that deals with that and just use your own LED control method: http://www.macetech.com/blog/node/111
Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

Jahta

Thankyou mike for pointing me in the right direction. I agree the hexome projects mike did are awesome, lol thats why i figured i would ask for tips.

Hopefully i'll make some progress soon, then i'll make a post about this table

EVP


Go Up