0

TLC59711 Light On But No One Home
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: TLC59711 Light On But No One Home

by adafruit_support_rick on Sat Sep 21, 2013 7:42 am

Take a look at this thread, where the same problem was solved by adding an inverter to the output. That will turn the white flash into a dark flash, which ought to be more difficult to see. And it will eliminate the need for inverse logic in your code
viewtopic.php?f=50&t=42707&hilit=+channel#p214102

The OP is doing the same thing you are, and his circuit is the same. Mike's inverter requires another mosfet on each output.

If you scroll down, the OP substituted a single p-channel mosfet instead of using two n-channel mosfets.

With the inversion, the OP was satisfied with the appearance of the strip.

adafruit_support_rick
 
Posts: 33782
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: TLC59711 Light On But No One Home

by jnovack on Sun Sep 22, 2013 1:43 pm

I don't want to continue to hi-jack the other thread because I have NO idea what he just said. I'm sure it was English, it looked like English, but it read IKEA instructions without pictures.

My circuit design was posted previously, what do I have to put where? If someone would kindly, I need a diagram a 3 year old can understand. "buy item #1234, put the square peg into the round hole, attach tab a to slot b."
jnovack
 
Posts: 22
Joined: Sat Sep 14, 2013 1:43 pm

Re: TLC59711 Light On But No One Home

by adafruit_support_rick on Sun Sep 22, 2013 1:59 pm

zip up and post your fritzing project, and I'll mod it for you.

adafruit_support_rick
 
Posts: 33782
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: TLC59711 Light On But No One Home

by jnovack on Sun Sep 22, 2013 3:10 pm

The RGB+ is connected to the PWM V+ row. The RGBI is connected to PWM 0, 1, and 2 (respectively).

You don't have to take the pains to make the diagram as anal as I did, as long as the wires are connected. :)

Thank you kindly. :D
Attachments
rpiled-24-1.fzz.zip
Current Fritzing
(40.73 KiB) Downloaded 25 times
jnovack
 
Posts: 22
Joined: Sat Sep 14, 2013 1:43 pm

Re: TLC59711 Light On But No One Home

by adafruit_support_rick on Sun Sep 22, 2013 5:23 pm

See what you think of this. I essentially just added another level of the same thing. What used to be your outputs to the RGBO, now go to the next level of mosfet. The output of those now goes to RGBO
Attachments
rpiled-24-2.fzz.zip
(46.24 KiB) Downloaded 39 times

adafruit_support_rick
 
Posts: 33782
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: TLC59711 Light On But No One Home

by jnovack on Sun Sep 22, 2013 8:25 pm

That solved it! But totally doubles my PCB pricing with the additional area and definitely makes a mess of my project box. :)

I'll clean it up and repost the final image. Thank you.
jnovack
 
Posts: 22
Joined: Sat Sep 14, 2013 1:43 pm

Re: TLC59711 Light On But No One Home

by adafruit_support_rick on Mon Sep 23, 2013 7:51 am

Cool. Sorry about the extra cost, though...

adafruit_support_rick
 
Posts: 33782
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: TLC59711 Light On But No One Home

by jnovack on Mon Sep 23, 2013 11:35 am

Ha, thanks. Not your fault! I managed to redo the entire board which only added a few more square millimeters. Not bad.

Image

Of note, as long as you are not fading between colors (i.e. sending lots of changes), there is nothing wrong with the non-F version. I use it for static lighting.

Open Source Hardware Alert: Fritzing source files (with Breadboard and PCBs) are done and included, I have not gotten them printed (Adafruit Half-size Perma-Proto boards are cheaper) but I do plan on it. I also have plans to make a 4 RGB fade and non-fade version, that will require some time to route.

* Fritzing files will be updated at http://github.com/jnovack/rpiled.js
* Project page is http://www.ozmonet.com/projects/rpiled.html

Thank you everyone for your help. I hope my contribution helps others.
Attachments
rpiled-24-1f-r1.2.fzz.zip
This is for 1 RGB strip that corrects inversion and smooths fading.
(49.45 KiB) Downloaded 31 times
rpiled-24-1-r1.2.fzz.zip
This is for 1 RGB strip. Requires software inversion and poorly fades.
(40.41 KiB) Downloaded 18 times
jnovack
 
Posts: 22
Joined: Sat Sep 14, 2013 1:43 pm

Re: TLC59711 Light On But No One Home

by adafruit_support_bill on Mon Sep 23, 2013 12:14 pm

Since the first stage of MOSFET is only driving the second, you don't need a large power MOSFET. You could get by with a much smaller & cheaper N-type transistor. http://www.adafruit.com/products/756

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

Re: TLC59711 Light On But No One Home

by jnovack on Fri Sep 27, 2013 5:29 pm

adafruit_support_bill wrote:Since the first stage of MOSFET is only driving the second, you don't need a large power MOSFET. You could get by with a much smaller & cheaper N-type transistor. http://www.adafruit.com/products/756


For Beginners: The Pinout is different from the MOSFETs to the NPN 2222As.

The MOSFET is Gate, Drain, Source. The equivalent pinouts for the NPN 2222As (flat-side facing you) is Source, Gate, Drain.
jnovack
 
Posts: 22
Joined: Sat Sep 14, 2013 1:43 pm

Re: TLC59711 Light On But No One Home

by MeiJoa on Thu Feb 12, 2015 1:24 pm

Hi,

may I ask for the status of Raspberry pi and TLC59711 right now?
I just found info that says it doesnt work because python is too slow.
Does that mean I have to use something else?
I found a library somewhere that is for C# (Mono/.NET):

https://github.com/raspberry-sharp/raspberry-sharp-io

Is that possible?

Thank you all in advance.
MeiJoa
 
Posts: 2
Joined: Sat Aug 11, 2012 2:09 pm

Re: TLC59711 Light On But No One Home

by adafruit_support_rick on Fri Feb 13, 2015 10:34 am

We don't have any support for the TLC59711 on the Pi. The OP was using it with a Pi and didn't report any speed problems. I don't know if he was using python or not.

Why do you think python is too slow? The TLC59711 is handling the PWM. All python has to do is update the PWM values.

adafruit_support_rick
 
Posts: 33782
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Please be positive and constructive with your questions and comments.