<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="en">
<title>Spiff&apos;s Electronics Notebook</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/" />
<modified>2008-06-26T20:45:48Z</modified>
<tagline></tagline>
<id>tag:spiffie.org,2008:/electronics/1</id>
<generator url="http://www.movabletype.org/" version="3.32">Movable Type</generator>
<copyright>Copyright (c) 2008, spiffed</copyright>
<entry>
<title>Introducing the DuinoStamp</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/hardware/Introducing the DuinoStamp.html" />
<modified>2008-06-26T20:45:48Z</modified>
<issued>2008-06-26T20:40:31Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.77</id>
<created>2008-06-26T20:40:31Z</created>
<summary type="text/plain"> After working in collaboration with Justin Wyatt on his idea for a stamp-sized Freeduino, I&apos;m pleased to introduce the DuinoStamp. It&apos;s a convenient breakout board allowing you to easily embed an Arduino compatible environment into your project. The same...</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Hardware</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p><img src="http://www.spiffie.org/kits/duinostamp/assemble/16_place_atmega.jpg" alt="" title="" /></p>

<p>After working in collaboration with Justin Wyatt on his idea for a stamp-sized Freeduino, I'm pleased to introduce the <a href="http://www.spiffie.org/kits/duinostamp/">DuinoStamp</a>. It's a convenient breakout board allowing you to easily embed an Arduino compatible environment into your project. The same size as a 34-pin 0.600" DIP, it's easy to incorporate into bread-boards, perf-board, or PCBs. It contains all the components and connections you need, without including costly and large extras.</p>

<p>Head over to it's <a href="http://www.spiffie.org/kits/duinostamp/">instructions</a> or buy one below.
   <table width="" border="1" valign="bottom">
     <tr>
       <th>Full Kit</th>
       <th>Board Only</th>
     </tr>
     <tr>
       <td><script src="http://spiffie.org/store/embed.php?products_id=29"></script>       </td>
       <td><script src="http://spiffie.org/store/embed.php?products_id=30"></script>       </td>
     </tr>
   </table></p>
]]>


</content>
</entry>
<entry>
<title>New URL - store.fundamentallogic.com</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/store_news/New URL - store.fundamentallogic.com.html" />
<modified>2008-06-26T07:19:51Z</modified>
<issued>2008-06-26T07:13:21Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.76</id>
<created>2008-06-26T07:13:21Z</created>
<summary type="text/plain">Finishing our storefront move, we&apos;ve changed our URL to http://store.fundamentallogic.com. All the old links will continue working, but you&apos;ll be magically transported to the correct page on the new URL....</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Store_News</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p>Finishing our storefront move, we've changed our URL to <a href="">http://store.fundamentallogic.com</a>. All the old links will continue working, but you'll be magically transported to the correct page on the new URL.</p>
]]>


</content>
</entry>
<entry>
<title>Summer Time</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/store_news/Summer Time.html" />
<modified>2008-06-11T20:08:19Z</modified>
<issued>2008-06-11T20:06:21Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.75</id>
<created>2008-06-11T20:06:21Z</created>
<summary type="text/plain">Just a reminder, Fundamental Logic is closed from June 14th until June 22nd. Any orders received during this period will be shipped starting June 23rd. We do, however, have several cool kits ready to launch when we return and lots...</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Store_News</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p>Just a reminder, Fundamental Logic is closed from June 14th until June 22nd. Any orders received during this period will be shipped starting June 23rd.</p>

<p>We do, however, have several cool kits ready to launch when we return and lots more in the pipe!</p>
]]>


</content>
</entry>
<entry>
<title>New PCBs and Yellow Soldermask</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/hardware/New PCBs and Yellow Soldermask.html" />
<modified>2008-05-22T18:20:24Z</modified>
<issued>2008-05-22T17:58:37Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.74</id>
<created>2008-05-22T17:58:37Z</created>
<summary type="text/plain"> A panel with 5 fresh new products just arrived from Gold Phoenix. Firstly a comment on the yellow solder mask: Black, Blue, and Green are my staple solder mask colours, but it&apos;s nice to branch out sometimes and I...</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Hardware</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p><script src="/script/flickrnotes.php?2513475599"></script>
A panel with 5 fresh new products just arrived from Gold Phoenix.</p>

<p>Firstly a comment on the yellow solder mask: Black, Blue, and Green are my staple solder mask colours, but it's nice to branch out sometimes and I went with a yellow mask for this order. My initial impression is that it looks OK on the copper portions of the board, but the masked bare laminate is unimpressive. While it adds variety to the lineup, it definitely looks cheap compared to even the green mask (which is cheaper) and very cheap compared to a blue or black mask. I'm left with a single-sided paper-laminate feeling.</p>

<p>The new projects are, clockwise from the top left:</p>

<ul>
<li>A thermistor based high/low temperate tracker for the -5&deg;c to 30&deg;c range.</li>
<li>A 555 based high-voltage (48V to 250V) switch-mode boost supply.</li>
<li>An NCP1400 based 5V step-up controller. I'm not sure if I'll push this design for kitting.</li>
<li>The 3.3V version of the popular <a href="http://spiffie.org/kits/ft232">FT232 USB to TTL converter</a>.</li>
<li>A constant current controller. When hooked between a load and ground, this allows you to set a particular maximum current level regardless of supply voltage or load variances. This is ideal for loading SMPS, LEDs, Laser diodes, etc.</li>
</ul>
]]>


</content>
</entry>
<entry>
<title>Arduino and Freescale MPX Pressure sensors</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/microcontrollers/Arduino and Freescale MPX Pressure sensors.html" />
<modified>2008-04-29T06:52:26Z</modified>
<issued>2008-04-29T05:10:07Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.70</id>
<created>2008-04-29T05:10:07Z</created>
<summary type="text/plain"> Freescale makes a range of integrated pressure sensors with 0-5V analog outputs, in a vast array of configurations. Today, I&apos;ve picked the MPXV5010DP, but you should be able to adapt this to a range of sensors....</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Microcontrollers</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p><script src="/script/flickrnotes.php?2450564775"></script></p>

