the final 10%

45
The Final 10% The Final 10% John Sarik Columbia University Department of Electrical Engineering Columbia Laboratory for Unconventional Electronics April 5, 2011

Upload: john-sarik

Post on 15-Jan-2015

1.638 views

Category:

Self Improvement


3 download

DESCRIPTION

How to take a project from functional to amazing.

TRANSCRIPT

Page 1: The Final 10%

The Final 10%

The Final 10%

John Sarik

Columbia UniversityDepartment of Electrical Engineering

Columbia Laboratory for Unconventional Electronics

April 5, 2011

Page 2: The Final 10%

The Final 10%

Introduction

Hardware Design Flow

Page 3: The Final 10%

The Final 10%

Introduction

What is “The Final 10%”?

The extra effort at the end of a projectTransforms projects from “functional” to “amazing”

Page 4: The Final 10%

The Final 10%

Introduction

What is the other 90%?

A functional prototype

Intel 8088-based single board computer constructed on a breadboard. From Wikimedia Commons.

Page 5: The Final 10%

The Final 10%

Introduction

Design - Picking Parts

Distributors (Digikey, Mouser, Newark, etc) have largeselections, but can be hard to search

Page 6: The Final 10%

The Final 10%

Introduction

Design - Picking Parts

Manufacturers provide application notes, example circuits,and free samples

Page 7: The Final 10%

The Final 10%

Introduction

Build - Connecting Parts

BreadboardPerfboardPrinted Circuit Board

From oomlut on Flickr From Revolt Labs on Instructables From ladyada on Flickr

Page 8: The Final 10%

The Final 10%

Introduction

Test - Characterizing Circuits

Does my circuit do what I want it do?

From Wikimedia Commons

Page 9: The Final 10%

The Final 10%

Introduction

Iterate

“The design process is part intuition, part art and alliterative tenacity” -Amanda Wozniak

From ladyada on Flickr

Page 10: The Final 10%

The Final 10%

Designing a printed circuit board

What’s in a PCB?

Parts consist of a symbol and a footprintSchematic

Shows connections between part symbolsUsed to generate a “netlist” for a board

BoardShows physical connections between part footprintsThese connections are copper traces that must be routedaccording to a set of design rulesUsed to generate “gerber files” for a board house

Page 11: The Final 10%

The Final 10%

Designing a printed circuit board

What is EAGLE?

Easily Applicable Graphical Layout Editor (EAGLE)Computer Aided Design (CAD) Software for Printed CircuitBoard (PCB) Design

Crossplatform (Windows, Mac, Linux)EAGLE Light is free for non-profit applications

Four Main ComponentsSchematic EditorLayout EditorAutorouterCAM Processor

Page 12: The Final 10%

The Final 10%

Designing a printed circuit board

1. Concept

Electroluminescent (EL) Display Power Supply

From MAKE: Magazine 21.

Page 13: The Final 10%

The Final 10%

Designing a printed circuit board

2. Prototype

Breadboarded Power Supply

Page 14: The Final 10%

The Final 10%

Designing a printed circuit board

3. EAGLE Schematic

Create Parts

EAGLE includes libraries with commonly used parts3rd party libraries add even more partsBut sometimes you may have to create your own parts

!"#$%&'($)* +,-./$012-(3)4-5 1$(56075

