<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Factory Automation Software Blog &#187; Series</title>
	<atom:link href="http://factoryswblog.org/category/series/feed/" rel="self" type="application/rss+xml" />
	<link>http://factoryswblog.org</link>
	<description>Merging modern software development with electrons and metal</description>
	<lastBuildDate>Fri, 30 Jul 2010 00:00:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Eagle 3D PCBs with Alibre: Extruding the PCB</title>
		<link>http://factoryswblog.org/2010/06/29/eagle-alibre-extrude-pcb/</link>
		<comments>http://factoryswblog.org/2010/06/29/eagle-alibre-extrude-pcb/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 00:37:50 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[Creating a 3D PCB Model with Eagle and Alibre]]></category>
		<category><![CDATA[Alibre Design]]></category>
		<category><![CDATA[Eagle PCB]]></category>
		<category><![CDATA[fp-smc-1]]></category>

		<guid isPermaLink="false">http://factoryswblog.org/?p=543</guid>
		<description><![CDATA[I show step-by-step how I create a PCB in Alibre from an Eagle PCB board layout.]]></description>
			<content:encoded><![CDATA[<p><strong>Extruding the PCB &#8211; Overview<br />
</strong></p>
<p>The first step to a complete 3D PCB model is to create the PCB.  The basic approach is to export  a DXF outline of the PCB and its holes from Eagle PCB, import it into  Alibre, and then extrude it.  It&#8217;s not as easy as it sounds.</p>
<p>Alibre Design refuses to extrude sketches with any overlap.  AD V11 did not show where the errors are, but V12 does (this feature alone makes V12 worth the upgrade).</p>
<p>If your PCB border has a non-zero  width, Alibre will not extrude the PCB because the four corners  overlap.  For some reason, Alibre Design does not accept the way the standard Eagle DXF  script creates holes.</p>
<p>I did not have any success getting Alibre Design to extrude the  silkscreen or trace layers, nor was I able to overlay the silkscreen or  traces as a visible sketch on top the extruded PCB (maybe because Alibre  Design does not support surfacing).</p>
<p>When extruding, CoCreate PE is about as picky as Alibre, but (like AD V12) it highlights what it doesn&#8217;t like.  SolidWorks doesn&#8217;t have problems  extruding the standard Eagle DXF output.  VX Innovator is also less  picky; I have successfully extruded the silkscreen layer.</p>
<p>I made a couple quick and dirty changes to the standard Eagle DXF creation  ULP to fix the holes; the result is <a rel="nofollow" title="Download version 1.0 of dxf-fsw.ulp" href="http://factoryswblog.org/http//factoryswblog.org/download/Eagle-PCB/ulp/dxf-fsw.ulp">dxf-fsw.ulp</a>.</p>
<p><strong>Creating the PCB &#8212; Step By Step<br />
</strong></p>
<ol>
<li>Open your project in Eagle, then open the Eagle Board editor with your PCB layout.  I used the <a href="http://factoryswblog.org/category/series/making-an-interface-pcb/" target="_self">FP-SMC-1 project</a> as an example; you can download the files <a href="http://factoryswblog.org/download-page/" target="_self">here</a>.</li>
<li>Make sure your borders have a width of 0.</li>
<li>In the Eagle PCB board editor, turn on only the dimension, via, and pad   layers (layers 17, 18, and 20).
<div id="attachment_547" class="wp-caption aligncenter" style="width: 192px"><a href="http://factoryswblog.org/wp-content/uploads/2009/eagle-setlayers.png"><img class="size-medium wp-image-547   " title="Layers for DXF creation in Eagle" src="http://factoryswblog.org/wp-content/uploads/2009/eagle-setlayers-276x300.png" alt="Layers for DXF creation in Eagle" width="182" height="200" /></a><p class="wp-caption-text">Layers for DXF creation in Eagle</p></div>
<div id="attachment_546" class="wp-caption aligncenter" style="width: 310px"><a href="http://factoryswblog.org/wp-content/uploads/2009/eagle-dxflayers.png"><img class="size-medium wp-image-546" title="FP-SMC-1 in Eagle set for DXF creation" src="http://factoryswblog.org/wp-content/uploads/2009/eagle-dxflayers-300x216.png" alt="FP-SMC-1 in Eagle set for DXF creation" width="300" height="216" /></a><p class="wp-caption-text">FP-SMC-1 in Eagle set for DXF creation</p></div></li>
<li>In the Eagle PCB Board editor, run the <a rel="nofollow" title="Download version 1.0 of dxf-fsw.ulp" href="http://factoryswblog.org/http//factoryswblog.org/download/Eagle-PCB/ulp/dxf-fsw.ulp">dxf-fsw.ulp</a> ULP.
<ol>
<li>Select a file name for <em>Output file</em>; I used FP-SMC-1.dxf with the appropriate path for my Eagle PCB setup.</li>
<li>The <em>Always vector font</em>, <em>Use wire widths</em>, and <em>Fill areas</em> setting should not matter.</li>
<li>The units do matter: you need to know them when you import the DXF.  I used inches.</li>
<li>Then run the script by pressing <strong>OK</strong>.</li>
<li>You can download my resulting file here <a rel="nofollow" title="Download version 1.0 of FP-SMC-1.dxf" href="http://factoryswblog.org/http//factoryswblog.org/download/Eagle-PCB/FP-SMC-1/FP-SMC-1.dxf">FP-SMC-1.dxf</a>
<p><div id="attachment_551" class="wp-caption aligncenter" style="width: 310px"><a href="http://factoryswblog.org/wp-content/uploads/2009/eagle-rundxf.png"><img class="size-medium wp-image-551" title="Running the dxf-fsw ULP" src="http://factoryswblog.org/wp-content/uploads/2009/eagle-rundxf-300x232.png" alt="Running the dxf-fsw ULP" width="300" height="232" /></a><p class="wp-caption-text">Running the dxf-fsw ULP</p></div></li>
</ol>
</li>
<li>Close Eagle PCB.</li>
<li>Start Alibre Design.</li>
<li>Select the <strong>File-&gt;Import </strong>menu, select AutoCAD DXF files for the file type, select the file (in my case, <a rel="nofollow" title="Download version 1.0 of FP-SMC-1.dxf" href="http://factoryswblog.org/http//factoryswblog.org/download/Eagle-PCB/FP-SMC-1/FP-SMC-1.dxf">FP-SMC-1.dxf</a>), and press <strong>Open</strong>.
<ol>
<li><em>File Units</em> need to match the units you used when creating the DXF in Eagle (I used inches).</li>
<li>I don&#8217;t think <em>Maintain Projection</em> matters.</li>
<li>Importing Only Visible Layers makes sense.</li>
<li>Start importing by pressing <strong>OK</strong>.
<p><div id="attachment_554" class="wp-caption aligncenter" style="width: 241px"><a href="http://factoryswblog.org/wp-content/uploads/2009/alibre-import-dxf.png"><img class="size-full wp-image-554" title="Importing DXF into Alibre" src="http://factoryswblog.org/wp-content/uploads/2009/alibre-import-dxf.png" alt="Importing DXF into Alibre" width="231" height="174" /></a><p class="wp-caption-text">Importing DXF into Alibre</p></div></li>
</ol>
</li>
<li>Select the <strong>Sketch-&gt;Activate 2D Sketch</strong> menu  (or press Ctrl+K).</li>
<li>Select the <strong>Edit-&gt;Select All</strong> menu (or press Ctrl+A)</li>
<li>Select the <strong>Edit-&gt;Copy</strong> menu (or press Ctrl+C)</li>
<li>In the Alibre Home window select the <strong>File-&gt;New-&gt;Part</strong> (or press Ctrl+Shift+T)</li>
<li>Select the<strong> Sketch-&gt;Activate Sketch</strong> menu (or press Ctrl+K)</li>
<li>Select the plane to use for your new sketch.
<ol>
<li>You can name the sketch.  It&#8217;s not a big deal in a simple part, but I would recommend named sketches in a complex part.</li>
<li>I used the XY plane.  You can select the plane by either clicking on the plan in the work area, or clicking on the list of planes in the tree on the left (e.g. <em>Planes-&gt;XY Plane</em>).</li>
</ol>
</li>
<li>Select the <strong>Edit-&gt;Paste </strong>menu (or press Ctrl+V) to paste the DXF drawing into the sketch.
<ol>
<li>You could select and move the sketch around if desired.
<p><div id="attachment_556" class="wp-caption aligncenter" style="width: 310px"><a href="http://factoryswblog.org/wp-content/uploads/2009/alibre-pasted-dxf.png"><img class="size-medium wp-image-556" title="FP-SMC-1 DXF pasted onto the sketch" src="http://factoryswblog.org/wp-content/uploads/2009/alibre-pasted-dxf-300x216.png" alt="FP-SMC-1 DXF pasted onto the sketch" width="300" height="216" /></a><p class="wp-caption-text">FP-SMC-1 DXF pasted onto the sketch</p></div></li>
</ol>
</li>
<li>Select the <strong>Sketch-&gt;Activate Sketch</strong> menu (or press Ctrl+K) to deactivate the sketch mode.</li>
<li>Select Extrude Boss by menu (<strong>Feature-&gt;Boss-&gt;Extrude</strong>) or icon (typically the top right icon).
<ol>
<li>Verify the correct sketch is selected.</li>
<li>Use <strong>To Depth</strong> for <em>Type</em>.</li>
<li>Use your PCB thickness for depth (0.062&#8243; or 1/16&#8243; for me).</li>
<li>I reversed the extrude so the sketch is on top (probably doesn&#8217;t matter a lot).</li>
<li>Leave everything else with the default settings, except you may want to name the extrusion.</li>
<li>Start the extrusion by pressing <strong>OK</strong>.
<p><div id="attachment_557" class="wp-caption aligncenter" style="width: 310px"><a href="http://factoryswblog.org/wp-content/uploads/2009/alibre-ready-for-extrude.png"><img class="size-medium wp-image-557 " title="FP-SMC-1 ready for extrusion" src="http://factoryswblog.org/wp-content/uploads/2009/alibre-ready-for-extrude-300x216.png" alt="FP-SMC-1 ready for extrusion" width="300" height="216" /></a><p class="wp-caption-text">FP-SMC-1 ready for extrusion</p></div></li>
</ol>
</li>
<li>Save the PCB using the <strong>File-&gt;Save As</strong> menu (Ctrl+Shift+S); mine is available as <a rel="nofollow" title="Download version 1.0 of FP-SMC-1 PCB.AD_PRT" href="http://factoryswblog.org/http//factoryswblog.org/download/Eagle-PCB/FP-SMC-1/FP-SMC-1 PCB.AD_PRT">FP-SMC-1 PCB.AD_PRT</a>
<p><div id="attachment_559" class="wp-caption aligncenter" style="width: 310px"><a href="http://factoryswblog.org/wp-content/uploads/2009/alibre-pcb-extruded.png"><img class="size-medium wp-image-559" title="The extruded FP-SMC-1 PCB" src="http://factoryswblog.org/wp-content/uploads/2009/alibre-pcb-extruded-300x216.png" alt="The extruded FP-SMC-1 PCB" width="300" height="216" /></a><p class="wp-caption-text">The extruded FP-SMC-1 PCB</p></div></li>
<li>We are done creating the PCB itself.  Now we have to assemble the board inside of Alibre, so stay tuned.</li>
</ol>
<p>Here is the FP-SMC-1 PCB as an Acrobat 3D PDF; if a correct version of Acrobat is installed, you can click on the PCB, and then rotate it and more.</p>
<p>
			<object width="400"  height="320">
				<param name="movie" value="http://factoryswblog.org/wp-content/uploads/2009/FP-SMC-1_PCB.pdf#toolbar=0&amp;scrollbar=0&amp;navpanes=0"></param>

				<embed src="http://factoryswblog.org/wp-content/uploads/2009/FP-SMC-1_PCB.pdf#toolbar=0&amp;scrollbar=0&amp;navpanes=0"  width="400"  height="320"></embed>
			</object>
		
 <img src="http://factoryswblog.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=543" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://factoryswblog.org/2010/06/29/eagle-alibre-extrude-pcb/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Eagle 3D PCBs with Alibre: Overview and Alternatives</title>
		<link>http://factoryswblog.org/2010/06/05/eagle-3d-alibre-overview/</link>
		<comments>http://factoryswblog.org/2010/06/05/eagle-3d-alibre-overview/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 22:31:03 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[Creating a 3D PCB Model with Eagle and Alibre]]></category>
		<category><![CDATA[Alibre Design]]></category>
		<category><![CDATA[Eagle PCB]]></category>

		<guid isPermaLink="false">http://factoryswblog.org/?p=524</guid>
		<description><![CDATA[Start of series on creating a 3D model of a PCB using Eagle PCB and Alibre Design Standard.  I discuss why to do it, and list some alternative approaches.]]></description>
			<content:encoded><![CDATA[<p><strong>What Is This New Series About?</strong></p>
<p>I will create a 3D PCB model using Alibre Design  Standard V12 from an Eagle PCB project (I will be using the <a href="http://factoryswblog.org/tag/fp-smc-1/" target="_self">FP-SMC-1</a> an an example).  I will not cover every single little step in detail, but I plan on being complete and fairly detailed.</p>
<p>The same basic approach will also work with other MCAD programs; along the way I  will include some notes about other design software.</p>
<p><strong>Why Create A 3D Model?</strong></p>
<p>After all, the PCB fab houses want Gerbers, not STEP files.</p>
<p>A mechanical model can  be used many ways, including:</p>
<ul>
<li>Checking your PCB footprints (especially if you use STEP or IGES models from the manufacturer)</li>
<li>Check the mechanical layout of the PCB  and the fit of the PCB into a larger mechanical system.</li>
<li>As an input to simulation software, including thermal modeling.</li>
<li>To create a beautiful, accurate rendering of your PCB.
<ul>
<li>I will not be covering this.  In fact, Alibre Design Standard does not include photo-realistic renderings; you have to have Design Professional or Expert.</li>
</ul>
</li>
</ul>
<p><strong>Why Not Create a 3D Model?</strong></p>
<p>Creating a model can take a lot of time, although once you&#8217;re experienced and have models for all your common parts, the time should be reasonable.</p>
<p>If you want to be able to share your results widely (e.g. export to STEP files), it will cost some money for the necessary MCAD software.</p>
<p>Spending more money can save a lot of time; for example, if you create your parts correctly, you can use the <a href="http://www.google.com/search?q=Generate_3D_data.ulp" target="_self">Eagle 3D ULP</a> to create IDF files representing your board and its components.  Then using even more expensive MCAD software (such as SolidWorks + CircuitWorks), the MCAD software will use the information in the IDF files to automatically create a board model.</p>
<p>Since life isn&#8217;t perfect, the board might need some tweaking.  Also, I&#8217;ve read that Eagle&#8217;s IDF output sometimes needs some tweaking before the MCAD program likes it.</p>
<p>There are at least two programs for creating PCBs in Alibre using IDF files:</p>
<ul>
<li>Desktop EDA&#8217;s <a href="http://www.desktop-eda.com.au/products/AlibreIdf.htm" target="_self">Alibre IDF Modeler</a> ($395)</li>
<li><a href="http://www.idf-translator.de/" target="_self">IDF Translator</a> (German only)</li>
</ul>
<p>If you are creating a lot of PCBs at work, I would highly recommend looking at these programs.</p>
<p><strong>What If I Just Want A Pretty Picture?</strong></p>
<p>There are at least two free options for photo-realistic renderings with Eagle PCB:</p>
<ul>
<li>The original <a href="http://www.matwei.de/doku.php?id=en:eagle3d:eagle3d" target="_self">Eagle 3D</a> project which uses POV-Ray.</li>
<li>The new <a href="http://eagleup.wordpress.com/" target="_self">Eagle&#8217;up project</a> which uses Google Sketchup.</li>
</ul>
<p>There are some disadvantages to these programs:</p>
<ul>
<li>They are not useful for mechanical engineering (using the board as part of a larger MCAD model)</li>
<li>They do not have large part libraries, and the companies that do provide 3D models typically use STEP, IGES, or Acrobat 3D.
<ul>
<li>However, some file translation could help.  For example, if you can convert a STEP file into STL (which CoCreate PE can do for free IIRC), you can try using the<a href="http://www.xs4all.nl/~rsmith/software/#stl2pov" target="_self"> STL to POV conversion utility</a> for Eagle 3D.  You should be able to do something similar with Sketchup.</li>
</ul>
</li>
</ul>
<p><strong>Why Alibre Design and Eagle PCB?</strong></p>
<p>The short answer: because I have them and like them.  Both programs are reasonably affordable, and fairly popular.  I&#8217;d be happy to write about all the other options if I was well paid to do it!</p>
<p><strong>What Are Some Alibre/Eagle Limitations?</strong></p>
<p>So far I have found a few:</p>
<ol>
<li>Alibre Design Standard does not do photo-realistic renderings</li>
<li>I have not been able to get Alibre Design to handle PCB traces so far; I can&#8217;t extrude them (as produced by the current DXF exporter) and I can&#8217;t overlay them.
<ol>
<li>This could make it harder to model SMT PCBs; on through hole PCBs, it&#8217;s obvious where the parts go.</li>
</ol>
</li>
<li>Alibre Design Personal Edition (PE) is not usable, since it cannot import STEP files; the cheapest options are either Alibre Design Professional (about $500) or trying to see if you can still grab a copy of Alibre Design Standard (e.g. <a href="http://www.novedge.com/products/1558">Novedge still lists it for $185</a>)</li>
</ol>
<p><strong>Are There Other Affordable Options?</strong></p>
<p>If you want to create a solid model that you can export in STEP format, only other MCAD choice I know of that&#8217;s under $1000 and might work well is <a href="http://www.varicad.com/en/home/" target="_self">VariCAD</a>.  The other choices have various limitations, which I might discuss in another blog post.</p>
<p>Or you could use different PCB design software; some programs will do at least some 3D modeling.  For example, there is Altium at the higher end (about $4,000) and Target 3001 at the lower end.  KiCAD (open source) has some sort of 3D capability.</p>
<p>Target 3001 does look interesting, since prices range from <a href="http://server.ibfriedrich.com/wiki/ibfwikien/index.php?title=Editions_and_prices" target="_self">free to about 3,000 euros</a>, and it can export to STEP files.  Sometime in the not too distant future I hope to take a look at it.</p>
 <img src="http://factoryswblog.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=524" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://factoryswblog.org/2010/06/05/eagle-3d-alibre-overview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Bunch of Boards</title>
		<link>http://factoryswblog.org/2009/11/05/canopen-pcbs-and-more/</link>
		<comments>http://factoryswblog.org/2009/11/05/canopen-pcbs-and-more/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 01:08:01 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[CANOpen Adventures]]></category>
		<category><![CDATA[PCB]]></category>
		<category><![CDATA[CO-DB9-RJ45-2]]></category>
		<category><![CDATA[CO-HDR-RJ45]]></category>
		<category><![CDATA[CO-M12-RJ45]]></category>
		<category><![CDATA[CO-TB-RJ45]]></category>
		<category><![CDATA[fp-smc-1]]></category>

		<guid isPermaLink="false">http://factoryswblog.org/?p=412</guid>
		<description><![CDATA[First boards I've done - the assembled FP-SMC-1 board and four CANOpen adapter boards.]]></description>
			<content:encoded><![CDATA[<div id="attachment_415" class="wp-caption aligncenter" style="width: 289px"><a href="http://factoryswblog.org/wp-content/uploads/2009/First-PCBs.JPG"><img class="size-medium wp-image-415" title="First Batch of PCBs (assembled)" src="http://factoryswblog.org/wp-content/uploads/2009/First-PCBs-279x300.jpg" alt="First Batch of PCBs (assembled)" width="279" height="300" /></a><p class="wp-caption-text">First Batch of PCBs (assembled)</p></div>
<p>I&#8217;ve been slowly working on a bunch of PCBs, and the first batch is finally here.</p>
<p>In the coming weeks, I will discuss each board in more detail, fill in the trac pages, and add the Eagle PCB files to my subversion repository.  I will also cover any mistakes I find, and possible improvements.</p>
<p>The initial lineup consists of the:</p>
<ul>
<li>FP-SMC-1, which is finally here!  It&#8217;s a demo board designed to show how to design a custom PCB to replace typical control cabinet wiring.  It connects a Panasonic FP series PLC to a SMC pneumatic manifold.</li>
<li>CO-DB9-RJ45-2, designed to convert a CANOpen DB9 connector to dual RJ45 connectors.</li>
<li>CO-HDR-RJ45, designed to convert a CANOpen terminal block header to dual RJ45 connectors.</li>
<li>CO-M12-RJ45, designed to convert a CANOpen M12 connector to dual RJ45 connectors.</li>
<li>CO-TB-RJ45, designed to convert a CANOpen terminal block to dual RJ45 connectors.</li>
</ul>
 <img src="http://factoryswblog.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=412" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://factoryswblog.org/2009/11/05/canopen-pcbs-and-more/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cool Components III: Liquid Lens 2D Barcode Readers</title>
		<link>http://factoryswblog.org/2009/10/28/cool-components-iii-liquid-lens-2d-barcode-readers/</link>
		<comments>http://factoryswblog.org/2009/10/28/cool-components-iii-liquid-lens-2d-barcode-readers/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 17:01:11 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[Cool Components]]></category>
		<category><![CDATA[Barcode]]></category>
		<category><![CDATA[Cognex]]></category>
		<category><![CDATA[Datamatrix]]></category>
		<category><![CDATA[Microscan]]></category>

		<guid isPermaLink="false">http://factoryswblog.org/?p=389</guid>
		<description><![CDATA[New 2Dbarcode readers from Cognex and Microscan use liquid lenses, which could finally make them similar in performance to laser barcode scanners.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve used industrial barcode scanners a number of times, and they work well, especially the raster models.  The laser barcode scanners have a wide scan range and can handle a substantial amount of variation in label position.</p>
<p>My favorite  brand  is Microscan; I&#8217;ve also used other brands with good results.  The <a href="http://www.microscan.com/en-us/Products/ProductCategory/ProductDetails.aspx?id=3169">Microscan QX-870</a> is a typical  barcode scanner: it has 10 scan lines, can do 300 to 1400 scan/sec, has  a read range of 1&#8243; to 30&#8243;, can read all the normal 1D barcodes (UPC, Codabar, Code 39, Code 128, etc)  as well as the PDF417 and Micro PDF417 2D barcodes.</p>
<p>However, most 2D barcodes (such as the popular Datamatrix) need an area sensor.  In other words, you can&#8217;t use a laser scanner, you have to use a camera.  Now finding a lens that has a 29&#8243; depth of field (from 1&#8243; to 30&#8243;) is challenging.  Of course, the barcode reader could use autofocus, but with a normal lens, that adds a lot of complexity, cost, and still isn&#8217;t perfect.  One Microscan 2D barcode reader had a halfway solution: the reader could cycle through a preset set of focus positions until it found a good read.  I wasn&#8217;t impressed (although to be fair, I never tried that model).</p>
<p>To make matters worse, Datamatrix codes are often used in direct marked applications; for example, using a laser or ball-peen to create a barcode directly on a metal aircraft part.  Creating lighting that is affordable, compact, and can work on anything from a shipping box to a reflective metal part is hard.</p>
<p>I&#8217;ve thought for a long time that liquid lenses (now available from optical suppliers such as <a href="www.linos.com/pages/home/shop-optik/varioptic/" target="_self">Linos</a>) could solve the depth of field problem by allowing affordable and rapid autofocus.  Well, they&#8217;re here (and both claim to be &#8220;the first&#8221;): Cognex has the<a href="http://www.cognex.com/ProductsServices/IDProducts/default.aspx?id=178" target="_self"> Dataman 200 series</a>, and Microscan has the <a href="http://www.microscan.com/en-us/Products/ProductCategory/ProductDetails.aspx?id=4612" target="_self">QX Hawk </a>with liquid lens and modular zoom.</p>
<p>I think this is a big deal; for example, the QX Hawk claims a read range of 1&#8243; to infinity.  Unfortunately I don&#8217;t have any personal experience with either reader, but if I need to read 2D barcodes in the future, I will definitely check both out.</p>
 <img src="http://factoryswblog.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=389" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://factoryswblog.org/2009/10/28/cool-components-iii-liquid-lens-2d-barcode-readers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cool Components II: IDEC Flush Push Buttons</title>
		<link>http://factoryswblog.org/2009/07/10/idec-led-flush-pushbuttons/</link>
		<comments>http://factoryswblog.org/2009/07/10/idec-led-flush-pushbuttons/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 21:18:32 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[Cool Components]]></category>
		<category><![CDATA[Machine Design]]></category>
		<category><![CDATA[Buttons]]></category>
		<category><![CDATA[IDEC]]></category>

		<guid isPermaLink="false">http://factoryswblog.org/?p=283</guid>
		<description><![CDATA[Why I like IDEC's LW7L LED illuminated square flush push buttons.]]></description>
			<content:encoded><![CDATA[<div id="attachment_315" class="wp-caption aligncenter" style="width: 310px"><a href="http://factoryswblog.org/wp-content/uploads/2009/idec_lw7l.jpg"><img class="size-medium wp-image-315" title="IDEC LW7L Push Buttons" src="http://factoryswblog.org/wp-content/uploads/2009/idec_lw7l-300x69.jpg" alt="IDEC LW7L Push Buttons" width="300" height="69" /></a><p class="wp-caption-text">IDEC LW7L Push Buttons</p></div>
<p>Industrial style does matter.   That&#8217;s one reason I like IDEC&#8217;s LW7L flush mount pushbuttons.  Recently I was looking at some of our old equipment with Telemecanique pushbuttons that stick out over 5/8&#8243; &#8212; those buttons are functional, but look dated.</p>
<p>The LW family of buttons is extensive (well over 10,000 combinations are available), but the models I like are the  <a href="http://catalog.idec.com/usaf/datasheet.asp?PN=LW7L-M1C64MG&amp;FAM=switches_PBI&amp;P=2844,139,140,107,108,143,123,157,181" target="_self">LW7L-M1C64MG</a> and similar.  What is good about them?</p>
<ul>
<li>They only need a light touch to operate (lighter than some other IDEC push buttons such as the HW2L series)</li>
<li>High quality</li>
<li>Long life LED lights available in amber, green, red, blue, white, and yellow.</li>
<li>Powered directly by 24V (no resistors to worry about &#8212; I&#8217;ve destroyed LED lights from other companies).  6V, 12V, 120V, and 240V models are available, but I always use 24VDC.</li>
<li>They are easy to install.</li>
<li>The price is reasonable (around $30).  The Telemecanique buttons were much more expensive.   They aren&#8217;t the cheapest (e.g. the HW2L buttons are about $20), but I think the difference is well worth it because of the next point.</li>
<li>They look great, with the square shape and flush mounting.  The traditional round, stick out 22mm push button makes equipment look like a retro-encabulator from the 1950&#8217;s.  I consider the extra cost over the HW2L buttons a marketing expense.</li>
</ul>
<p>I also really like IDEC&#8217;s <a href="http://www.idec.com/usen/products/Catalogs/E-Stops/XW/overview.html" target="_self">XW series of E-STOP switches</a> &#8212; especially the models with a LED light.</p>
 <img src="http://factoryswblog.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=283" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://factoryswblog.org/2009/07/10/idec-led-flush-pushbuttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cool Components I: Industrial Piezo Motors</title>
		<link>http://factoryswblog.org/2009/06/05/cool-components-i-industrial-piezo-motors/</link>
		<comments>http://factoryswblog.org/2009/06/05/cool-components-i-industrial-piezo-motors/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 20:22:43 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[Cool Components]]></category>
		<category><![CDATA[piezo motor]]></category>

		<guid isPermaLink="false">http://factoryswblog.org/?p=265</guid>
		<description><![CDATA[I&#8217;ve discovered a lot of neat automation components over my decade plus doing system integration.  Unfortunately, I haven&#8217;t been able to use most of these products, but I&#8217;m starting a new series to highlight the most interesting ones.
Today&#8217;s focus is piezoelectric motors.
A piezoelectric material generates an electrical potential when stress is applied.  The reverse piezoelectric [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve discovered a lot of neat automation components over my decade plus doing system integration.  Unfortunately, I haven&#8217;t been able to use most of these products, but I&#8217;m starting a new series to highlight the most interesting ones.</p>
<p>Today&#8217;s focus is piezoelectric motors.</p>
<p>A <a href="http://en.wikipedia.org/wiki/Piezo_effect">piezoelectric material</a> generates an electrical potential when stress is applied.  The reverse piezoelectric effect is when applying an electrical potential creates a stress in the material, changing its size slightly (typically by 0.1% or less).  This change in shape can be used in several different ways to create motion.</p>
<p>I first heard about piezoelectric motors back in the 1980&#8217;s when Canon introduced the traveling wave ultrasonic motors with their EOS autofocus camera system.</p>
<p>The first industrial piezo motors I heard about where piezo actuators, which just use the change of size in the piezo material to create movement.  This motor type is highly accurate (&lt;1.0 nm), but the maximum move size is very small (typically &lt;100 micron, although I&#8217;ve seen up to 500 microns).   For longer moves, you have to combine a traditional stage with the piezo actuator.  A variety of companies make this motor type; the ones I think of first are <a href="http://www.physikinstrumente.com/">PI</a> (Karlsruhe, Germany) and <a href="http://www.madcitylabs.com/" target="_self">Mad City Labs</a> (Madison, WI, USA).</p>
<p>Then I heard about the <a href="http://www.nanomotion.com/">Nanomotion</a> (Yokneam, Israel).  Nanomotion motors work by driving a piezo leg against a ceramic plate in an ellipse at high frequency.  Their industrial motor capabilities include:</p>
<ul>
<li>The same motor can be used for linear or rotary motion (with circular drive strip).</li>
<li>When power is off, the motor holds the current position.</li>
<li>Travel up to 2000 mm, speeds of over 200mm/sec</li>
<li>Force up to 3.2 kg-f</li>
<li>Motor can be operated in DC (actuator) mode to provide nanometer level precision.</li>
<li>Good for some specialized applications, since the motors are non-magnetic, and vacuum-compatible versions are available.</li>
</ul>
<p>You must use a Nanomotion amplifier; analog input is standard,  but  a CANOpen interface is available (it&#8217;s more expensive, since it uses the same analog amplifiers internally).  The amplifiers generate the high voltages (around 300V IIRC) required to drive the motors.</p>
<p>Nanomotion also sells high precision linear and rotary stages.  The rotary stages start around US$5000; just a motor and drive combo is around $1000 (but as always, check with Nanomotion for exact pricing).  <a href="http://www.allmotion.com/EZPZ23-HR1description.htm">Allmotion</a> is now selling drives (controller and amp) for the Nanomotion HR series; pricing starts at $395.</p>
<p>A few years ago Nanomotion was acquired by Johnson Electric, a large Hong Kong-based manufacturer of motors and such, since Johnson Electric wanted to use their technology for cell phone camera modules.  Now Nanomotion produces small motors, zoom lenses modules, zoom camera modules, and custom driver ASICs, although you might need to be a high volume OEM to buy some of those products.</p>
<p>Next I heard about <a href="http://www.piezomotor.se" target="_self">Piezo Motor AB</a> (Uppsala, Sweden) which makes the Piezo LEGS and PiezoWave motors, which are also sold by Faulhaber (<a href="http://www.micromo.com/">MicroMo</a> in the US).  This <a href="http://www.faulhaber-group.com/n413492/n.html">Faulhaber link</a> gives a nice summary of the standard PiezoWave linear motor and Piezo Legs linear and rotary motors.</p>
<p>At Photonics West a few years ago, I discovered <a href="http://www.dti-piezotech.com/" target="_self">DTI Piezotech</a> (Sarasota, FL, USA) and <a href="http://www.newscaletech.com/" target="_self">New Scale Technology&#8217;s</a> (Victor, NY, USA) Squiggle motor.</p>
<p>The Squiggle motor works by creating ultrasonic vibrations that cause a nut to travel in or out.  They are oriented towards small, large volume applications.  New Scale&#8217;s standard motors range from 6mm travel and 0.3N force to 50mm travel and 5N force.</p>
<p>New Scale has an extensive product line, including standard motors, custom motors, driver ASICs, driver boards, development kits, USB control and driver,  standard stages, and magnetic position sensors.</p>
<p>New Scale has a <a href="http://shop.newscaletech.com/productcart/pc/viewcategories.asp">web store</a> that sells a variety of their products &#8212; I like it!</p>
<p>DTI Piezotech is part of <a href="http://www.discovtech.com/" target="_self">Discovery Technology International</a> which makes bioinstrumentation.  Their initial product was a rotary motor (the first I heard about); IIRC, initially they only sold the motor as part of a complete, high precision stage.  Now they have really broadened their product line, with a variety of sizes  of both linear and rotary motors.</p>
<p>Standard rotary motors range from 2 mM-m to 6 N-m force; linear motors go up to 50N-m and 1,000 mm/sec.  Like Nanomotion, DTI linear motors can also operate in actuator mode for ultra precise positioning.   I couldn&#8217;t find much information on their drivers, but they do have development kits, with controller boards, available.</p>
<p>One of my readers (thanks, Bob!) mentions yet another company, <a href="http://www.elliptec.com/">Elliptec</a> (Dortmund, Germany), with yet another approach (piezo controlled lever moving a gear seems like a decent description).</p>
<p>I took a quick look at <a href="http://piezo-motor.net/" target="_self">PI&#8217;s web site</a>; they now sell a broad range of piezo motors, including actuators, rotary motors, and linear motors.</p>
<p>Finally, while doing research for this post, I came across <a href="http://pcbmotor.com/" target="_self">PCB Motor</a> (Hillerod, Denmark) which makes parts that can assembled on PCBs to create motors on printed circuit board.  They have on-line ordering of their development kits.</p>
<p>BTW, the <a href="http://en.wikipedia.org/wiki/Piezo_motor" target="_self">wikipedia piezoelectric motor page</a> is pretty weak &#8211; it doesn&#8217;t cover most of the companies or approaches I cover.</p>
<p>I learned a lot writing this blog post &#8211; I hope you enjoy it!</p>
 <img src="http://factoryswblog.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=265" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://factoryswblog.org/2009/06/05/cool-components-i-industrial-piezo-motors/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Book Review: A Comprehensive Guide to Controller Area Network</title>
		<link>http://factoryswblog.org/2009/05/06/book-review-a-comprehensive-guide-to-can/</link>
		<comments>http://factoryswblog.org/2009/05/06/book-review-a-comprehensive-guide-to-can/#comments</comments>
		<pubDate>Thu, 07 May 2009 00:38:42 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[CANOpen Adventures]]></category>
		<category><![CDATA[Book Review]]></category>
		<category><![CDATA[CAN]]></category>
		<category><![CDATA[CANOpen]]></category>

		<guid isPermaLink="false">http://factoryswblog.org/?p=238</guid>
		<description><![CDATA[A Comprehensive Guide to Controller Area Network by Wilfried Voss, Copperhill Media, 2008.
Summary: 8.0/10,  recommended reading if you are developing systems using CAN or higher level protocols such as CANOpen.
The Guide is an affordable (&#60;$15) book on the low level details of the CAN protocol.  It covers in detail the different frame types (data, remote, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><em><a href="http://www.copperhillmedia.com/CANBook.html" target="_self">A Comprehensive Guide to Controller Area Network</a></em> by Wilfried Voss, Copperhill Media, 2008.</p>
<p style="text-align: left;">Summary: 8.0/10,  recommended reading if you are developing systems using CAN or higher level protocols such as CANOpen.</p>
<p style="text-align: left;">The <em>Guide</em> is an affordable (&lt;$15) book on the low level details of the CAN protocol.  It covers in detail the different frame types (data, remote, error, and overload), network arbitration, error detection and recovery, and data transfer synchronization.</p>
<p style="text-align: left;">The <em>Guide</em> points out undefined or ambiguous areas in the official specifications (Bosch, ISO, CiA), including updates based on experience (such as the CiA&#8217;s recommendation not to use remote frames).   The book concentrates on the base CAN protocol; it does not cover higher level protocols (such as CANOpen) in any detail, nor does it describe the specifics of CAN controllers or transceivers.</p>
<p style="text-align: left;">The book is well written; I&#8217;m an automation software developer, not a low level embedded developer, but I was able to follow the explanations without any major problems &#8212; I&#8217;d say it was easier to read than many software development books.</p>
<p>If all you want to do is get a basic CANOpen control system running, then you can skip this book.  But if you to truly understand CAN and what it can do, then I highly recommend reading both this book and <em><a href="http://factoryswblog.org/2008/02/21/review-embedded-networking-with-can-and-canopen/" target="_self">Embedded Networking with CAN and CANOpen</a>.</em> Here are some things I learned from the <em>Guide:</em></p>
<ul>
<li>How fast CAN really is  (data throughput, error recovery time, etc), including protocol overhead, for both standard and extended addressing.  Serial network protocols have a substantial overhead.</li>
<li>Termination resistors have be able to dissipate at least 220 mW.</li>
<li>Terminators should be at the network ends, not inside the CAN device.</li>
<li>The details of error counting and error frames.  I had been wondering what the Copley CMO library&#8217;s ErrorFrameCounter property really meant; now I know.</li>
<li>The meaning of the bit time segments  and how bit resynchronization works.  The Grid Connect (aka Acacetus) CAN-USB Light manual refers to the bit segments (sync_seg, prop_seg, phase_seg1, phase_seg2, SJW, etc) but didn&#8217;t explain them.  Now I understand bit segments.</li>
</ul>
<p>The <em>Guide</em>&#8217;s network topology recommendation (straight line topology with minimal stub lines with terminators at the ends) match what I already do.  I was happy to see the correct recommendation for shielded cables (connect the shield at one end only).</p>
<p>I do have some small nitpicks and suggestions for improvement:</p>
<ul>
<li>The book is repetitive; the exact same explanations with the same diagrams appear multiple times, as do various notes and warnings.  I find this annoying when reading the book straight through; however, overall, it&#8217;s probably good &#8212; when using the book as a reference, I want relevant warnings in the section I&#8217;m using, not just in one place in the book.</li>
<li>The diagrams could be better explained; there is no key to explain the dark black lines (high line only means that field is always recessive; low line only means the field is always dominant; both high and low lines means field can be either depending on the message &#8212; maybe that&#8217;s obvious to hardware guys).</li>
<li>The diagrams could be clearer: a bit larger with more contrast.</li>
<li>OK, the book isn&#8217;t a comprehensive guide to CAN transceivers.  But I would have appreciated some warnings about common physical layer gotchas.</li>
</ul>
 <img src="http://factoryswblog.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=238" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://factoryswblog.org/2009/05/06/book-review-a-comprehensive-guide-to-can/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CANOpen Adapters</title>
		<link>http://factoryswblog.org/2009/04/30/canopen-db9-rj45-adapters/</link>
		<comments>http://factoryswblog.org/2009/04/30/canopen-db9-rj45-adapters/#comments</comments>
		<pubDate>Fri, 01 May 2009 00:36:20 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[CANOpen Adventures]]></category>
		<category><![CDATA[AMC]]></category>
		<category><![CDATA[CANOpen]]></category>
		<category><![CDATA[DB9]]></category>
		<category><![CDATA[RJ45]]></category>

		<guid isPermaLink="false">http://factoryswblog.org/?p=235</guid>
		<description><![CDATA[Prototype design for converting a CANOpen DB9M connector to 2 RJ45 connectors.]]></description>
			<content:encoded><![CDATA[<p>I am working on a series of CANOpen cable adapters.  For example, here is a model of a DB9 to dual RJ45  adapter:</p>
<div id="attachment_236" class="wp-caption aligncenter" style="width: 295px"><a href="http://factoryswblog.org/wp-content/uploads/2009/co-db9-rj45-2-top.png"><img class="size-medium wp-image-236" title="co-db9-rj45-2-top" src="http://factoryswblog.org/wp-content/uploads/2009/co-db9-rj45-2-top-285x300.png" alt="CANOpen DB9/dual RJ45 adapter" width="285" height="300" /></a><p class="wp-caption-text">CANOpen DB9/dual RJ45 adapter</p></div>
<p>I made sure it will work well with AMC DX15C08 Digiflex drives to convert the DX15C&#8217;s DB9M to two RJ45s.  The Phoenix header (in green) is for supplying power to the DX15C&#8217;s isolators.  Since I will probably make some more changes (for one, I don&#8217;t think there is room to screw the adapter&#8217;s DB9F to a DB9M), I am not posting the design files yet.</p>
 <img src="http://factoryswblog.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=235" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://factoryswblog.org/2009/04/30/canopen-db9-rj45-adapters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making a Single Prototype PCB</title>
		<link>http://factoryswblog.org/2009/03/18/making-a-single-prototype-pcb/</link>
		<comments>http://factoryswblog.org/2009/03/18/making-a-single-prototype-pcb/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 00:26:40 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[Making an Interface PCB]]></category>
		<category><![CDATA[PCB]]></category>

		<guid isPermaLink="false">http://factoryswblog.org/?p=225</guid>
		<description><![CDATA[Challenges of getting one PCB proto board made; most suppliers are only affordable for at least 2-3 boards.]]></description>
			<content:encoded><![CDATA[<p>I recommend<a href="http://www.protoexpress.com/" target="_self"> Sierra Proto Express</a> for making automation PCBs.  So far, I&#8217;ve had five different boards made at Sierra, including a larger 4 layer board, and have been very happy with the results.  Their pricing is competitive, the quality is excellent, and there are fewer limitations (e.g. drill sizes, non-plated holes) than many of their competitors.</p>
<p>However, when I am paying the bill, Sierra is not a good choice when I only want 1 board made or have a small board.  At Sierra, 1 PCB might cost about $85, and 3 PCBs about $110.  For small quantities, the cost does not vary much with board size (for example, a 6 sq in board costs the same as a 18 sq in board).</p>
<p>I haven&#8217;t found a great solution yet. I want all my boards to have top and bottom soldermasks and a top silkscreen, so &#8220;bare bones&#8221; boards (no soldermask or silkscreen) isn&#8217;t an option.  Besides, I don&#8217;t think the bare bones savings are large enough.</p>
<p>I do plan on making multiples of some personal boards (mainly some CANOpen-related boards), but for some boards, such as the FP-SMC-1, I only want one board (unless, of course, I can get multiple quality boards done for the same price as the cheapest price for one quality board).</p>
<p>The best solution so far is <a href="http://www.batchpcb.com/" target="_self">Batch PCB</a>, which is run by SparkFun; the PCBs are made in China by <a href="http://www.goldphoenixpcb.biz/index.php" target="_self">Gold Phoenix</a>.  Batch PCB charges $2.50 per square inch plus $10 for 2 layer PCBs; typically delivery is supposed to be 2-3 weeks (longer than I  like, but I can live with it for my personal boards).  The FP-SMC-1 PCB would cost about $40 at Batch ((4.32 * 2.83 * 2.50) + 10 = 40.56).</p>
<p>Another choice would be to use Gold Phoenix directly and panelize (combine multiple boards into one order).  Gold Phoenix only makes sense for orders of 155 sq in or more.  They will panelize for an extra fee ($30 IIRC).  So I am going to finish up some other PCBs first, then decide how to get all the boards made.  Given the boards&#8217; design specifics, it may not make sense to panelize, but at least I want to check and see if this is a better option.</p>
 <img src="http://factoryswblog.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=225" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://factoryswblog.org/2009/03/18/making-a-single-prototype-pcb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FP-SMC-1 PCB Layout Is Done</title>
		<link>http://factoryswblog.org/2009/03/18/fp-smc-1-layout-3d-pcb-model/</link>
		<comments>http://factoryswblog.org/2009/03/18/fp-smc-1-layout-3d-pcb-model/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 19:59:25 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[Making an Interface PCB]]></category>
		<category><![CDATA[CoCreate]]></category>
		<category><![CDATA[Eagle PCB]]></category>
		<category><![CDATA[fp-smc-1]]></category>

		<guid isPermaLink="false">http://factoryswblog.org/?p=215</guid>
		<description><![CDATA[Finished FP-SMC-1 PCB design.  Board views.  Outline of creating 3D board model using Eagle PCB and CoCreate PE.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<div id="attachment_218" class="wp-caption aligncenter" style="width: 310px"><a href="http://factoryswblog.org/wp-content/uploads/2009/board.png"><img class="size-medium wp-image-218" title="3D Model Top View" src="http://factoryswblog.org/wp-content/uploads/2009/board-300x211.png" alt="3D Model Top View" width="300" height="211" /></a><p class="wp-caption-text">3D Model Top View</p></div>
<p style="text-align: left;">It&#8217;s designed!  After taking way too much time, I have finally finished the layout for my <a href="http://factoryswblog.org/category/series/making-an-interface-pcb/" target="_self">FP-SMC-1 board</a>.  Here&#8217;s the proof: above is a 3-D model of the board; below are pictures of the layout and the board model from the bottom.</p>
<div id="attachment_219" class="wp-caption aligncenter" style="width: 310px"><a href="http://factoryswblog.org/wp-content/uploads/2009/fp-smc-1-board.png"><img class="size-medium wp-image-219" title="PCB Layout" src="http://factoryswblog.org/wp-content/uploads/2009/fp-smc-1-board-300x201.png" alt="PCB Layout" width="300" height="201" /></a><p class="wp-caption-text">PCB Layout</p></div>
<p style="text-align: center;">
<div id="attachment_217" class="wp-caption aligncenter" style="width: 310px"><a href="http://factoryswblog.org/wp-content/uploads/2009/pcb-bottom.png"><img class="size-medium wp-image-217" title="PCB Bottom View" src="http://factoryswblog.org/wp-content/uploads/2009/pcb-bottom-300x160.png" alt="PCB Bottom View" width="300" height="160" /></a><p class="wp-caption-text">PCB Bottom View</p></div>
<p>The board hasn&#8217;t been built yet, because I wanted to model it first, and I haven&#8217;t found a good place to get one-off prototype PCBs made.</p>
<p>Creating the board model was challenging, but worth it, because it gives me more confidence that my board layout is correct.  I use the 3-D model to check:</p>
<ol>
<li>That my PCB footprints are correct.  Look at the picture of the board bottom, and notice how all the pins line up with the holes.  (This check relies on correct 3-D models from the manufacturer.  If you create 3-D models yourself, it&#8217;s possible for you to make a mistake in the model, but the manufacturer&#8217;s models should be correct).</li>
<li>That my board dimensions are correct and the PCB will fit into the holder.</li>
<li>That my component layout makes sense.  Look at the far left of the board top view picture, and notice that there is clearance between the connectors and the little plastic tabs on the PCB holder that stick out into the board area.</li>
</ol>
<p>I will go over making the model in detail later, but what I did was roughly:</p>
<ol>
<li>In Eagle PCB board layout, turn on only the dimension, via, and pad layers (layers 17, 18, and 20)</li>
<li>In Eagle PCB board layout, use a ULP to create DXF of the pads, vias, and dimensions.
<ol>
<li>Eagle includes DXF.ULP to create DXFs.  However, this file does not produce DXFs that can be used to extrude a through-hole board.  To get DXFs that CoCreate can extrude, I had to modify DXF.ULP and then delete and re-create the board outline using DoubleCAD.</li>
</ol>
</li>
<li>Import the DXF file into CoCreate and extrude it to 0.062&#8243;.</li>
<li>Import models of all the components (fortuneately, all the parts have STEP models available from the manufacturer).</li>
<li>Assemble (using mates) all the components onto the PCB</li>
<li>Assemble the PCB holder</li>
<li>Mate the PCB to the PCB holder.</li>
</ol>
<p>It sounds so easy, but mechanical CAD software has a high learning curve, just like PCB software.  However, if you&#8217;re a software guy, don&#8217;t be scared &#8212; I&#8217;m primarily a software guy, and if I can figure out how to make a PCB and then model it, then you can too.</p>
<p>I was originally planning on doing a series of blog posts on the FP-SMC-1 PCB covering just the automation-related aspects of the project, and not covering the details of using the tools (such as Eagle PCB).  However, after I looked at various Eagle PCB tutorials, I decided that none of them explained Eagle the way I think it should be explained.  I did not find any tutorials on making mechanical 3-D models.</p>
<p>So I have decided to write up a lengthy tutorial on how to design and make the FP-SMC-1 board.  The tutorial will be on my Trac site, since I think Trac is better suited for a lengthy tutorial, but I will blog here about my progess (hint: don&#8217;t expect the tutorial to be done quickly).</p>
 <img src="http://factoryswblog.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=215" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://factoryswblog.org/2009/03/18/fp-smc-1-layout-3d-pcb-model/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