<p><a href="http://www.freescale.com/">Freescale</a> makes a range of <a href="http://www.freescale.com/webapp/sps/site/taxonomy.jsp?nodeId=01126990368716">integrated pressure sensors with 0-5V analog outputs</a>, in a vast array of configurations. Today, I've picked the <code>MPXV5010DP</code>, but you should be able to adapt this to a range of sensors.</p>
]]>
<![CDATA[<h3>Physical wizardry</h3>

<p>This sensor uses a <code>SNSR 8pin Dual Port</code> format, which is like a gull-wing DIP package with two ports poking out. While the gull-wing SMD package is excellent for volume assembly, it's hard to prototype; conveniently, the leads are spaced 0.100" apart, or exactly the same as standard through-hole parts.</p>

<p><script src="/script/flickrnotes.php?2451391410"></script></p>

<p>By straightening the leads with some pliers, I was able to fit them into a pair of 4 pin female machined-headers (you may find the cheaper folded-leaf/spring variant harder to work with). Using a solder-paste with a lower melting point then the plastic headers, I assembled some legs for my sensor.</p>

<h3>Connecting</h3>

<p><img src="/electronics/archives/2008/04/29/Small%20Outline%20Pinout.png" alt="" title="" /></p>

<p>From <a href="http://www.freescale.com/files/sensors/doc/data_sheet/MPX5010.pdf?pspll=1">the datasheet</a> we're blessed with the pin-out on page #1. If you're having trouble orienting yourself, pin #1had a little notch in it, or just follow the picture below.</p>

<p><script src="/script/flickrnotes.php?2451391696"></script></p>

<p>Here I'm connecting the sensor to my <a href="http://spiffie.org/kits/iDuino">iDuino</a>. Pin 1 is unconnected. Pin 2 connects to +5. Pin 3 connects to Analog #0, Pin 4 connects to Ground. Pins 5,6,7, and 8 are unconnected. Obviously you could do this on a proto-sheild atop a regular Arduino or Freeduino.</p>

<h3>Calculating the resolution.</h3>

<p>To calculate the real-world value returned by the AtoD converter, we need to know three things: the AtoD reference voltage (a), the AtoD resolution (b), the sensor's output sensitivity (c). Once we know these three things, we can plug them into the formula (below) to calculate the number of pascals/bit.</p>

<p><img src="/electronics/archives/2008/04/29/equation.png" alt="" title="" /></p>

<h4>The AtoD Reference Voltage (a)</h4>

<p>In the below code, I'm using the 1.1V reference, but you're free to use either the 5V reference or your own external reference. (If you follow along, <code>a=1.1</code>)</p>

<h4>The AtoD Resolution (b)</h4>

<p>The Atmega168 has a 10bit AtoD converter, giving us 2^10=1024 possible values. (<code>b=1024</code>)</p>

<h4>The Sensor's Output Sensitivity</h4>

<p><img src="/electronics/archives/2008/04/29/Sensitivity.png" alt="" title="" /></p>

<p>Again from <a href="http://www.freescale.com/files/sensors/doc/data_sheet/MPX5010.pdf?pspll=1">the datasheet</a> we find the sensor's sensitivity to be 450mV/kPa or 0.450V/kPa. (<code>c=0.45</code>)</p>

<h4>Calculating the resolution</h4>

<p>Given our 1.1V reference, 1024 unique AtoD values, and 0.450V/kPa resolution, we come up with a formula like this <code>(1.1 volts / 1024) / (450 millivolts/kilopascal) in kilopascal</code>. Working out to about <code>0.00238715278 kilopascal/value</code> or <code>2.38715278 pascals/value</code>.</p>

<h3>Writing some code</h3>

<h4>Theory</h4>

<p>The basic premise is simple, we sample Analog #0, we multiply by the resolution, and we get a number in pascals. Sadly, there's one final detail, the sensor has some offset voltage, so 0 pascals actually occurs at around 0.6V. To compensate for this, the software stores the offset value and subtracts it from all readings. For longevity, this value is stored and read from EEPROM. (To set the offset, open both sensor ports to free air, wait for the sensor to stabalize, and send a 'c' over the serial port.)</p>

<p>The sketch outputs the number of applied pascals and the sample number.</p>

<h4>Code</h4>

<p><p>#include &lt;<span style="color: rgb(204, 102, 0);">EEPROM</span>.h&gt; <br> <br> <span style="color: rgb(119, 119, 85);">// Reading from a MPX5010 sensor </span> <br> <span style="color: rgb(119, 119, 85);">// by Kevin Bralten &lt;<a href="http://spiffie.org%3E" target="_blank">http://spiffie.org&gt;</a> </span> <br> <br> <span style="color: rgb(153, 102, 0);">int</span> offset=0; <br> <br> <span style="color: rgb(204, 102, 0);">void</span> <span style="color: rgb(153, 51, 0);"><b>setup</b></span>() <br> { <br>  <span style="color: rgb(153, 102, 0);">Serial</span>.<span style="color: rgb(153, 102, 0);">begin</span>(9600); <br> <br>  <span style="color: rgb(119, 119, 85);">//setup the offset value and print it for reference</span> <br>  offset=<span style="color: rgb(204, 102, 0);">EEPROM</span>.<span style="color: rgb(153, 102, 0);">read</span>(0); <br>  offset&lt;&lt;=8; <br>  offset|=<span style="color: rgb(204, 102, 0);">EEPROM</span>.<span style="color: rgb(153, 102, 0);">read</span>(1); <br>  <span style="color: rgb(153, 102, 0);">Serial</span>.<span style="color: rgb(153, 102, 0);">print</span>(<span style="color: rgb(204, 0, 0);">"Offset: "</span>); <br>  <span style="color: rgb(153, 102, 0);">Serial</span>.<span style="color: rgb(153, 102, 0);">println</span>(offset); <br> <br>  <span style="color: rgb(119, 119, 85);">//set the aref to internal, you could use the 3.3V regulator too</span> <br>  <span style="color: rgb(153, 102, 0);">analogReference</span>(INTERNAL); <br> <br>  <span style="color: rgb(119, 119, 85);">// wait while everything stabalizes. </span> <br>  <span style="color: rgb(153, 102, 0);">delay</span>(1000); <br> } <br> <br> <span style="color: rgb(153, 102, 0);">int</span> number = 0; <span style="color: rgb(119, 119, 85);">//number of iterations </span> <br> <span style="color: rgb(153, 102, 0);">int</span> x; <span style="color: rgb(119, 119, 85);">//fresh value from sensor</span> <br> <span style="color: rgb(153, 102, 0);">float</span> pascals; <span style="color: rgb(119, 119, 85);">//after multiplication</span> <br> <br> <span style="color: rgb(119, 119, 85);">/<em></span> <br> <span style="color: rgb(119, 119, 85);"> * based on 10bit AtoD, 1.1V reference, and 450mV/kPa</span> <br> <span style="color: rgb(119, 119, 85);"> * we get 1bit = ~2.38715278pascals</span> <br> <span style="color: rgb(119, 119, 85);"> */</span> <br> <br> <br> <span style="color: rgb(204, 102, 0);">void</span> <span style="color: rgb(153, 51, 0);"><b>loop</b></span>() <br> { <br>  <span style="color: rgb(119, 119, 85);">//read the sensor</span> <br>  x=<span style="color: rgb(153, 102, 0);">analogRead</span>(0); <br> <br>  <span style="color: rgb(119, 119, 85);">//convert to pascals</span> <br>  pascals = (x-offset)</em>2.38715278; <br> <br>  <span style="color: rgb(119, 119, 85);">//output the number of pascals and the iteration number</span> <br>  <span style="color: rgb(153, 102, 0);">Serial</span>.<span style="color: rgb(153, 102, 0);">print</span>(pascals, <span style="color: rgb(204, 0, 0);">DEC</span>); <br>  <span style="color: rgb(153, 102, 0);">Serial</span>.<span style="color: rgb(153, 102, 0);">print</span>(<span style="color: rgb(204, 0, 0);">" pascals @"</span>); <br>  <span style="color: rgb(153, 102, 0);">Serial</span>.<span style="color: rgb(153, 102, 0);">println</span>(number,<span style="color: rgb(204, 0, 0);">DEC</span>); <br> <br>  <span style="color: rgb(119, 119, 85);">//if someone sends a 'c' update the offset value </span> <br>  <span style="color: rgb(204, 102, 0);">if</span>(<span style="color: rgb(153, 102, 0);">Serial</span>.<span style="color: rgb(153, 102, 0);">available</span>() &gt; 0){ <br>   <span style="color: rgb(204, 102, 0);">if</span>(<span style="color: rgb(153, 102, 0);">Serial</span>.<span style="color: rgb(153, 102, 0);">read</span>()==<span style="color: rgb(204, 0, 0);">'c'</span>){ <br>    offset=x; <br>    <span style="color: rgb(204, 102, 0);">EEPROM</span>.<span style="color: rgb(153, 102, 0);">write</span>(1,offset &amp; 0xFF); <br>    x&gt;&gt;=8; <br>    <span style="color: rgb(204, 102, 0);">EEPROM</span>.<span style="color: rgb(153, 102, 0);">write</span>(0,x); <br>   } <br>  } <br> <br>  <span style="color: rgb(119, 119, 85);">//update the iteration and pause a bit.</span> <br>  number++; <span style="color: rgb(119, 119, 85);">// to the next character </span> <br>  <span style="color: rgb(153, 102, 0);">delay</span>(100); <br> } <br></p>

<h3>In use</h3>

<p><script src="/script/flickrnotes.php?2451391898"></script></p>

<p>I happened to have a syringe with just the right size opening for the sensor ports. Here I've connected the syringe to the vacuum port; pulling back the plunger generates a measurable quantity of vacuum. You could also extend the plunger, then connect the syringe to the pressure port; pushing on the plunger would generate a measurable quantity of pressure.</p>
]]>
</content>
</entry>
<entry>
<title>We&apos;ve Moved</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/store_news/We&apos;ve Moved.html" />
<modified>2008-05-15T07:16:49Z</modified>
<issued>2008-04-21T17:25:30Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.72</id>
<created>2008-04-21T17:25:30Z</created>
<summary type="text/plain">Welcome to our new e-commerce storefront. If you had an account previously, you&apos;ll need to re-register. Feel free to contact us regarding any orders from the old site....</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Store_News</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p>Welcome to our new e-commerce storefront. If you had an account previously, you'll need to re-register. Feel free to <a href="http://www.spiffie.org/store/index.php?main_page=contact_us">contact us</a> regarding any orders from the old site.</p>
]]>


