Eagle CAD Training

Written By: Muhannad Al Mohamed (E&C DM)

Table of Contents

Objective

This blog is intended to introduce Eagle CAD designing application to members to be able to design schematics for electronic circuits. The members of the E&C division are required to know how to make schematics of customed printed circuit boards (PCB) for their corresponding projects. These schematics can be used to design the layout version of the PCB in the Eagle CAD layout part. The layout of the PCB can then be used to generate Gerber files; which can be sent to fabrication houses to make the PCBs.

Creating New Sketch

To start a new sketch a new project should be created and a name should be given to it. After that, a new schematic should be created within the project.

Creating a new schematic

Adding Parts

To add a part from the EagleCAD library, the add icon should be clicked where the list of all the parts would show in a window.

Add Icon

Parts can be chosen directly from the libraries by double-clicking on each part. The search window can be used to easily find a specific part. However, the EagleCAD search engine is literal; which means that any misspelling in the part name will not show any result. To avoid that, stars should be typed before and after the part’s name.

Placing parts

Placing a part is simple, one click should input parts into the schematic and by clicking escape twice it would quit the adding mode. To rotate parts, right click before placing any part. Rotation of a part or a group of parts can be obtained by clicking the rotate icons.

Rotating parts

Connecting Pins

To connect placed parts the net icon should be clicked. The edge of each pin should be clicked when connecting parts to ensure that you are connecting to the part not just drawing a line on it.

Net Icon

When connecting to a part make sure that a connecting window shows up asking for permission to connect to a part. When a connecting is done, double-clicking the crouser will quit the connecting mode.

Connecting Window

When connecting a line with a line, make sure that a junction shows at the intersection. If there is no junction showing, a junction can be added by clicking the junction icon.

Junction Icon

Unconnected lines

Connected lines

Labeling Pins and Parts

Parts can be given labels that can show names and values in both the schematic and PCB layout designs. To add a name label click on the name label and click on the desired part. A value label can be added to parts as well by clicking on the value label. Just a reminder, the value label is still just a name and does not have any relation to the part’s characteristics.

Name Icon

Value Icon

Pins can be named as well by giving them labels by clicking on the label icon and clicking on the desired pin.If a pin is named exactly with the same name to another pin, a window should pop up asking to connect the pins. If clicked true, the pins would be automatically connected without showing a line.  The labels appearance can be changed by clicking on the tag icon and the size of the label can be changed as well.

Label Icon

Regular and Tag Icons

Changing Size Icon

EagleCAD Libraries

EagleCAD has a lot of different libraries from various retailers and manufacturers. It also has the regular parts such as supplies, passive components, .. etc. However, sometimes the desired part is not found in the EagleCAD built-in library so in that case a new library should be added.

Adding Libraries

To add a library, its “.lbr” file should be downloaded first from the manufacturers’ website or from different websites that provide eagle libraries:

Once the “.lbr” file is downloaded it should be placed in the “lbr” folder in the application’s folders. After that, the library should be indicated as used in the library manager window.

Placing library in lbr Folder

Library Manager

Using a Library

Testing

Verify Connected Pins

If the pins were labeled with similar names, their connection can be checked by clicking the show icon. Once the show icon is clicked, by clicking on any pin it would show the connected pins the clicked pin in bold font. It is very helpful to trace pins and check if all the parts are connected correctly.

Show Icon

Connected Pins

Checking Errors

After creating the schematic, the design should be checked if it has any errors. By clicking on the ERC icon a window should pop up showing any electrical errors.  Make sure that you have no errors befor going to the PCD layout part of designing.

ERC Icon

Training Material

Schematic Training

Further trainings on creating EagleCAD schematics can be found here:

PCB Layout Training

Training on the making of the layout version of the custom PCB can be found in this blog written by Charles Banuelos (MFG DM).

Eagle Cad Lecture series

Written by Charles Banuelos MFG DM

Table of Contents

Written 11/2/2017

The division has finished learning Eagle Cad. The first of the two tutorials covered moving of components in eagle cad along with switching to the PCB layout so that they may start to build. The second tutorial covered how to create traces and nets on the PCB. The lecture then covered what vias are and how to place them. The lecture followed with showing how that the use of both sides of the board which will make the designs of the PCB easier to come up with.  The lecture then went into how to use polygons. The part of the lecture that teaches polygons might be the most important of the whole lecture. The polygon function allows for the creation of power planes and ground planes. These planes can be a small square in the corner of the board or it can take up the whole board. The lecture continues with how to do DRC checks. The lecture then goes over how to get the .dru files from OSH park in order to use their checks so that the boards can be built. The lecture concludes with making the Gerber files. The lecture shows how to download OSH parks gerber file presets. This allows for all of the Division members to turn in the correct files to make their PCB’s.

 

 

 

Update 11/30/2017

The lectures below along with the quiz and supplemental material provided will be able to teach students how to create PCBs given they are already given the schematics.

EagleCad Training Part 1

-To start a New Project you must first either create a new schematic or open a schematic. To start a new schematic you first open eagle and then click on file in the upper left hand corner. Then click on new and then schematic. You will then be able to start populating the schematic work space.  To place parts you press on the add icon located on the left side of the work space.

This space is very extremely sensitive to both spelling as well as capitalization for parts.

To move the parts around the board you must press on the move button and then on the cross on each part to move the part. To rotate the components it is the same procedure but you must press the rotation button first.

To connect the part you use the line or net button. If you would like two lines to branch from a single point or come to a single point you must use the junction button in the lower left corner.

Once the schematic is deemed correct it is time to create the PCB.  To open an already existing schematic go to file and then open. This allows you to open the correct file.

