
<?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>The Lucas Eckels Blog &#187; infrared</title>
	<atom:link href="http://blog.lucaseckels.com/category/infrared/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lucaseckels.com</link>
	<description></description>
	<lastBuildDate>Fri, 07 Oct 2011 23:16:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Arduino IR transmitter</title>
		<link>http://blog.lucaseckels.com/2009/08/23/arduino-ir-transmitter/</link>
		<comments>http://blog.lucaseckels.com/2009/08/23/arduino-ir-transmitter/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 03:22:02 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[infrared]]></category>

		<guid isPermaLink="false">http://blog.lucaseckels.com/?p=174</guid>
		<description><![CDATA[A while back, I bought a universal remote for the entertainment system. I chose one fancy enough to have learning capability, but not fancy enough to be programmed with a computer. Annoyingly, the factory and universal remote only had a button to toggle through the various inputs. This gets tedious quickly when you have a [...]]]></description>
			<content:encoded><![CDATA[<p>A while back, I bought a universal remote for the entertainment system.  I chose one <a href="http://www.universalremote.com/product_detail.php?model=47">fancy enough</a> to have learning capability, but not fancy enough to be programmed with a computer.</p>
<p/>
Annoyingly, the factory and universal remote only had a button to toggle through the various inputs.  This gets tedious quickly when you have a few video game consoles.  I knew that the TV had <a href="http://www.remotecentral.com/cgi-bin/mboard/rc-discrete/list.cgi">discrete codes</a>, which would take you directly to a selected input.  But I didn&#8217;t have a way to program the remote with these codes.</p>
<p>
So I wrote an IR transmitter for Arduino.  Then I could use the Arduino to program the remote, and have nice discrete component access straight from the remote that I&#8217;m already using.  My TV is a Samsung, which uses the <a href="http://www.sbprojects.com/knowledge/ir/nec.htm"NEC IR protocol</a>.  It&#8217;s a pretty simple protocol consisting of two address bytes and two command bytes, with a 9 ms burst ahead of it.  Ones and zeros are encoded as different pauses after a short burst at 38 kHz.  My <a href="http://blog.lucaseckels.com/2009/05/04/really-simple-arduino-ir-receiver/">previous IR project</a> was very helpful for debugging timing issues.</p>
<p/>
<a href="http://lucaseckels.com/files/SamsungBlinkie.pde">Download the code.</a>  The only hardware required is an IR LED attached to pin 13.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lucaseckels.com/2009/08/23/arduino-ir-transmitter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Really simple Arduino IR receiver</title>
		<link>http://blog.lucaseckels.com/2009/05/04/really-simple-arduino-ir-receiver/</link>
		<comments>http://blog.lucaseckels.com/2009/05/04/really-simple-arduino-ir-receiver/#comments</comments>
		<pubDate>Tue, 05 May 2009 06:08:11 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[infrared]]></category>

		<guid isPermaLink="false">http://blog.lucaseckels.com/?p=162</guid>
		<description><![CDATA[I use a Mac Mini as a media center computer. While I generally like Front Row, and have a few custom (unsupported) plugins, sometimes you really just want something one button away. I&#8217;m already using a universal remote, but the Mini&#8217;s built-in IR receiver can only detect the signals for the 6 buttons on the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.lucaseckels.com/wp-content/uploads/2009/05/irmon.jpg" rel="lightbox"><img src="http://blog.lucaseckels.com/wp-content/uploads/2009/05/irmon-150x150.jpg" alt="Arduino with IR remote receiver" title="Arduino with IR remote receiver" width="150" height="150" class="size-thumbnail wp-image-164" /></a><br />
I use a Mac Mini as a media center computer.  While I generally like Front Row, and have a few custom (unsupported) plugins, sometimes you really just want something one button away.  I&#8217;m already using a universal remote, but the Mini&#8217;s built-in IR receiver can only detect the signals for the 6 buttons on the Apple remote.</p>
<p>
As a quick-and-dirty solution, I wrote this sketch for the Arduino, using a generic <a href="http://www.seeedstudio.com/depot/infrared-remote-control-receiver-module-wo-steel-shield-p-104.html">IR remote receiver</a>.  When reset, the Arduino starts listening for an IR remote command.  It remembers the timing of the pulses, then listens for a similar set of pulses and signals over the serial port.  I wrote a few lines of Python to listen to the serial port and do something interesting.</p>
<p>Now I can eject a DVD without messing with any menus.  I&#8217;ll probably need a more complete solution some day, but for now, I&#8217;m set.</p>
<p><a href="http://www.lucaseckels.com/files/IRMon.zip">Download IRMon</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lucaseckels.com/2009/05/04/really-simple-arduino-ir-receiver/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