</content>
</entry>
<entry>
<title>New Freeduino Kits</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/store_news/New Freeduino Kits.html" />
<modified>2008-05-15T07:50:37Z</modified>
<issued>2008-04-15T20:48:15Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.73</id>
<created>2008-04-15T20:48:15Z</created>
<summary type="text/plain">We&apos;re pleased to introduce our range of Arduino compatible products starting with the iDuino and MaxSerial. We hope to expand this line with shields and accessories....</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Store_News</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p>We're pleased to introduce our range of Arduino compatible products starting with the <a href="http://spiffie.org/store/index.php?main_page=index&amp;cPath=2">iDuino</a> and <a href="http://spiffie.org/store/index.php?main_page=index&amp;cPath=3">MaxSerial</a>. We hope to expand this line with shields and accessories.</p>
]]>


</content>
</entry>
<entry>
<title>Build a MaxSerial Freeduino</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/microcontrollers/Build a MaxSerial Freeduino.html" />
<modified>2008-06-29T05:18:13Z</modified>
<issued>2008-04-09T07:40:55Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.69</id>
<created>2008-04-09T07:40:55Z</created>
<summary type="text/plain">About The MaxSerial is a MAX232 based serial board compatible with the Arduino environment. Buy I&apos;m pleased to offer these as a kit, bare PCB, and fully assembled. Use the below options to purchase with-out the optional 3.3 volt supply...</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Microcontrollers</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<h3>About</h3>

<p>The MaxSerial is a MAX232 based serial board compatible with the <a href="http://Arduino.cc">Arduino</a> environment.</p>

<p><script src="/script/flickrnotes.php?2325224242"></script></p>

<h3>Buy</h3>

