Eagle Schematic and PCB Design Guide

Preview:

Citation preview

EEE 201 - Electric Circuit I

EagleSchematic and PCB Design

Guide

Contents

1 Library 3

2 Schematic Design 5

2.1 Capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2.2 Resistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

2.3 TCRT5000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2.4 Operational Amplifiers (Op-amps) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.4.1 UA741 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.4.2 LM358N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

2.4.3 Supply Pins of Op-Amps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.5 Supply Voltages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

2.6 Pinheads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

3 PCB Design 16

3.1 Design Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

3.2 AutoRouter Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4 Output File 22

List of Tables

1 Library

Firstly, create a folder wherever you want the library to be kept. Then just drag and drop thelibrary to the folder you created. Afterwards, modify the path location to tell Eagle exactly thefolder location as shown in Fig 1 and in Fig 2.

Figure 1: Select Directories

Figure 2: Modify the path

3

Lastly, activate library that you want to use as shown in Fig. 3

Figure 3: Activate the Library

4

2 Schematic Design

In order to add any circuit element into your schematic, you should click the add part button asshown in Fig 4. Then you can add any part that you want to use into your schematic clicking OKbutton.

Figure 4: Add Circuit Element

5

2.1 Capacitor

Capacitor is under ’rcl’ library. You can add the capacitor which is CPOL-EUE5-10.5 into yourschematic as shown in Fig 5.

Figure 5: Capacitor

6

2.2 Resistor

Resistor is under ’rcl’ library. You can add the resistor which is R-US 0207/7 into your schematicas shown in Fig 6.

Figure 6: Resistor

7

2.3 TCRT5000

You can add the TCRT5000 into your schematic as shown in Fig. 7.Note : You have to add the corresponding library in order to add TCRT5000 intoyour schematic

Figure 7: TCRT5000

8

2.4 Operational Amplifiers (Op-amps)

You can find the Op-amps under ’linear3’ library.Note : You have to add the ’linear3’ library in order to add LM358 or UA741 intoyour schematic

2.4.1 UA741

You can add the Op-amp, UA741, into your schematic as shown in Fig. 8.

Figure 8: UA741

9

2.4.2 LM358N

You can add the Op-amp, LM358N, into your schematic as shown in Fig. 9.

Figure 9: LM358N

10

2.4.3 Supply Pins of Op-Amps

The supply pin of the Op-amps are not shown explicitly, so you have to add them. In order to addsupply pin of the Op-amp click the invoke button. Then click the Op-amp and select gate P asshown in Fig. 10 and in Fig. 11. Lastly put the power pins into your schematic.

Figure 10: Click Invoke

11

Figure 11: Select Gate P

12

2.5 Supply Voltages

You can add 5V and GND which are under supply1 library as shown in Fig. 12 and in Fig. 13.

Figure 12: 5V

13

Figure 13: GND

14

2.6 Pinheads

In order to supply 5V or 15v into your circuitry from battery or power supply you should addpinheads as shown in Fig. 14.

Figure 14: Pinhead

15

3 PCB Design

In order to create PCB design of your circuitry that you have created on the schematic designsection click the Generate/Switch to board button which is on the top menu as shown in Fig. 15.

Figure 15: Generate PCB

You should see your component that you have added in the schematic design on the bottom leftcorner as shown in Fig. 16.

Figure 16: PCB

16

Select the circuit elements one by one and move them into black area which is your circuitboard as shown in Fig. 17

Figure 17: PCB

17

3.1 Design Rules

You should configure your wire to wire, wire to pad, wire to via, and wire width in order to printthe circuitry easily. Firstly, click edit which is on top menu and select design rules as shown in Fig.18. Then select clearance and set the distances as shown in Fig. 19. Lastly, adjust the width ofthe wire as shown in Fig. 20.

Figure 18: Design Rules

18

Figure 19: Design Rules - Clearance

Figure 20: Design Rules - Sizes

19

3.2 AutoRouter Configuration

You can make the connection between components using autorouter function of the EAGLE. Theautorouter function is placed on left menu as shown in Fig. 21.

Figure 21: Autorouter Button

20

Now, configure your autoroute setup. You should have one-sided PCB circuit board. Therefore,you should select Top as ’Auto’ and bottom as ’N/A’ on autoroute setup as shown in Fig. 22. Thenclick continue.

Figure 22: Autorouter Main Setup

Lastly, select one of the routing variants and click ’End Job’ button as shown in Fig. 23. Thepercentages are corresponding to how many wire connection has been established or not. Youshould get 100% if you make the placement of the component well. If it is not 100% then you havemissing wires and you should change the placement of component or you can connect the missingwires with jumper cable after you print your circuitry.

Figure 23: Autorouter Main Setup

21

4 Output File

Once you have completed your PCB design, you should get your output file in order to print yourcircuitry. You can create your ’gerber’ file clicking ’CAM Processor’ button which is on top menuas shown in Fig. 24. Then, click ’Process Job’ button and save your gerber file in the folder. Youcan print your design using gerber file you have created.

Figure 24: Cam processor

Figure 25: Cam processor

22

If you want to print your circuitry in mechanical laboratory using CNC machine then youshould convert your ’.gbr’ extension into ’DXF’ extension using ’ReaConverter’ program. You candownload ReaConverter from its site. Once you have installed the program, you should add file asshown in Fig. 26. Add your ’copper top.gbr’ file and convert into ’DXF’ as shown in Fig. 27, 28and 29.

Figure 26: REA Converter

23

Figure 27: REA Converter

24

Figure 28: REA Converter

25

Figure 29: REA Converter

26

Recommended