Designing Circuit Boards with EAGLE
Total Page:16
File Type:pdf, Size:1020Kb
Praise for Designing Circuit Boards with EAGLE “Matt Scarpino has succeeded where scores of others have failed—he’s managed to make the formidable EAGLE software understandable and, more importantly, useable. His presentation is not only approachable and logical, but it’s complete. When you’ve finished his book, you’ll be able to do something meaningful with EAGLE. This book belongs on every engineer’s bookshelf or tablet.” —Bryan Bergeron, Editor, Nuts & Volts Magazine “Matt Scarpino’s Designing Circuit Boards with EAGLE is a great resource for electronics enthusiasts who are ready to get serious and produce their own circuit boards. Matt’s sensible instructions take readers through the steps to design simple and not-so-simple circuit boards, and you can really tell that he’s been using EAGLE for 10 years and loves it. I’m recommending this book to all my maker friends.” —John Baichtal, Author of Arduino for Beginners: Essential Skills Every Maker Needs “With the rising popularity of open source hardware projects, the EAGLE circuit board software has become a vital tool for both hobbyists and professional engineers alike. Designing Circuit Boards with EAGLE provides all the information you’ll need to get up to speed with the EAGLE software, and to start creating your own circuit board designs. Matt Scarpino has provided a great tool for the hobbyist starting out in the circuit board design world, demonstrating all of the features you’ll need to know to create your own circuit board projects. However, the experienced engineer will also benefit from the book, as it also serves as a complete reference guide to all the EAGLE software configuration settings and features. His insightful guidance helps simplify difficult tasks in the EAGLE software, and his handy tips will help save you hours of trial-and-error experimenting in your circuit board designs.” —Rich Blum, Author of Sam’s Teach Yourself Arduino Programming in 24 Hours and Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours This page intentionally left blank Designing Circuit Boards with EAGLE This page intentionally left blank Designing Circuit Boards with EAGLE Make High-Quality PCBs at Low Cost Matthew Scarpino Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Cape Town • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their Executive Editor products are claimed as trademarks. Where those designations appear in this Bernard Goodwin book, and the publisher was aware of a trademark claim, the designations have Managing Editor been printed with initial capital letters or in all capitals. Kristy Hart The author and publisher have taken care in the preparation of this book, but Senior Project Editor make no expressed or implied warranty of any kind and assume no responsibility Betsy Gratner for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or Copy Editor programs contained herein. Apostrophe Editing Services For information about buying this title in bulk quantities, or for special sales Indexer opportunities (which may include electronic versions; custom cover designs; and Tim Wright content particular to your business, training goals, marketing focus, or branding Proofreader interests), please contact our corporate sales department at corpsales@pearsoned. Kathy Ruiz com or (800) 382-3419. Technical Reviewers For government sales inquiries, please contact [email protected]. John Baichtal For questions about sales outside the U.S., please contact international@ Bryan Bergeron pearsoned.com. Rich Blum Visit us on the Web: informit.com/ph Editorial Assistant Michelle Housley Library of Congress Control Number: 2013957510 Interior Designer Copyright © 2014 Pearson Education, Inc. Matthew Scarpino All rights reserved. Printed in the United States of America. This publication Cover Designer is protected by copyright, and permission must be obtained from the publisher Chuti Prasertsith prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, Compositor recording, or likewise. To obtain permission to use material from this work, Matthew Scarpino please submit a written request to Pearson Education, Inc., Permissions Senior Compositor Department, One Lake Street, Upper Saddle River, New Jersey 07458, or you may Gloria Schurick fax your request to (201) 236-3290. ISBN-13: 978-0-13-381999-1 ISBN-10: 0-13-381999-X Text printed in the United States on recycled paper at Edward Brothers Malloy in Ann Arbor, Michigan. First printing: April 2014 Contents Preface . xi Acknowledgments . .xiv About the Author . xv Part I: Preliminary Introduction Chapter 1: Introducing EAGLE. .1 1.1 A Whirlwind Tour of EAGLE . 2 1.2 Obtaining EAGLE. 6 1.3 Licensing . 7 1.4 Organization of Th is Book. 8 1.5 More Information . 10 1.6 Conclusion. 11 Chapter 2: An Overview of Circuit Boards and EAGLE Design . .13 2.1 Anatomy of a Printed Circuit Board . 14 2.2 Overview of Circuit Design with EAGLE . 22 2.3 Conclusion. 28 Chapter 3: Designing a Simple Circuit. .31 3.1 An Inverting Amplifi er. 31 3.2 Initial Steps . 33 3.3 Th e Inverting Amplifi er Schematic . 35 3.4 Board Layout . 44 3.5 Routing. 48 3.6 CAM Processor . 52 3.7 Conclusion. 55 Part II: Designing the Arduino Femtoduino Chapter 4: Designing the Femtoduino Schematic . .57 4.1 Initial Steps . 59 4.2 Th e Reset Switch . 61 4.3 Voltage Regulation . 65 4.4 Th e ATmega328P Microcontroller . 67 4.5 Header Connections. 71 4.6 Net Classes. 73 4.7 Electrical Rule Check . 74 4.8 Generating the Board Design . 76 viii Contents 4.9 Framing the Schematic. 76 4.10 Attributes and Assembly Variants . 77 4.11 Conclusion. 79 Chapter 5: Layout and Design Rules . .81 5.1 Layers . 81 5.2 Board Layout . 84 5.3 Design Rule Check . 90 5.4 Conclusion. 100 Chapter 6: Routing . 101 6.1 An Overview of Routing . 102 6.2 Manual Routing . 103 6.3 Follow-Me Routing. 108 6.4 Th e Autorouter . 109 6.5 Home PCB Fabrication . 113 6.6 Conclusion. 118 Chapter 7: Generating and Submitting Output Files. 119 7.1 Jobs and the CAM Processor. 119 7.2 Viewing Gerber Files . 125 7.3 Drill Files . 126 7.4 Submitting Design Files . 130 7.5 Conclusion. 140 Part III: Advanced Capabilities Chapter 8: Creating Libraries and Components. 141 8.1 Creating the Library . 142 8.2 Creating the SIMPLE-TQFP16 . ..