8$/7/2&'($)* + 9.0'/1$(56075 1$(56075

::::;<:=>>=>>?><=>>=>>=>>=>>;>>?<?=@<?>>?><@<?<;>>;>>A>>?>>

;>>?5@<@>>:>>?><?<=>>@><B<?><C<?5;<D>>?><?B<;>>?<?>>?><?><@><;>>?5;<=>>=>>

?5>?5>?5>?5>;>>?5>;;==D:;?>>=C;;D;?D=?C=?5A?C>A5?>;:D@>>??>D:;;;>@>5@

D;:>?@C>A>>=>=;=ADC>>C;>?C:?@;D>;D>=ADCD?D>?>5AB?;;>>=>>C>?@>D=C@5:

=>:>=>=>?B>>=>=:>D@>?C=>DA>CC>;C>;D>CA>C=>A=CB>@;>?:C>=>>C?>CA>;@>=>>@;C

;>>:?>C>>;?>@;>>B;==:>@:C>?B@>@>>>?D@>AD>C>>@D>>@:>>;C>A@>@;>?:C>@?>>@B>>;?>AC>;@>=D>

C@9E>>?F8GC@9E>>DF8GC@9E>>CF8GC@9E>>:F8GC@9E>?@F8GC@9E>?DF8GC@9E>?=F8GC@9E>?BF8GC@9E>?:F8GC@9E>?AF8GC@9E>@?F8GC@9E>@@F8GC@9E>@DF8GC@9E>@CF8GC@9E>@;F8GC@9E>@=F8GC@9E>@BF8GC@9E>D>F8GC@9E@?:F8GC@9E>>@F8GC@9E>>=F8GC@9E>>AF8GC@9E>??F8GC@9E>@>F8GC@9E>D?F8G

!"#$%&'())"*+&#$,'$%+%-)&&.&&/0112&34051677HGF=>>?@B I&2$)8$J7/$%K))=L@DL>=

74-8&)9:;9<&-:=><?@:A9:<

)'+#"B"#(-"$%). G-0$)2M#$L/7N$K))O!F?C. !"#$%&'($)J&07&27-'K)P?>Q)R)?<SN

. I5G5)0$/7/2&'($)2-T$0&'($K)))P?;Q

. !'/.T&27-'K))U?>, R)?>>VIG

. W0$&3%-X')J-T2&Y$K)?>>VZG)S!6[9)\-0)?)"7'.2$

. ,&]7".")-.2#.2K))B;"^

