<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Automatic Christmas Train</title>
	<atom:link href="http://www.esorensen.com/2008/12/14/automatic-christmas-train/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.esorensen.com/2008/12/14/automatic-christmas-train/</link>
	<description>exploring photography, electronics, music, and programming.</description>
	<lastBuildDate>Tue, 06 Oct 2009 13:21:02 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: neonascent Â» Blog Archive &#187; Trains</title>
		<link>http://www.esorensen.com/2008/12/14/automatic-christmas-train/comment-page-1/#comment-60</link>
		<dc:creator>neonascent Â» Blog Archive &#187; Trains</dc:creator>
		<pubDate>Tue, 06 Oct 2009 13:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.esorensen.com/?p=128#comment-60</guid>
		<description>[...] Sorensen has hacked together a trigger for a toy train set, hooked up to the welcome mat of his house. It&#8217;s a fun idea, but I can&#8217;t understand why he kept the actual train way [...]</description>
		<content:encoded><![CDATA[<p>[...] Sorensen has hacked together a trigger for a toy train set, hooked up to the welcome mat of his house. It&#8217;s a fun idea, but I can&#8217;t understand why he kept the actual train way [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fozzy Vis</title>
		<link>http://www.esorensen.com/2008/12/14/automatic-christmas-train/comment-page-1/#comment-13</link>
		<dc:creator>Fozzy Vis</dc:creator>
		<pubDate>Wed, 17 Dec 2008 22:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.esorensen.com/?p=128#comment-13</guid>
		<description>Same here, gonne browse trough that website soon :)</description>
		<content:encoded><![CDATA[<p>Same here, gonne browse trough that website soon <img src='http://www.esorensen.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.esorensen.com/2008/12/14/automatic-christmas-train/comment-page-1/#comment-12</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 17 Dec 2008 02:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.esorensen.com/?p=128#comment-12</guid>
		<description>Dan - Thanks for the info! I&#039;ll check out that site. 

-Eric</description>
		<content:encoded><![CDATA[<p>Dan &#8211; Thanks for the info! I&#8217;ll check out that site. </p>
<p>-Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.esorensen.com/2008/12/14/automatic-christmas-train/comment-page-1/#comment-11</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 17 Dec 2008 02:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.esorensen.com/?p=128#comment-11</guid>
		<description>Maybe I could have but.. 

a.) I don&#039;t primarily use a linux system
b.) The train isn&#039;t connected to a computer because I&#039;d rather not leave a computer running outside my front door. 
c.) That doesn&#039;t seem any simpler than my current implementation.

But thanks for the suggestion. :)

-Eric</description>
		<content:encoded><![CDATA[<p>Maybe I could have but.. </p>
<p>a.) I don&#8217;t primarily use a linux system<br />
b.) The train isn&#8217;t connected to a computer because I&#8217;d rather not leave a computer running outside my front door.<br />
c.) That doesn&#8217;t seem any simpler than my current implementation.</p>
<p>But thanks for the suggestion. <img src='http://www.esorensen.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>-Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sighk</title>
		<link>http://www.esorensen.com/2008/12/14/automatic-christmas-train/comment-page-1/#comment-10</link>
		<dc:creator>sighk</dc:creator>
		<pubDate>Wed, 17 Dec 2008 00:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.esorensen.com/?p=128#comment-10</guid>
		<description>couldnt you have just recorded the the input from /dev/dsp0

something like

cat /dev/dsp0 &gt;~/desktop/forward

then hit crtl c after you were done

then use a hex editor to grab only non null blocks

then after you have these files for each input

created a bash script like

#!/bin/bash

forward(){
cat ~/Desktop/forward &gt; /dev/dsp
}
back(){
cat ~/Desktop/back&gt; /dev/dsp
}
whistle(){
cat ~/Desktop/whistle&gt; /dev/dsp
}

stop(){
cat ~/Desktop/stop&gt; /dev/dsp
}

main(){
read command

$command

main
}

