<?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>Limina.Log &#187; electronics</title>
	<atom:link href="http://log.liminastudio.com/tag/electronics/feed" rel="self" type="application/rss+xml" />
	<link>http://log.liminastudio.com</link>
	<description>Research &#38; Development at Limina.Studio</description>
	<lastBuildDate>Sun, 15 Jan 2012 21:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>From Eagle to Printed Circuit Board—Easy Tips</title>
		<link>http://log.liminastudio.com/itp/physical-computing/from-eagle-to-printed-circuit-board%e2%80%94easy-tips</link>
		<comments>http://log.liminastudio.com/itp/physical-computing/from-eagle-to-printed-circuit-board%e2%80%94easy-tips#comments</comments>
		<pubDate>Wed, 27 Jul 2011 22:42:06 +0000</pubDate>
		<dc:creator>Tedb0t</dc:creator>
				<category><![CDATA[Physical Computing]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CAD]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[PCB]]></category>

		<guid isPermaLink="false">http://log.liminastudio.com/?p=897</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/itp/physical-computing/from-eagle-to-printed-circuit-board%e2%80%94easy-tips' addthis:title='From Eagle to Printed Circuit Board—Easy Tips '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>If you&#8217;ve never gotten a printed circuit board (PCB) manufactured, it&#8217;s pretty daunting at first, but well worth the trouble—it&#8217;s exciting to get a stack of fresh, neat circuit boards of your own design in the mail, and a whole lot more fun than hand-soldering perfboard! I use EAGLE to design my schematics and boards, [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/itp/physical-computing/from-eagle-to-printed-circuit-board%e2%80%94easy-tips' addthis:title='From Eagle to Printed Circuit Board—Easy Tips '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>If you&#8217;ve never gotten a printed circuit board (PCB) manufactured, it&#8217;s pretty daunting at first, but well worth the trouble—it&#8217;s exciting to get a stack of fresh, neat circuit boards of your own design in the mail, and a whole lot more fun than hand-soldering perfboard!</p>
