issue with 5490 perfboard setup

hello, world. long time listener, first time caller. i'm hoping this is the right section.

a couple caveats:

i am not an engineer, nor do i play one on tv. thus, i am fairly ignorant re. the exact physics behind what i am doing.

i am not a programmer, either, but i've had some luck with arduino. hurray, arduino!

ok, so here's my issue. i am looking to fade some high powered (2.5-3.5v, .5w) leds with a tlc5940. i have the tlc5940 libraries, and have run the code i intend to run (a variation on the example sketch "fades") successfully on my breadboard. the breadboard is powered by a 9v wall wart running into a 7805 circuit with smoothing caps etc, and although i do not own an oscilliscope, i am told that the setup makes for a relatively smooth, noise-free ~5v power supply. i have not had problems with it in the past.

here's my schematic:

the problem arose after i finished soldering. i've built the board exactly as i had it on the breadboard, including the power supply, a basic 555 flip-flop switch controlling power to the arduino, and the tlc5940 rigged as per the "Hardware Setup" pics here.

when i hook the arduino up to the headers on the board i've built and hit the switch, i get 4.96v to the arduino. the rest of the board is on the same power circuit, but is not controlled by the switch.. and is also receiving 4.96v. the lights, however, fail to do their light thing... until i get my fingers close to the gsclk (pin 3) wire coming from the arduino. when i do this, the 5940 responds by cycling its first pin over and over. the rest of the -LED pins on the 5940 are doing nothing according to my multimeter.

my thoughts on the possible problems are..

1)i've made some glaring error in my schematic

2)when the circuit is powered on, the 5940 is receiving power before the arduino is turned on (via the pushbutton).. thus when it starts up it has no control signal. i'm not sure if this is a problem, but cycling the power doesn't seem to help, nor does resetting the arduino.

3)there is some sort of interference going on with the pinouts from the arduino to the 5940, specifically pin 3. why does it begin to turn on when i get close to it? and why isn't it running the arduino sketch when i get close to it instead of just cycling the first pin on the 5940?

4)pin 3 on the arduino is haunted, and needs my life force in order to do its job, albeit poorly.

i'm certain the 5940 is not dead, i have traded them off the working circuit on the board. i am also fairly certain i have no shorts on the finished board.

i'd really appreciate it if anyone could help out. arrgh.

~Sprinkels

edit: it's 5940, not 5490 =p

well there's your problem.

yeah. i had loaded the wrong sketch, apparently i'd saved one of the ones that didn't work instead of the one that did. problem solved.

i'd surely appreciate some critique on my schematic though, if anyone is bored =)

i'd surely appreciate some critique on my schematic though

Don't draw ICs as triangles. This shape is used mainly for amplifiers.
Add 0.1uF ceramic capacitors for decoupling in addition to the electrolytics you have, these are better at curbing high frequency noise.
http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html

ahh, i had no idea on the shapes.. but i guess i did start doing that while i was playing with amplifiers, hah..

will do on the decoupling caps. not sure if i will be able to fit them on this board but i'll have to toss some in my power supply. thanks!

not sure if i will be able to fit them on this board

You can always solder them on the reverse or track side of the board. Ceramic caps are small.

What I do is to use a surface mount cap and solder it between the tracks on the underside. With a chip like the TLC5940 it is easy because power and ground are next to each other.

I just found an old 5940 circuit I had built and I photographed the under side for you to show you how neat the surface mount decoupling caps are when used with prototyping board.

wow, you can hardly even see that thing! i'll have to pick up some surface mount stuff at some point.. i'm thinking it's quite a bit cheaper too

i had a few .1uf ceramic caps laying around and i did manage to fit them on the board, there's quite a bit more space there than i was thinking.

i've been kind of surprised i haven't come across more .1uf caps in all the 90's electronics i've .. er.. harvested.. but it makes more sense if they are using the surface mounts, i probably just torched them. have to start saving those!