Difference between revisions of "Eagle Tips"

From PaparazziUAV
Jump to navigation Jump to search
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
===Printing Schematics, PCBs, and BOMs from Eagle===
The [http://www.cadsoftusa.com Eagle] CAD drawings and schematics are available from the [[Downloads]] page.  A freeware version of Eagle program is available for Linux or Windows that allows for viewing and printing the hardware files.


These instructions are so far to reflect Windows Version as the author did not have access to the Linux version at the time of writing.
== Printing Schematics ==


===Printing Schematic===
Paparazzi schematics were drawn to print on an A4 sheet which is 210mm x 297mm (8.26in x 11.7in).  North America uses the Letter size of 8.5in x 11in and will print fine onto two Letter sheets but it is more convenient to print onto a single Letter sized sheet.  Below are instructions for how to do this.
'''From Windows:'''
With the schematic open go to File -> Print and you will see the print dialog
 
[[Image:Eagle-print-win32.png]]
 
Under STYLE, check off ROTATE, BLACK, and SOLID
 
Scale Factor is the important setting and you will want to put 0.65.  If it cuts too much off, try lowering this number by 0.1 each time.
 
Under sheets check off ''select all'' to print all of the schematic pages 'or' select ''This'' to print the schematic page you were currently looking at.
 
== Gerbers ==
The format generally accepted by PCB manufacturers is called gerber and is a collection of individual files representing each layer or aspect of the PCB. The gerber files can be produced using the CAM processor of Eagle.  The commands needed for this operation in Linux are contained in the Makefile of the hw directory, and thus typing ''make gerber'' from this directory will produce a set of gerbers.
 
The Makefile can also be used to get the CAM processor to generate printable documents for the schematics and implantation of parts (pdf and postcript) . Typing ''make printable'' in the hw directory should do the trick.
 
== Panels ==
[[Image:panel.jpg|thumb|Example panel]]
If you're going to have PCBs manufactured, you'll probably want to fit several boards on a sheet.  This is called a panel. The paparazzi3/hw/panel directory contains a makefile and some config files that will allow you to do that. It uses the [http://claymore.engineer.gvsu.edu/~steriana/Python/gerbmerge/ gerbmerge] program. See how to install on ubuntu [http://blog.bhargavaz.us/2009/05/installing-gerbmerge-on-ubuntu-linux.html gerbmerge install]. The [http://gerbv.sourceforge.net/ gerbv] program will allow you to check your results.
 
After completing the ''layout.cfg'' and ''layout.def'' files in the panel directory, all you have to do is type ''make _panel''. Then, to view the result, ''make _view''
<br style="clear:both">
 
== 3D views ==
[[Image:tiny_3d_rendering.jpg|thumb|Eagle 3D rendering]]
3-D renderings can be produced using the [http://www.matwei.de/doku.php?id=en:eagle3d:eagle3d eagle3d] script and the [http://www.povray.org/ povray] raytracer.  A copy of this script and associated povray libraries are in the paparazzi3/hw/ulp and paparazzi/hw/povray.
 
To produce such a view from the eagle board view click the ulp button and select the paparazzi3/hw/ulp/3d41.ulp script. The script will produce a file usable by povray. Have the script put the generated file in the paparazzi3/hw/povray directory. Then in this directory, issue the following command ''povray tiny.pov'' to have povray generate the image.
<br style="clear:both">
 
[[Category:Hardware]] [[Category:Software]] [[Category:Developer_Documentation]]

Latest revision as of 13:38, 17 January 2016

The Eagle CAD drawings and schematics are available from the Downloads page. A freeware version of Eagle program is available for Linux or Windows that allows for viewing and printing the hardware files.

Printing Schematics

Paparazzi schematics were drawn to print on an A4 sheet which is 210mm x 297mm (8.26in x 11.7in). North America uses the Letter size of 8.5in x 11in and will print fine onto two Letter sheets but it is more convenient to print onto a single Letter sized sheet. Below are instructions for how to do this. From Windows: With the schematic open go to File -> Print and you will see the print dialog

Eagle-print-win32.png

Under STYLE, check off ROTATE, BLACK, and SOLID

Scale Factor is the important setting and you will want to put 0.65. If it cuts too much off, try lowering this number by 0.1 each time.

Under sheets check off select all to print all of the schematic pages 'or' select This to print the schematic page you were currently looking at.

Gerbers

The format generally accepted by PCB manufacturers is called gerber and is a collection of individual files representing each layer or aspect of the PCB. The gerber files can be produced using the CAM processor of Eagle. The commands needed for this operation in Linux are contained in the Makefile of the hw directory, and thus typing make gerber from this directory will produce a set of gerbers.

The Makefile can also be used to get the CAM processor to generate printable documents for the schematics and implantation of parts (pdf and postcript) . Typing make printable in the hw directory should do the trick.

Panels

Example panel

If you're going to have PCBs manufactured, you'll probably want to fit several boards on a sheet. This is called a panel. The paparazzi3/hw/panel directory contains a makefile and some config files that will allow you to do that. It uses the gerbmerge program. See how to install on ubuntu gerbmerge install. The gerbv program will allow you to check your results.

After completing the layout.cfg and layout.def files in the panel directory, all you have to do is type make _panel. Then, to view the result, make _view

3D views

Eagle 3D rendering

3-D renderings can be produced using the eagle3d script and the povray raytracer. A copy of this script and associated povray libraries are in the paparazzi3/hw/ulp and paparazzi/hw/povray.

To produce such a view from the eagle board view click the ulp button and select the paparazzi3/hw/ulp/3d41.ulp script. The script will produce a file usable by povray. Have the script put the generated file in the paparazzi3/hw/povray directory. Then in this directory, issue the following command povray tiny.pov to have povray generate the image.