<p>I use <a href="http://www.cadsoftusa.com/">EAGLE</a> to design my schematics and boards, and now that I&#8217;ve gotten used to its seemingly inscrutable interface, it&#8217;s quite fast and effective.  Here are some tips I&#8217;ve learned:<span id="more-897"></span></p>
<ul>
<li>Get <a href="http://www.opencircuits.com/SFE_Footprint_Library_Eagle">Sparkfun&#8217;s library</a> of common and useful parts, and check out their <a href="http://www.sparkfun.com/tutorials/108">tutorial</a>.  Drop the library in {Applications}/Eagle/lbr.</li>
<li>If you&#8217;re using an external mouse, holding the center button down pans the layout—extremely useful, hard to live without!</li>
<li>Get to know the names of the commands, like &#8216;add&#8217;, &#8216;group&#8217;, &#8216;move&#8217;; and remember that you can type the first couple of letters (&#8216;gro&#8217;) instead of click the button, which is much faster usually.</li>
<li>Moving groups is a bit of a pain; you first define the group by selecting it with the group tool, and then move it as a separate command.  You can right click and choose &#8220;Move Group&#8221; or Command (Ctrl on Windows)-Right Click.</li>
<li>When you are moving a part, right-clicking rotates it.</li>
<li>If you want to put a part on the bottom of your board instead of the top, just middle-click while moving it (or use the Mirror tool).</li>
<li>When adding parts, if you want to search for something, put asterisks around it, like &#8216;*battery*&#8217;, or else you probably won&#8217;t find anything.</li>
<li>Use <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/9-EaglePCBs/sfe-gerb274x.cam">Sparkfun&#8217;s CAM job</a> to output all the files you need to get boards made.  When I go through <a href="http://4pcb.com">Advanced Circuits</a>, I need these files:</li>
<ul>
<li>.drd, .GBL, .GBO, .GBS, .GTL, .GTO, .GTP, .GTS</li>
</ul>
<li>If you only need 1 or 2 boards, Advanced Circuits offers a &#8220;Student Special&#8221; on Standard Spec boards for $33 each.  Just put &#8220;Student&#8221; in the comments box when you order.</li>
<li>Another great way to get a few boards to test is with <a href="http://www.4pcb.com/index.php?load=content&amp;page_id=132">Barebones</a> boards, which have no solder mask (the green coating) and no silkscreening.</li>
<ul>
<li>This has a slight danger of making it possible to accidentally bridge traces while soldering, but if you&#8217;re careful, it&#8217;s a good savings.</li>
<li>When you get the boards, use a green scrub pad (a soft scouring pad) to get the traces nice and shiny.</li>
<li>You can put text or graphics on a copper layer if you&#8217;ve got the room for it, which is a neat way of making up for the lack of silkscreening!</li>
</ul>
<li>I also found a great way to <a href="http://todbot.com/blog/2011/06/06/from-illustrator-to-eagle-vector-graphics-in-circuits/">use vector images on your circuit board</a>, which I used to put the Limina.Studio logo on my newest project.</li>
<li>Got any other tips or ideas?  Post a comment and I&#8217;ll add them!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://log.liminastudio.com/itp/physical-computing/from-eagle-to-printed-circuit-board%e2%80%94easy-tips/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The World&#8217;s Cheapest Wii Sensor Bar</title>
		<link>http://log.liminastudio.com/projects/the-worlds-cheapest-wii-sensor-bar</link>
		<comments>http://log.liminastudio.com/projects/the-worlds-cheapest-wii-sensor-bar#comments</comments>
		<pubDate>Tue, 19 Apr 2011 20:55:44 +0000</pubDate>
		<dc:creator>Tedb0t</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Physical Computing]]></category>

		<guid isPermaLink="false">http://log.liminastudio.com/?p=825</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/projects/the-worlds-cheapest-wii-sensor-bar' addthis:title='The World&#8217;s Cheapest Wii Sensor Bar '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>A few months ago I accidentally fried my Wii Sensor Bar (a misnomer as it does not contain sensors of any kind) by powering it with an unregulated 12V power supply—whoops. So instead of buying a new one, which I&#8217;m loath to do given the typical prices, I built a new one with some infrared [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/projects/the-worlds-cheapest-wii-sensor-bar' addthis:title='The World&#8217;s Cheapest Wii Sensor Bar '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p><a href="http://log.liminastudio.com/wp-content/uploads/2011/04/IMG_0473.jpg"  rel="lightbox[roadtrip]"><img class="alignleft size-medium wp-image-826" title="IMG_0473" src="http://log.liminastudio.com/wp-content/uploads/2011/04/IMG_0473-300x224.jpg" alt="" width="300" height="224" /></a>A few months ago I accidentally fried my Wii Sensor Bar (a misnomer as it does not contain sensors of any kind) by powering it with an unregulated 12V power supply—whoops.  So instead of buying a new one, which I&#8217;m loath to do given the typical prices, I built a new one with some <a href="http://www.radioshack.com/product/index.jsp?productId=2062565">infrared LEDs</a>, a <a href="http://www.sparkfun.com/products/8269">regulated power supply</a> and—yes—a piece of cardboard.</p>