<p>I'm pleased to offer these as a kit, bare PCB, and fully assembled. Use the below options to purchase with-out the optional 3.3 volt supply or <a href="http://store.fundamentallogic.com/index.php?main_page=index&amp;cPath=56_58_62">explore your other options</a>.<table valign=bottom border=1><tr><th>Full Kit<th>Board Only<th>Fully Assembled
<tr><td><script src="http://spiffie.org/store/embed.php?products_id=3"></script>
<td><script src="http://spiffie.org/store/embed.php?products_id=1"></script>
<td><script src="http://spiffie.org/store/embed.php?products_id=2"></script>
</table></p>
]]>
<![CDATA[<h3>Use</h3>

<p>Connect an adaptor with a centre-positive supply between 7 and 20 volts and connect the serial port. Your board now works like an <a href="http://www.arduino.cc/en/Main/ArduinoBoardDiecimila">Arduino Diecimila</a> including auto-reset.
You will find the serial connection (especially during upload) to be more predictable and stable than the transistorized serial boards.</p>

<h3>Build a USB7</h3>

<p>Follow along to build your own MaxSerial Freeduino.</p>

<h4>Tools</h4>

<p>First, you'll need the following tools: <table border=1><tr><td><img src="/kits/maxserial/tools/thumbs/soldering_iron-thumb.jpg" alt="" title="" /> <td><strong>A soldering iron</strong>. Let's be honest, you know what the right iron for you is.
<tr><td><img src="/kits/maxserial/tools/thumbs/solder-thumb.jpg" alt="" title="" /> <td><strong>Some solder</strong>. I suggest .040 or lower diameter. The boards have a Pb-free finish and will work well with lead-free solder (although leaded solder works just as well).
<tr><td><img src="/kits/maxserial/tools/thumbs/side_clippers-thumb.jpg" alt="" title="" /> <td><strong>Side clippers</strong>.
<tr><td><img src="/kits/maxserial/tools/thumbs/multi_meter-thumb.jpg" alt="" title="" /> <td><strong>A multimeter</strong>. It doesn't need to be awesome, it should at-least measure voltage and continuity (with beep). Resistance will help as well.
<tr><td><img src="/kits/maxserial/tools/thumbs/db9-m-f-thumb.jpg" alt="" title="" /> <td><strong>A male to female DB9 serial cable</strong>.You'll need this to connect the MaxSerial board to your computer.
<tr><td><img src="/kits/maxserial/tools/thumbs/power_adaptor-thumb.jpg" alt="" title="" /> <td><strong>A power adaptor</strong>. You'll need one to power your MaxSerial. Positive-tip/center-positive, between 7 and 20 volts, about 2mm ID.</table></p>

<h4>Parts</h4>

<p>Lets make sure you have all the parts.<table border=1>
<tr><th><th>Description<th>Qty<th>Supplier
<tr><td><img src="/kits/maxserial/parts/thumbs/MaxSerial%20PCB-thumb.jpg" alt="" title="" /> <td><strong>The MaxSerial PCB</strong>. This is the backbone of your MaxSerial<td>1 <td><a href="http://store.fundamentallogic.com/index.php?main_page=product_info&amp;cPath=56_58_62&amp;products_id=124">Fundamental Logic</a>
<tr><td><img src="/kits/maxserial/parts/thumbs/10KOhm-thumb.jpg" alt="" title="" /> <td><strong>10K&Omega; Resistor</strong>.<td>1<td>Various
<tr><td><img src="/kits/maxserial/parts/thumbs/1KOhm-thumb.jpg" alt="" title="" /> <td><strong>10K&Omega; Resistor</strong>.<td>4<td>Various
<tr><td><img src="/kits/maxserial/parts/thumbs/ceramic%20caps-thumb.jpg" alt="" title="" /> <td><strong>0.1&micro;F ceramic capacitor</strong>. If you ordered the optional 3.3volt supply, you'll receive 11 capacitors instead of 10.<td>10 <td><a href="http://futurlec.com/Capacitors/C100UMCpr.shtml">Futurlec C100UMC</a>
<tr><td><img src="/kits/maxserial/parts/thumbs/DB9-thumb.jpg" alt="" title="" /><td><strong>DB9 Right Angle Female Connector</strong>.<td>1<td><a href="http://futurlec.com/Connectors/DSUBPCF9.shtml">Futurlec DSUBPCF9</a>
<tr><td><img src="/kits/maxserial/parts/thumbs/diode-thumb.jpg" alt="" title="" /><td><strong>Diode</strong>. This is a generic diode used to protect against reverse polarity. The kit includes a 1N4004, but most diodes will work. <td>1<td>Various
<tr><td><img src="/kits/maxserial/parts/thumbs/electrolytic%20caps-thumb.jpg" alt="" title="" /><td><strong>Electrolytic Capacitor</strong>. If you're going to use a shield, these have to be short and compact.<td>2<td><a href="http://store.fundamentallogic.com/index.php?main_page=product_info&amp;cPath=42&amp;products_id=100">Fundamental Logic</a>
<tr><td rowspan=2><img src="/kits/maxserial/parts/thumbs/headers-thumb.jpg" alt="" title="" /><td><strong>6pin Female Header</strong><td>2<td><a href="http://futurlec.com/Connectors/FHEADS8.shtml">Futurlec FHEADS8</a>
<tr><td><strong>8pin Female Header</strong><td>2<td><a href="http://futurlec.com/Connectors/FHEADS8.shtml">Futurlec FHEADS8</a>
<tr><td rowspan=4><img src="/kits/maxserial/parts/thumbs/ICs%20and%20Sockets-thumb.jpg" alt="" title="" /><td><strong>Atmega168</strong><td>1<td><a href="http://www.mouser.com/Search/ProductDetail.aspx?R=556-ATMEGA168-20PU">Mouser 556-ATMEGA168-20PU</a>
<tr><td><strong>28pin 0.300 DIP Socket</strong><td>1<td><a href="http://futurlec.com/SockIC.shtml">Futurlec ICS28N</a>
<tr><td><strong>MAX232</strong> or equivalent. Here we're using a DS14C232.<td>1<td><a href="http://www.mouser.com/Search/ProductDetail.aspx?R=595-MAX232NE4">Mouser 595-MAX232NE4</a>
<tr><td><strong>16pin DIP Socket</strong><td>1<td><a href="http://futurlec.com/SockIC.shtml">Futurlec ICS16</a>
<tr><td><img src="/kits/maxserial/parts/thumbs/ICSP_Header-thumb.jpg" alt="" title="" /><td><strong>2x3 Header</strong><td>1<td><a href="http://futurlec.com/Connectors/HEADD6.shtml">Futurlec HEADD6</a>
<tr><td><img src="/kits/maxserial/parts/thumbs/LEDs-thumb.jpg" alt="" title="" /><td><strong>LEDs</strong> in various colors<td>2<td><a href="http://store.fundamentallogic.com/index.php?main_page=product_info&amp;cPath=55&amp;products_id=98">Fundamental Logic</a>
<tr><td><img src="/kits/maxserial/parts/thumbs/power%20connector-thumb.jpg" alt="" title="" /><td><strong>Power Connector</strong> ID:2mm OD:6.3mm.<td>1<td><a href="http://www.mouser.com/Search/ProductDetail.aspx?R=806-KLDX-0202-A">Mouser 806-KLDX-0202-A</a>
<tr><td rowspan=2><img src="/kits/maxserial/parts/thumbs/regulators-thumb.jpg" alt="" title="" /><td><strong>5 Volt regulator</strong>. The ubiquitous 7805 is used here, but there are other regulators with the same pinout and footprint.<td>1<td><a href="http://futurlec.com/ICLinearRegulators.shtml">Futurlec 7805T</a>
<tr><td><strong>3.3 Volt Regulator</strong> <em>(Optional</em>). The 78L33 is a low drop out 3.3 volt regulator from the 78Lxx family.<td>1<td><a href="http://www.mouser.com/Search/ProductDetail.aspx?R=511-L78L33ACZ">Mouser 511-L78L33ACZ</a>
<tr><td><img src="/kits/maxserial/parts/thumbs/resonator-thumb.jpg" alt="" title="" /><td><strong>16MHz Ceramic Resonator</strong>. This is a 3-pin resonator with integrated capacitors.<td>1 <td><a href="http://www.mouser.com/Search/ProductDetail.aspx?R=815-AWCR-16.00MD">Mouser 815-AWCR-16.00MD</a>
<tr><td><img src="/kits/maxserial/parts/thumbs/switch-thumb.jpg" alt="" title="" /><td><strong>6mm Tactile Switch</strong>. <td>1 <td><a href="http://futurlec.com/Switches/TACT001.shtml">Futurlec TACT001</a>
</table></p>

<h4>Assemble</h4>

<p>Now that you have everything, lets assemble a MaxSerial board!<table border=1><tr><td><script src="/script/flickrnotes.php?2399813125"></script> <script src="/script/flickrnotes.php?2399813717"></script><td><strong>Install the 10K&Omega; resistor</strong>.</p>

<p>Bend the 10K&Omega; resistor's (Brown-Black-Orange-Gold) leads to almost right-angles.</p>

<p>Insert the resistor into the location marked <code>R1</code>.</p>

<p><tr><td><script src="/script/flickrnotes.php?2400648814"></script> <td><strong>Install the 1K&amp;Omega resistors</strong>.</p>

<p>Bend the 1K&Omega; resistors' leads and insert them into the four (4) remaining locations.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399815117"></script> <script src="/script/flickrnotes.php?2400649646"></script><td><strong>Solder the resistors</strong>.</p>

<p>Solder all 5 resistors (10 leads).</p>

<p>Clip their leads flush with the PCB.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399815997"></script> <script src="/script/flickrnotes.php?2399816373"></script><td><strong>Install the diode</strong>.</p>

<p>Bend the diode's leads and insert it into it's holes. Make sure you align the line on the diode with the markings on the board.</p>

<p>Solder the diode and clip it's leads.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399816821"></script> <script src="/script/flickrnotes.php?2399817011"></script><td><strong>Install two sockets</strong>.</p>

<p>Install both the 28 and 16 pin sockets. Make sure you align the sockets' notches with the markings on the board.</p>

<p>Solder all the leads. You don't need to clip these.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399817579"></script> <script src="/script/flickrnotes.php?2400651990"></script><td><strong>Install the ceramic caps</strong>.</p>

<p>Install the ceramic caps into the marked locations. If you didn't order the 3.3volt supply, leave C8 empty.</p>

<p>Solder and trim all the leads.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399817927"></script> <script src="/script/flickrnotes.php?2399818583"></script> <script src="/script/flickrnotes.php?2399818943"></script><td><strong>Install the 5 volt regulator</strong>.</p>

<p>Bend the regulators leads back.</p>

<p>Install the regulator. Make sure you get it face up and the right way round!</p>

<p>Solder and clip the regulator's leads.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399819817"></script> <script src="/script/flickrnotes.php?2399820013"></script><td><strong>Install the electrolytic capacitors</strong>.</p>

<p>Install the two electrolytic caps. Make sure the 'stripe' is down, or the long lead is up, or align the long lead with the '+' mark on the board.</p>

<p>Solder the electrolytic caps and trim their leads.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399820389"></script> <script src="/script/flickrnotes.php?2399820781"></script><td><strong>Install the reset switch</strong>.</p>

<p>Place the reset switch in it's location. It's wider one way then the other, if it doesn't fit, try rotating it 90&deg;.</p>

<p>Solder the switch.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399821057"></script> <script src="/script/flickrnotes.php?2399821237"></script><td><strong>Install the 16MHz resonator</strong>.</p>

<p>Install the resonator. It will work in either direction, but the outside pins must be in the outside holes, and the inside pin must be in the center hole. If you have a crystal instead, go ahead and install it, but install the loading caps too!</p>

<p>Solder the resonator and clip it's leads short.</p>

<p><tr><td><script src="/script/flickrnotes.php?2400655808"></script> <script src="/script/flickrnotes.php?2400656216"></script><td><strong>Install the LEDs</strong></p>

<p>Install the two LEDs, you may put either LED in either location, but <em>make sure the long lead is on the bottom</em>.</p>

<p>Solder and trim your LEDs' leads.</p>

<p><tr><td><script src="/script/flickrnotes.php?2400656524"></script> <script src="/script/flickrnotes.php?2400656910"></script><td><strong>Install the headers</strong>.</p>

<p>Install the headers. If you're kit came with a single block of headers, you'll need to cut them apart now, remember, you need to cut <em>through</em> a hole.</p>

<p>Solder the headers. You may need to do some pre-solder wiggling to make them straight.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399822935"></script> <script src="/script/flickrnotes.php?2399822935"></script><td><strong>Install the ICSP header</strong>.</p>

<p>Place the ICSP header.</p>

<p>Solder the ICSP header.</p>

<p><tr><td><script src="/script/flickrnotes.php?2400657282"></script> <script src="/script/flickrnotes.php?2400657378"></script><td><strong>Install the power connector</strong>.</p>

<p>Place the power connector.</p>

<p>Solder the power connector. You'll want to use lots of solder to keep the connector connection physically strong.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399823833"></script> <script src="/script/flickrnotes.php?2400658156"></script><td><strong>Install the serial connector</strong>.</p>

<p>Place the serial connector. The lugs should snap into place and hold the connector momentarily.</p>

<p>Solder the serial connector. Make sure you solder the lugs in place, these are the mechanical connection between the MaxSerial and the serial port.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399824635"></script><td><strong>Install the ICs</strong>.</p>

<p>Install both ICs into their sockets. Make sure you align the notches on the ICs with the notches on the sockets and the board silkscreen.</p>

<p><tr><td><script src="/script/flickrnotes.php?2399825371"></script><td><strong>Install the 3.3 volt regulator</strong>. <em>(Optional)</em></p>

<p>If you've ordered a 3.3 volt regulator, install the regulator and it's associated cap. Make sure you align the flat side of the regulator with the flat side of the board silkscreen.</table</p>

<h3>Download</h3>

<ul>
<li>The <a href="/kits/maxserial/MaxSerial.2008-04-09.zip">schematic and board files</a>.</li>
<li>The <a href="http://www.arduino.cc/en/Main/Software">Arduino IDE</a></li>
</ul>
]]>
</content>
</entry>
<entry>
<title>A High-Volume Atmega Arduino Programmer and Tester</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/microcontrollers/A High-Volume Atmega Arduino Programmer and Tester.html" />
<modified>2008-05-05T21:06:26Z</modified>
<issued>2008-04-02T04:36:31Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.67</id>
<created>2008-04-02T04:36:31Z</created>
<summary type="text/plain"> I need to program several dozen Atmega168s and I only own ICSP Atmel programmers; what to do? Bodge one up of course. Best of all, the bodged programmer functions as an Arduino test bed....</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Microcontrollers</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p><script src="/script/flickrnotes.php?2381942808"></script></p>

