Go Down

Topic: 6x6 RGB LED Array(TLC5940) + Infrared sensing(TCRT5000)+Beer Pong (Read 945 times) previous topic - next topic


Aug 11, 2012, 01:03 am Last Edit: Aug 11, 2012, 01:05 am by saeveritt Reason: 1
Hello to all!
I have been reading as much as I possibly can and trying to learn from previous threads, but there are some things that I just can't wrap my brain around. My current project is an Electronic Beer Pong Table. I will try and divide the project up into 2 sections so it will be easier for me to relay what exactly I am trying to do.

Section 1: RGB Matrix
For the center of the table I am going to put a 6x6 RGB LED matrix. I have been doing research on the topic and need some guidance.
I am using two TLC 5940's as current sink for the total of 108 LEDs (Common Anode). I am connecting them similar to this example, made by Mike Cook. (http://www.thebox.myzen.co.uk/Hardware/Mini_Monome_files/4%20X%204%20RGB%20LED%20Matrix.pdf) except I am adding two more rows and two more columns of the RGB LEDs. I plan on using a similar P Channel FET to supply the Current source for each row.

My question is how to go about coding this matrix? I have limited coding experience and do not know where to begin. I have looked at Alex Leone's Multiplexing Library for the TLC5940 and I'm not quite sure how to adapt it into my application. I have also looked at Mike Cook's use of the library into his Mini Monome project, but the existence of buttons and other applications of the monome in the code seem to confuse me a bit.

Would there be a simpler way of controlling these RGB LEDs (common anode) in a 6x6 array?

Section 2: Cup Presence and LED Illumination
To explain this section, here is a powerpoint of what exactly I am trying to accomplish:
Here is a video of the circuit that I have right now (I'm not using the LM324 anymore, it's just not what I was looking for)
On the channel you can also find my other table that I built, just using the standard TLC5940 Library.

Excuse the presentation-like format of the document, I had to do a technical presentation in one of my engineering classes. (I'm only a sophomore with no previous education of circuitry or coding, just doing basic curriculum classes right now.)

I was wondering whether I could control a cup module with the provided circuit in the Power-point.

If anyone has suggestions, feel free to talk!

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131