<?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>Random notes &#38; other stuff... &#187; infrared</title>
	<atom:link href="http://leucos.lstilde.org/wp/tag/infrared/feed/" rel="self" type="application/rss+xml" />
	<link>http://leucos.lstilde.org/wp</link>
	<description>...about Linux, electronics, digital photography, whatever...</description>
	<lastBuildDate>Wed, 16 Dec 2009 00:29:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>High-power TVBGone</title>
		<link>http://leucos.lstilde.org/wp/2009/05/high-power-tvbgone/</link>
		<comments>http://leucos.lstilde.org/wp/2009/05/high-power-tvbgone/#comments</comments>
		<pubDate>Sat, 16 May 2009 20:33:14 +0000</pubDate>
		<dc:creator>leucos</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[infrared]]></category>
		<category><![CDATA[tvbgone]]></category>

		<guid isPermaLink="false">http://leucos.lstilde.org/wp/?p=188</guid>
		<description><![CDATA[High power TVBGone. This infrared device will turn off most TVs out there, from approximately 100ft (30m). ]]></description>
			<content:encoded><![CDATA[<p>This TVBG has been done a long time ago, but I never took time to write about it. It&#8217;s quite powerful : you can easily take off TV&#8217;s at 100ft, and even works thru your pocket (and pretty far if you wear GoreTex). But guess it, with power comes batteries, and the downside is it&#8217;s size, roughly the size of a cigarette pack (all the pictures below are pretty outdated&#8230;).</p>
<div id="attachment_192" class="wp-caption aligncenter" style="width: 250px"><a href="http://leucos.lstilde.org/wp/wp-content/uploads/2009/05/telecommandof.jpg"><img class="size-full wp-image-192" title="TVBGone with it's camouflage package" src="http://leucos.lstilde.org/wp/wp-content/uploads/2009/05/telecommandof.jpg" alt="TVBGone with it's camouflage package" width="240" height="302" /></a><p class="wp-caption-text">TVBGone with it</p></div>
<p>The design is pretty simple : an AtTiny85, 6 TSAL 6100 IR diodes from Vishay (rated 1A for short pulses), 6+1 NPN transistors. Unlike what is show in the picture below, there is no more jumper (it was used to switch between programming mode and run mode). The tantalum capacitor has been scrounged, and not bought. If you know what coltan is, you know that buying tantalum stuff is rather bad.</p>
<div id="attachment_191" class="wp-caption aligncenter" style="width: 277px"><a href="http://leucos.lstilde.org/wp/wp-content/uploads/2009/05/img_0638.jpg"><img class="size-full wp-image-191" title="Bottom view" src="http://leucos.lstilde.org/wp/wp-content/uploads/2009/05/img_0638.jpg" alt="TBGone bottom view" width="267" height="346" /></a><p class="wp-caption-text">TBGone bottom viewTVBGone with it</p></div>
<p>The thing is powered by 3xAA batteries. <strong>There is no current limiter</strong>, the only limit is provided by the batteries internal resistance so take care if you want to change supply for a LiPo or whatever, you&#8217;ll blow the LEDs for sure. In this case, add a resistor along each LED, or better, use some current regulator.</p>
<p>For now, the 6 TSAL LEDs are sucking 2.5 Amps without a current limiter.</p>
<div id="attachment_190" class="wp-caption aligncenter" style="width: 192px"><a href="http://leucos.lstilde.org/wp/wp-content/uploads/2009/05/img_0636.jpg"><img class="size-full wp-image-190" title="Top view" src="http://leucos.lstilde.org/wp/wp-content/uploads/2009/05/img_0636.jpg" alt="TVBGone top view" width="182" height="277" /></a><p class="wp-caption-text">TVBGone top view</p></div>
<p>The AVR code has been found on the net, and is provided here almost unmodified. The original authors are in the <em>main.c</em> header file, among which, of course, Limor (aka Ladyada).</p>
<p>I&#8217;ve changed the IR codes a bit, removing some duplicates, reordered them too so the most used codes comes first (file with modified codes is <em>PERSOcodes.c</em>).</p>
<p>One of the problems is that LG TV can not yet be turned off. This is a pain since LGs are everywhere. I don&#8217;t have time to reverse engineer timings for LG or use convert Lirc codes for now. But for sure, this would be valuable work. If you do it, please drop me a note.</p>
<p>EDIT : CaitSith2 dropped a note saying he has more up to date code for TVBG which turns off LGs too (see <a title="comments" href="#comments">comments</a>). So you&#8217;d better use <a title="CaitSith2 code" href="http://caitsith2.net/projects/tvbgone/">his</a> code than mine. Thanks CaitSith2 !</p>
<p>EDIT2 : It seems that CaitSith2 is more high power : 8 TSAL6100, 4xAA&#8230; nice !</p>
<p>In the <a href="http://leucos.lstilde.org/wp/wp-content/uploads/2009/05/tvbgonetar.gz">schematics</a> (tvbgone2_cms), all the little pads near JP1 are for a very weird slide button (I was too leazy to draw an eagle lib part). So don&#8217;t panic and adjust for your switch.</p>
<p>There is another schematic included : tvbgone_mini.sch, which is a variant intended to be build as jewelry. I plan to use <a title="CR2477 batteries" href="http://export.farnell.com/panasonic/cr2477-1hfe/battery-lithium-2pin-horiz-cr2477/dp/1298248">CR2477 batteries</a> but I never built it. If you make it, please tell me how things turned.</p>
<p>The P &amp; R pins are &laquo;&nbsp;Program&nbsp;&raquo; and &laquo;&nbsp;Run&nbsp;&raquo; respectively. When done programming, just cut the wire going from the central pad to P, and make a solder bridge between the central pad and the R pad. If you need to reprogram again, remove bridge, and bridge between the central pad and P, etc&#8230;</p>
<p>Get the <a href="http://leucos.lstilde.org/wp/wp-content/uploads/2009/05/tvbgonetar.gz">eagle schematics</a>, grab the <a href="http://leucos.lstilde.org/wp/wp-content/uploads/2009/05/tvbgera.tgz">code</a>, turn off those TVs and have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://leucos.lstilde.org/wp/2009/05/high-power-tvbgone/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nikon D50/D70 IR remote control</title>
		<link>http://leucos.lstilde.org/wp/2008/09/nikon-d50d70-ir-remote-control/</link>
		<comments>http://leucos.lstilde.org/wp/2008/09/nikon-d50d70-ir-remote-control/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 16:45:46 +0000</pubDate>
		<dc:creator>leucos</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[photo/video]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[d50]]></category>
		<category><![CDATA[infrared]]></category>
		<category><![CDATA[nikon]]></category>
		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://leucos.lstilde.org/wp/?p=29</guid>
		<description><![CDATA[Nikon infrared remote control with some special features (interval shots, multiples shots, continuous shots, ...).]]></description>
			<content:encoded><![CDATA[<p align="left"><strong>The Project</strong></p>
<p align="left">After chasing the idea of building a remote for my D50, I found <a title="IR Remote Control" href="http://www.bigmike.it/ircontrol/">this</a> really interesting page with all you need (especially the IR timing) to get your remote up and running.</p>
<p align="left">But using a AtTiny2313 for this leaves a lot of room to play with. So I made an enhanced version with a 7-segments display and a menu system. The new firmware let&#8217;s you choose among several shooting modes.</p>
<p align="left">
<p align="left">
<p>The remote is almost identical to the BigMike&#8217;s one except :</p>
<ul>
<li>the firmware is, of course, modified</li>
<li>there is no On/Off button</li>
<li>there are two buttons for the menu (change/select)</li>
<li>there is a 7-segments display for the menu</li>
</ul>
<div id="attachment_32" class="wp-caption aligncenter" style="width: 209px"><a href="http://leucos.lstilde.org/wp/wp-content/uploads/2008/09/d50r_0.jpg"><img class="size-medium wp-image-32" title="Remote control" src="http://leucos.lstilde.org/wp/wp-content/uploads/2008/09/d50r_0-199x300.jpg" alt="Remote control" width="199" height="300" /></a><p class="wp-caption-text">Remote control</p></div>
<p>The firmware sets the Tiny2313 in sleep mode after 5 seconds of inactivity.<br />
In tis mode, the datasheet gives at most 2µA current usage. So, since a CR2032 yields 220 mAh, and if I didn&#8217;t mess up somehere, you should be up and running for 10 years.</p>
<p><strong>Modes description</strong></p>
<p>The remote offers 9 shot modes, which of course can be changed in the firmware.</p>
<p>Whatever the mode, the <em>dp</em> dot blinks everytime a &laquo;&nbsp;take shot&nbsp;&raquo; IR frame is sent.</p>
<ul>
<li>Single shot mode (symbol : reversed lower &#8216;c&#8217;) : one button press makes a single shot</li>
</ul>
<ul>
<li>Double shot mode (symbol : two horizontal dashes ) : one button press makes two shots in a row</li>
</ul>
<ul>
<li>Triple shot mode (symbol : three horizontal dashes ) : one button press makes three shots in a row</li>
</ul>
<ul>
<li>Continuous shot (symbol : lower &#8216;c&#8217;) : one  button press starts continuous shooting as fast as possible until the &#8216;menu&#8217; button is pressed again or the battery is dead <img src='http://leucos.lstilde.org/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<ul>
<li>Continuous shot every second (symbol : number 1) : one  button press starts shooting 1 picture per second until the &#8216;menu&#8217; button is pressed again or the battery is dead</li>
</ul>
<blockquote><p>Numbers 2, 5, 0 and 6 are also continuous shoot mode with 1 picture every 2, 5 10 and 60 seconds respectively.</p></blockquote>
<div id="attachment_33" class="wp-caption aligncenter" style="width: 209px"><a href="http://leucos.lstilde.org/wp/wp-content/uploads/2008/09/d50r_1.jpg"><img class="size-medium wp-image-33" title="Modes selection" src="http://leucos.lstilde.org/wp/wp-content/uploads/2008/09/d50r_1-199x300.jpg" alt="Modes selection" width="199" height="300" /></a><p class="wp-caption-text">Modes selection</p></div>
<p><strong>Files</strong></p>
<p>Wanna build yours ? You&#8217;ll need :</p>
<div id="attachment_35" class="wp-caption aligncenter" style="width: 310px"><a href="http://leucos.lstilde.org/wp/wp-content/uploads/2008/09/d50r_schematics.png"><img class="size-medium wp-image-35" title="Schematic" src="http://leucos.lstilde.org/wp/wp-content/uploads/2008/09/d50r_schematics-300x212.png" alt="Circuit schematic" width="300" height="212" /></a><p class="wp-caption-text">Circuit schematic</p></div>
<div id="attachment_34" class="wp-caption aligncenter" style="width: 223px"><a href="http://leucos.lstilde.org/wp/wp-content/uploads/2008/09/d50r_board.png"><img class="size-medium wp-image-34" title="Board" src="http://leucos.lstilde.org/wp/wp-content/uploads/2008/09/d50r_board-213x300.png" alt="Circuit board layout" width="213" height="300" /></a><p class="wp-caption-text">Circuit board layout</p></div>
<p>The core of the code (IR timing loop) is taken straight from <a title="IR Remote Control" href="http://www.bigmike.it/ircontrol/">BigMike&#8217;s</a> ASM source.</p>
<p><strong>Issues</strong></p>
<p>There are some issues in my version. I am not sure if they are firmware/hardware/ir issues. The problem is the reliability of triggering : sometimes it just doesn&#8217;t work. This does make the remote of reduced usability for continuous shooting modes where timing is critical.</p>
<p>I wonder where this problem comes from : IR receptor low sensitivity ? inaccurate frequency generation ? AF mode induced triggering problems in some situations ?<br />
Since I have relatively few hardware here (no friend with another D50, no oscilloscope, &#8230;) I didn&#8217;t dig it up for now.</p>
<p>And oh, BTW, the usual warnings apply : this remote can brick your MCU, destroy your Nikon, set your house on fire, etc&#8230; You&#8217;ve been warned !</p>
<p><strong>Thanks</strong></p>
<p>Big thanks to <a href="http://www.bigmike.it/ircontrol/" target="_blank">Bighignoli Michele</a>, <a href="http://www.jonas-diemer.de/english/projects/nikon-ir-remote-control.html" target="_blank">Jonas Diemer</a> and <a href="http://www.natemc.com/nikontrigger.php" target="_blank">Nate</a> who pioneered the area.</p>
<p>EDIT : I finally managed to put my hands back on the firmware ! You can grab the <a href="http://leucos.lstilde.org/wp/wp-content/uploads/2008/12/nikon_remote2asm.gz">ASM source</a> or the <a href="http://leucos.lstilde.org/wp/wp-content/uploads/2008/12/nikon_remote-2hex.gz">hex</a> file. Have fun !</p>
]]></content:encoded>
			<wfw:commentRss>http://leucos.lstilde.org/wp/2008/09/nikon-d50d70-ir-remote-control/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