. _0$`.$'(M)0$/#-'/$K)PD%Wa)D>>SNFD5C<SN)R)?<SN)>%W

. ^&]7'YK))J&(..")20$&2"$'2

. [2b$0K))(&')c$)X&2$0)X&/b$%X72b)X&2$0)2$"#$0&2.0$)R)d@>eG5

. 6G)T$&%/)&0$)/-\2)"$2&T)X70$)&'%))))(&')c$)&%f./2$%)2-)\72)&)J&07$2M)-\)&##T7(&27-'/5

g))8-S1)G-"#T7&'2

5CDD!5>?>

5;A?

G70(.72)I7&Y0&"

1$(-'%&0M607"&0M?

@

D

=

;

C

5>?@!5>>C

5?9M#7(&T

5?=>

5;A?)!5>DA

5;>>

5@B=5>BC!5>>=

5C:>

5>?:!5>>C

6

Specifications are subject to change without notice. No liability or warranty implied by this information. Environmental compliance based on producer documentation.

Page 15: The Final 10%

The Final 10%

Designing a printed circuit board

3. EAGLE Schematic

Draw Symbol

Page 16: The Final 10%

The Final 10%

Designing a printed circuit board

3. EAGLE Schematic

Draw Footprint

Page 17: The Final 10%

The Final 10%

Designing a printed circuit board

3. EAGLE Schematic

Create Device

Page 18: The Final 10%

The Final 10%

Designing a printed circuit board

3. EAGLE Schematic

Connect Pins and Pads

Page 19: The Final 10%

The Final 10%

Designing a printed circuit board

3. EAGLE Schematic

Place Parts

Page 20: The Final 10%

The Final 10%

Designing a printed circuit board

3. EAGLE Schematic

Draw Nets

Page 21: The Final 10%

The Final 10%

Designing a printed circuit board

4. EAGLE Layout

Create Board

Page 22: The Final 10%

The Final 10%

Designing a printed circuit board

4. EAGLE Layout

Place Parts

Page 23: The Final 10%

The Final 10%

Designing a printed circuit board

4. EAGLE Layout

Route Signals

Red: Top copperBlue: Bottom copperGreen: Pads and Vias

Page 24: The Final 10%

The Final 10%

Designing a printed circuit board

4. EAGLE Layout

Routing Tips

Routing by hand is preferable, but not always possiblePart placement is crucialEAGLE’s Autorouter is good enough for simple boardsFreerouting.net has an excellent, EAGLE-compatibleautorouter for more complex boards

Page 25: The Final 10%

The Final 10%

Designing a printed circuit board

4. EAGLE Layout

Run Design Rule Check

PCB manufacturers have limits on the minimum size andspacing of traces

Page 26: The Final 10%

The Final 10%

Designing a printed circuit board

5. CAM Processor

Generate Gerber and Drill Files

EAGLE uses CAM files to generate gerber filesBoard houses use these gerber files to make your PCB

Page 27: The Final 10%

The Final 10%

Designing a printed circuit board

5. CAM Processor

Verify the Gerber Files with gerbv

Make sure your gerber files were generated correctly

Page 28: The Final 10%

The Final 10%

Designing a printed circuit board

6. Manufacturing

Gerber and Drill Files to Submit

Layers RequiredOutlineDrill fileTop copperBottom copper

Optional LayersTop and bottom stencil (labels)Top and bottom solder mask (protective coating)

Page 29: The Final 10%

The Final 10%

Designing a printed circuit board

6. Manufacturing

4PCB.com and FreeDFM.com

Deals for studentsGood for large orders

Page 30: The Final 10%

The Final 10%

Designing a printed circuit board

6. Manufacturing

APCircuits.com

Reasonable prices for quick turn boards2-day turn around, but no soldermask or stencils

Page 31: The Final 10%

The Final 10%

Designing a printed circuit board

7. The Finished PCB

Assembled EL Display Power Supply PCB

Page 32: The Final 10%

The Final 10%

Designing a printed circuit board

7. The Finished PCB

Tips and Tricks

Harness the power of open-source hardware!Label EVERYTHING!Triple check EVERYTHING!

Print out custom part layoutsPrint out final board designs

Avoid the classic Arduino spacing error!

Page 33: The Final 10%

The Final 10%

Designing an enclosure

Why do you need an enclosure?

Enhances your project’s “wow factor”Provides protection from the “negation fields”

Page 34: The Final 10%

The Final 10%

Designing an enclosure

Types of Enclosures

Off the shelf enclosures

Easy, moddable

SparkFun Adafruit

Page 35: The Final 10%

The Final 10%

Designing an enclosure

Types of Enclosures

T-slot frames

Large scale: 80/20Small scale: Makerbeam, Microrax

Page 36: The Final 10%

The Final 10%

Designing an enclosure

Types of Enclosures

Laser-cut enclosures

2D Acrylic + 4-40 Screws & Nuts = 3D Enclosure

Page 37: The Final 10%

The Final 10%

Designing an enclosure

Types of Enclosures

3D printed enclosures

True 3D capabilities

Page 38: The Final 10%

The Final 10%

Designing an enclosure

Available tools

Laser cutter

Universal VLS3.5012" x 24" bed, 40W CO2 laserRequires DXF (Drawing Interchange File)

Page 39: The Final 10%

The Final 10%

Designing an enclosure

Available tools

3D printer

Dimension uPrint Plus8" x 8" x 6" build areaRecommended 0.075" minimum feature sizeRequires STL (Stereolithography) file

Page 40: The Final 10%

The Final 10%

Designing an enclosure

Using CAD software

Start with an accurate mechanical drawing

From WayneAndLayne

Page 41: The Final 10%

The Final 10%

Designing an enclosure

Using CAD software

2D CAD

Can use any software that generates vector images(AutoCAD, Illustrator, etc)Inkscape is free and (relatively) easyExporting between different file formats can be frustrating

Page 42: The Final 10%

The Final 10%

Designing an enclosure

Using CAD software

3D CAD

Can use any software that generates STL files (AutoCAD,SolidWorks, SketchUp, etc)OpenSCAD is “The Programmers Solid 3D CAD”

Page 43: The Final 10%

The Final 10%

Designing an enclosure

Using CAD software

Tips and Tricks

Harness the power of open-source hardware!Measure EVERYTHING!Triple check EVERYTHING!

Print out your designsCheck your units!

Page 44: The Final 10%

The Final 10%

Resources

Useful Resources

SparkFunAdafruitEvil Mad ScientistSolarboticsThingiversePonokoShapewaysMakerBot WikiMcMaste-Carr

Page 45: The Final 10%

The Final 10%

Questions

ColumbiaLaboratory for

UnconventionalElectronics