Fablogo

Week 6 - Electronics Design

Assignment:

This week assignment is about learning how to design and fabricate a PCB from scratch using Eagle. The Art of Electronics is a great reference book for any component or Electrical circuit design. And a good source for DataSheet's of components is Octopart, you will need to visit the data sheet of certain components so you may know how to connect it or certain values. If you still not sure Google it!

Importante Electronics Concepts and Formulas

Concepts:

Relation between Current, Voltage and Resistance

Formulas:

Eagle CAD:

This was the first time I was using Eagle through the whole process from design to prototyping. And to learn this new tool I followed this two tutorials.


There is two ways to intereact with eagle:

Eagle command line - basic commands:

Editing Schematic (Schematic design):

Before using Eagle we had to add the Fab Library of components that contains the Electrical parts that are presente in the Lab. We did it by Importing the library file to the Eagle Folder; Local Dik(:C); in the"Program Files"; Eagle; lbr(add fab.lbr)

Fab Library Now we are ready to start designing circuits in Eagle, we begin by Starting a New Project:

Fab Library

NOTE: I have renamed the libraries with a 01_ before the name of the library, so that they show up at the beginning of the "Add" list when adding new components.

Eagle Schematic Editor

  1. Start by adding all the components that you will need for your board:
  2. Add Component

  3. The Libraries list appears, look for the desired library you are going to choose the parts from. And then look for the part in the library, you can also use the search bar to look for the part. Wildcard - "*name of part*" this matches one or more characters
  4. Search Component

    Search Component

  5. Two ways of connecting the Components:
    1. Wire every connection
    2. Wire components

    3. Label with the same name of the desired connections on both sides- make a wire and then give it a name and after that label it , this will make a virtual connection between the Components
    4. Name Wire

      Same Name

      Label Wire

  6. Introduce the Value of the component
  7. Value of Component

Eagle Board Editor:

In the Board editor it is importante to change the grid settings.You can adjust the granularity of the grid, by clicking on the GRID icon. If you need finer control, hold down ALT on your keyboard to access the alternate grid, which is defined in the Alt box

Grid Definition

  1. Click in the "Generate/Switch to Board - This will open a new working area
  2. Eagle Board Mode

  3. Use the "Show" command to know which connection in the "Board" mode represents in the "Schematic" Mode so you may organise it the best as possible
  4. Make the connections between your components using the "Route" tool, follow the logic of your schematics, its a good idea to start from the "island" components you made in the schematic. Connect the yellow lines
  5. Route Traces In the end your board should look something like this, resize and play around with the traces so it becomes as small as possible.

    Final Result

Check your board for milling clearance and Mistakes:

Ratsnest : The first check is to make sure you’ve actually routed all of the nets in your schematic. To do this, hit the RATSNEST icon and then immediately check the bottom left status box. If you’ve routed everything, it should say “Ratsnest: Nothing to do!” In the command line write "drc" and go to "Clearence" and write the diameter of the mill that you are going to use, this will check if the spaces between your traces are wide enough so the mill can pass without destroying a trace. In our case its a 1/64 inch (0.4mm) milling bit.

Drc Settings If there is a mistake a window will pop up with the location of the bad trace.

Clearence error

Tips and Tricks:

Exporting the board and prepare it on Gimp to be milled:

Remember: the Fabmodules cuts out the DARK and leaves white!

GIMP:

Milling and Soldering the Board

This is the Final result after milling and soldering.