so you can just type forward, or simplify it to a number

just send it back out</description>
		<content:encoded><![CDATA[<p>couldnt you have just recorded the the input from /dev/dsp0</p>
<p>something like</p>
<p>cat /dev/dsp0 &gt;~/desktop/forward</p>
<p>then hit crtl c after you were done</p>
<p>then use a hex editor to grab only non null blocks</p>
<p>then after you have these files for each input</p>
<p>created a bash script like</p>
<p>#!/bin/bash</p>
<p>forward(){<br />
cat ~/Desktop/forward &gt; /dev/dsp<br />
}<br />
back(){<br />
cat ~/Desktop/back&gt; /dev/dsp<br />
}<br />
whistle(){<br />
cat ~/Desktop/whistle&gt; /dev/dsp<br />
}</p>
<p>stop(){<br />
cat ~/Desktop/stop&gt; /dev/dsp<br />
}</p>
<p>main(){<br />
read command</p>
<p>$command</p>
<p>main<br />
}</p>
<p>so you can just type forward, or simplify it to a number</p>
<p>just send it back out</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dabbith</title>
		<link>http://www.esorensen.com/2008/12/14/automatic-christmas-train/comment-page-1/#comment-8</link>
		<dc:creator>dabbith</dc:creator>
		<pubDate>Tue, 16 Dec 2008 14:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.esorensen.com/?p=128#comment-8</guid>
		<description>If you&#039;re interested in IR signals, one of the best places to look is http://www.hifi-remote.com/forums/.  In the files section you will find a program called CaptureIR.  It has the ability to capture and identify most IR protocols.  I would suspect that what you see as a high pulse is actually a 40khz carrier.  You would have to sample at 80khz+ to see that.  Many IR devices won&#039;t respond if you don&#039;t properly replicate the carrier.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re interested in IR signals, one of the best places to look is <a href="http://www.hifi-remote.com/forums/" rel="nofollow">http://www.hifi-remote.com/forums/</a>.  In the files section you will find a program called CaptureIR.  It has the ability to capture and identify most IR protocols.  I would suspect that what you see as a high pulse is actually a 40khz carrier.  You would have to sample at 80khz+ to see that.  Many IR devices won&#8217;t respond if you don&#8217;t properly replicate the carrier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fozzy Vis</title>
		<link>http://www.esorensen.com/2008/12/14/automatic-christmas-train/comment-page-1/#comment-5</link>
		<dc:creator>Fozzy Vis</dc:creator>
		<pubDate>Tue, 16 Dec 2008 08:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.esorensen.com/?p=128#comment-5</guid>
		<description>Using your soundcard to capture the IR pulsetrain is pure genius :). It might be common practice maybe (or maybe not), but I never thought about it. Being a beginner with pics and electronics in general I&#039;m gonna try the capturing this afternoon... Congrats with the Hackaday link, btw...</description>
		<content:encoded><![CDATA[<p>Using your soundcard to capture the IR pulsetrain is pure genius <img src='http://www.esorensen.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . It might be common practice maybe (or maybe not), but I never thought about it. Being a beginner with pics and electronics in general I&#8217;m gonna try the capturing this afternoon&#8230; Congrats with the Hackaday link, btw&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A welcome train for the holidays - Hack a Day</title>
		<link>http://www.esorensen.com/2008/12/14/automatic-christmas-train/comment-page-1/#comment-4</link>
		<dc:creator>A welcome train for the holidays - Hack a Day</dc:creator>
		<pubDate>Tue, 16 Dec 2008 02:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.esorensen.com/?p=128#comment-4</guid>
		<description>[...] was charged with the task of setting up the train to welcome people on the porch.  The train had been in the family for a long time, so he didn&#8217;t want to modify the train [...]</description>
		<content:encoded><![CDATA[<p>[...] was charged with the task of setting up the train to welcome people on the porch.  The train had been in the family for a long time, so he didn&#8217;t want to modify the train [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