<p>I need to program several dozen <a href="http://www.spiffie.org/store/index.php?main_page=product_info&amp;products_id=16">Atmega168s</a> and I only own ICSP Atmel programmers; what to do? Bodge one up of course. Best of all, the bodged programmer functions as an Arduino test bed.</p>
]]>
<![CDATA[<p>Starting with an Arduino platform, pull out the Atmega168 and set it aside.</p>

<p>Now, connect the following pins from the Arduino to a 28-pin ZIF socket:</p>

<ul>
<li>Reset to pin 1</li>
<li>RX to pin 2</li>
<li>TX to pin 3</li>
<li>+5 to pin 7</li>
<li>Ground to pin 8</li>
<li>Digital 13 to pin 17</li>
<li>Digital 12 to pin 18</li>
<li>Digital 11 to pin 19</li>
</ul>

<p>Connect pins 9 and 10 from the Arduino's (now empty) socket to pins 9 and 10 of the ZIF socket. These provide the clock signal.</p>

<p>Attach your programmer's ICSP connector to the Arduino's ICSP header (using a 10 to 6 adaptor if necessary). Connect the USB cable to your Arduino (with it set to USB power), or the power and serial connector to a serial based Arduino.</p>

<p>Insert a blank Atmega168 in the socket and use your programmer to burn the bootloader; now you may use the Arduino IDE to upload a test sketch. If all goes well, remove the Atmega, rinse, repeat.</p>

<p>I use the following command to burn <a href="http://wulfden.org/freeduino/ADABOOT.shtml">ADABoot</a> with <a href="http://savannah.nongnu.org/projects/avrdude/">avrdude</a> (<code>beep</code> is a batch file that beeps the PC speaker).</p>

<pre><code>avrdude -c siprog -p m168 -P \\.\com1 -u -U lock:w:0x3f:m -U efuse:w:0x00:m -U hfuse:w:0xdd:m -U lfuse:w:0xff:m
avrdude -c siprog -p m168 -P \\.\com1 -u -U flash:w:ATmegaBOOT_168_ng.hex:i -U lock:w:0x0f:m
beep
</code></pre>

<p>Obviously, with a <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1198342811">ZIFDuino</a>, you could avoid all the wiring. Even a <a href="http://www.mcumall.com/comersus/store/comersus_viewItem.asp?idProduct=3165">nice breakout board</a> would be a start.</p>
]]>
</content>
</entry>
<entry>
<title>Introducing the USB7</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/hardware/Introducing the USB7.html" />
<modified>2008-05-19T14:16:36Z</modified>
<issued>2008-03-28T14:47:56Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.65</id>
<created>2008-03-28T14:47:56Z</created>
<summary type="text/plain"> I&apos;d like to introduce you to my latest idea, the USB7. 6 digits of 7 segment awesomeness all controllable from a USB virtual com port (via AVR-CDC). You send it numbers, it displays them, what could be easier? The...</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Hardware</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p><script src="/script/flickrnotes.php?2365875643"></script></p>

