Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit...
Transcript of Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit...
![Page 1: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/1.jpg)
Hardware Black Magic:Designing Printed Circuit Boards
Dr. Fouad (Dr. K) KiamilevCorey (c0re) Lange
Stephen (afterburn) Janansky
![Page 2: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/2.jpg)
Who are we?
• University of Delaware
• Department of Electrical and Computer Engineering
• CVORG
![Page 3: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/3.jpg)
Who are we?
• Dr. Fouad Kiamilev
• Professor
• Fearless Leader
• Procurer of Funding
![Page 4: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/4.jpg)
Who are we?
• Corey Lange
• Grad Student
• Geek
• Eternally Grateful for Aforementioned Funding
![Page 5: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/5.jpg)
Who are we?
• Stephen Janansky
• Researcher
• Hardware Hacker
• Embedded Systems Designer
• Network Engineer
![Page 6: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/6.jpg)
What we are doing here?
• Printed Circuit Board (PCB) Design
• It’s easy!
• It’s fun!
• It will let everyone you know how much of a nerd you really are!
![Page 7: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/7.jpg)
But what is a PCB?
• Layers of dielectric and metal
• Usually copper and FR4
• Anywhere from 2 to 20
• A means to layout circuits
• Prototype vs. Production
![Page 8: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/8.jpg)
What to do with Cu?
• Create electrical connections between components
• Traces/Tracks
• Pours/Planes
• Need to use vias to connect layers
![Page 9: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/9.jpg)
What’s a via?
• Plated hole going through the board that connects the layers together
• Yes, all of the layers (be careful!)
• Well, not always...
• Blind Vias
• Buried Vias
![Page 10: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/10.jpg)
Components
• A circuit without components is like...
• A bird without wings
• A car without wheels
• A grad student without funding
![Page 11: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/11.jpg)
Components• A collection of pads or vias that a chip
or discrete part will connect to the board
• a.k.a. Footprint
![Page 12: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/12.jpg)
Datasheets: Who cares?
• We do!
• Shows lots of valuable information:
• Electrical specifications
• Usual applications/schematics
• Footprint sizes
![Page 13: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/13.jpg)
![Page 14: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/14.jpg)
![Page 15: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/15.jpg)
![Page 16: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/16.jpg)
![Page 17: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/17.jpg)
![Page 18: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/18.jpg)
What happens when you don’t listen to the datasheet:
![Page 19: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/19.jpg)
Design Rules
• If you design it, they still might not be able to fab it.
• Machines are only so precise
• Smaller == $$$
• Allow for tolerances
• Design Rule Check (DRC) is a must!!!!
![Page 20: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/20.jpg)
The Finishing Touches
•Soldermask
•Plating metal
•Silkscreen
![Page 21: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/21.jpg)
Secrets of the Pros
• When in doubt, make the pad/via/through-hole bigger than you think it should be
• Through Hole ROT: +0.010” to diameter
• Will allow more room to solder or allow for an better fit
• Use 1:1 printouts to make sure components fit properly
![Page 22: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/22.jpg)
More Secrets
• The Capacitor - An EE’s Duct Tape
• Reduces noise!
• Stores extra charge!
• Slices a transfer function!
• And even more!!!!Source: Wikimedia Commons
![Page 23: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/23.jpg)
How can we design PCB’s?
• Software Packages:
• Express PCB
• Free
• PCB Artist
• Free
• EAGLE
• Free
• Oregano
• Free, Linux
• PCB
• Free, Linux
• gEDA
• Free, Linux
• Cadence Allegro
• Really not free
• High-Speed
• Hundreds more
• Try Googling it
![Page 24: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/24.jpg)
Enough Talk!
• Let’s design a PCB!
• We are going to use Advanced Circuits’ PCB Artist
• How about we redesign the DEFCON17 Badge?
• All materials and information is available at Kingpin’s site: www.grandideastudio.com
![Page 25: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/25.jpg)
Demo Time
![Page 26: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/26.jpg)
Quick Thanks• UD Computer Engineering
• UD Alumni Association
• Intel
• Advanced Circuits
• DEFCON
![Page 27: Hardware Black Magic - DEF CON · 2010-08-20 · Hardware Black Magic: Designing Printed Circuit Boards Dr. Fouad (Dr. K) Kiamilev Corey (c0re) Lange Stephen (afterburn) Janansky](https://reader034.fdocuments.us/reader034/viewer/2022050518/5fa247ac510aeb254d4d5b51/html5/thumbnails/27.jpg)
Questions/Comments/Concerns/Debates?