Go Down

Topic: Atmega 328 and TLC5940 routing (Read 6 times) previous topic - next topic

AJB2K3

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?
Sorry for the noobish post but my knowledge is 10 years out of date!

codlink

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?
//LiNK

AJB2K3

#2
Mar 30, 2013, 09:46 pm Last Edit: Mar 30, 2013, 09:48 pm by AJB2K3 Reason: 1

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.
Sorry for the noobish post but my knowledge is 10 years out of date!

codlink

#3
Mar 30, 2013, 10:13 pm Last Edit: Mar 30, 2013, 10:17 pm by codlink Reason: 1
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.
//LiNK

AJB2K3


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.
Sorry for the noobish post but my knowledge is 10 years out of date!

codlink

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

AJB2K3

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.
Sorry for the noobish post but my knowledge is 10 years out of date!

codlink

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.
//LiNK

Coding Badly


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.

codlink

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

AJB2K3



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:  =(
Sorry for the noobish post but my knowledge is 10 years out of date!

codlink


Codelink - still building the schematic for this  :smiley-eek:  =(


Eagle my friend, Eagle.
//LiNK

AlxDroidDev

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.
Learn to live: Live to learn.
Showing off my work: http://arduino.cc/forum/index.php/topic,126197.0.html

AJB2K3


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
Sorry for the noobish post but my knowledge is 10 years out of date!

Coding Badly

Quote
and added the bypass to the tlc5940


The processor also needs them.

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview