<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>DIY-Central.com - Go Create something! - PCB Design, Electronics - Eagle CAD</title>
    <link>http://www.diy-central.com/</link>
    <description>Electronics, PCB, Audio, Recording, Studio - Build, Create, Hacks</description>
    <language>en-us</language>
    <copyright>DIY-Central.com</copyright>
    <lastBuildDate>Wed, 28 Jul 2010 19:59:14 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>info@fivefish.net</managingEditor>
    <webMaster>info@fivefish.net</webMaster>
    <item>
      <trackback:ping>http://www.diy-central.com/Trackback.aspx?guid=ff182fb7-c558-4b95-8fb5-b9ad9a10c851</trackback:ping>
      <pingback:server>http://www.diy-central.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.diy-central.com/PermaLink,guid,ff182fb7-c558-4b95-8fb5-b9ad9a10c851.aspx</pingback:target>
      <dc:creator>DIY-Central.com Administrator</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <span class="postbody">This is my workflow
when designing a new Eagle part library. 
<br /><br />
I like to buy the part beforehand, if possible. This gives me the chance to touch
it and visually inspect the part and verify that the part dimensions match the working
drawings from the manufacturer. 
<br /><br />
If working drawings from the manufacturer are not available, I use my digital caliper
to make detailed dimensions of the part outline, and pin spacing and pin diameters. 
<br /><br />
If official PDF working drawings/datasheet are available, I use it though. Trust,
but Verify. 
<br /><br />
Today, we're creating an Eagle part library for a switch. 
<br /><br />
Opening the datasheet, we look for the part dimensions. 
<br /><img src="http://farm5.static.flickr.com/4149/4836218483_111ff83ee5_o.jpg" border="0" /><br /><br />
In this case, we also take note of the switch positions, to see which terminals are
connected depending on the switch position (up or down). 
<br /><br /><img src="http://farm5.static.flickr.com/4153/4836218489_2a9e9c48f5_o.jpg" border="0" /><br /><br />
Next step is creating the schematic symbol for the part. In this case, an SPDT switch. 
<br /><br />
We also add "pins" to the schematic symbol. I use a "point" when defining pins on
the schematic symbol. 
<br /><br />
I also like to match the "pin numbers" with the actual pin numbers used by the manufacturer....
makes life simpler. 
<br /><br /><img src="http://farm5.static.flickr.com/4148/4836828722_e4d614dbe1_o.jpg" border="0" /><br /><br />
Next, is creating the physical outline of the part. This is the FUN part for me. I
like to make the part looking as authentic as possible. We also take care that we're
following the part dimensions specified by the manufacturer. Don't forget to check
pin spacings, and most importantly... pin DIAMETER. Since the PCBs will have plated
through holes, I make the pad diameters just a hair-thin slightly bigger. 
<br /><br />
To make working easier, make sure to set your snaps and grid to 0.05" square, and
0.01" for the fine grid spacing. 
<br /><br />
And make sure holes/pads are centered on each "snap." 
<br /><br /><img src="http://farm5.static.flickr.com/4130/4836828746_c36bc30b9a_o.jpg" border="0" /><br /><br />
Make a print out your part and overlay the real part against your "printed part outline."
Check if the holes, dimensions are correct and aligned. You may need several passes
to get this right if you don't have official working drawings and just relying on
caliper measurements. 
<br /><br />
If everything looks good, then we proceed to the next step. 
<br /><br />
Now, we tie together (match) the pin#s we created in the schematic symbol with the
actual pin#s in the part outline. 
<br /><br />
This is also a good time to enter a part description field. I try to include Mouser
or Digikey part #s in the description. 
<br /><br /><img src="http://farm5.static.flickr.com/4133/4836218549_807ae7408a_b.jpg" border="0" /><br /><br />
Next step is I try to use the new part library in a test schematic. 
<br /><br />
I want to verify that when I connect other components to this new part, that the correct
pins correspond with the PCB design. 
<br /><br />
This is a good time to catch any errors you've made in pin-matching. 
<br /><br />
Here's our test schematic. R1 is connected to terminal #1 of the switch, R2 connected
to terminal #2 and R3 connected to terminal #3. 
<br /><br /><img src="http://farm5.static.flickr.com/4112/4836828788_365240a7fe_o.jpg" border="0" /><br /><br />
Then we switch to the Board Layout view and verify that it's correct. 
<br /><br /><img src="http://farm5.static.flickr.com/4150/4836218685_0ea5023b57_o.jpg" border="0" /><br /><br />
And we see that everything is OK. The pin #s in the schematic match the pin#s in the
board layout. 
<br /><br /></span>
        <span class="postbody">In Eagle, the text "&gt;NAME" and "&gt;VALUE" are special.
Eagle will substitute these text with the actual part name and part value in your
schematic. 
<br /><br />
So in the symbol editor, let's add these text. Put the "&gt;NAME" in the NAMES layer
and put "&gt;VALUE" in the VALUES layer. 
<br /><br /><img src="http://farm5.static.flickr.com/4086/4837347583_5e73ab835a_b.jpg" border="0" /><br /><br />
In the Device Editor, click the Prefix button. Enter a prefix text. 
<br /><br /><img src="http://farm5.static.flickr.com/4126/4837352753_cd67f006e6_b.jpg" border="0" /><br /><br />
Since this is a switch, we could use the prefix "SW" or "S". Now when you add multiple
parts in your schematic, it will be renamed "SW1", "SW2", "SW3".... (Of course, you
need to have "&gt;NAME" present in the symbol, see step above.)<br /><br /></span>
        <span class="postbody">
          <br />
And we're done.</span>
        <img width="0" height="0" src="http://www.diy-central.com/aggbug.ashx?id=ff182fb7-c558-4b95-8fb5-b9ad9a10c851" />
      </body>
      <title>This Is My Workflow When Designing A New Eagle Part Library I Like To Buy The Part Before</title>
      <guid isPermaLink="false">http://www.diy-central.com/PermaLink,guid,ff182fb7-c558-4b95-8fb5-b9ad9a10c851.aspx</guid>
      <link>http://www.diy-central.com/ThisIsMyWorkflowWhenDesigningANewEaglePartLibraryILikeToBuyThePartBefore.aspx</link>
      <pubDate>Wed, 28 Jul 2010 19:59:14 GMT</pubDate>
      <description>&lt;span class="postbody"&gt;This is my workflow when designing a new Eagle part library. 