<p><a href="http://log.liminastudio.com/wp-content/uploads/2011/04/IMG_0481.jpg"  rel="lightbox[roadtrip]"><img class="alignleft size-medium wp-image-828" title="IMG_0481" src="http://log.liminastudio.com/wp-content/uploads/2011/04/IMG_0481-300x224.jpg" alt="" width="300" height="224" /></a>Just solder up each LED after a 220 ohm resistor in parallel with each other—not in series.  This can be done with two &#8220;rail&#8221; wires, one connecting the positive leads, one connecting the grounds.  Then connect the rails to a standard barrel power connector and plug in your power supply.  I also added a green LED for visible power feedback.  Enjoy!</p>
<p><a href="http://log.liminastudio.com/wp-content/uploads/2011/04/IMG_0483.jpg"  rel="lightbox[roadtrip]"><img class="alignleft size-medium wp-image-829" title="IMG_0483" src="http://log.liminastudio.com/wp-content/uploads/2011/04/IMG_0483-300x224.jpg" alt="" width="300" height="224" /></a><a href="http://log.liminastudio.com/wp-content/uploads/2011/04/IMG_0488.jpg"  rel="lightbox[roadtrip]"><img class="alignleft size-medium wp-image-831" title="IMG_0488" src="http://log.liminastudio.com/wp-content/uploads/2011/04/IMG_0488-224x300.jpg" alt="" width="224" height="300" /></a></p>
<p><br style="clear:both" /></p>
]]></content:encoded>
			<wfw:commentRss>http://log.liminastudio.com/projects/the-worlds-cheapest-wii-sensor-bar/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pComp: Digital Pulse-Width Modulation of LEDs via Arduino</title>
		<link>http://log.liminastudio.com/itp/physical-computing/arduino-pulse-width-modulation-of-leds</link>
		<comments>http://log.liminastudio.com/itp/physical-computing/arduino-pulse-width-modulation-of-leds#comments</comments>
		<pubDate>Mon, 08 Sep 2008 23:28:10 +0000</pubDate>
		<dc:creator>Tedb0t</dc:creator>
				<category><![CDATA[Physical Computing]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://log.liminastudio.com/?p=11</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/itp/physical-computing/arduino-pulse-width-modulation-of-leds' addthis:title='pComp: Digital Pulse-Width Modulation of LEDs via Arduino '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Day 1 consisted of just plugging the Arduino in to see if it works and transmits properly.  Today, despite an incipient cold (wtf?), I made better headway into learning about the device. After some initial tests blinking an LED, I decided to make a little sinusoidal pulse-width modulator and blink two LEDs: Pulse-Width Modulation of [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/itp/physical-computing/arduino-pulse-width-modulation-of-leds' addthis:title='pComp: Digital Pulse-Width Modulation of LEDs via Arduino '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>Day 1 consisted of just plugging the Arduino in to see if it works and transmits properly.  Today, despite an incipient cold (wtf?), I made better headway into learning about the device.</p>
<p>After some initial tests blinking an LED, I decided to make a little sinusoidal pulse-width modulator and blink two LEDs:</p>
<p><a href="http://log.liminastudio.com/wp-content/uploads/2008/09/snc12089.avi">Pulse-Width Modulation of LEDs</a></p>
<p>If you watch it you can see the LEDs blink faster and faster and then slower and slower (the avi&#8217;s framerate of ~15 of course interferes with this).  The relevant code is:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">blinkFreq <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>sin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>i <span style="color: #339933;">*</span> PI <span style="color: #339933;">/</span> <span style="color: #0000dd;">180</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">/</span> <span style="color: #0000dd;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> freqMod<span style="color: #339933;">;</span>
...
<span style="color: #202020;">digitalWrite</span><span style="color: #009900;">&#40;</span>ledPin<span style="color: #339933;">,</span> HIGH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
digitalWrite<span style="color: #009900;">&#40;</span>ledPin2<span style="color: #339933;">,</span> LOW<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
delay<span style="color: #009900;">&#40;</span>blinkFreq <span style="color: #339933;">/</span> <span style="color: #0000dd;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
digitalWrite<span style="color: #009900;">&#40;</span>ledPin<span style="color: #339933;">,</span> LOW<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
digitalWrite<span style="color: #009900;">&#40;</span>ledPin2<span style="color: #339933;">,</span> HIGH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
delay<span style="color: #009900;">&#40;</span>blinkFreq <span style="color: #339933;">/</span> <span style="color: #0000dd;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>where i is incremented in the Arduino loop and reset after 360.  I could have just used radians but then I&#8217;d be incrementing a float value or something so&#8230; meh.</p>
<p>I&#8217;m not sure if there&#8217;s a better or more logical PWM algorithm, I haven&#8217;t tried looking one up as this basically does the trick.</p>
]]></content:encoded>
			<wfw:commentRss>http://log.liminastudio.com/itp/physical-computing/arduino-pulse-width-modulation-of-leds/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://log.liminastudio.com/wp-content/uploads/2008/09/snc12089.avi" length="14078412" type="video/x-msvideo" />
		</item>
	</channel>
</rss>

