- Thu Dec 07, 2017 2:22 pm
#197136
Using Nick Poole’s Interactive Hanging LED Install https://learn.sparkfun.com/tutorials/in ... -led-array as a guide to learning and to make an art project of my own. Trying to wire up 15 TLC5940 breakouts to an array of 238 LEDs based on the wiring diagram in the tutorial. I can’t get these LEDs under individual control to run the Pong code, so I assume my question is about proper connections and or circuits.
Trying to follow the diagram exactly, I’ve wired each LED to it’s spot on the breakout board (each individual LED anode back to the individual vcc thru-hole and each LED cathode to the first (SCLK or SIN?) thru-hole). Left ground open. Ive then daisy-chained each breakout, connecting all of the out (VPRG, GSCLK, etc.) to the appropriate in on the next board.
From the Arduino to the first break-out: VPRG to GND on Arduino. SLCK to pin 13, SIN to pin11, BLANK to pin 10, XLAT to pin9, GSCLK to pin 3 on Arduino. Power is from external 5volt/2amp source going directly to the first vcc thru-hole on the first breakout. First breakout ground back to ground on power source and Arduino. Tested each LED individually. Checked and re-checked solder joints. Changed NUM_TLC to 15 in Library.
Tried to follow the wiring diagram and pin-out on the tutorial exactly but if I run the tutorial code, the LEDs are all over the place - sometimes on, sometimes off - and they certainly don’t (movecycle). I can’t even get them to an all off state. - Tlc.set(pixel[x][y], 0); Tlc.update(); or simply run init();
Did I wire the circuit wrong? I’m running out of ways to troubleshoot…..
Trying to follow the diagram exactly, I’ve wired each LED to it’s spot on the breakout board (each individual LED anode back to the individual vcc thru-hole and each LED cathode to the first (SCLK or SIN?) thru-hole). Left ground open. Ive then daisy-chained each breakout, connecting all of the out (VPRG, GSCLK, etc.) to the appropriate in on the next board.
From the Arduino to the first break-out: VPRG to GND on Arduino. SLCK to pin 13, SIN to pin11, BLANK to pin 10, XLAT to pin9, GSCLK to pin 3 on Arduino. Power is from external 5volt/2amp source going directly to the first vcc thru-hole on the first breakout. First breakout ground back to ground on power source and Arduino. Tested each LED individually. Checked and re-checked solder joints. Changed NUM_TLC to 15 in Library.
Tried to follow the wiring diagram and pin-out on the tutorial exactly but if I run the tutorial code, the LEDs are all over the place - sometimes on, sometimes off - and they certainly don’t (movecycle). I can’t even get them to an all off state. - Tlc.set(pixel[x][y], 0); Tlc.update(); or simply run init();
Did I wire the circuit wrong? I’m running out of ways to troubleshoot…..