&lt;br&gt;
&lt;br&gt;
I like to buy the part beforehand, if possible. This gives me the chance to touch
it and visually inspect the part and verify that the part dimensions match the working
drawings from the manufacturer. 
&lt;br&gt;
&lt;br&gt;
If working drawings from the manufacturer are not available, I use my digital caliper
to make detailed dimensions of the part outline, and pin spacing and pin diameters. 
&lt;br&gt;
&lt;br&gt;
If official PDF working drawings/datasheet are available, I use it though. Trust,
but Verify. 
&lt;br&gt;
&lt;br&gt;
Today, we're creating an Eagle part library for a switch. 
&lt;br&gt;
&lt;br&gt;
Opening the datasheet, we look for the part dimensions. 
&lt;br&gt;
&lt;img src="http://farm5.static.flickr.com/4149/4836218483_111ff83ee5_o.jpg" border="0"&gt; 
&lt;br&gt;
&lt;br&gt;
In this case, we also take note of the switch positions, to see which terminals are
connected depending on the switch position (up or down). 
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://farm5.static.flickr.com/4153/4836218489_2a9e9c48f5_o.jpg" border="0"&gt; 
&lt;br&gt;
&lt;br&gt;
Next step is creating the schematic symbol for the part. In this case, an SPDT switch. 
&lt;br&gt;
&lt;br&gt;
We also add "pins" to the schematic symbol. I use a "point" when defining pins on
the schematic symbol. 
&lt;br&gt;
&lt;br&gt;
I also like to match the "pin numbers" with the actual pin numbers used by the manufacturer....
makes life simpler. 
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://farm5.static.flickr.com/4148/4836828722_e4d614dbe1_o.jpg" border="0"&gt; 
&lt;br&gt;
&lt;br&gt;
Next, is creating the physical outline of the part. This is the FUN part for me. I
like to make the part looking as authentic as possible. We also take care that we're
following the part dimensions specified by the manufacturer. Don't forget to check
pin spacings, and most importantly... pin DIAMETER. Since the PCBs will have plated
through holes, I make the pad diameters just a hair-thin slightly bigger. 
&lt;br&gt;
&lt;br&gt;
To make working easier, make sure to set your snaps and grid to 0.05" square, and
0.01" for the fine grid spacing. 
&lt;br&gt;
&lt;br&gt;
And make sure holes/pads are centered on each "snap." 
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://farm5.static.flickr.com/4130/4836828746_c36bc30b9a_o.jpg" border="0"&gt; 
&lt;br&gt;
&lt;br&gt;
Make a print out your part and overlay the real part against your "printed part outline."
Check if the holes, dimensions are correct and aligned. You may need several passes
to get this right if you don't have official working drawings and just relying on
caliper measurements. 
&lt;br&gt;
&lt;br&gt;
If everything looks good, then we proceed to the next step. 
&lt;br&gt;
&lt;br&gt;
Now, we tie together (match) the pin#s we created in the schematic symbol with the
actual pin#s in the part outline. 
&lt;br&gt;
&lt;br&gt;
This is also a good time to enter a part description field. I try to include Mouser
or Digikey part #s in the description. 
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://farm5.static.flickr.com/4133/4836218549_807ae7408a_b.jpg" border="0"&gt; 
&lt;br&gt;
&lt;br&gt;
Next step is I try to use the new part library in a test schematic. 
&lt;br&gt;
&lt;br&gt;
I want to verify that when I connect other components to this new part, that the correct
pins correspond with the PCB design. 
&lt;br&gt;
&lt;br&gt;
This is a good time to catch any errors you've made in pin-matching. 
&lt;br&gt;
&lt;br&gt;
Here's our test schematic. R1 is connected to terminal #1 of the switch, R2 connected
to terminal #2 and R3 connected to terminal #3. 
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://farm5.static.flickr.com/4112/4836828788_365240a7fe_o.jpg" border="0"&gt; 
&lt;br&gt;
&lt;br&gt;
Then we switch to the Board Layout view and verify that it's correct. 
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://farm5.static.flickr.com/4150/4836218685_0ea5023b57_o.jpg" border="0"&gt; 
&lt;br&gt;
&lt;br&gt;
And we see that everything is OK. The pin #s in the schematic match the pin#s in the
board layout. 
&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;&lt;span class="postbody"&gt;In Eagle, the text "&amp;gt;NAME" and "&amp;gt;VALUE" are special.
Eagle will substitute these text with the actual part name and part value in your
schematic. 
&lt;br&gt;
&lt;br&gt;
So in the symbol editor, let's add these text. Put the "&amp;gt;NAME" in the NAMES layer
and put "&amp;gt;VALUE" in the VALUES layer. 
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://farm5.static.flickr.com/4086/4837347583_5e73ab835a_b.jpg" border="0"&gt; 
&lt;br&gt;
&lt;br&gt;
In the Device Editor, click the Prefix button. Enter a prefix text. 
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://farm5.static.flickr.com/4126/4837352753_cd67f006e6_b.jpg" border="0"&gt; 
&lt;br&gt;
&lt;br&gt;
Since this is a switch, we could use the prefix "SW" or "S". Now when you add multiple
parts in your schematic, it will be renamed "SW1", "SW2", "SW3".... (Of course, you
need to have "&amp;gt;NAME" present in the symbol, see step above.)&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;&lt;span class="postbody"&gt; 
&lt;br&gt;
And we're done.&lt;/span&gt;&lt;img width="0" height="0" src="http://www.diy-central.com/aggbug.ashx?id=ff182fb7-c558-4b95-8fb5-b9ad9a10c851" /&gt;</description>
      <category>DIY;PCB;Eagle CAD;PCB Design</category>
    </item>
  </channel>
</rss>