<p>I'd like to introduce you to my latest idea, the USB7. 6 digits of 7 segment awesomeness all controllable from a USB virtual com port (<a href="http://www.recursion.jp/avrcdc/">via AVR-CDC</a>). You send it numbers, it displays them, what could be easier?</p>

<p>The protocol is very simple; the device accepts a string of numbers,  '+', '-', '.', space, and upper/lower hex digits (A-E). The device will buffer up to 6 characters to display. When you send a newline or carriage return (0x0A or 0x0D) the display will update with the buffered data. Any other character is thrown away. It is important to remember that decimals take up no character space because they share a digit with the previous number. This means you can't start a string with a '.', you must first send a character (even space) then the '.'.</p>

<p>After the jump I'll set it up to show my download speed using <a href="http://lcdsmartie.sourceforge.net/">LCD Smartie</a>.</p>
]]>
<![CDATA[<hr />

<p>So go <a href="http://lcdsmartie.sourceforge.net/smartied.htm">download LCD Smartie</a>.</p>

<p>In the LCD Smartie directory, we need to create a <code>TestDriver.ini</code> file that describes how the display behaves. Fill the file with the following snippit:</p>

<pre><code>    [Test Driver]
    Init=32,10
    Fini=32,10
    CharMap=32,10
</code></pre>

<p>Good, now start LCD Smartie (and open the setup dialogue if you have to).</p>

<p><script src="/script/flickrnotes.php?2368146511"></script></p>

<p>Set the <code>Display Plugin</code> to <code>Test Driver</code>. Set the <code>Startup Parameters</code> to use whatever virtual com port your USB7 is assigned (mine uses 22). Set the screen size to something small like 1x10. Finally set the first screen to <code>$NetSpDownK(4)</code> (insert an appropriate adapter number instead of 4) and make it sticky.</p>

<p><img src="http://spiffie.org/electronics/archives/2008/03/28/LCD%20Smartie%20Running.png" alt="" title="" /></p>

<p>Here's my display showing network speed as I stream a movie.</p>

<p><embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=579145566095708311&amp;hl=en-CA" flashvars=""> </embed></p>

<p>Some other tasks it might be well suited for:</p>

<ul>
<li>High scores on a video game server</li>
<li>Users logged into a terminal server</li>
<li>Realtime webpage hit counter</li>
<li>Seconds from/till an event</li>
<li>POS price display.</li>
<li>Current score on a mame cabinet</li>
<li>Anything else you can send to a serial port.</li>
</ul>

<p>Finally, <a href="http://spiffie.org/electronics/archives/2008/03/28/USB7-code.zip">some source code</a> and the <a href="http://spiffie.org/electronics/archives/2008/03/28/USB7-hardware.zip">schematic/board</a>. I promise to have detailed instructions along with kits later.</p>

<hr />

<h3>Buy</h3>

<p>I'm pleased to offer these as a kit, bare PCB, and fully assembled. Use the below options to purchase with the default colored displays or <a href="http://store.fundamentallogic.com/index.php?main_page=index&amp;cPath=56_61">explore your other options</a>.</p>

<h4>Regular version</h4>

<table valign=bottom border=1><tr><th>Full Kit<th>Board Only<th>Fully Assembled
<tr><td><script src="http://spiffie.org/store/embed.php?products_id=4"></script>
<td><script src="http://spiffie.org/store/embed.php?products_id=9"></script>
<td><script src="http://spiffie.org/store/embed.php?products_id=6"></script>
</table>

<h4>With Mounting Holes</h4>

<table valign=bottom border=1><tr><th>Full Kit<th>Board Only<th>Fully Assembled
<tr><td><script src="http://spiffie.org/store/embed.php?products_id=5"></script>
<td><script src="http://spiffie.org/store/embed.php?products_id=8"></script>
<td><script src="http://spiffie.org/store/embed.php?products_id=7"></script>
</table>
]]>
</content>
</entry>
<entry>
<title>Reflowing without Solder Paste</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/hardware/Reflowing without Solder Paste.html" />
<modified>2008-04-02T04:24:46Z</modified>
<issued>2008-03-18T05:18:37Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.63</id>
<created>2008-03-18T05:18:37Z</created>
<summary type="text/plain">I&apos;ve discovered a neat trick! Using (at least one manufacturer&apos;s) Lead-Free PCB finish, it&apos;s possible to reflow solder without the solder paste!...</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Hardware</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p>I've discovered a neat trick! Using (at least one manufacturer's) Lead-Free PCB finish, it's possible to reflow solder without the solder paste!</p>

