Arduino Due and TLC5940 LED Driver, Daisy Chain Issue


hi,

i trying daisy chain 2 tlc5940 led drivers arduino due. have been using library found here: https://code.google.com/p/arduino-due-tlc5940/. have tried single tlc5940 , functioning properly, however, can not second tlc5940 work.

i have made same connections outlined in source code:
tlc5940 pins -> ______ :
pin 17 sout -> pin 26 of tlc5940 2
pin 18 gsclk-> arduino due pin 3
pin 19 dcprg -> 5v
pin 20 iref -> pulled ground 10k
pin 21 vcc -> 5v
pin 22 gnd -> gnd
pin 23 blank-> arduino due pin 4 2k pull 5v
pin 24 xlat-> arduino due pin 4
pin 25 sclk -> arduino due pin a.17 (sda1)
pin 26 sin -> arduino due pin 18 (tx1)
pin 27 vprg -> gnd

and second tlc5940, have made same connections except connecting sout of first  tlc5940 sin of second tlc5940. have changed config file indicate there 2 tlc5490s being used.

has been able daisy chain 2 tlc5940s arduino due library identified above? there required missing?

thanks!!!

hello!

i'm trying due , tlc5940 work on project.

can please confirm me following?

code: [select]
pin 23 blank-> arduino due pin 4 2k pull 5v
pin 24 xlat-> arduino due pin 4


according this, both pins blank , xlat go pin 4 of due. right or should xlat go pin 5?

code: [select]
pin 25 sclk -> arduino due pin a.17 (sda1)

you pin a.17 sda1. sda1 next aref on board. don't quite a.17 is. please explain?

thank you!
franco.


Arduino Forum > Products > Arduino Due (Moderator: fabioc84) > Arduino Due and TLC5940 LED Driver, Daisy Chain Issue


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support