Seattle, WA
Offline
Jr. Member
Karma: 0
Posts: 81
Arduino rocks my socks
|
 |
« Reply #210 on: July 21, 2009, 07:05:18 pm » |
@bensaddiction: Very weird. I don't have a Mac to test on, but can anyone else reproduce this? Try reinstalling Arduino and then the library.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 54
Arduino rocks
|
 |
« Reply #211 on: August 20, 2009, 08:05:37 am » |
Hi, would anyone know what the maximum amount of tlc5940's that you can daisy chain is? I'd like to go upto 68 or 12, but read elsewhere that +10 is problematic? Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
Eindhoven, the Netherlands
Offline
Newbie
Karma: 0
Posts: 36
Arduino rocks
|
 |
« Reply #212 on: August 20, 2009, 08:19:39 am » |
I've just finished a project with 12 daisy-chained TLC's. I'll put the project online next week. In my case I had each TLC on a separate board. The 12 boards were connected with 11x 20 cm ribbon cable. This gave me some problems with the signal after the 10th board. Because the boards go in a circle, instead of letting the signal travel from the source to the 12th (and back) I was able to split it so I had 0 - 5 and 6 - 11 for all the signals except for SOUT - SIN. That worked ok for me. But I don't think you'll have this problem when you put them all on one board.
|
|
|
|
|
Logged
|
|
|
|
|
PracticalMaker.com
Offline
Jr. Member
Karma: 0
Posts: 68
|
 |
« Reply #213 on: August 20, 2009, 03:41:24 pm » |
Where did you get the TLC's? Digikey is backordered until Sept. 14 and I can't find any elsewhere.
Can't wait until you put it online.
|
|
|
|
|
Logged
|
|
|
|
|
Eindhoven, the Netherlands
Offline
Newbie
Karma: 0
Posts: 36
Arduino rocks
|
 |
« Reply #214 on: August 20, 2009, 04:08:09 pm » |
I got them (5940pwp (smd)) from rsonline.nl. You can only order there as a company (b2b).
|
|
|
|
« Last Edit: August 21, 2009, 01:55:58 pm by Chronoless »
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 54
Arduino rocks
|
 |
« Reply #215 on: August 21, 2009, 11:19:16 am » |
Thanks Chronoless, 12 sounds great. Would you think there will be issues to control 6 arduinos with each 11 TLC5940's on them?
|
|
|
|
|
Logged
|
|
|
|
|
Eindhoven, the Netherlands
Offline
Newbie
Karma: 0
Posts: 36
Arduino rocks
|
 |
« Reply #216 on: August 21, 2009, 01:55:33 pm » |
When your plan is to control the 6 arduinos through usb than that shouldn't be a problem. But make sure that the configured baudrate is sufficient for your application. But that all depends on the resolution mode (256 (8bit) or 4096 (12bit)) and desired refresh rate.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 54
Arduino rocks
|
 |
« Reply #217 on: August 22, 2009, 04:55:39 am » |
Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 39
Arduino rocks
|
 |
« Reply #218 on: September 10, 2009, 07:47:11 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.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #219 on: September 11, 2009, 04:21:21 pm » |
I'm having some annoying probs here. I've connected the 5940 to my arduino NANO according to the schematic, triple-checked everything, but the leds still won't light. The problem seems to be voltage on the outputs. My multimeter reads about 0.2 V when i'm pumping 4000 on the channels. When alternating (slow blinking) the result is the expected (0V, 0.2V, 0V, 0.2V etc). My usb supply voltage is 4.5V, could that have anything to do with it?
|
|
|
|
« Last Edit: September 11, 2009, 04:22:35 pm by kivao »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 39
Arduino rocks
|
 |
« Reply #220 on: September 11, 2009, 04:24:20 pm » |
the tlc does not source current it sinks it
so the setup needs to be
+--- LED --- TLCinput also be sure your using the correct resistor value
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #221 on: September 11, 2009, 04:31:34 pm » |
Yeah, thanks, just found out myself. Apparently I hadn't tripled checked the schematic thoroughly enough.  Feel as stupid as can be.
|
|
|
|
|
Logged
|
|
|
|
|
Bonn, Germany
Offline
God Member
Karma: 0
Posts: 903
|
 |
« Reply #222 on: September 22, 2009, 02:55:49 pm » |
is it possible to turn off a pin so that it is used as GND for a LED?
|
|
|
|
|
Logged
|
Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead anyway.
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 39
Arduino rocks
|
 |
« Reply #223 on: September 22, 2009, 03:00:28 pm » |
just assign the value of 4095 to the correct pin. this should result in the led being constantly on.
|
|
|
|
|
Logged
|
|
|
|
|
Bonn, Germany
Offline
God Member
Karma: 0
Posts: 903
|
 |
« Reply #224 on: September 22, 2009, 03:01:59 pm » |
its not about constantly turning on a led but rather using a pin of the TLC as GND for multiplexing stuff...
|
|
|
|
|
Logged
|
Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead anyway.
|
|
|
|
|