<p><script src="/script/flickrnotes.php?2341724111"></script></p>
]]>
<![CDATA[<p>The PCBs were ordered from Advanced Circuits with their SMOBC finish plating and I can reflow components onto them in a regular toaster oven set to ~475/500&deg;F.
I've attempted the same task with some Gold Phoenix PCB with plain old Pb finish and had no success.</p>

<p>So, share and enjoy, try it and let me know how it goes. Worst case scenario, you heat some chips and boards.</p>

<p><em>Update (hours later)</em></p>

<p>The PCBs survived several hours on the vibration/earthquake table, but I am able to remove the chips with sufficient sideways pressure (I can't remove the pasted chips). While I wouldn't expect failure under normal circumstances, I couldn't recommend this as a production technique, even for small time work. It could however, be used as the Post-It note of reflowing. The adhesion is good, but not too good you can't scrape it away and try again.</p>

<p><script src="/script/flickrnotes.php?2342678852"></script></p>

<p>With the oven cranked up to 550-600&deg;F (using a variac to surpass the oven's 450&deg;F top end), I was able to reflow a Gold Phoenix PCB.</p>
]]>
</content>
</entry>
<entry>
<title>A max232 Based &apos;duino</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/microcontrollers/A max232 Based &apos;duino.html" />
<modified>2008-04-18T02:54:04Z</modified>
<issued>2008-03-08T06:14:08Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.61</id>
<created>2008-03-08T06:14:08Z</created>
<summary type="text/plain"> I, and some others it seems, have spotty results talking to the &quot;official&quot; Arduino serial boards and their Freeduino counterparts. To that end, I present a max232 based design, complete with Diecimila layout and DTR reset....</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Microcontrollers</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p><img src="http://spiffie.org/electronics/archives/2008/03/08/Duino232.png" alt="" title="" /></p>

<p>I, and some others it seems, have spotty results talking to the "official" <a href="http://www.arduino.cc/">Arduino</a> <a href="http://www.arduino.cc/en/Main/ArduinoBoardSerial">serial board</a>s and their Freeduino counterparts.
To that end, I present a max232 based design, complete with Diecimila layout and DTR reset.</p>
]]>
<![CDATA[<p>The resulting design is a double-sided board based on the Freeduino PTH and then modified to my liking. Currently, the design is still sitting in the manufacturing queue awaiting a spot on a panel, so <em>treat as untested</em>.</p>

<p>A <a href="http://spiffie.org/electronics/archives/2008/03/08/Duino232-2.html" onclick="window.open('http://spiffie.org/electronics/archives/2008/03/08/Duino232-2.html','popup','width=1102,height=743,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">PNG of the schematic</a> is available; as are Eagle <a href="/electronics/archives/2008/03/08/Duino232.brd">board</a> and <a href="/electronics/archives/2008/03/08/Duino232.sch">schematic</a> files. These are labeled as V1.2</p>

<p>Some items of note:</p>

<ul>
<li>The 5V regulator is a surface mount 7805DT. If you don't need to use sheilds, or you're willing to mutilate your regulator, feel free to design a PTH version in. </li>
<li>IC1 is an LDO 3.3 volt regulator. If you don't need the 3.3V header, you may omit IC1 and C8. If you do need 3.3v, choosing an appropriate regulator is left as an exercise for the reader.</li>
<li>There is a SMT cap placed on the bottom of the board below the Atmega, feel free not to populate it..</li>
<li>Like most Arduino knock-offs, C6 and C7 must be low-profile caps <a href="http://store.fundamentallogic.com/index.php?main_page=product_info&amp;cPath=39_40_42&amp;products_id=100">(like these)</a> if you're going to use a shield.</li>
<li>This board uses the _tSilk layer instead of tPlace. I've already gone to the trouble of trimming the _tSilk layer to the board confines.</li>
</ul>

<h3>Buy</h3>

<p>I'm pleased to offer these as a kit, bare PCB, and fully assembled. Use the below options to purchase with-out the optional 3.3 volt supply or <a href="http://store.fundamentallogic.com/index.php?main_page=index&amp;cPath=56_58_62">explore your other options</a>.<table valign=bottom border=1><tr><th>Full Kit<th>Board Only<th>Board with FT232 soldered
<tr><td><script src="http://store.fundamentallogic.com/embed.php?products_id=10"></script>
<td><script src="http://store.fundamentallogic.com/embed.php?products_id=12"></script>
<td><script src="http://store.fundamentallogic.com/embed.php?products_id=11"></script>
</table></p>
]]>
</content>
</entry>
<entry>
<title>Restricting via placement in Eagle</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/tools/Restricting via placement in Eagle.html" />
<modified>2008-04-02T04:23:48Z</modified>
<issued>2008-02-27T01:15:41Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.59</id>
<created>2008-02-27T01:15:41Z</created>
<summary type="text/plain"> Vias are a useful tool when laying out a pcb, but if there&apos;s a via in the middle of your text, the effect isn&apos;t pretty. This is an especially common occurrence when using and auto-router. There are a few...</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Tools</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p><script src="/script/flickrnotes.php?2295250680"></script></p>