To create the PCB one must click on file and then on the button switch to board. To populate the board it is the same operation as the schematic. To move the parts click on the move tool and on the cross on the part. You will then be able to drag the part to the desired location.

EagleCad Training Part 2

Once the board has been populated you be able to start creating traces. To create traces on the PCB the route tool on the left side of the work space must be used. To use this tool click on the route tool and then on the place you would like the trace to start.

It is common practice to always use 45 degrees when designing PCBs. To view the angle of being drawn click on the route tool and then at top of the page you will see the different possible angles available. To finish a trace click on the point you wish to end the trace.

 

To place parts on the bottom layer of the board the person placing the parts will need a mouse or will need to click on the mirror button. To place parts on the bottom layer with a mouse the user will have to click on the move button and then on the part. Once the part has been clicked on the person will click on the mouse wheel which will make the part turn blue which means that the part is on the bottom of the board. The mirror button will also be able to do the same thing in the PCB work space.

To run a trace to this part a via will need to be placed. The first way to place a via is too manually place the via using the via tool located towards the middle of the tool bar.

The second way to place a via to first run a trace to a certain point. The person will then click to stop the route but will still be able to draw a route. The user will go to the upper corner of the of the work space and click on the select layer drop down which is located next to the grid button. The user will select bottom layer which will create a via to which the top layer route will already be connected to. The user will then be able to continue the route in blue on the bottom of the board.

 

To remove an unwanted route the user must click on the rip up tool located next to the route tool.

To view all of the layers of the board you can click on the layers setting in the upper left corner of the work space.

To create polygons it is key to remember that  a polygon must start and end at the same point on the board. Polygons are useful in order to create power and ground planes for the whole board or specific portions of the board. Once created these can be moved or changed using the move tool. These polygons can be created on both the top and bottom layers using same layer selecting button. To name the polygon, the user must right click on the edge of the polygon and go to properties. The name of the polygon is case secretive and will be close to the bottom of the window. The naming of a polygon will allow for any part that is connected to that name to be automatically connected once the rat nest button on the bottom of the tool bar is collected. It is common practice to have either the whole top or bottom layer be power and the other layer be ground.

DRC checks are vital to completing a PCB layout. The DRC check used is the custom one made by Professor Hill. This DRC check is given below and should be the only one used because every fab house should be able to use this one. To use this DRC it will need to be downloaded and saved into the DRU files within the Eagle program. To perform a check click on the DRC check at the bottom of the tool bar. The user will then click on load and the correct DRC check. The user will then press the check button. This will generate an error report will have all of the errors of the PCB. The errors will need to be cleared for ordering of the board. It is also important to remember to turn on all layers before running the check.

 

The last thing that is needed to create gerber files. To create gerber files you first go to the fab house that you plan on ordering from and seeing if they have the job files pre-made for you. OSH park already has these made for you and are easily downloadable. These job files once downloaded will need to be saved into eagle and specifically into the cam folder. Once the job has been saved it is time to generate the files. To generate the files go to file and then cam processor.  Then go to file in the cam processor window and then open and then job. Click on the correct job and then make sure the files are being saved into the right area. To conclude the making of the Gerber files click on process job.  If the cam files are unavailable from the fab house you wish to use then the cam files must be created in accordance with fabrication houses rules. To create these jobs one must click on the layer needed along with the names and file type. This concludes with pressing add and must be done for each layer.

Quiz 

EagleCad Training Part 1

EagleCad Training Part 2

Extra Training Material Provided by Eagle on YouTube

DRC Checks 

 

 

 

Learn the basics on how to: Post to Github, Download from Github, and Upload Code to Arduino

By Tommy Sanchez

Typically instructions on posting repositories to Github can be a little confusing, the tutorial below can be used as a guide to hopefully get you posting quickly and without the confusion. The tutorial also shows how to go about downloading a Github file from any public repository. It’s useful to understand how to use Github, as robot communication code for Arxterra can be found on Github.

The Arxterra Gitub page is: https://github.com/arxterra. If you don’t know how to upload the code to Arduino this tutorial also gives a simple guide on how to do so.

Attachment Link:
GithubArduinoTutorial

 

 

Understanding the Communication between Your Arduino and Android Phone

By Tommy Sanchez

This guide will help you start communicating between your robot and an android phone. The topics covered are: how to connect your phone to the Arduino, the communication from phone to Arduino for commands for your robot, and communication from the Arduino to the phone for telemetry.  Make sure to view the Getting Up and Running tutorial, along with the one on Custom Commands beforehand. A link to the Arduino Code for communication is also found in this guide.

An important thing to note is that there are two ways of physically connecting your phone to the Arduino, which is explained on the guide. In efforts to check communication compatibility on your phone, please be sure to have both applications discussed on the Getting Up and Running tutorial installed on your phone. This will allow you to try both connection types if one of them doesn’t work for you.

Click on the link below to download the PowerPoint communications tutorial:

EE400DCommunicationCode

Get Up and Running With the Arxterra Control Panel & Android Applications

By Tommy Sanchez

If you are interested in controlling your robot with the Arxterra control panel, you have come to the right place. For your robot to be controlled through the control panel, you will need to have an Android phone for communication with your Arduino. This guide will show you how to create an account with Arxterra, get access to the alpha testing for the Arxterra applications, connect on the applications, and log in to the control panel. The provided link below will take you to an easy to follow step-by-step PowerPoint tutorial outlining these topics.

PowerPoint Tutorial:
http://www.csulb.edu/~hill/ee400d/Lectures/12_Arxterra%20Login.pptx