0
Offline
Newbie
Karma: 0
Posts: 39
Arduino rocks
|
 |
« Reply #225 on: September 22, 2009, 03:12:31 pm » |
from my understanding the output always has to pass thru the constant current driver.
However you could pull up the output to vcc then a value of 4095 should make the output gnd allowing you to turn on and off a transistor... i think...
I am currently doing multiplexing by using npn transistors to selectively turn on the red-green-blue parts of a RGB common cathode led.
there is also a tlc5940mux library however i have never used it.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 1
Arduino rocks
|
 |
« Reply #226 on: October 02, 2009, 07:35:11 am » |
Hi all,
I'm using a PIC to control the TLCs, but still in principle it the same as the arduino. The only problem is the LEDs flicker. Does anybody know why this happens? I am programming at 48MHz, but still it's flickering. I am not using any interrupts. Should I use interrupts?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 6
Arduino rocks
|
 |
« Reply #227 on: December 03, 2009, 12:25:50 pm » |
i know this is an old thread now... but i'm having a helluva time finding these chips online. if anyone has any leads or extras their willing to sell that would be great.
email is best but a PM would work as well.
thanks. Ken
|
|
|
|
|
Logged
|
|
|
|
|
Zürich, Switzerland
Offline
Newbie
Karma: 0
Posts: 29
Shall a gadget be useful?
|
 |
« Reply #228 on: December 09, 2009, 02:43:29 pm » |
Try TI directly! They'll send you free samples if you're lucky! (ti.com) Dani
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 70
Slowly Developing
|
 |
« Reply #229 on: December 30, 2009, 10:18:33 pm » |
has anyone used the tlc5940 with i2c at the same time. im trying to and getting corrupt data when receiving. Serial works just fine at speeds of 115200 but i2c does not work. I'm having the same problem. I'm running I2C between two arduinos, and the Master_Send and Slave_receive examples work perfectly. That is, until I add the slave_receive code to my Arduino running the TLC... I commented out everything related to the TLC, and it worked. Adding things back in one at a time (headers, global variables, etc.) worked until I hit Tlc.init(); At which point I2C died. Could you find a solution, joe? (or anyone?)
|
|
|
|
« Last Edit: December 30, 2009, 10:19:10 pm by nphillips »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #230 on: February 10, 2010, 09:55:15 am » |
Hi everyone i am interested in doing a 16x16 display with the TLC but i am not quite sure about what baud rate should I use. I'm planing on sending the data from my computer and it seems i'll have to send the data directly to the TLC, so can anyone give me more info about the baud rate I should use. What is the maximum baudrate that the TLC can work, how many stop bits, should i include a 9th parity bit? Thanks a lot in advance for your help
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 39
Arduino rocks
|
 |
« Reply #231 on: February 10, 2010, 09:57:27 am » |
the tlc5940 runs off an spi bus. not serial.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #232 on: February 10, 2010, 05:53:29 pm » |
OK i get it now, but still my initial plan is wailing me. I was planing to update the picture from the computer and change it during execution, but it seems almost impossible to be done in time. :'( I will have to have my picture stored in the microprocessor before I start displaying it. :-[ Is that what all you guys are doing or are you actually able to change the image trough some kind of communication with a computer?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 39
Arduino rocks
|
 |
« Reply #233 on: February 10, 2010, 06:04:40 pm » |
well then ill show you something its possible. im sending RGB as bytes to the atmega168 over serial then sending it to a master Atmega168 via i2c. ill post more info later ill upload a video of my full project later today or this week
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 39
Arduino rocks
|
 |
« Reply #234 on: February 16, 2010, 12:43:14 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 70
Slowly Developing
|
 |
« Reply #235 on: February 16, 2010, 06:49:24 pm » |
WOW. Well done, Joe! I love it! Where's the code?  Do you have any close-ups of the individual cells? It looks like you have the LEDs mounted to the sides of the boxes, rather than the bottom. Something like this has been on tap for me, for a while now...I just need the time and resources to do it. Excellent craftsmanship, as well as programming! EDIT: Hang on...how many TLCs are you using? you said 7 TLCs, which is 112 LEDs max. But there are 112 cells in your table, which should be 336 LEDs, and 21 TLCs. Are you multi/charlieplexing them?
|
|
|
|
« Last Edit: February 16, 2010, 06:53:00 pm by nphillips »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 39
Arduino rocks
|
 |
« Reply #236 on: February 16, 2010, 07:08:24 pm » |
multiplexing the anodes of common cathode led's
ill make a large exhibition post tonight at link to it here.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #238 on: February 23, 2010, 08:36:28 pm » |
I was wondering if this library would also work with one of the following chips: TLC5941 - http://focus.ti.com/docs/prod/folders/print/tlc5941.htmlTLC59401 - http://focus.ti.com/docs/prod/folders/print/tlc59401.htmlAnd if they could be used would it also be possible to mix them? I.e. have 2 TLC5940's + 2 TLC5941's + 2 TLC59401's working together. Personally I don't see a whole lot of differences between them comparing their datasheets. Pin configuration seems identical as is the way they are controlled. The only differences I could find: TLC5940: EEPROM and 60mA (Vcc [ch8804] 3.6V) / 120mA (Vcc > 3.6V) drive (per channel) TLC5941: NO EEPROM and 80mA drive (per channel) TLC59401: NO EEPROM and 80mA (Vcc [ch8804] 3.6V) / 120mA (Vcc > 3.6V)
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 187
Arduino rocks
|
 |
« Reply #239 on: February 27, 2010, 04:56:31 pm » |
I just got some TLC5941's and have run a couple of the examples in the library. So far I haven't run into any problems.
|
|
|
|
|
Logged
|
|
|
|
|
|