PCB design tutorial

Go To Last Post
13 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Guys,

 

I am about to finish a test project and in a few days, and after that I would like to send my very first gerber file to a factory to get them create my first PCB.

I do have the schematics in the software I created the layout and I can generate a PCB design, but my gut feeling is that it is not "engough".

 

I am looking for a good document / howto about how to create a "good" PCB. I need the main "rules" if possible...

 

Thanks,

Mitya

 

p.s: I found a lot of tutorials with google, but I am curious of your opinions as well..

This topic has a solution.
Last Edited: Wed. Mar 21, 2018 - 10:08 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

ZMitya wrote:
howto about how to create a "good" PCB.
Well apart from the datasheet, AVR040 and AVR042 (all of which I assume you have read?) one of the best "guides" is to look at commercial designs - especially "open" ones that have the schematics (perhaps even gerbers) made available. Things like Arduino boards are almost always "good AVR PCBs" and a lot of Atmel's own "xplained" series of development boards are equally good as a template.

 

Obviously one of the key things that experienced designs tend to include that a lot of "new" designs miss are things like proper decoupling, also short paths for fast signals (esp tracks to crystals) and things like that.

 

PS of course I forgot to say that some of the very best AVR h/w developers read this very board - so maybe publish your schematic and PCB layout here for peer review?

Last Edited: Tue. Mar 20, 2018 - 03:10 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No, I have not read anything yet in this topic yet (well I made a few PCBs by hand in the highschool back in '90s haha :) )

 

I am a beginner and I am learning, so I am very very far from Atmel's "Xplained" series... This is why I just wanted to get a good doc, what worth to read...

 

Sure, I would like to share my stuff, but not yet, because it is not much more than TINA created.

 

Before sending out to the PCB maker, I would like to share it with you guys for sure, but firstly I would like to "finish" it up to my knowledge.

 

update1:

thanks for AVR040 and AVR042 !

Last Edited: Tue. Mar 20, 2018 - 03:27 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 3

Things to consider...

 

1) Get a copy of your PCB house's design rules. These will tell you the limits on what they can do.

 

2) ALWAYS, and I mean ALWAYS, load your gebers into a viewer program and spend 30 minutes checking them by eye. I use Viewmate.

 

3) ALWAYS, and I mean ALWAYS, run your PCB program's design rules check (DRC) tool. And take note of what it says. Fix EVER error and warning that it tells you about.

 

4) Always make you tracks as big as the design will allow.

 

5) Always try to have a 0V/GND plane but make sure you don;t have any isolated sections.

 

6) Try to 'mesh' your VCC connection. In other words try to make every bit of it join up to every other bit.

 

7) One decoupling capacitor per chip's power pin. No exceptions.

 

8) Decoupling capacitors go right next to the chip.

 

9) Read the file I've attached below.

 

10) Go back and follow the rules in the file I've attached below.

 

 

Attachment(s): 

"This forum helps those that help themselves."

"How have you proved that your chip is running at xxMHz?" - Me

"If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ahaha the good ol' Protel, it no longer runs on my new 64bit machine but works perfectly on my old XP machine.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

js wrote:
ahaha the good ol' Protel, it no longer runs on my new 64bit machine
I actually have it running on a Win7 64-bit machine for legacy projects. (Although, I have to manually edit the parts libraries into the ADVPCB99SE.INI file.)

David (aka frog_jr)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I actually have it running on a Win7 64-bit machine

??How? I don't really needed it because I can import any Protel PCBs into RIMU and work on them if I have too.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I did this several years ago...

Installed @: C:\Program Files\Design Explorer 99 SE\

Compatibility: Windows XP (Service Pack 3)

For Win7:

Open the file ADVPCB99SE.INI (on my system, in C:\Windows\ADVPCB99SE.INI)

In the section [PCB Libraries] (similarly for SCH Libraries)

Find the line:

Line: TypeCount=2

         Then add the following lines:

Count=<number of library paths used>

File0=<enter the path and filename of the library>

File1=<enter the path and filename of the library>

 

I believe the original source of of my information is here:

http://www.diyaudio.com/forums/s...

 

Although there appear to be some newer methods in the posts that follow:

http://www.diyaudio.com/forums/s...

 

 

BTW: What is RIMU?

 

David (aka frog_jr)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ADVPCB99SE

I see, you have protel 99 (32 bits?) not the old Autotrax (16 bits) like I have.?? 

 

RIMU is a PCB schematic and PCB program able to import Autotrax and Schedit files. I have used for a few years now, still available from Poland?? but no longer supported by the New Zealand author  AFAIK.

 

There is also a support group consisting of a moderator and a subscriber crying

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

js wrote:
protel 99 (32 bits?)
Yes... (not to further derail this thread)

David (aka frog_jr)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Brian Fairchild wrote:

Things to consider...

.​

.

 

 

Thank you very much guys, I have read these docs yesterday night, so I will give a try today..  :)

Last Edited: Wed. Mar 21, 2018 - 10:10 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think you want to put the bypass capacitor between the chip and the rest of the power distribution so the chip noise doesn't leak out into the rest of the power grid.

 

277,232,917 -1 The largest known Mersenne Prime

Measure twice, cry, go back to the hardware store

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

js wrote:

ADVPCB99SE

I see, you have protel 99 (32 bits?) not the old Autotrax (16 bits) like I have.?? 

 

RIMU is a PCB schematic and PCB program able to import Autotrax and Schedit files. I have used for a few years now, still available from Poland?? but no longer supported by the New Zealand author  AFAIK.

 

There is also a support group consisting of a moderator and a subscriber crying

 

gEDA and PCB_RND can work with old protel/autotrax files now.  I would assume because of this work that KiCAD should also be able to do it or at least be able to do it soon.