Pages: [1] 2   Go Down
Author Topic: Atmega 328 and TLC5940 routing  (Read 4991 times)
0 Members and 1 Guest are viewing this topic.
2nd star on the right
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Everything I am is classified under the official secreats act!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm trying to build a barebones pcb layout just to drive the tlc5940 (standard pin layout.)\
Im going to have to run a few jumpers for some of the wires but have I connected what I've done so far correct?


* Dominatorpcb1.jpg (191.34 KB, 1167x429 - viewed 51 times.)
Logged

Sorry for the noobish post but my knowledge is 10 years out of date!

USA, FL
Offline Offline
God Member
*****
Karma: 14
Posts: 686
A life? Where can I download one of those?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is this going to be etched?  

What's the overlap in the red circle?
Also I am assuming the 2K resistor is going on the under side of the board?

I am guessing that you don't have a schematic?


* Dominatorpcb1.jpg (102.71 KB, 1167x429 - viewed 36 times.)
Logged

//LiNK

2nd star on the right
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Everything I am is classified under the official secreats act!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Is this going to be etched?  
Yes
What's the overlap in the red circle?
Another resistor goes here
Also I am assuming the 2K resistor is going on the under side of the board?
No, unless ic sockets have changed over the years It should fit in the middle of the base.
I am guessing that you don't have a schematic?
Using the breadboard layout on the libs google code page which has given me the working prototype.
I'm just sruggling with the conversion from arduino to minimal 328 circuit.
« Last Edit: March 30, 2013, 03:48:25 pm by AJB2K3 » Logged

Sorry for the noobish post but my knowledge is 10 years out of date!

USA, FL
Offline Offline
God Member
*****
Karma: 14
Posts: 686
A life? Where can I download one of those?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Using the breadboard layout on the libs google code page which has given me the working prototype.
I'm just sruggling with the conversion from arduino to minimal 328 circuit.

I can say that not using a schematic to route the PCB in Fritzing has gave me quite a few boards that are now coasters.  Designing a schematic in Fritzing is next to impossible.  Just make sure you re-recheck your routing on the PCB.  I dropped Fritzing because of it's schematic downfalls.  If you plan on making more PCBs, I would highly suggest moving to Eagle. 

Next question, are you planning on programming the 328 in an Arduino and moving it over?

The 2K resistor should be exactly half way between the rows.  Unless your sockets look different than mine.
« Last Edit: March 30, 2013, 04:17:29 pm by codlink » Logged

//LiNK

2nd star on the right
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Everything I am is classified under the official secreats act!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Using the breadboard layout on the libs google code page which has given me the working prototype.
I'm just sruggling with the conversion from arduino to minimal 328 circuit.

I can say that not using a schematic to route the PCB in Fritzing has gave me quite a few boards that are now coasters.  Designing a schematic in Fritzing is next to impossible.  Just make sure you re-recheck your routing on the PCB.  I dropped Fritzing because of it's schematic downfalls.  If you plan on making more PCBs, I would highly suggest moving to Eagle. 
Yup I noticed schematic view is hopeless that why I only use BB or PCB view.

I posted here because I don't know where else to ask to get someone to check out my wiring.
Eagle is not in the Mac apps store.
Logged

Sorry for the noobish post but my knowledge is 10 years out of date!

USA, FL
Offline Offline
God Member
*****
Karma: 14
Posts: 686
A life? Where can I download one of those?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.cadsoftusa.com/download-eagle/
Logged

//LiNK

2nd star on the right
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Everything I am is classified under the official secreats act!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well Eagle is so unfriendly it's crap, without a ton or reading I cant even get started.
Fritzing keeps putting things in the wrong place.
Screw that where my copper clad stripboard.
Logged

Sorry for the noobish post but my knowledge is 10 years out of date!

USA, FL
Offline Offline
God Member
*****
Karma: 14
Posts: 686
A life? Where can I download one of those?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's not that it's unfriendly, it's got a ton more options than Fritzing.  You can do alot more with Eagle.  Also, there are Eagle tutorials that can get you started.  Just search Google.  I learned and made my first PCB in Eagle in less than a day..  I started with Fritzing and it's good for beginners, but once you design more complicated boards, Fritzing lacks.
Logged

//LiNK

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12283
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Crystal is rather far from the processor.  I believe Atmel recommends as close as possible with a ground plane.

No bypass capacitors?

I believe the TLC5940 datasheet calls for a capacitor of several microfarads across VCC and GND.
Logged

USA, FL
Offline Offline
God Member
*****
Karma: 14
Posts: 686
A life? Where can I download one of those?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah yes, bypass caps..  I can't believe I missed those..
Logged

//LiNK

2nd star on the right
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Everything I am is classified under the official secreats act!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Crystal is rather far from the processor.  I believe Atmel recommends as close as possible with a ground plane.

No bypass capacitors?

I believe the TLC5940 datasheet calls for a capacitor of several microfarads across VCC and GND.


Now that I missed because I didn't see a referance for it on the sheet (still trying to understand it tbh) but the arduino prototype doesn't have one.

Codelink - still building the schematic for this  smiley-eek  smiley-cry
Logged

Sorry for the noobish post but my knowledge is 10 years out of date!

USA, FL
Offline Offline
God Member
*****
Karma: 14
Posts: 686
A life? Where can I download one of those?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Codelink - still building the schematic for this  smiley-eek  smiley-cry

Eagle my friend, Eagle.
Logged

//LiNK

BHZ, MG, Brazil
Offline Offline
Sr. Member
****
Karma: 10
Posts: 346
Android developer; Arduino enthusiast
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I prefer DipTrace, and I've been using it for the last year for my personal projects. I know Eagle might be more powerful and has a gigantic user base, but I like DipTrace better. The free version is great and should be enough even for more advanced hobbists.

Back on topic: ditch that layout, since there are several problems with it:
- the crystal is too far from the 328
- there are sharp corners in the traces. Never, NEVER route traces with 90º angles.
- there is no bypass capacitors for either chip
- it is good practice to use every space left in the board (in its signal side) for a copper pour linked to the ground net.

If you decide to go ahead and use that circuit anyway, that one is easier done with a perfboard, rather than etched. Make use you use DIP sockets, instead of soldering the chips directly to the board.
Logged

Learn to live: Live to learn.
Showing off my work: http://arduino.cc/forum/index.php/topic,126197.0.html

2nd star on the right
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Everything I am is classified under the official secreats act!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I prefer DipTrace, and I've been using it for the last year for my personal projects. I know Eagle might be more powerful and has a gigantic user base, but I like DipTrace better. The free version is great and should be enough even for more advanced hobbists.

Back on topic: ditch that layout, since there are several problems with it:
- the crystal is too far from the 328
- there are sharp corners in the traces. Never, NEVER route traces with 90º angles.
- there is no bypass capacitors for either chip
- it is good practice to use every space left in the board (in its signal side) for a copper pour linked to the ground net.

If you decide to go ahead and use that circuit anyway, that one is easier done with a perfboard, rather than etched. Make use you use DIP sockets, instead of soldering the chips directly to the board.

I have moved the crystal under the board and added the bypass to the tlc5940
Still playing with layout designs.
Need to order some electronics to check out part size's
Logged

Sorry for the noobish post but my knowledge is 10 years out of date!

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12283
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
and added the bypass to the tlc5940

The processor also needs them.
Logged

Pages: [1] 2   Go Up
Jump to: