<?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>C i b o M a h t o . c o m &#187; thingaday</title>
	<atom:link href="http://www.cibomahto.com/category/thingaday/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cibomahto.com</link>
	<description>building making designing dreaming</description>
	<lastBuildDate>Thu, 25 Aug 2011 02:55:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>October Thing-a-day, Day 17: Monster lamp</title>
		<link>http://www.cibomahto.com/2008/10/october-thing-a-day-day-17-monster-lamp/</link>
		<comments>http://www.cibomahto.com/2008/10/october-thing-a-day-day-17-monster-lamp/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 15:31:42 +0000</pubDate>
		<dc:creator>mahto</dc:creator>
				<category><![CDATA[thingaday]]></category>

		<guid isPermaLink="false">http://www.cibomahto.com/?p=362</guid>
		<description><![CDATA[Todays project uses both sides of a lampshade to make an image that changes when you turn the light on. Spooky! Move your mouse over the image to see what happens! a.fish { display: block; width: 332px; /* width of &#8230; <a href="http://www.cibomahto.com/2008/10/october-thing-a-day-day-17-monster-lamp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Todays project uses both sides of a lampshade to make an image that changes when you turn the light on.  Spooky!  Move your mouse over the image to see what happens!</p>
<style type="text/css">
a.fish {
display: block;
width: 332px; /* width of image */
height: 500px; /* height of image */
background-image: url(http://farm4.static.flickr.com/3074/2987018046_50e5162593.jpg); /* original image */
background-repeat: no-repeat;
}
a.fish:hover {
background-image: url(http://farm4.static.flickr.com/3147/2987017762_d5b29b00af.jpg); /* target image */
}
</style>
<p><a class="fish" href="http://www.flickr.com/photos/cibomahto/2987018046/"></a><br />
<em>Note: If you don&#8217;t see a change, the second image is <a href="http://www.flickr.com/photos/cibomahto/2987017762/in/photostream\">here</a>.  Also, please let me know- I&#8217;d like to hear if this isn&#8217;t a good solution for rollover images.<br />
</em><br />
Rollover code from <a href="http://www.700i.net/wordpress/?p=17">700i Webmaster Tips</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cibomahto.com/2008/10/october-thing-a-day-day-17-monster-lamp/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>October Thing-a-day, Day 16: Phoenix DIY Meeting</title>
		<link>http://www.cibomahto.com/2008/10/october-thing-a-day-day-16-phoenix-diy-meeting/</link>
		<comments>http://www.cibomahto.com/2008/10/october-thing-a-day-day-16-phoenix-diy-meeting/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 15:14:54 +0000</pubDate>
		<dc:creator>mahto</dc:creator>
				<category><![CDATA[Journal]]></category>
		<category><![CDATA[thingaday]]></category>

		<guid isPermaLink="false">http://www.cibomahto.com/?p=358</guid>
		<description><![CDATA[We had our 9th meeting on October 28th. Both presenters gave excellent talks, and I had a great time. Unfortunately, I forgot to bring my camera so I don&#8217;t have any pictures. It counts as a thing-a-day because I helped &#8230; <a href="http://www.cibomahto.com/2008/10/october-thing-a-day-day-16-phoenix-diy-meeting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We had our 9th meeting on October 28th.  Both presenters gave excellent talks, and I had a great time.  Unfortunately, I forgot to bring my camera so I don&#8217;t have any pictures.</p>
<p>It counts as a thing-a-day because I helped organize it and brought the snacks <img src='http://www.cibomahto.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cibomahto.com/2008/10/october-thing-a-day-day-16-phoenix-diy-meeting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>October Thing-a-day, Day 14: Assembling an Arduino Clone</title>
		<link>http://www.cibomahto.com/2008/10/october-thing-a-day-day-14-assembling-an-arduino-clone/</link>
		<comments>http://www.cibomahto.com/2008/10/october-thing-a-day-day-14-assembling-an-arduino-clone/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 05:05:37 +0000</pubDate>
		<dc:creator>mahto</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[thingaday]]></category>

		<guid isPermaLink="false">http://www.cibomahto.com/?p=336</guid>
		<description><![CDATA[I spent most of the day recovering from a cold, but managed to get this board assembled and tested today. This is the Bare Bones Board from Modern Devices. To make a stop motion video from a set of images: &#8230; <a href="http://www.cibomahto.com/2008/10/october-thing-a-day-day-14-assembling-an-arduino-clone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I spent most of the day recovering from a cold, but managed to get this board assembled and tested today.<br />
<object width="600" height="486"><param name="movie" value="http://www.youtube.com/v/S7bAjUUU-pM&#038;hl=en&#038;start=0&#038;fs=1&#038;rel=0&#038;showinfo=0&#038;ap=%2526fmt%3D18"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/S7bAjUUU-pM&#038;hl=en&#038;start=0&#038;fs=1&#038;rel=0&#038;showinfo=0&#038;ap=%2526fmt%3D18" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="486"></embed></object><br />
This is the <a href="http://moderndevice.com/">Bare Bones Board</a> from Modern Devices.</p>
<p>To make a stop motion video from a set of images: <strong>(Make a backup of them first!)</strong></p>
<pre>
mogrify -resize 640x480 *.JPG
mencoder -ovc lavc -mf w=640:h=480:fps=20:type=jpg 'mf://*.JPG' -o time_lapse-test.flv
</pre>
<p>Note: If the frames also need to be rotated, run them through mogrify with the -rotate option first.  I had to do this twice before it had an effect, presumably because the rotate flag was set in the jpeg headers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cibomahto.com/2008/10/october-thing-a-day-day-14-assembling-an-arduino-clone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>October Thing-a-day, Day 13: Noisy Hat</title>
		<link>http://www.cibomahto.com/2008/10/october-thing-a-day-day-13-noisy-hat/</link>
		<comments>http://www.cibomahto.com/2008/10/october-thing-a-day-day-13-noisy-hat/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 09:35:55 +0000</pubDate>
		<dc:creator>mahto</dc:creator>
				<category><![CDATA[Ridiculous]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[thingaday]]></category>

		<guid isPermaLink="false">http://www.cibomahto.com/?p=326</guid>
		<description><![CDATA[What could be better than having a little instrument with you all the time, hidden in your hat? Insiders Tip: Don&#8217;t take this to the airport. The inspiration for this project came while on the long road trip to Austin &#8230; <a href="http://www.cibomahto.com/2008/10/october-thing-a-day-day-13-noisy-hat/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>What could be better than having a little instrument with you all the time, hidden in your hat?<br />
<object width="600" height="361"><param name="movie" value="http://www.youtube.com/v/BrxA9LCLSxE&#038;hl=en&#038;start=0&#038;fs=1&#038;rel=0&#038;showinfo=0&#038;ap=%2526fmt%3D18"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/BrxA9LCLSxE&#038;hl=en&#038;start=0&#038;fs=1&#038;rel=0&#038;showinfo=0&#038;ap=%2526fmt%3D18" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="361"></embed></object><br />
<em>Insiders Tip: Don&#8217;t take this to the airport.</em><br />
The inspiration for this project came while on the long road trip to Austin last weekend, and I finally had some time to make it.  The prototype is a bit rough, but I think it gets the point across well enough.  Walkthrough of the project and schematic after the break.<br />
<span id="more-326"></span></p>
<p>I started off with a <a href="http://www.ecelab.com/circuit-vco-555.htm">555 timer VCO circuit</a> that I found at ecelab.com.  Next, I hooked up a Sharp GP2D120 infrared distance sensor that I had laying around from another project, and added a cheap level shifter to allow the sensor to control the oscillation frequency of the 555 timer.  Once that was basically working, I played around with the potentiometers until I had a range of sounds that seemed reasonable.<br />
<a href="http://www.flickr.com/photos/cibomahto/2974090750/" title="Prototype by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3037/2974090750_c290649648.jpg" width="500" height="332" alt="Prototype" /></a></p>
<p>The schematic ended up looking like this:<br />
<a href="http://www.flickr.com/photos/cibomahto/2973238729/" title="Schematic by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3053/2973238729_6f413c8689.jpg" width="500" height="211" alt="Schematic" /></a></p>
<p>Once I had the prototype working on a <a href="http://en.wikipedia.org/wiki/Breadboard">breadboard</a>, the next step was to transfer the design to a <a href="http://en.wikipedia.org/wiki/Perfboard">perfboard</a> that would be suitable for mounting in the hat.  The top picture here might look somewhat neat, but believe me when I say that it is a complete hack job underneath.  Hey, though, it seems to work ok.<br />
<a href="http://www.flickr.com/photos/cibomahto/2973239201/" title="Main module by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3288/2973239201_7087059bb2.jpg" width="500" height="332" alt="Main module" /></a></p>
<p>Finally, I put the module together with a battery, speaker and (momentary) on switch, and Velcroed each piece to the (except the switch) inside of my hat.  I cut a small slit in the side of that, ran the wires for the switch through that, and then stuck the switch under one of the side curls on the outside.  This way, you can start playing music by picking up the hat as you normally would, but also catching the switch in the same motion.<br />
<a href="http://www.flickr.com/photos/cibomahto/2973239443/" title="All fitted together by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3026/2973239443_1b97ae26fd.jpg" width="500" height="388" alt="All fitted together" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cibomahto.com/2008/10/october-thing-a-day-day-13-noisy-hat/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>October Thing-a-day, Day 12: Flash Reflector-Diffuser</title>
		<link>http://www.cibomahto.com/2008/10/october-thing-a-day-day-12-flash-reflector-diffuser/</link>
		<comments>http://www.cibomahto.com/2008/10/october-thing-a-day-day-12-flash-reflector-diffuser/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 09:14:19 +0000</pubDate>
		<dc:creator>mahto</dc:creator>
				<category><![CDATA[Photo]]></category>
		<category><![CDATA[thingaday]]></category>

		<guid isPermaLink="false">http://www.cibomahto.com/?p=312</guid>
		<description><![CDATA[Note: October was a horrible choice for a thing-a-day project, what with the Maker Faire and all. I&#8217;ll get 31 projects in by re-starting today. Sick of getting an ugly, harsh light when you take pictures using a flash? Tired &#8230; <a href="http://www.cibomahto.com/2008/10/october-thing-a-day-day-12-flash-reflector-diffuser/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em>Note:  October was a horrible choice for a thing-a-day project, what with the Maker Faire and all.  I&#8217;ll get 31 projects in by re-starting today.</em><br />
<a href="http://www.flickr.com/photos/cibomahto/2970452069/" title="Finished product! by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3269/2970452069_75cb546d6f.jpg" width="332" height="500" alt="Finished product!" align="left" hspace="10" /></a><br />
Sick of getting an ugly, harsh light when you take pictures using a flash?  Tired of relying on finding a white ceiling to use for bounce flash?  Then you need a diffuser for your flash!  I followed <a href="http://super.nova.org/DPR/DIY01/">these nice directions</a> from Chuck Gardner to work with my external flash, but you can find similar projects that work quite nicely with your built-in flash as well.</p>
<p>Why is this useful?  The flash is a very small light, so it comes off as a hard light source when mounted to the top of a camera.  By bouncing the light off of a larger diffuser, it effectively becomes a bigger and less directional light source, which softens shadows and evens out the lighting from the flash.  At least, that is how I understand it.  Tutorial after the break.<br clear="all"><br />
<span id="more-312"></span><br />
<strong>Step 1: Gather parts</strong><br />
<a href="http://www.flickr.com/photos/cibomahto/2970450685/" title="Ingredients by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3028/2970450685_e1db354585.jpg" width="332" height="500" alt="Ingredients"  align="left" hspace="10" /></a><br />
You will need:<br />
* Two pieces of craft foam, approx 9&#215;12 (mine were twice this size)<br />
* Large needle (24?)<br />
* Black thread (25?)<br />
* Some sticky back Velcro<br />
Not pictured:<br />
* an old folder or other 8&#215;11 inch piece of thick paper<br />
* strip of velcro or rubber band (to attach it to the flash)<br clear="all"></p>
<p><strong>Step 2: Cut the foam</strong><br />
<a href="http://www.flickr.com/photos/cibomahto/2970450897/" title="Cutting the foam shape by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3153/2970450897_e993673443.jpg" width="500" height="332" alt="Cutting the foam shape" align="left" hspace="10" /></a><br />
Using the template from <a href=" http://super.nova.org/DPR/DIY01/">Chuck Gardner&#8217;s tutorial</a>, measure and cut out the black and white pieces of foam.  To accomplish this, I used a sharpie and ruler to draw out and mark the cuts that needed to be made on the white piece of foam.  Once the pieces were cut, I flipped them both over in order to hide any remaining markings.<br clear="all"><br />
<em>Insiders Tip:  The measuring can be made easier if you get a friend to assist you:</em><br />
<a href="http://www.flickr.com/photos/cibomahto/2971293660/" title="Measuring and cutting by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3070/2971293660_fb6d8a7af7.jpg" width="500" height="332" alt="Measuring and cutting" /></a></p>
<p><strong>Step 3: Cut the cardboard stiffener</strong><br />
<a href="http://www.flickr.com/photos/cibomahto/2971293824/" title="Cutting out the cardboard stiffener by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3194/2971293824_9a43322f58.jpg" width="500" height="332" alt="Cutting out the cardboard stiffener" align="left" hspace="10" /></a><br />
The cardboard stiffener is placed in between the two pieces of foam to help the reflector maintain its shape.  I found an old folder to be a good size and strength for this.  There isn&#8217;t a template for this step, but you want to bring the edges of this pattern in 1/2&#8243; from that of the foam.  The idea is to have the cardboard cover most of the inside of the diffuser, but to leave room along the edges so that it can be sewed together.  When you have it cut out, compare it to the foam cutout.  It should look like this:<br clear="all"><br />
<a href="http://www.flickr.com/photos/cibomahto/2971294070/" title="Cutting out the cardboard stiffener by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3174/2971294070_2bc149dee5.jpg" width="500" height="332" alt="Cutting out the cardboard stiffener" /></a></p>
<p><strong>Step 4: Sew it all together</strong><br />
The sewing part isn&#8217;t too complicated, but there is one crucial step that must be taken first:  Photograph yourself looking manly.  This is important to use as a rebuttal in case you are teased about sewing.  Here is mine:<br />
<a href="http://www.flickr.com/photos/cibomahto/2970451677/" title="Prepairing to sew by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3278/2970451677_8803194447.jpg" width="500" height="332" alt="Preparing to sew" /></a><br />
<em>Insider&#8217;s Tip:  The mustache is the manliest kind of facial hair you can grow.</em></p>
<p>Once you have it sewn together, it should look like this:<br />
<a href="http://www.flickr.com/photos/cibomahto/2971294380/" title="All sewed up and ready to go by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3296/2971294380_0b35ecc737.jpg" width="500" height="332" alt="All sewed up and ready to go" /></a></p>
<p><strong>Step 5: Add velcro and done!</strong></p>
<p><a href="http://www.flickr.com/photos/cibomahto/2970536601/" title="Velcro placement by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3028/2970536601_78e2f2d11c.jpg" width="500" height="332" alt="Velcro placement" align="left" hspace="10" /></a>The final step is to add some velcro to the foam in order to hold the section down.  If you are using the self-adhesive kind, just peel off some squares and stick them on.  Also, you can use a velcro strap around the bottom to hold the diffuser to the flash unit.  I forgot to pick one up at the store, so I am just using a rubberband and it seems to work ok.<br clear="all"></p>
<p><strong>Step 6: Enjoy!</strong><br />
<a href="http://www.flickr.com/photos/cibomahto/2970452069/" title="Finished product! by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3269/2970452069_75cb546d6f.jpg" width="332" height="500" alt="Finished product!" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cibomahto.com/2008/10/october-thing-a-day-day-12-flash-reflector-diffuser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>October Thing-a-day, Day 11: Cat-leidoscope</title>
		<link>http://www.cibomahto.com/2008/10/october-thing-a-day-day-11-cat-leidoscope/</link>
		<comments>http://www.cibomahto.com/2008/10/october-thing-a-day-day-11-cat-leidoscope/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 07:48:08 +0000</pubDate>
		<dc:creator>mahto</dc:creator>
				<category><![CDATA[Photo]]></category>
		<category><![CDATA[Ridiculous]]></category>
		<category><![CDATA[thingaday]]></category>

		<guid isPermaLink="false">http://www.cibomahto.com/?p=284</guid>
		<description><![CDATA[I remember reading in some book about how to make a giant kaleidoscope out of cardboard and tinfoil, but since mirrors are pretty cheap, I just used those instead. Now I really want to watch some Busby Berkeley films&#8230;]]></description>
			<content:encoded><![CDATA[<p>I remember reading in some book about how to make a giant kaleidoscope out of cardboard and tinfoil, but since mirrors are pretty cheap, I just used those instead.  Now I <em>really</em> want to watch some <a href="http://en.wikipedia.org/wiki/Busby_Berkeley">Busby Berkeley</a> films&#8230;<br />
<a href="http://www.flickr.com/photos/cibomahto/2936845829/" title="Destroyer of worlds by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3055/2936845829_3573b2389a.jpg" width="500" height="331" alt="Destroyer of worlds" /></a><br />
<a href="http://www.flickr.com/photos/cibomahto/2937629634/" title="How to make a cat-leidoscope by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3012/2937629634_96b69e2268_t.jpg" width="66" height="100" alt="How to make a cat-leidoscope" /></a>   <a href="http://www.flickr.com/photos/cibomahto/2936791605/" title="Go Team! by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3056/2936791605_e55e60e06c_t.jpg" width="100" height="66" alt="Go Team!" /></a> <a href="http://www.flickr.com/photos/cibomahto/2936851093/" title="Distractions by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3215/2936851093_16aa8569e0_t.jpg" width="100" height="66" alt="Distractions" /></a> <a href="http://www.flickr.com/photos/cibomahto/2936782969/" title="Vampire kittens by cibomahto, on Flickr"><img src="http://farm3.static.flickr.com/2114/2936782969_95fb715183_t.jpg" width="100" height="66" alt="Vampire kittens" /></a> <a href="http://www.flickr.com/photos/cibomahto/2937648792/" title="cat-leidoscope (making of) by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3153/2937648792_4e306c0dee_t.jpg" width="66" height="100" alt="cat-leidoscope (making of)" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cibomahto.com/2008/10/october-thing-a-day-day-11-cat-leidoscope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>October Thing-a-day, Day 10: Time-lapse video</title>
		<link>http://www.cibomahto.com/2008/10/october-thing-a-day-day-10-time-lapse-video/</link>
		<comments>http://www.cibomahto.com/2008/10/october-thing-a-day-day-10-time-lapse-video/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 11:34:56 +0000</pubDate>
		<dc:creator>mahto</dc:creator>
				<category><![CDATA[Photo]]></category>
		<category><![CDATA[thingaday]]></category>

		<guid isPermaLink="false">http://www.cibomahto.com/?p=280</guid>
		<description><![CDATA[I&#8217;m still working on the second part of the intervalometer (translation: putting it off until I figure out a more intelligent way to make the menus), but here is a video I made to prove that the concept works: Note: &#8230; <a href="http://www.cibomahto.com/2008/10/october-thing-a-day-day-10-time-lapse-video/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m still working on the second part of the intervalometer (translation: putting it off until I figure out a more intelligent way to make the menus), but here is a video I made to prove that the concept works:<br />
<object width="600" height="486"><param name="movie" value="http://www.youtube.com/v/RerI9AeRXQg&#038;hl=en&#038;start=0&#038;fs=1&#038;rel=0&#038;showinfo=0&#038;ap=%2526fmt%3D18"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/RerI9AeRXQg&#038;hl=en&#038;start=0&#038;fs=1&#038;rel=0&#038;showinfo=0&#038;ap=%2526fmt%3D18" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="486"></embed></object><br />
Note: The quality is pretty poor on the youtube version; I recommend the <a href='http://www.cibomahto.com/wp-content/uploads/2008/10/melts.avi'>higher resolution version</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cibomahto.com/2008/10/october-thing-a-day-day-10-time-lapse-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.cibomahto.com/wp-content/uploads/2008/10/melts.avi" length="1118486" type="video/avi" />
		</item>
		<item>
		<title>October Thing-a-day, Day 9: Pinhole Camera</title>
		<link>http://www.cibomahto.com/2008/10/october-thing-a-day-day-9-pinhole-camera/</link>
		<comments>http://www.cibomahto.com/2008/10/october-thing-a-day-day-9-pinhole-camera/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 11:16:05 +0000</pubDate>
		<dc:creator>mahto</dc:creator>
				<category><![CDATA[Photo]]></category>
		<category><![CDATA[thingaday]]></category>

		<guid isPermaLink="false">http://www.cibomahto.com/?p=270</guid>
		<description><![CDATA[Note: these next few posts are going to be a bit out of order because I worked on them in parallel today. I still have some catching up to do&#8230; I&#8217;ve been wanting to make a pinhole camera for a &#8230; <a href="http://www.cibomahto.com/2008/10/october-thing-a-day-day-9-pinhole-camera/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em>Note: these next few posts are going to be a bit out of order because I worked on them in parallel today.  I still have some catching up to do&#8230;</em><br />
<a href="http://www.flickr.com/photos/cibomahto/2933457693/" title="Pinhole camera by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3296/2933457693_693cb7932d.jpg" width="500" height="332" alt="Pinhole camera" /></a><br />
I&#8217;ve been wanting to make a pinhole camera for a while, so today I made one.  I chose to use photographic paper instead of film so that it would be easier to process, and &#8216;printed&#8217; the negatives by making a contact exposure onto another piece of photographic paper.  Here is the result of a two minute exposure:<br />
<a href="http://www.flickr.com/photos/cibomahto/2933487792/" title="pinhole positive by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3019/2933487792_f9626e252e.jpg" width="500" height="433" alt="pinhole positive" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cibomahto.com/2008/10/october-thing-a-day-day-9-pinhole-camera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>October Thing-a-day, Day 8: Prepping bottles (photo)</title>
		<link>http://www.cibomahto.com/2008/10/october-thing-a-day-day-8-prepping-bottles-photo/</link>
		<comments>http://www.cibomahto.com/2008/10/october-thing-a-day-day-8-prepping-bottles-photo/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 09:37:24 +0000</pubDate>
		<dc:creator>mahto</dc:creator>
				<category><![CDATA[Photo]]></category>
		<category><![CDATA[thingaday]]></category>

		<guid isPermaLink="false">http://www.cibomahto.com/?p=263</guid>
		<description><![CDATA[I had to strip the labels off of a bunch of bottles to prepare for beer bottling tomorrow night, and I ended up capturing this. I stood on top of the counter, and flattened the perspective by holding the camera &#8230; <a href="http://www.cibomahto.com/2008/10/october-thing-a-day-day-8-prepping-bottles-photo/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/cibomahto/2928115113/" title="Cleaning Bottles by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3187/2928115113_503afeb920.jpg" width="500" height="337" alt="Cleaning Bottles" /></a><br />
I had to strip the labels off of a bunch of bottles to prepare for beer bottling tomorrow night, and I ended up capturing this.  I stood on top of the counter, and flattened the perspective by holding the camera as far away from the sink as possible and using the zoom lens (18-55mm) to frame the shot.  An off-camera flash (SB-600) was used to light the shot, and was diffused as much as possible by shooting it through a couple of layers of tissue paper and then bouncing it off of the ceiling.  And shh, don&#8217;t tell anyone, but I applied a darkroom technique when processing the photo, using the burn tool in GIMP to darken the highlights in the center and add a slight vignetting to the corners of the image.  Previously, I would probably have just painted in translucent corners on another layer, but the burn tool seems to be much nicer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cibomahto.com/2008/10/october-thing-a-day-day-8-prepping-bottles-photo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>October Thing-a-day, Day 7: Nikon Camera Intervalometer, Part 1</title>
		<link>http://www.cibomahto.com/2008/10/october-thing-a-day-day-7-nikon-camera-intervalometer-part-1/</link>
		<comments>http://www.cibomahto.com/2008/10/october-thing-a-day-day-7-nikon-camera-intervalometer-part-1/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 14:22:12 +0000</pubDate>
		<dc:creator>mahto</dc:creator>
				<category><![CDATA[Photo]]></category>
		<category><![CDATA[Ridiculous]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[thingaday]]></category>

		<guid isPermaLink="false">http://www.cibomahto.com/?p=249</guid>
		<description><![CDATA[Please note: The library described on this page was originally written for an extremely old version of the Arduino software. I&#8217;ve modified the project to work with Arduino 18, the new version is here: NikonRemote.zip. Download and unzip in your &#8230; <a href="http://www.cibomahto.com/2008/10/october-thing-a-day-day-7-nikon-camera-intervalometer-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p></p>
<hr />
<strong>Please note:</strong> The library described on this page was originally written for an extremely old version of the Arduino software.  I&#8217;ve modified the project to work with Arduino 18, the new version is here: <a href='http://www.cibomahto.com/wp-content/uploads/2008/10/NikonRemote.zip'>NikonRemote.zip</a>.  Download and unzip in your libraries directory to use.</p>
<hr />
<br />
An intervalometer is a device that sends out a signal at regular intervals.  When hooked up to a camera, they can be used to take time lapse images, bracket exposure lengths and precisely time long exposure images (over 30 seconds) that the built-in timer on the camera cannot normally generate.  When hooked up to a flash, they can be used to create a strobe effect.  Being this useful, there are many different DIY <a href="http://blog.makezine.com/archive/2008/09/nintendo_ds_controlling_d.html">projects</a> to make them.  Unfortunately, most of them work by triggering an electronic cable release, which my Nikon D40 and N75 happen to lack.  Luckily, though, both of these cameras do sport a nice infrared control port.  This brings us to this project- an infrared remote intervalometer.  Todays portion of the project is to get the microcontroller to talk to the camera.</p>
<p><a href="http://www.flickr.com/photos/cibomahto/2927265248/" title="Arduino-based remote by cibomahto, on Flickr"><img src="http://farm4.static.flickr.com/3224/2927265248_73b2c2c9bf.jpg" width="500" height="332" alt="Arduino-based remote" /></a></p>
<p>The most straightforward approach to this would be to take apart an existing remote and fire its button with a microcontroller.  However, that didn&#8217;t sound like much of a challenge, so instead the goal became to train the micro to output the signals itself.  A quick search fished out a well-documented <a href="http://www.sbprojects.com/projects/nikon/index.htm">solution</a> by one <a href="http://www.sbprojects.com/">San Bergmans</a>.  The routine is written in assembly to generate an accurate signal.  I chose the Arduino as my platform, and figured out that it is pretty straightforward to include assembly inside of a C++ file.  So,  I ported San&#8217;s code to the Atmega168 that my Arduino is based on, and it appears to work quite swimmingly.  The routine is wrapped up in a library, so using it is as simple as adding the library to your project and calling the Snap() function.  There are a couple of caveats to this code,though: it (currently) only works on pin 12, and will only support the default clock frequency (16MHz?).  Code after the break.<br />
<span id="more-249"></span><br />
To use these, place them in a folder named NikonRemote, which should be located in the hardware/libraries/ section of your Arduino installation.  Then, restart (or just start) the Arduino program, add the library to the project, and create the object in your sketch:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;">NikonRemote remote<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">12</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></pre></div></div>

<p>Whenever you want to trigger the camera, just do this:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;">remote.<span style="color: #007788;">Snap</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></pre></div></div>

<p>Oh, and don&#8217;t forget to attach an IR LED to pin 12, with some sort of current-limiting resistor.  Tip: You can test if the IR LED is in the correct orientation by powering it up and looking at it with a digital that has a live preview.</p>
<p>NikonRemote.h:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#ifndef NikonRemote_h</span>
<span style="color: #339900;">#define NikonRemote_h</span>
&nbsp;
<span style="color: #339900;">#include &quot;WConstants.h&quot;</span>
&nbsp;
<span style="color: #0000ff;">class</span> NikonRemote <span style="color: #008000;">&#123;</span>
  <span style="color: #0000ff;">public</span><span style="color: #008080;">:</span>
    NikonRemote<span style="color: #008000;">&#40;</span><span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">int</span> port<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
    <span style="color: #0000ff;">void</span> Snap<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
  <span style="color: #0000ff;">private</span><span style="color: #008080;">:</span>
    <span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">int</span> _port<span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span><span style="color: #008080;">;</span>
<span style="color: #339900;">#endif</span></pre></div></div>

<p>NikonRemote.cpp:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #666666;">//</span>
<span style="color: #666666;">// NikonRemote</span>
<span style="color: #666666;">//</span>
<span style="color: #666666;">// This is an evil Arduino library that uses inline assembly to generate an IR</span>
<span style="color: #666666;">// signal capable of triggering a Nikon SLR camera.</span>
<span style="color: #666666;">//</span>
<span style="color: #666666;">// By Matt Mets, October, 2008.</span>
<span style="color: #666666;">//</span>
<span style="color: #666666;">// Adapted from San Bergman's 'ML-L1 / ML-L3 IR remote control replacement'</span>
<span style="color: #666666;">// http://www.sbprojects.com/projects/nikon/index.htm</span>
<span style="color: #666666;">//</span>
<span style="color: #666666;">// Note: At time of writing, it isn't clear what license it can be used under.</span>
<span style="color: #666666;">//       I will contact the author about this.</span>
<span style="color: #666666;">// Note: This is an incomplete implementation.  It requires the output LED to</span>
<span style="color: #666666;">//       be on pin 12.</span>
&nbsp;
&nbsp;
<span style="color: #339900;">#include &quot;NikonRemote.h&quot;</span>
&nbsp;
NikonRemote<span style="color: #008080;">::</span><span style="color: #007788;">NikonRemote</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">int</span> port<span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
  pinMode<span style="color: #008000;">&#40;</span>port, OUTPUT<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
  _port <span style="color: #000080;">=</span> port<span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #0000ff;">void</span> NikonRemote<span style="color: #008080;">::</span><span style="color: #007788;">Snap</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
<span style="color: #666666;">// Definitions:</span>
<span style="color: #666666;">// r16: port ON value</span>
<span style="color: #666666;">// r17: port OFF value</span>
<span style="color: #666666;">// r18: burst delay counter</span>
<span style="color: #666666;">// r19: burst counter</span>
<span style="color: #666666;">// r20: end delay counter</span>
<span style="color: #666666;">// r21: port mask</span>
&nbsp;
<span style="color: #666666;">// 0x03: Port B input register</span>
<span style="color: #666666;">// 0x05: Port B output register</span>
&nbsp;
  asm <span style="color: #0000ff;">volatile</span> <span style="color: #008000;">&#40;</span>
&nbsp;
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> cli&quot;</span>              <span style="color: #666666;">// Disable interrupts</span>
&nbsp;
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> push r16&quot;</span>         <span style="color: #666666;">// Save context</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> push r17&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> push r18&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> push r19&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> push r20&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> push r21&quot;</span>
&nbsp;
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> in   r16, 0x03&quot;</span>   <span style="color: #666666;">// Calculate on and off port values</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ori  r16, 0x10&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> in   r17, 0x03&quot;</span>
&nbsp;
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rjmp COMMAND&quot;</span>     <span style="color: #666666;">// Jump to the command routine</span>
&nbsp;
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>NEXTPULSE:&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 68&quot;</span>      <span style="color: #666666;">// Count to 9 for one low pulse</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>SENDBURST:&quot;</span>          <span style="color: #666666;">// Low period delay loop</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> dec r18&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> brne SENDBURST&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> nop&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> out 0x05, r21&quot;</span>    <span style="color: #666666;">// Set the output to mask</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 68&quot;</span>      <span style="color: #666666;">// Count to 9 for one high pulse</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>BURSTLOOP:&quot;</span>
&nbsp;
&nbsp;
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> dec r18&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> brne BURSTLOOP&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> out 0x05, r17&quot;</span>    <span style="color: #666666;">// Set the output low</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> dec r19&quot;</span>          <span style="color: #666666;">// Determine if another burst should be performed.</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> brne NEXTPULSE&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ret&quot;</span>
&nbsp;
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>COMMAND:&quot;</span>
&nbsp;
<span style="color: #666666;">// 2000us on</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 65&quot;</span>      <span style="color: #666666;">// initial pulse = 65</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r19, 76&quot;</span>      <span style="color: #666666;">// count = 76</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> mov r21, r16&quot;</span>     <span style="color: #666666;">// Mask on</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rcall SENDBURST&quot;</span>
&nbsp;
<span style="color: #666666;">// 28ms off</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 65&quot;</span>      <span style="color: #666666;">// initial pulse = 65</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r19, 250&quot;</span>     <span style="color: #666666;">// count = 250</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> mov r21, r17&quot;</span>     <span style="color: #666666;">// Mask off</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rcall SENDBURST&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 65&quot;</span>      <span style="color: #666666;">// initial pulse = 65</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r19, 250&quot;</span>     <span style="color: #666666;">// count = 250</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> mov r21, r17&quot;</span>     <span style="color: #666666;">// Mask off</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rcall SENDBURST&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 65&quot;</span>      <span style="color: #666666;">// initial pulse = 65</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r19, 250&quot;</span>     <span style="color: #666666;">// count = 250</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> mov r21, r17&quot;</span>     <span style="color: #666666;">// Mask off</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rcall SENDBURST&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 65&quot;</span>      <span style="color: #666666;">// initial pulse = 65</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r19, 250&quot;</span>     <span style="color: #666666;">// count = 250</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> mov r21, r17&quot;</span>     <span style="color: #666666;">// Mask off</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rcall SENDBURST&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 65&quot;</span>      <span style="color: #666666;">// initial pulse = 65</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r19, 64&quot;</span>      <span style="color: #666666;">// count = 64</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> mov r21, r17&quot;</span>     <span style="color: #666666;">// Mask off</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rcall SENDBURST&quot;</span>
&nbsp;
<span style="color: #666666;">// 400us on</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 65&quot;</span>      <span style="color: #666666;">// initial pulse = 65</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r19, 15&quot;</span>      <span style="color: #666666;">// count = 15</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> mov r21, r16&quot;</span>     <span style="color: #666666;">// Mask on</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rcall SENDBURST&quot;</span>
&nbsp;
<span style="color: #666666;">// 1580us off</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 65&quot;</span>      <span style="color: #666666;">// initial pulse = 65</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r19, 60&quot;</span>      <span style="color: #666666;">// count = 60</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> mov r21, r17&quot;</span>     <span style="color: #666666;">// Mask off</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rcall SENDBURST&quot;</span>
&nbsp;
<span style="color: #666666;">// 400us on</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 65&quot;</span>      <span style="color: #666666;">// initial pulse = 65</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r19, 15&quot;</span>      <span style="color: #666666;">// count = 15</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> mov r21, r16&quot;</span>     <span style="color: #666666;">// Mask on</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rcall SENDBURST&quot;</span>
&nbsp;
<span style="color: #666666;">// 3580us off</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 65&quot;</span>      <span style="color: #666666;">// initial pulse = 65</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r19, 136&quot;</span>     <span style="color: #666666;">// count = 136</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> mov r21, r17&quot;</span>     <span style="color: #666666;">// Mask off</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rcall SENDBURST&quot;</span>
&nbsp;
<span style="color: #666666;">// 400us on</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r18, 65&quot;</span>      <span style="color: #666666;">// initial pulse = 65</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> ldi r19, 15&quot;</span>      <span style="color: #666666;">// count = 15</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> mov r21, r16&quot;</span>     <span style="color: #666666;">// Mask on</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> rcall SENDBURST&quot;</span>
&nbsp;
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> pop  r21&quot;</span>         <span style="color: #666666;">// Restore Context</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> pop  r20&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> pop  r19&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> pop  r18&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> pop  r17&quot;</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> pop  r16&quot;</span>
&nbsp;
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span> sei&quot;</span>              <span style="color: #666666;">// Enable interrupts</span>
<span style="color: #FF0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span>&quot;</span>
  <span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.cibomahto.com/2008/10/october-thing-a-day-day-7-nikon-camera-intervalometer-part-1/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
	</channel>
</rss>

