0

Need help with TLC5947
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Need help with TLC5947

by Tchouala on Mon Jan 28, 2019 11:06 am

Hi once more pleasr can you give me a solution?
i realy need help

Tchouala
 
Posts: 20
Joined: Mon Jan 21, 2019 6:15 am

Re: Need help with TLC5947

by adafruit_support_bill on Mon Jan 28, 2019 11:37 am

We have twice requested that you post a photo of your repaired solder joints. We cannot assist you if you do not follow instructions.

adafruit_support_bill
 
Posts: 72774
Joined: Sat Feb 07, 2009 10:11 am

Re: Need help with TLC5947

by franklin97355 on Mon Jan 28, 2019 12:19 pm

I'm sorry but I don't understand what you are doing. You need to solder headers on the board to use.

franklin97355
 
Posts: 20508
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Need help with TLC5947

by Tchouala on Mon Jan 28, 2019 5:48 pm

here are the photos
Attachments
bild2.PNG
bild2.PNG (202.58 KiB) Viewed 80 times
bild1.PNG
bild1.PNG (237.48 KiB) Viewed 80 times

Tchouala
 
Posts: 20
Joined: Mon Jan 21, 2019 6:15 am

Re: Need help with TLC5947

by Tchouala on Mon Jan 28, 2019 6:13 pm

i just want to make it work like in the exple here: https://learn.adafruit.com/tlc5947-tlc5 ... t/overview

i have use the libary and code given in the link.

Code: Select all | TOGGLE FULL SIZE


#include "Adafruit_TLC5947.h"
# include "SPI.h"

// How many boards do you have chained?
#define NUM_TLC5974 1

#define data   4
#define clock   5
#define latch   6
#define oe  4  // set to -1 to not use the enable pin (its optional)

Adafruit_TLC5947 tlc = Adafruit_TLC5947(NUM_TLC5974, clock, data, latch);

void setup() {
  Serial.begin(9600);
//   Set up the SPI
  SPI.setBitOrder(MSBFIRST);//Most Significant Bit First
  SPI.setDataMode(SPI_MODE0);// Mode 0 Rising edge of data, keep clock low
  SPI.setClockDivider(SPI_CLOCK_DIV4);//Run the data in at 16MHz/4 - 4MHz
 
  Serial.println("TLC5974 test");
  tlc.begin();
  if (oe >= 1) {
    pinMode(oe, OUTPUT);
    digitalWrite(oe, HIGH);
  }
}

void loop() { colorWipe(4095, 0, 0, 100); // "Red" (depending on your LED wiring)
  delay(200);
  colorWipe(0, 4095, 0, 100); // "Green" (depending on your LED wiring)
  delay(200);
  colorWipe(0, 0, 4095, 100); // "Blue" (depending on your LED wiring)
  delay(200);
  rainbowCycle(10);
}


// Fill the dots one after the other with a color. j ai retirer wait
void colorWipe(uint16_t r, uint16_t g, uint16_t b, uint8_t wait) {
  for(uint16_t i=0; i<8*NUM_TLC5974; i++) {
      tlc.setLED(i, r, g, b);
      tlc.write();
      delay(wait);
  }
}

// Slightly different, this makes the rainbow equally distributed throughout
void rainbowCycle(uint8_t wait) {
  uint32_t i, j;

  for(j=0; j<4096; j++) { // 1 cycle of all colors on wheel
    for(i=0; i< 8*NUM_TLC5974; i++) {
      Wheel(i, ((i * 4096 / (8*NUM_TLC5974)) + j) & 4095);
    }
    tlc.write();
    delay(wait);
  }
 
}

// Input a value 0 to 4095 to get a color value.
// The colours are a transition r - g - b - back to r.
void Wheel(uint8_t ledn, uint16_t WheelPos) {
  if(WheelPos < 1365) {
    tlc.setLED(ledn, 3*WheelPos, 4095 - 3*WheelPos, 0);
  } else if(WheelPos < 2731) {
    WheelPos -= 1365;
    tlc.setLED(ledn, 4095 - 3*WheelPos, 0, 3*WheelPos);
  } else {
    WheelPos -= 2731;
    tlc.setLED(ledn, 0, 3*WheelPos, 4095 - 3*WheelPos);
  }
}



wenn i connect every cabel like said in the link LED dosent go on .
so i need your help to know what the problem ist.
Attachments
4.PNG
4.PNG (545.71 KiB) Viewed 78 times
3.PNG
3.PNG (568.68 KiB) Viewed 78 times
2.PNG
2.PNG (520.05 KiB) Viewed 78 times

Tchouala
 
Posts: 20
Joined: Mon Jan 21, 2019 6:15 am

Re: Need help with TLC5947

by franklin97355 on Mon Jan 28, 2019 6:25 pm

You can't put your jumpers in like this. You are shorting the jumpers together. Connect them to the soldered pins at the other end.
Attachments
2019-01-28_14h17_28.png
2019-01-28_14h17_28.png (498.2 KiB) Viewed 78 times

franklin97355
 
Posts: 20508
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Need help with TLC5947

by Tchouala on Mon Jan 28, 2019 7:38 pm

pictures of the soldering
Attachments
bild2.PNG
bild2.PNG (202.58 KiB) Viewed 67 times
bild1.PNG
bild1.PNG (237.48 KiB) Viewed 67 times

Tchouala
 
Posts: 20
Joined: Mon Jan 21, 2019 6:15 am

Re: Need help with TLC5947

by Tchouala on Mon Jan 28, 2019 8:09 pm

Hi ,i did so but no change .

one side ist output the oder one ist input .
i have to connect the jumpers on the input side .

in other to avoid problems with jumpers i also solder the other side .
these are the pictures
Attachments
4.PNG
4.PNG (545.71 KiB) Viewed 61 times
6.PNG
6.PNG (284.14 KiB) Viewed 61 times
5.PNG
5.PNG (283.06 KiB) Viewed 61 times

Tchouala
 
Posts: 20
Joined: Mon Jan 21, 2019 6:15 am

Re: Need help with TLC5947

by Tchouala on Tue Jan 29, 2019 1:07 am

Hi , can you please help me ?

Tchouala
 
Posts: 20
Joined: Mon Jan 21, 2019 6:15 am

Please be positive and constructive with your questions and comments.