0

Controlling 12v leds with TLC59711
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Controlling 12v leds with TLC59711

by onnari11 on Sun May 05, 2019 9:33 am

Hi!

I purchased TLC59711 led driver in order to control these (https://www.triopak.fi/fi/tuote/41490) 12V leds with a Raspberry pi 3 model B+. Before wiring everything up I would like to get an opinion from someone who knows how TLC59711 works. So please tell me if this is the way I am supposed to wire everything:

12V power supply negative end to Pi GND
12v power supply positive end to driver V+
Pi GND to driver GND
Pi MOSI to driver DI
Pi SCLK to driver CI

12V LED positive end to V+
12V LED negative end to any R, G or B output

And after those wirings are complete, can I control the leds by following these (https://learn.adafruit.com/tlc5947-tlc59711-pwm-led-driver-breakout/python-circuitpython) instructions? Really appreciate all answers!

onnari11
 
Posts: 5
Joined: Wed Apr 17, 2019 2:08 am

Re: Controlling 12v leds with TLC59711

by adafruit_support_mike on Mon May 06, 2019 3:52 am

Connecting to V+ is optional. If you do, you don't have to connect 12V to the positive side of your LEDs. If you already have a connection between the LEDs and 12V, you don't need to connect 12V to V+.

You do need to connect the RasPi's 3.3V pin to the TLC59711's VCC pin. That's what powers the logic side of the chip.

The TLC59711's outputs are high/low resistance connections to GND, so the power through the LEDs is mostly independent of the power that runs the chip. You do need a connection between the 12V supply's GND and the TLC59711's GND.

adafruit_support_mike
 
Posts: 57856
Joined: Thu Feb 11, 2010 2:51 pm

Re: Controlling 12v leds with TLC59711

by onnari11 on Mon May 06, 2019 2:48 pm

Thanks for a fast reply! So I don't have to connect power supply 12v end to v+ and v+ to led 12v end IF i connect power supply 12v end directly into the 12v end of the leds? Im a bit confused about VCC. Should I wire it into PI's 3,3V or 5V or should I keep it unwired? Following this (https://learn.adafruit.com/assets/59519) tutorial I should wire VCC to PI 5V, but you said that I should wire it into PI 3,3v. On the other hand the image file below (from https://learn.adafruit.com/tlc5947-tlc59711-pwm-led-driver-breakout/connecting-to-the-arduino) shows that I should keep it disconnected... And you said: "You do need a connection between the 12V supply's GND and the TLC59711's GND." On the other hand the tutorials say: "If you need V+ voltages higher than 12v, you will need to use a separate power supply. If you use a separate supply, be sure to connect the ground wire to the Arduino ground." Does that mean that I have to wire all the grounds in togethor (psu GND, PI GND, driver GND)?
Attachments
adafruit.png
adafruit.png (122.3 KiB) Viewed 72 times

onnari11
 
Posts: 5
Joined: Wed Apr 17, 2019 2:08 am

Re: Controlling 12v leds with TLC59711

by adafruit_support_mike on Tue May 07, 2019 12:46 am

onnari11 wrote:So I don't have to connect power supply 12v end to v+ and v+ to led 12v end IF i connect power supply 12v end directly into the 12v end of the leds?

That's correct.

onnari11 wrote:Im a bit confused about VCC. Should I wire it into PI's 3,3V or 5V or should I keep it unwired?

Connect VCC to the RasPi's 3.3V pin.

The TLC59711 breakout was designed a few years ago, before 3.3V systems became dominant, so it has a built-in 5V regulator.

The RasPi operates at 3.3V and has relatively fragile GPIO pins, so it's best to use 3.3V for devices connected to it.

onnari11 wrote:Does that mean that I have to wire all the grounds in togethor (psu GND, PI GND, driver GND)?

Yes. Connect all the GNDs together.

Voltage is like distance: you have to measure it between two points. GND is the reference point for all other voltages in a circuit, so connecting all the GNDs together means everyone is working from the same reference.

adafruit_support_mike
 
Posts: 57856
Joined: Thu Feb 11, 2010 2:51 pm

Re: Controlling 12v leds with TLC59711

by onnari11 on Tue May 07, 2019 12:56 am

Ok, now I understand! Thank you so much!

onnari11
 
Posts: 5
Joined: Wed Apr 17, 2019 2:08 am

Please be positive and constructive with your questions and comments.