Hi everyone,
I have been trying to hook up a TLC5940 to an Arduino UNO (rev3). I have had some experience with ISP-ing to ATTiny85s and 2313s where everything worked fine but with the tlc5940 it does not seem to be working. I followed the instrutions according to Arduino Playground - TLC5940 and did the following:
- Downloaded the Library and unzipped the Tlc5940 folder to /hardware/libraries/
- left the board to "Arduino Uno" which might be my mistake, I couldn't find an ISP entry for the 5940 under "boards"
- Connected the tlc5940 according to the wiring diagram (see below)
tried uploading various examples from "File>Examples>tlc5940", with an LED connected to the breadboard (long leg to power, short leg to output). The examples uploaded fine i.e. no error message but none of the output pins light up
------------ ---u----
ARDUINO 13|-> SCLK (pin 25) OUT1 |1 28| OUT channel 0
12| OUT2 |2 27|-> GND (VPRG)
11|-> SIN (pin 26) OUT3 |3 26|-> SIN (pin 11)
10|-> BLANK (pin 23) OUT4 |4 25|-> SCLK (pin 13)
9|-> XLAT (pin 24) . |5 24|-> XLAT (pin 9)
8| . |6 23|-> BLANK (pin 10)
7| . |7 22|-> GND
6| . |8 21|-> VCC (+5V)
5| . |9 20|-> 2K Resistor -> GND
4| . |10 19|-> +5V (DCPRG)
3|-> GSCLK (pin 18) . |11 18|-> GSCLK (pin 3)
2| . |12 17|-> SOUT
1| . |13 16|-> XERR
0| OUT14|14 15| OUT channel 15
Does anyone have an idea as to what I may be doing wrong? I am assuming that the code is being sent to the arduino and not the 5940 (which would explain why there are no error msg), but I am at a loss as to how I should be doing it otherwise. Any suggestions would be greatly appreciated.
Thanks,
Opal_1970
PS
I posted this in the LED forum but I am not sure if this should be a microcontroller topic please excuse me.