Difference between revisions of "Eagle"

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search
(Designing circuits with Eagle)
(adding svg files)
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
See version in Icelandic [[Eagle kennsluefni]]  
 
See version in Icelandic [[Eagle kennsluefni]]  
  
[[Image:Eagle-SchematicMenu.jpg|right|Eagle-SchematicMenu.jpg]]  
+
[[Image:eagle_layout.png|right|x400px|eagle_layout.png]]
 +
[[:File:eagle_layout_svg.svg]]
 +
 
 +
 
  
 
== Download and install Eagle ==
 
== Download and install Eagle ==
  
 
*[http://www.cadsoftusa.com/download.htm Download Eagle]
 
*[http://www.cadsoftusa.com/download.htm Download Eagle]
 +
 +
=== Linux 64-bit ===
 +
Eagle requires a 32-bit environment which may or may not be installed in linux yet.<br />
 +
I have taken the step to istall the following libraries prior to running the eagle.run file from [http://blog.raek.se/2012/01/06/running-cadsoft-eagle-version-6-in-ubuntu-gnulinux/ here]
 +
<pre>sudo apt-get install ia32-libs lib32z1 lib32z1-de</pre>
 +
After this eagle installed without a problem.
 +
 +
=== Linux alt-click / alt-drag moving the window problem ===
 +
The newer Linux window managers tend to use the alt-click or alt-drag combinations to move or re-size windows. This prevents us from using that same key in both Blender and Eagle.
 +
 +
tip about using alt-grid on ubuntu:
 +
*http://www.thomasso.com/2014/05/03/changing-keyboard-short-cuts-in-ubuntu-14-04-to-work-with-blender-2-70/#sthash.EoyaD0aa.dpbs<br />
 +
but also look into changing this behavior from the regular window manager. (as it is apparently not a keyboard shortcut...)
 +
 +
For Linux Mint 17, the following trick was used:
 +
*http://forums.linuxmint.com/viewtopic.php?f=90&t=108974#p660925
  
 
== Designing circuits with Eagle  ==
 
== Designing circuits with Eagle  ==
 +
 +
[[File:eagle_tool_commands.png|right|eagle_tool_commands.png]]
 +
  
 
Open Eagle  
 
Open Eagle  
Line 15: Line 37:
  
 
Open library  
 
Open library  
 +
turn off all libraries, right click use none:
 +
scroll down to supply
 +
enable
 +
*fab.lbr
 +
*supply1.lbr
 +
*rcl.lbr
 +
*led.lbr
 +
*v-reg.lbr
  
 
*Open library, click '''Use'''  
 
*Open library, click '''Use'''  
 
*Download from the internet a library or select on in the computer the library that we will be using (e.g.
 
*Download from the internet a library or select on in the computer the library that we will be using (e.g.
*http://academy.cba.mit.edu/2012/labs/providence/tutorials/Downloads/eagle_libraries.zip http://academy.cba.mit.edu/2012/labs/providence/tutorials/Downloads/eagle_libraries.zip
+
*fab.lbr[http://fabacademy.org/archives/2014/tutorials/electronics/fab.lbr]
fab.lbr[http://fab.cba.mit.edu/content/tools/circuits/pcb_design/fab.lbr] or the one from Sparkfun.lbr ([http://www.opencircuits.com/SFE_Footprint_Library_Eagle] version 2011 ( [https://github.com/sparkfun/SparkFun-Eagle-Library/blob/master/SparkFun.lbr?raw=true right click on this link, save link as])
+
 
 +
*or the one from Sparkfun.lbr ([http://www.opencircuits.com/SFE_Footprint_Library_Eagle] version 2011 ( [https://github.com/sparkfun/SparkFun-Eagle-Library/blob/master/SparkFun.lbr?raw=true right click on this link, save link as])
  
 
*Select'''Add''', then you can open the library  
 
*Select'''Add''', then you can open the library  
 
**(if you don't find your thing you could also click on "Use")  
 
**(if you don't find your thing you could also click on "Use")  
*Open NG.lib library for Fab Lab projects.
 
  
 
<br> [http://www.cadsoftusa.com/Tour/tour00.htm Tour for the Eagle on CadSoft site]  
 
<br> [http://www.cadsoftusa.com/Tour/tour00.htm Tour for the Eagle on CadSoft site]  
  
 
<br>  
 
<br>  
 +
[[:File:tool_comads_eagle_svg.svg]]
 +
==Starting new projects==
 +
*File -> New Project
 +
*File -> New Schematic
 +
*File -> Save As (filename.sch)
  
 
*Select the things you want to use and click '''Add''' to get the components.  
 
*Select the things you want to use and click '''Add''' to get the components.  
 +
 
*You can select different view by clicking on '''Board'''  
 
*You can select different view by clicking on '''Board'''  
*You can select object by rightclicking them and selecting packning  
+
*You can select object by right clicking them and selecting packning  
*Connect objecs by clicking '''Wire''' and make wire between objects.  
+
*Connect objects by clicking '''Wire''' and make wire between objects.  
 
*It can be good to make connections and get a sign for Ground and put where it should be GND.
 
*It can be good to make connections and get a sign for Ground and put where it should be GND.
  
*View '''Grid''' select the size of the grid, it should be around (0,025 inches)  
+
 
 +
===Board view===
 +
*View '''Grid''' select the size of the grid, alternative grid could be around (0,025 inches)  
 
*'''Move''' to move object or line.  
 
*'''Move''' to move object or line.  
 
*'''Delete''' to remove object or line and so on.  
 
*'''Delete''' to remove object or line and so on.  
 
*'''Junction''' Connection point .  
 
*'''Junction''' Connection point .  
 +
*'''Ratsnest''' Calculates calculate the airwires so that they show the shortest possible connections.
 +
 
**You can right click objects and select '''value''' to set values e.g. for capacitors or resistors  
 
**You can right click objects and select '''value''' to set values e.g. for capacitors or resistors  
 
**Right click on object and select '''properties''' to rename.  
 
**Right click on object and select '''properties''' to rename.  
 
**You can check out if you have connected the object by moving them.
 
**You can check out if you have connected the object by moving them.
  
*'''ERC''' Error correction, search for errors.
+
*'''ERC''' Electrical rule check, search for errors.
  
=== Arrange objects ===
+
====Arrange objects====
 +
A tip for arranging objects
 +
*Start with data signals, and do your power signals (GND and VCC the last).
  
 
Add  
 
Add  
 +
 +
Check the design rules.
 +
*Tools ->DRC -> Load-> Check
  
 
*'''Frame''' to make frame around the design.  
 
*'''Frame''' to make frame around the design.  
Line 57: Line 102:
  
 
<br>
 
<br>
 +
 +
View-> Layer settings ->
 +
*All ->Ok ( to check out if everything is within the board, also the layers that are not visible.
 +
*None ->
 +
and the turn on the layers you want to have.
 +
 +
*File -> Export image
 +
**resolution: 1200 dpi
 +
**Area: Full
 +
*Monochrome: check.
  
 
== Info about Circuits ==
 
== Info about Circuits ==
Line 76: Line 131:
  
 
*Download libraries  
 
*Download libraries  
**NG.lbr[http://fab.cba.mit.edu//about/fab/dist/ng.lbr]
+
**fab.lbr[http://fabacademy.org/archives/2014/tutorials/electronics/fab.lbr]  
**the one from Sparkfun.lbr ([http://www.opencircuits.com/SFE_Footprint_Library_Eagle] version 2011 ( [https://github.com/sparkfun/SparkFun-Eagle-Library/blob/master/SparkFun.lbr?raw=true right click on this link, save link as])
+
 
**[http://www.mikrocontroller.net/attachment/68243/atmel-new.lbr atmel-new.lbr, Attiny 44 library]
 
**[http://www.mikrocontroller.net/attachment/68243/atmel-new.lbr atmel-new.lbr, Attiny 44 library]
  
 
=== Materials used ===
 
=== Materials used ===
  
*IC1 = ATtiny44_SOIC('IC1\nt44') -&gt; see in atmel-new.lbr  
+
*IC1 = ATtiny44_SOIC('IC1\nt44') -&gt; see in fab.lbr
*R1 = R_1206('R1\n10k') -&gt; See in ng.lbr  
+
*R1 = R_1206('R1\n10k') -&gt; See in fab.lbr
*C1 = C_1206('C1\n1uF') -&gt; sparkfun.lbr  
+
*C1 = C_1206('C1\n1uF') -&gt; fab.lbr
*XTAL = Crystal 20 MHz -&gt; search for crystal in ng.lbr  
+
*XTAL = Crystal 20 MHz -&gt; search for crystal in fab.lbr
*FTDI connector (6 pin) -&gt;search for ftdi in ng.lbr  
+
*FTDI connector (6 pin) -&gt;search for ftdi in fab.lbr
*Header (2*3 pin) -&gt; search for isp in sparkfun.lbr
+
*Header (2*3 pin) -&gt; search for isp in fab.lbr
  
 
== Links  ==
 
== Links  ==
  
 
*[http://www.cadsoftusa.com/Tour/tour00.htm Eagle Tour]  
 
*[http://www.cadsoftusa.com/Tour/tour00.htm Eagle Tour]  
 +
*[http://www.cadsoft.de/wp-content/uploads/tutorial-7.1_en.pdf Eagle Tutorial 7.1]
 
*[http://perso.numericable.fr/pboucheny/eagle3d/e_genpov.htm HOW TO GENERATE POV-RAY FILES WITH EAGLE]  
 
*[http://perso.numericable.fr/pboucheny/eagle3d/e_genpov.htm HOW TO GENERATE POV-RAY FILES WITH EAGLE]  
 
*[http://www.matwei.de/doku.php?id=en:eagle3d:eagle3d Eagle 3D]  
 
*[http://www.matwei.de/doku.php?id=en:eagle3d:eagle3d Eagle 3D]  
Line 101: Line 156:
 
*[http://www.youtube.com/watch?v=qG0O9LKH-_E Cadsoft EagleCad Tutorial on Youtube]
 
*[http://www.youtube.com/watch?v=qG0O9LKH-_E Cadsoft EagleCad Tutorial on Youtube]
  
[[Category:Software]]
+
[[Category:Tutorials]]  [[Category:Software]]

Latest revision as of 18:25, 26 February 2016

See version in Icelandic Eagle kennsluefni

eagle_layout.png

File:eagle_layout_svg.svg


Download and install Eagle

Linux 64-bit

Eagle requires a 32-bit environment which may or may not be installed in linux yet.
I have taken the step to istall the following libraries prior to running the eagle.run file from here

sudo apt-get install ia32-libs lib32z1 lib32z1-de

After this eagle installed without a problem.

Linux alt-click / alt-drag moving the window problem

The newer Linux window managers tend to use the alt-click or alt-drag combinations to move or re-size windows. This prevents us from using that same key in both Blender and Eagle.

tip about using alt-grid on ubuntu:

but also look into changing this behavior from the regular window manager. (as it is apparently not a keyboard shortcut...)

For Linux Mint 17, the following trick was used:

Designing circuits with Eagle

eagle_tool_commands.png


Open Eagle

  • Select New Project
  • Select New Schematic

Open library turn off all libraries, right click use none: scroll down to supply enable

  • fab.lbr
  • supply1.lbr
  • rcl.lbr
  • led.lbr
  • v-reg.lbr
  • Open library, click Use
  • Download from the internet a library or select on in the computer the library that we will be using (e.g.
  • fab.lbr[1]
  • SelectAdd, then you can open the library
    • (if you don't find your thing you could also click on "Use")


Tour for the Eagle on CadSoft site


File:tool_comads_eagle_svg.svg

Starting new projects

  • File -> New Project
  • File -> New Schematic
  • File -> Save As (filename.sch)
  • Select the things you want to use and click Add to get the components.
  • You can select different view by clicking on Board
  • You can select object by right clicking them and selecting packning
  • Connect objects by clicking Wire and make wire between objects.
  • It can be good to make connections and get a sign for Ground and put where it should be GND.


Board view

  • View Grid select the size of the grid, alternative grid could be around (0,025 inches)
  • Move to move object or line.
  • Delete to remove object or line and so on.
  • Junction Connection point .
  • Ratsnest Calculates calculate the airwires so that they show the shortest possible connections.
    • You can right click objects and select value to set values e.g. for capacitors or resistors
    • Right click on object and select properties to rename.
    • You can check out if you have connected the object by moving them.
  • ERC Electrical rule check, search for errors.

Arrange objects

A tip for arranging objects

  • Start with data signals, and do your power signals (GND and VCC the last).

Add

Check the design rules.

  • Tools ->DRC -> Load-> Check
  • Frame to make frame around the design.
  • Arrange objects
  • click Auto
    • Select Bottom N/A

If it is not as good as you wanted you can select lines, by right clicking them and select rip off


View-> Layer settings ->

  • All ->Ok ( to check out if everything is within the board, also the layers that are not visible.
  • None ->

and the turn on the layers you want to have.

  • File -> Export image
    • resolution: 1200 dpi
    • Area: Full
  • Monochrome: check.

Info about Circuits

  • TX transmit
  • DTR data terminal ready
  • Rx Recieve
  • Miso -master in slave out
  • Mosi master out slave in
  • sck system clock
  • MOSI (3) GND (2) MISO (1) |
  • -RESET (4) SCK (5)

Project 1

  • First project could be to make schematic of this board and to add something to it, add (at least) a button and LED (with current-limiting resistor) to the serial echo hello-world board, check the design rules, and make it

Materials used

  • IC1 = ATtiny44_SOIC('IC1\nt44') -> see in fab.lbr
  • R1 = R_1206('R1\n10k') -> See in fab.lbr
  • C1 = C_1206('C1\n1uF') -> fab.lbr
  • XTAL = Crystal 20 MHz -> search for crystal in fab.lbr
  • FTDI connector (6 pin) ->search for ftdi in fab.lbr
  • Header (2*3 pin) -> search for isp in fab.lbr

Links

http://fab.cba.mit.edu/classes/MIT/863.10/people/dimitris.papanikolaou/Assignment_6.html

Videos