Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25381
Solder is electric glue
|
 |
« Reply #15 on: January 14, 2013, 05:07:32 pm » |
Like this?
No between the +5V line and ground. This looks like you have it across the LEDs. Also you should be using large electrolytics here, like 47uF not 0.1uF ceramics.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #16 on: January 14, 2013, 07:53:18 pm » |
Fungus, that´s not the fade demo running, it´s the code from the first post in this thread, but with a few more LEDs added. Grumpy, sorry I´m such a noob, I´m not sure where the 5v lines are located. Maye you can point them out using this pic 
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25381
Solder is electric glue
|
 |
« Reply #17 on: January 15, 2013, 04:49:03 am » |
The 5V line is the common line to all the LEDs. The ground line is the ground on the TLC chip.
|
|
|
|
|
Logged
|
|
|
|
|
Valencia, Spain
Online
Edison Member
Karma: 65
Posts: 2224
|
 |
« Reply #18 on: January 15, 2013, 05:13:11 am » |
Fungus, that´s not the fade demo running, it´s the code from the first post in this thread, but with a few more LEDs added.
It looks an awful lot like the fades demo to me (or at least, a version that somebody hacked without knowing what they were doing).
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #19 on: February 19, 2013, 12:55:14 pm » |
Ok, I bought some 47uF´s... Put them between 5v and gnd, but I guess I´ve put them wrong(picture below), because that didn´t change anything.  Uploaded with ImageShack.usHelp please
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25381
Solder is electric glue
|
 |
« Reply #20 on: February 20, 2013, 09:28:21 am » |
They are in the right place but you seem to have taken off the 0.1uF ceramic caps you had on earlier, why? http://www.thebox.myzen.co.uk/Tutorial/De-coupling.htmlDcoupling might not fix a wiring problem, but it still is needed. The layout is a bit messy but then I never did like solderless bread boards anyway. Try as a temporary measure reducing the TLCs drive current to see if you have a power supply issue.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #21 on: February 20, 2013, 12:15:57 pm » |
I added the 0.1uFs, and still no change. Hmm...
How do I reduce the drive current on the tlc?
|
|
|
|
|
Logged
|
|
|
|
|
Eugene, Oregon
Offline
Sr. Member
Karma: 8
Posts: 387
|
 |
« Reply #22 on: February 20, 2013, 01:30:45 pm » |
Im not sure by your picture, but I think you may have the 47 cap on it wrong. I think you want positive lead on the chip, and the negative lead on the ground of of chip, or the ground rail.
by reducing the load, I think what he means is change the resistor that sets the current level for the LEDs. I think its 2k in the demo for 20ma, If you change that to 4k, it I think that will set if for about 10ma.
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25381
Solder is electric glue
|
 |
« Reply #23 on: February 20, 2013, 05:32:09 pm » |
Bigger Bigger Smaller Smaller Reset Reset Reply with quoteQuote Im not sure by your picture, but I think you may have the 47 cap on it wrong. I think you want positive lead on the chip, and the negative lead on the ground of of chip, or the ground rail. No you have the cap on pin 22 which is where it should be. think its 2k in the demo for 20ma, If you change that to 4k, it I think that will set if for about 10ma. Yes that is right.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #24 on: February 20, 2013, 06:29:56 pm » |
I cant seem to find a 4k resistor anywhere... Does it have to be 4Kohm?
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25381
Solder is electric glue
|
 |
« Reply #25 on: February 20, 2013, 06:38:27 pm » |
It is the resistor on pin 20 of the chip. What value do you have? Double it.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #26 on: February 20, 2013, 07:32:07 pm » |
ok... put two 2k in series then = 4k. Still no change though. Other suggestions?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #27 on: February 20, 2013, 08:18:39 pm » |
In case I can´t fix this issue with the TLC5940's, is there another way to get 30 LEDs to breathe smoothly in different duration/speed?
|
|
|
|
|
Logged
|
|
|
|
|
Eugene, Oregon
Offline
Sr. Member
Karma: 8
Posts: 387
|
 |
« Reply #28 on: February 20, 2013, 10:13:59 pm » |
In case I can´t fix this issue with the TLC5940's, is there another way to get 30 LEDs to breathe smoothly in different duration/speed?
Nearest that i can tell, about a million ways. seriously there are a lot of ways to control leds.
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25381
Solder is electric glue
|
 |
« Reply #29 on: February 21, 2013, 03:30:35 am » |
So time for some fault finding. Use the code that just lights up one device, I think you said that still worked, chech it still does. Then switch over the input to the other chip by changing the input wire only. If that now works it is your software that is wrong. If not then it is wired wrong.
|
|
|
|
|
Logged
|
|
|
|
|
|