<p>Vias are a useful tool when laying out a pcb, but if there's a via in the middle of your text, the effect isn't pretty. This is an especially common occurrence when using and auto-router.</p>

<p>There are a few solutions to this, the easiest is not caring. A harder to execute, but similar solution is to integrate the via into your text.</p>

<p><script src="/script/flickrnotes.php?2295250694"></script></p>

<p>Finally, in eagle, you can use the vRestrict layer to keep via's out of your text.</p>
]]>
<![CDATA[<p><script src="/script/flickrnotes.php?2294458381"></script></p>

<p>This board has a via stuck right in the middle of the product label. Unless it'll be renamed 'USE7' it'll need to be fixed.</p>

<p><script src="/script/flickrnotes.php?2295250718"></script></p>

<p>The first step, using the rip-up tool is to rip-up any tracks in the affected area of the board.</p>

<p><img src="http://spiffie.org/electronics/archives/2008/02/26/using%20the%20box%20tool.png" alt="" title="" /> <img src="http://spiffie.org/electronics/archives/2008/02/26/in%20the%20vRestrict%20layer.png" alt="" title="" /></p>

<p>Now, using the rectangle tool, select the <code>vRestrict</code> layer from the layer drop-down menu. Draw a box around any text you wish to preserve. Here, I'm preserving the 'USB7' name and the '08KB' production mark.</p>

<p><script src="/script/flickrnotes.php?2294458419"></script></p>

<p>When you're done, run the auto-router again. You'll find the auto-router has kept is via's out of your protected areas. You can be proud of the refined look it gives your board.</p>

<p><script src="/script/flickrnotes.php?2294458429"></script></p>
]]>
</content>
</entry>
<entry>
<title>555 based SMPS</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/hardware/555 based SMPS.html" />
<modified>2008-04-02T04:27:36Z</modified>
<issued>2008-02-22T21:08:59Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.57</id>
<created>2008-02-22T21:08:59Z</created>
<summary type="text/plain"> One of my tasks involved a 105V supply voltage, and therefore a 105V power supply. This simple 555 based switch mode power supply performs nicely around 100 to 300 volts (depending on load) from a 9 to 12 volt...</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Hardware</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p><script src="/script/flickrnotes.php?2283833703"></script></p>

<p>One of my tasks involved a 105V supply voltage, and therefore a 105V power supply. This simple 555 based switch mode power supply performs nicely around 100 to 300 volts (depending on load) from a 9 to 12 volt supply.</p>
]]>
<![CDATA[<p><script src="/script/flickrnotes.php?2284621690"></script></p>

<p>The soul of the supply is a plain 555 driving an N channel MOSFET chopping the current through an inductor. Additionally, the 555's operating frequency (and the output voltage) is regulated by a transistor fed by a voltage-divider on the output section while an R,R,C pole sets the 555 base frequency. A fast schottky diode and a cap complete the output section. In total, the circuit uses 13 components.</p>

<p><script src="/script/flickrnotes.php?2284677672"></script></p>

<p>From start-up, the supply achieves it's target voltage in about 40ms and quickly stabilizes with some ripple (2-4% at 100mA).</p>

<p>The opening picture shows the power-supply pcb being test-fit as a new kit.</p>
]]>
</content>
</entry>
<entry>
<title>Eagle Postscript Cam Job</title>
<link rel="alternate" type="text/html" href="http://spiffie.org/electronics/archives/tools/Eagle Postscript Cam Job.html" />
<modified>2008-04-02T04:23:48Z</modified>
<issued>2008-01-31T09:18:25Z</issued>
<id>tag:spiffie.org,2008:/electronics/1.56</id>
<created>2008-01-31T09:18:25Z</created>
<summary type="text/plain">On occasion, I etch a circuit board using the toner transfer method. This, unfortunately, usually takes several steps to go from eagle to gerber plots to printable file to printer. With this in mind, I present the postscript cam job...</summary>
<author>
<name>spiffed</name>

<email>spiffed@spiffie.org</email>
</author>
<dc:subject>Tools</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://spiffie.org/electronics/">
<![CDATA[<p>On occasion, I etch a circuit board using the toner transfer method. This, unfortunately, usually takes several steps to go from eagle to gerber plots to printable file to printer. With this in mind, I present the <a href="http://spiffie.org/electronics/archives/2008/01/31/ps.zip">postscript cam job for eagle</a>.</p>

<p>Simply unzip the cam file to your cam directory. When you're ready, open the ps.cam file from Eagle's CAM tool. The result is three nice postscript files for the component side, solder side, and the silkscreen. The component side and silkscreen files are already mirrored, so just print from your post-script capable program of choice. (Hint: <a href="http://pages.cs.wisc.edu/~ghost/">ghostview</a> is a free postscript capable viewer.)</p>]]>

</content>
</entry>

</feed>