<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Hack a Day &#187; light</title>
	<atom:link href="http://hackaday.com/tag/light/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackaday.com</link>
	<description>Fresh hacks every day</description>
	<lastBuildDate>Fri, 10 Feb 2012 11:18:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hackaday.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/5560f98f805877b0e332f191cb9e0af3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Hack a Day &#187; light</title>
		<link>http://hackaday.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hackaday.com/osd.xml" title="Hack a Day" />
	<atom:link rel='hub' href='http://hackaday.com/?pushpress=hub'/>
		<item>
		<title>Rotary phone-light-amp could be filed under bizarre</title>
		<link>http://hackaday.com/2012/01/25/rotary-phone-light-amp-could-be-filed-under-bizarre/</link>
		<comments>http://hackaday.com/2012/01/25/rotary-phone-light-amp-could-be-filed-under-bizarre/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 22:33:00 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[digital audio hacks]]></category>
		<category><![CDATA[led hacks]]></category>
		<category><![CDATA[amplifier]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[rotary phone]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=66233</guid>
		<description><![CDATA[[Samimy's] latest project is a little strange, but one man&#8217;s weird is another man&#8217;s wonderful so we&#8217;re not about to start criticizing his work. Nope, we&#8217;re here to praise the fact that his rotary phone turned reading light and audio amp is very well constructed. He started by removing the phone housing. Those old enough [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=66233&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-66234" title="rotary-phone-light-amp" src="http://hackadaycom.files.wordpress.com/2012/01/rotary-phone-light-amp.png" alt="" width="470" height="288" /></p>
<p>[Samimy's] latest project is a little strange, but one man&#8217;s weird is another man&#8217;s wonderful so we&#8217;re not about to start criticizing his work. Nope, we&#8217;re here to praise the fact that <a href="http://www.youtube.com/watch?v=W1XcINgS9sA">his rotary phone turned reading light and audio amp</a> is very well constructed.</p>
<p>He started by removing the phone housing. Those old enough to have used one of these devices will remember their bulk, and there&#8217;s a lot of unused space in both the handset and body housing. [Samimy] started by removing the speaker and microphone from the handset, and drilling a ring of holes to receive white LEDs. The circuit was wired so that lifting the handset turns on the lights.</p>
<p>But he didn&#8217;t stop there. A set of speakers and the audio amplifier circuitry from an old tape deck are also hiding inside the base of the phone. If you look closely in the image above you can see that he&#8217;s connected his cellphone and is listening to some tunes through the antique hardware. Take a gander at the video after the break to see construction and use of the project.</p>
<p><span id="more-66233"></span><span style="text-align:center; display: block;"><a href="http://hackaday.com/2012/01/25/rotary-phone-light-amp-could-be-filed-under-bizarre/"><img src="http://img.youtube.com/vi/W1XcINgS9sA/2.jpg" alt="" /></a></span></p>
<br />Filed under: <a href='http://hackaday.com/category/digital-audio-hacks/'>digital audio hacks</a>, <a href='http://hackaday.com/category/led-hacks/'>led hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/66233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/66233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/66233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/66233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/66233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/66233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/66233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/66233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/66233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/66233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/66233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/66233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/66233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/66233/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=66233&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2012/01/25/rotary-phone-light-amp-could-be-filed-under-bizarre/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2012/01/rotary-phone-light-amp.png" medium="image">
			<media:title type="html">rotary-phone-light-amp</media:title>
		</media:content>
	</item>
		<item>
		<title>Sensor array tries to outdo the other guys</title>
		<link>http://hackaday.com/2012/01/17/sensor-array-tries-to-outdo-the-other-guys/</link>
		<comments>http://hackaday.com/2012/01/17/sensor-array-tries-to-outdo-the-other-guys/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 20:41:53 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[arduino hacks]]></category>
		<category><![CDATA[bmp085]]></category>
		<category><![CDATA[CdS]]></category>
		<category><![CDATA[dht11]]></category>
		<category><![CDATA[humidity]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[lux]]></category>
		<category><![CDATA[pressure]]></category>
		<category><![CDATA[sensors]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[tmp102]]></category>
		<category><![CDATA[TSL230R]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=65681</guid>
		<description><![CDATA[The team over at the Louisville Hackerspace LVL1 is not going to be outdone when it comes to collecting environmental data. They put together this Frankenstein of sensor boards that lets you collect a heap of data showing what is going on around it. At the center-left a small Arduino clone is responsible for collecting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=65681&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-65682" title="sensor-array-goes-for-broke" src="http://hackadaycom.files.wordpress.com/2012/01/sensor-array-goes-for-broke-e1326820761333.jpg" alt="" width="470" height="345" /></p>
<p>The team over at the Louisville Hackerspace LVL1 is not going to be outdone when it comes to collecting environmental data. They put together <a href="http://wiki.lvl1.org/Father_AI_Sensor_Array">this Frankenstein of sensor boards</a> that lets you collect a heap of data showing what is going on around it.</p>
<p>At the center-left a small Arduino clone is responsible for collecting the data. Data storage is not talked about on their write-up, but if that&#8217;s an ATmega328 chip you should be able to work out an easy way to store data on the 1k of internal EEPROM. If that&#8217;s not enough, there is an I2C bus included on the board making it easy to add a compatible EEPROM.</p>
<p>The sensor on the bottom left should look familiar. It&#8217;s a DHT11 temperature and humidity sensor we&#8217;ve seen <a href="http://hackaday.com/2012/01/11/dht11-humidity-and-temperature-sensor-package/">popping up in projects lately</a>. But wait, there&#8217;s also a TMP102 temperature sensor; but that&#8217;s not the end of it. A BMP085 pressure sensor also includes a third temperature sensing option. Want to see when the lights go on in the room? There&#8217;s a CdS sensor and a TSL230R Lux sensor for that. An op-amp circuit can measure the sound level in the room via one of the Arduino&#8217;s ADC pins. And finally, an RTC board is used for time stamping the data.</p>
<p>Obviously this is overkill, and we&#8217;re sure it&#8217;s meant as a test platform for various sensors. All of them have been mounted on the protoboard and wired up using the point-to-point soldering method.</p>
<br />Filed under: <a href='http://hackaday.com/category/arduino-hacks/'>arduino hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/65681/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/65681/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/65681/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/65681/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/65681/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/65681/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/65681/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/65681/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/65681/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/65681/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/65681/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/65681/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/65681/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/65681/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=65681&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2012/01/17/sensor-array-tries-to-outdo-the-other-guys/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2012/01/sensor-array-goes-for-broke-e1326820761333.jpg" medium="image">
			<media:title type="html">sensor-array-goes-for-broke</media:title>
		</media:content>
	</item>
		<item>
		<title>Lighted fan pull saves you from flailing around in the dark</title>
		<link>http://hackaday.com/2011/12/09/lighted-fan-pull-saves-you-from-flailing-around-in-the-dark/</link>
		<comments>http://hackaday.com/2011/12/09/lighted-fan-pull-saves-you-from-flailing-around-in-the-dark/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 18:01:36 +0000</pubDate>
		<dc:creator>Mike Nathan</dc:creator>
				<category><![CDATA[home hacks]]></category>
		<category><![CDATA[led hacks]]></category>
		<category><![CDATA[fan]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[solar]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=63000</guid>
		<description><![CDATA[Like many people, [yardleydobon] had a hard time locating his ceiling fan’s pull chain at night when his room is completely dark. Rather than continue to flail around blindly grasping for the chain, he decided to find a way to illuminate it instead. He started off by disassembling a solar garden light, retaining the solar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=63000&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-63002" title="lighted-fan-pull" src="http://hackadaycom.files.wordpress.com/2011/12/lighted-fan-pull.jpg" alt="lighted-fan-pull" width="470" height="434" /></p>
<p>Like many people, [yardleydobon] had a hard time locating his ceiling fan’s pull chain at night when his room is completely dark. Rather than continue to flail around blindly grasping for the chain, he decided to <a href="http://www.instructables.com/id/Ceiling-Fan-Pull-Chain-Nightlight/?ALLSTEPS" target="_blank">find a way to illuminate it instead.</a></p>
<p>He started off by disassembling a solar garden light, retaining the solar cell, photoresistor, and batteries. After paring down the electronics to the bare essentials, he mounted them inside a plastic battery storage case which he attached to the outside of the fan’s lamp. [yardleydobon] then ran a pair of wires from the electronics box down to end of the chain, where he added an LED and a translucent pull to diffuse the light.</p>
<p>He admits that it’s not the nicest looking modification around, but it does the job in a pinch. He has some ideas that he may put into play if he has the time to revise the design, and we bet that many of you do as well. If so, be sure to share them in the comments.</p>
<p><span id="more-63000"></span></p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2011/12/09/lighted-fan-pull-saves-you-from-flailing-around-in-the-dark/"><img src="http://img.youtube.com/vi/GYc6dbDul_A/2.jpg" alt="" /></a></span>
<br />Filed under: <a href='http://hackaday.com/category/home-hacks/'>home hacks</a>, <a href='http://hackaday.com/category/led-hacks/'>led hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/63000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/63000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/63000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/63000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/63000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/63000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/63000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/63000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/63000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/63000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/63000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/63000/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/63000/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/63000/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=63000&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/12/09/lighted-fan-pull-saves-you-from-flailing-around-in-the-dark/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mikenathanathackaday</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/12/lighted-fan-pull.jpg" medium="image">
			<media:title type="html">lighted-fan-pull</media:title>
		</media:content>
	</item>
		<item>
		<title>Building a 1300 lumen bike light</title>
		<link>http://hackaday.com/2011/11/28/building-a-1300-lumen-bike-light/</link>
		<comments>http://hackaday.com/2011/11/28/building-a-1300-lumen-bike-light/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 17:16:26 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[led hacks]]></category>
		<category><![CDATA[transportation hacks]]></category>
		<category><![CDATA[bike]]></category>
		<category><![CDATA[cree]]></category>
		<category><![CDATA[heat sink]]></category>
		<category><![CDATA[light]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=62133</guid>
		<description><![CDATA[[Brainiac27] isn&#8217;t going to let the absence of sun prevent him from biking. He has no trouble lighting his path with this 1300 Lumen bike light he built. The light source is a 3-up star by Cree. It puts off a lot of light, but also generates quite a bit of heat which is the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=62133&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-62134" title="building-a-1300-lumen-bike-light" src="http://hackadaycom.files.wordpress.com/2011/11/building-a-1300-lumen-bike-light-e1322500111459.jpg" alt="" width="470" height="352" /></p>
<p>[Brainiac27] isn&#8217;t going to let the absence of sun prevent him from biking. He has no trouble lighting his path with <a href="http://www.instructables.com/id/1300-Lumen-Bike-Light">this 1300 Lumen bike light he built</a>.</p>
<p>The light source is a 3-up star by Cree. It puts off a lot of light, but also generates quite a bit of heat which is the reason for that large heat sink. It is meant to be used with a CPU but works well for this purpose thanks to the adhesive thermal paste used to unite the two parts.</p>
<p>The mounting bracket is a custom job, bent from 1&#8243; by 1/8&#8243; aluminum bar. [Brainiac27] had some issues with length the first time he tried making it. For his second attempt he started with an overly long piece, made the bends from the center out, and only made cuts once the bends were all completed. The bracket makes it easy to mount to his bike, with the battery stored in a bike bottle and a remote switch (with attaches to the jack you can see on the project box above) hidden underneath one of the brake hoods.</p>
<p>The intensity of this light nearly doubles <a href="http://hackaday.com/2009/09/03/700-lumen-led-bike-lamp/">one of our other favorites</a>.</p>
<br />Filed under: <a href='http://hackaday.com/category/led-hacks/'>led hacks</a>, <a href='http://hackaday.com/category/transportation-hacks/'>transportation hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/62133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/62133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/62133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/62133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/62133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/62133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/62133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/62133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/62133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/62133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/62133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/62133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/62133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/62133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=62133&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/11/28/building-a-1300-lumen-bike-light/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/11/building-a-1300-lumen-bike-light-e1322500111459.jpg" medium="image">
			<media:title type="html">building-a-1300-lumen-bike-light</media:title>
		</media:content>
	</item>
		<item>
		<title>Chicken light keeps up egg production</title>
		<link>http://hackaday.com/2011/11/13/chicken-light-keeps-up-egg-production/</link>
		<comments>http://hackaday.com/2011/11/13/chicken-light-keeps-up-egg-production/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 20:01:54 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[home hacks]]></category>
		<category><![CDATA[atmega328]]></category>
		<category><![CDATA[chicken coop]]></category>
		<category><![CDATA[eggs]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[relay]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=61133</guid>
		<description><![CDATA[It turns out that as the days get shorter, chickens lay fewer eggs. But you can trick them into keep up production using artificial light. [Jpitz31] decided to build his own timed coop light to bridge the gap until the days of plentiful sunlight return. He already had an LED camping light to use, but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=61133&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-61134" title="chicken-light" src="http://hackadaycom.files.wordpress.com/2011/11/chicken-light.png" alt="" width="470" height="287" /></p>
<p>It turns out that as the days get shorter, chickens lay fewer eggs. But you can trick them into keep up production using artificial light. [Jpitz31] decided to <a href="http://joepitz.wordpress.com/2011/11/13/chicken-light-relay-timer/">build his own timed coop light</a> to bridge the gap until the days of plentiful sunlight return.</p>
<p>He already had an LED camping light to use, but needed to find a way to power it and to switch it on and off on a schedule. He chose an ATmega328 for the latter, as he had a bunch of extras sitting around. As for power, there isn&#8217;t AC available where the coop is, so he opted for a 12V lead-acid battery with hopes of adding solar charging features in the future.</p>
<p>Switching is handled by a relay, with accurate time kept by a DS1307 real-time clock (it&#8217;s the red PCB seen above). Everything fits nicely on the board, and we have a couple of feature suggestions for future improvements. The linear regulators will eat up some extra power so moving to a switching regulator will help save juice. Also, it would be very easy to add a light sensor so that the light will only be on when the ambient light drops to a preset level. This way he won&#8217;t need to mess with the schedule as the length of the days change.</p>
<br />Filed under: <a href='http://hackaday.com/category/home-hacks/'>home hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/61133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/61133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/61133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/61133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/61133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/61133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/61133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/61133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/61133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/61133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/61133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/61133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/61133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/61133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=61133&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/11/13/chicken-light-keeps-up-egg-production/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/11/chicken-light.png" medium="image">
			<media:title type="html">chicken-light</media:title>
		</media:content>
	</item>
		<item>
		<title>Synthesizing sound with a light sensitive pen and CRT television</title>
		<link>http://hackaday.com/2011/10/29/synthesizing-sound-with-a-light-sensitive-pen-and-crt-television/</link>
		<comments>http://hackaday.com/2011/10/29/synthesizing-sound-with-a-light-sensitive-pen-and-crt-television/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 15:01:46 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[digital audio hacks]]></category>
		<category><![CDATA[video hacks]]></category>
		<category><![CDATA[atmega8]]></category>
		<category><![CDATA[crt]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[pen]]></category>
		<category><![CDATA[phototransistor]]></category>
		<category><![CDATA[television]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=59883</guid>
		<description><![CDATA[Here&#8217;s the latest project from [Niklas Roy's] workshop. Lumenoise is an audio synthesizer controlled by drawing with a light-sensitive pen on a CRT television. The pen is a self-contained module which connects to the TV via audio and composite video RCA plugs. Inside the clear pen housing you&#8217;ll find a microcontroller which generates the audio [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=59883&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-59884" title="Lumenoise-penonscreen" src="http://hackadaycom.files.wordpress.com/2011/10/lumenoise-penonscreen-e1319812578565.jpg" alt="" width="470" height="340" /></p>
<p>Here&#8217;s the latest project from [Niklas Roy's] workshop. Lumenoise is an <a href="http://www.niklasroy.com/project/116/Lumenoise">audio synthesizer controlled by drawing with a light-sensitive pen</a> on a CRT television.</p>
<p>The pen is a self-contained module which connects to the TV via audio and composite video RCA plugs. Inside the clear pen housing you&#8217;ll find a microcontroller which generates the audio and video. The business end of the pen contains a phototransistor which lets the ATmega8 take a reading from the video screen. Since the chip is generating that video signal, it&#8217;s possible to calculate the pen tip&#8217;s position on the screen and modulate the sound output based on that data. You can watch a recording of the results in the video after the break.</p>
<p>This is a very simple circuit to build, and [Niklas] makes the point that most of us have a CRT hanging around in a dark corner somewhere. We think this would be a fantastic soldering project to do with the kids, and that this would be right at home as a children&#8217;s museum piece because of the wow factor involved in playing around with it.</p>
<p>We can really tell from this and <a href="http://hackaday.com/2011/07/05/augmented-reality-game-could-come-from-the-seventies/">some of his past projects</a> that [Niklas] just loves the 8-bit audio.</p>
<p><span id="more-59883"></span></p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2011/10/29/synthesizing-sound-with-a-light-sensitive-pen-and-crt-television/"><img src="http://img.youtube.com/vi/lfrOrR6T9FM/2.jpg" alt="" /></a></span>
<br />Filed under: <a href='http://hackaday.com/category/digital-audio-hacks/'>digital audio hacks</a>, <a href='http://hackaday.com/category/video-hacks/'>video hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/59883/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/59883/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/59883/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/59883/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/59883/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/59883/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/59883/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/59883/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/59883/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/59883/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/59883/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/59883/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/59883/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/59883/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=59883&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/10/29/synthesizing-sound-with-a-light-sensitive-pen-and-crt-television/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/10/lumenoise-penonscreen-e1319812578565.jpg" medium="image">
			<media:title type="html">Lumenoise-penonscreen</media:title>
		</media:content>
	</item>
		<item>
		<title>Tokyo Hackerspace helping disaster victims</title>
		<link>http://hackaday.com/2011/03/16/tokyo-hackerspace-helping-disaster-victims/</link>
		<comments>http://hackaday.com/2011/03/16/tokyo-hackerspace-helping-disaster-victims/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 15:01:36 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[Hackerspaces]]></category>
		<category><![CDATA[led hacks]]></category>
		<category><![CDATA[disaster]]></category>
		<category><![CDATA[earthquake]]></category>
		<category><![CDATA[japan]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[solar]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=37601</guid>
		<description><![CDATA[We, like the rest of the world, have watched in horror as footage of the recent earthquake-caused disaster has been reported from northern Japan. It&#8217;s easy to watch video and see nothing but distruction, however, life goes on and [Akiba] is looking for a way to help the recovery efforts. He mentions that one of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=37601&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-37602" title="tokyo-hackerspace-disaster-lantern" src="http://hackadaycom.files.wordpress.com/2011/03/tokyo-hackerspace-disaster-lantern-e1300284879997.jpg" alt="" width="470" height="353" /></p>
<p>We, like the rest of the world, have watched in horror as footage of the recent earthquake-caused disaster has been reported from northern Japan. It&#8217;s easy to watch video and see nothing but distruction, however, life goes on and [Akiba] is looking for a way to help the recovery efforts. He mentions that one of the big needs in the disaster area right now is for light, as the power infrastructure has been heavily damaged. The mason jar seen above is a Kimono Lantern that was meant to accent a garden at night. It has a solar cell &#8211; one NiMH rechargeable battery &#8211; and one bright LED along with a charging circuit. It was designed in the Tokyo Hackerspace and <a href="http://freaklabs.org/index.php/Blog/Misc/Kimono-Lantern-and-Humanitarian-Open-Source-Hardware.html">they released the build files in hopes that a large number can be donated to those in need</a>. With a reasonable amount of daylight, the single cell battery can be charged enough to provide 10 hours of light from the little device.</p>
<p>How can our hacks help others? That question has been on our minds for the last few days. Light is a great first step. But we&#8217;ve also wondered about information networks to help coordinate rescue and cleanup workers. There are hacks that bring WiFi using <a href="http://hackaday.com/2010/07/20/wifi-hotspot-powered-by-wind-turbine-and-solar-panel/">wind power</a> or <a href="http://hackaday.com/2010/10/06/solar-powered-wifi-repeater/">solar power</a>. What other hacks do you think would be useful to aid in the recovery process?</p>
<br />Filed under: <a href='http://hackaday.com/category/hackerspaces/'>Hackerspaces</a>, <a href='http://hackaday.com/category/led-hacks/'>led hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/37601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/37601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/37601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/37601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/37601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/37601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/37601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/37601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/37601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/37601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/37601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/37601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/37601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/37601/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=37601&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/03/16/tokyo-hackerspace-helping-disaster-victims/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/03/tokyo-hackerspace-disaster-lantern-e1300284879997.jpg" medium="image">
			<media:title type="html">tokyo-hackerspace-disaster-lantern</media:title>
		</media:content>
	</item>
		<item>
		<title>Kindle 3 powers this diy LED light</title>
		<link>http://hackaday.com/2011/03/01/kindle-3-powers-this-diy-led-light/</link>
		<comments>http://hackaday.com/2011/03/01/kindle-3-powers-this-diy-led-light/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 12:00:39 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[led hacks]]></category>
		<category><![CDATA[brass]]></category>
		<category><![CDATA[epaper]]></category>
		<category><![CDATA[kindle]]></category>
		<category><![CDATA[light]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=36198</guid>
		<description><![CDATA[ePaper displays are easy on the eyes because there&#8217;s no flickering backlight to put strain on them. This is great until you&#8217;re trying to read in a dim environment. Of course Amazon will sell you a backlight that&#8217;s powered from the reader itself if you&#8217;re willing to pay. [Txoof] thought the price was a bit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=36198&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-36199" title="led-kindle-light" src="http://hackadaycom.files.wordpress.com/2011/02/led-kindle-light-e1298914462258.jpg" alt="" width="470" height="313" /></p>
<p>ePaper displays are easy on the eyes because there&#8217;s no flickering backlight to put strain on them. This is great until you&#8217;re trying to read in a dim environment. Of course Amazon will sell you a backlight that&#8217;s powered from the reader itself if you&#8217;re willing to pay. [Txoof] thought the price was a bit too high so <a href="http://www.instructables.com/id/Kindle-3-DIY-Light">he built his own version</a>.</p>
<p>There are two pockets in the top of the Kindle reader for hooks to grab onto. Each has an electrical contact in it and together they provide about 4V of power. To patch into that source [Txoof] cut his own hooks from brass stock and mounted them onto a piece of basswood. He then cut and bent a hood from more of the brass stock to house the LEDs. A series of three of the white diodes draw their power from the hooks and shine onto to the display. As you can see this works just fine, but could benefit from just the right diffuser.</p>
<br />Filed under: <a href='http://hackaday.com/category/led-hacks/'>led hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/36198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/36198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/36198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/36198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/36198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/36198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/36198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/36198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/36198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/36198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/36198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/36198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/36198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/36198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=36198&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/03/01/kindle-3-powers-this-diy-led-light/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/led-kindle-light-e1298914462258.jpg" medium="image">
			<media:title type="html">led-kindle-light</media:title>
		</media:content>
	</item>
		<item>
		<title>Today&#8217;s Arduino Minute</title>
		<link>http://hackaday.com/2011/02/10/todays-arduino-minute/</link>
		<comments>http://hackaday.com/2011/02/10/todays-arduino-minute/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 22:25:57 +0000</pubDate>
		<dc:creator>James Munns</dc:creator>
				<category><![CDATA[arduino hacks]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[drum]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[midi]]></category>
		<category><![CDATA[motion]]></category>
		<category><![CDATA[pir]]></category>
		<category><![CDATA[sensor]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=34675</guid>
		<description><![CDATA[Sometimes projects are vast, complicated, and complex. Other times projects are a bit more on the simple. Today we thought we would share a couple projects with something in common that may be familiar sounding to the more experienced crowd, but may inspire a few readers new to the world of microcontrollers. First off, a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=34675&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-34676" title="arduino-diecimila" src="http://hackadaycom.files.wordpress.com/2011/02/arduino-diecimila1.jpg" alt="" width="470" height="280" /></p>
<p>Sometimes projects are vast, complicated, and complex. Other times projects are a bit more on the simple. Today we thought we would share a couple projects with something in common that may be familiar sounding to the more experienced crowd, but may inspire a few readers new to the world of microcontrollers.</p>
<p><span id="more-34675"></span></p>
<p><img class="alignnone size-full wp-image-34677" title="Arduino-Powered-RGB-LED-Vodka-Shelf" src="http://hackadaycom.files.wordpress.com/2011/02/arduino-powered-rgb-led-vodka-shelf.jpg" alt="" width="470" height="314" /></p>
<p>First off, a cool decor tip looking to snazz up a college residence or bar is a guide for lighting up a shelf of <a href="http://www.instructables.com/id/Arduino-Powered-RGB-LED-Vodka-Shelf/">liquor bottles</a> using an Arduino to control a few RGB LEDs. This guide includes easy to follow schematics, source code, and a good explanation of using transistors to drive higher current to the LEDs than the Arduino could provide.</p>
<p><img class="alignnone size-full wp-image-34678" title="Screenshot" src="http://hackadaycom.files.wordpress.com/2011/02/screenshot.png" alt="" width="470" height="261" /></p>
<p>This six finger <a href="http://www.spikenzielabs.com/blog/?p=277">drum machine</a> uses a Drum Kit &#8211; Kit AI to take in values from piezo sensors and convert those values into MIDI information to be used by either a hardware MIDI controller or PC. We like the CNC cut hand, and the design considerations put into it (like vibration buffering)</p>
<p><img class="alignnone size-full wp-image-34679" title="Basic-LEDBuzzer" src="http://hackadaycom.files.wordpress.com/2011/02/basic-ledbuzzer.jpg" alt="" width="470" height="312" /></p>
<p>When moving beyond the buttons and LEDs in every starter kit out there, PIR <a href="http://www.instructables.com/id/Arduino-Controlled-Motion-Sensor/">motion sensors</a> are usually a good next step. [LemonSlice] even goes so far as to add a a pair of XBees for making this motion sensor a little more autonomous.</p>
<br />Filed under: <a href='http://hackaday.com/category/arduino-hacks/'>arduino hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/34675/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/34675/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/34675/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/34675/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/34675/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/34675/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/34675/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/34675/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/34675/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/34675/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/34675/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/34675/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/34675/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/34675/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=34675&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/02/10/todays-arduino-minute/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jahmez</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/arduino-diecimila1.jpg" medium="image">
			<media:title type="html">arduino-diecimila</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/arduino-powered-rgb-led-vodka-shelf.jpg" medium="image">
			<media:title type="html">Arduino-Powered-RGB-LED-Vodka-Shelf</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/screenshot.png" medium="image">
			<media:title type="html">Screenshot</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/basic-ledbuzzer.jpg" medium="image">
			<media:title type="html">Basic-LEDBuzzer</media:title>
		</media:content>
	</item>
		<item>
		<title>Projector tricks make use of Kinect 3D mapping</title>
		<link>http://hackaday.com/2011/01/19/projector-tricks-make-use-of-kinect-3d-mapping/</link>
		<comments>http://hackaday.com/2011/01/19/projector-tricks-make-use-of-kinect-3d-mapping/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 21:40:08 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[Kinect hacks]]></category>
		<category><![CDATA[multitouch hacks]]></category>
		<category><![CDATA[hadouken]]></category>
		<category><![CDATA[Kinect]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[projector]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=33136</guid>
		<description><![CDATA[[Don't stop the clock] is doing some work with a projector, a camera, and the Kinect. What he&#8217;s accomplished is quite impressive, combining the three to manipulate light with your body. The image above is a safer rendition of the Hadouken from the Street Fighter video games, throwing light across the room instead of fire. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=33136&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-33137" title="projector-tricks-with-the-kinect" src="http://hackadaycom.files.wordpress.com/2011/01/projector-tricks-with-the-kinect.jpg" alt="" width="470" height="353" /></p>
<p>[Don't stop the clock] is doing some work with a projector, a camera, and the Kinect. What he&#8217;s accomplished is quite impressive, <a href="http://www.youtube.com/watch?v=TLnh45IbvlU">combining the three to manipulate light with your body</a>. The image above is a safer rendition of <a href="http://hackaday.com/2010/12/13/shooting-fireballs-from-your-wrists-hadouken/">the Hadouken</a> from the Street Fighter video games, throwing light across the room instead of fire. This comes at the end of the video after the break, but first he&#8217;ll show off the core features of the system. You can hold up your hand and wave it to turn it into a light source. In other words, the projector will shine light on your hand, moving it, and manipulating the intensity based on hand location in 3D space. Since the Kinect is sending fairly precise data back to the computer the projected image is trimmed to match your hand and arm without overflowing onto the rest of the room until you touch your hand to a surface you want illuminated or throw the light source with a flick or the wrist. It may seem trivial at first glance, but we find the alignment of the projector and the speed at which the image updates to be quite impressive.</p>
<p><span id="more-33136"></span><span style="text-align:center; display: block;"><a href="http://hackaday.com/2011/01/19/projector-tricks-make-use-of-kinect-3d-mapping/"><img src="http://img.youtube.com/vi/TLnh45IbvlU/2.jpg" alt="" /></a></span></p>
<p>[Thanks Vasili]</p>
<br />Filed under: <a href='http://hackaday.com/category/kinect-hacks/'>Kinect hacks</a>, <a href='http://hackaday.com/category/multitouch-hacks/'>multitouch hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/33136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/33136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/33136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/33136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/33136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/33136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/33136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/33136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/33136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/33136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/33136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/33136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/33136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/33136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=33136&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/01/19/projector-tricks-make-use-of-kinect-3d-mapping/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/01/projector-tricks-with-the-kinect.jpg" medium="image">
			<media:title type="html">projector-tricks-with-the-kinect</media:title>
		</media:content>
	</item>
		<item>
		<title>Tri-rotor helicopter with full autopilot</title>
		<link>http://hackaday.com/2011/01/17/tri-rotor-helicopter-with-full-autopilot/</link>
		<comments>http://hackaday.com/2011/01/17/tri-rotor-helicopter-with-full-autopilot/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 19:17:29 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[robots hacks]]></category>
		<category><![CDATA[Autopilot]]></category>
		<category><![CDATA[exposure]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[quadcopter]]></category>
		<category><![CDATA[tricopter]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=33045</guid>
		<description><![CDATA[Quadcopters stand aside, here&#8217;s a three-rotor helicopter we think you&#8217;re going to love. The body is made out of plywood and carbon fiber rods, keeping it light enough to be easily lifted by just 3 motors while making sure the force doesn&#8217;t tear the aircraft apart. Three gyroscopes, two accelerometers, three magnetometers, and a GPS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=33045&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-33046" title="tri-rotor-copter-with-autopilot" src="http://hackadaycom.files.wordpress.com/2011/01/tri-rotor-copter-with-autopilot-e1295287385564.jpg" alt="" width="470" height="244" /></p>
<p>Quadcopters stand aside, here&#8217;s <a href="http://vicacopter.com/vika1.php">a three-rotor helicopter we think you&#8217;re going to love</a>. The body is made out of plywood and carbon fiber rods, keeping it light enough to be easily lifted by just 3 motors while making sure the force doesn&#8217;t tear the aircraft apart. Three gyroscopes, two accelerometers, three magnetometers, and a GPS module are all used in conjunction for an autopilot system. There&#8217;s a lot of great pictures and videos but our favorite, embedded after the break, shows the tricopter writing messages in the sky using light and camera exposure tricks similar to this <a href="http://hackaday.com/2009/12/28/lightdrawing-robot/">ground-based trike</a>.</p>
<p><span id="more-33045"></span><span style="text-align:center; display: block;"><a href="http://hackaday.com/2011/01/17/tri-rotor-helicopter-with-full-autopilot/"><img src="http://img.youtube.com/vi/7TZzM5YdKE4/2.jpg" alt="" /></a></span></p>
<p>[Thanks Hernandi]</p>
<br />Filed under: <a href='http://hackaday.com/category/robots-hacks/'>robots hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/33045/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/33045/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/33045/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/33045/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/33045/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/33045/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/33045/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/33045/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/33045/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/33045/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/33045/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/33045/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/33045/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/33045/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=33045&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/01/17/tri-rotor-helicopter-with-full-autopilot/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/01/tri-rotor-copter-with-autopilot-e1295287385564.jpg" medium="image">
			<media:title type="html">tri-rotor-copter-with-autopilot</media:title>
		</media:content>
	</item>
		<item>
		<title>AVR Programming 04: Writing code, etc.</title>
		<link>http://hackaday.com/2010/11/19/avr-programming-04-writing-code-etc/</link>
		<comments>http://hackaday.com/2010/11/19/avr-programming-04-writing-code-etc/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 22:00:55 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[ATmega168]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[avr programming]]></category>
		<category><![CDATA[bicycle]]></category>
		<category><![CDATA[bike]]></category>
		<category><![CDATA[light]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=30193</guid>
		<description><![CDATA[Welcome back to this fourth and final installment of the series. The first three parts should have been enough to get you off the ground, but a few more learning examples wouldn&#8217;t hurt. It&#8217;s also a good time to discuss some of the other things these little chips can do. Join me after the break [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=30193&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-29579" title="avr-programming-for-everyone" src="http://hackadaycom.files.wordpress.com/2010/10/avr-programming-for-everyone.jpg" alt="" width="470" height="150" /><br />
Welcome back to this fourth and final installment of the series. The first three parts should have been enough to get you off the ground, but a few more learning examples wouldn&#8217;t hurt. It&#8217;s also a good time to discuss some of the other things these little chips can do. Join me after the break to:</p>
<ul>
<li>Expand the sample code, adding features to our simple program while I challenge you to write the code yourself.</li>
<li>Discuss AVR fuse bits, how to use them, and what to watch out for</li>
<li>Touch on some of the peripherals you&#8217;ll come across in these chips</li>
</ul>
<p>As a grand flourish to the series, I&#8217;ve used the example hardware from this final part to build a bicycle tail light. Hopefully this will inspire you to create something much more clever.</p>
<p><strong>Series roadmap:</strong></p>
<ul>
<li><a title="Permanent Link to AVR Programming 01: Introduction" rel="bookmark" href="http://hackaday.com/2010/10/23/avr-programming-introduction/">AVR Programming 01: Introduction</a></li>
<li><a title="Permanent Link to AVR Programming 01: Introduction" rel="bookmark" href="http://hackaday.com/2010/10/23/avr-programming-introduction/"></a><a title="Permanent Link to AVR Programming 02: The Hardware" rel="bookmark" href="http://hackaday.com/2010/10/25/avr-programming-02-the-hardware/">AVR Programming 02: The Hardware</a></li>
<li><a title="Permanent Link to AVR Programming 02: The Hardware" rel="bookmark" href="http://hackaday.com/2010/10/25/avr-programming-02-the-hardware/"></a><a title="Permanent Link to AVR Programming 03: Reading and compiling code" rel="bookmark" href="http://hackaday.com/2010/11/05/avr-programming-03-reading-and-compiling-code/">AVR Programming 03: Reading and compiling code</a></li>
<li><a href="http://hackaday.com/2010/11/19/avr-programming-04-writing-code-etc/">AVR Programming 04: Writing code</a></li>
</ul>
<p><span id="more-30193"></span></p>
<h2>Adding to the Example Hardware</h2>
<p>The example code that I&#8217;ve been working with on the last two parts of this tutorial is a bit boring. It makes one LED blink on and off at a rate of about 1 Hz. That LED was connected to the pin for PD0, so let&#8217;s start out by adding an LED and resistor to the rest of the PORT D pins for a total of 8 LEDs. We should also talk about inputs, so let&#8217;s add a switch on PC0. Here&#8217;s a schematic showing our changes:</p>
<p><strong><a href="http://hackadaycom.files.wordpress.com/2010/11/m168_led_button.png"><img class="alignnone size-large wp-image-30819" title="m168_led_button" src="http://hackadaycom.files.wordpress.com/2010/11/m168_led_button.png?w=450&#038;h=192" alt="" width="450" height="192" /></a><br />
</strong></p>
<p>I moved the original LED over to some open space on the right side of the breadboard. I&#8217;m connecting the cathode to the ground rail on the bottom, jumping the trench with a resistor, and connecting a jumper from that resistor to the Port D pins on the microcontroller. I organized the LEDs in ascending order from right to left making it easy to address them when writing code:</p>
<p><img class="alignnone size-full wp-image-30812" title="avrtut-8leds" src="http://hackadaycom.files.wordpress.com/2010/11/avrtut-8leds.jpg" alt="" width="470" height="353" /></p>
<p>If you know your <a href="http://www.google.com/images?hl=en&amp;q=resistor+color+code&amp;um=1&amp;ie=UTF-8&amp;source=univ&amp;ei=WOziTOSAB8Hsngfqr7jODg&amp;sa=X&amp;oi=image_result_group&amp;ct=title&amp;resnum=2&amp;ved=0CDUQsAQwAQ&amp;biw=1024&amp;bih=441">resistor color codes</a> you&#8217;ll notice that the Brown-Green-Red resistors I&#8217;m using are 1.5 kOhms, strangling the current to a tiny trickle for LEDs. Well, I&#8217;m using super bright LEDs, and these resistors were the first that I pulled out. They work just fine for prototyping but should be replaced with a correctly calculated value on a finished product.</p>
<p>Next I hooked up a button. Digital inputs on microcontrollers need to have a value of 0V or VCC (input voltage which is 5V in our case). If they don&#8217;t have a clear value they are said to be &#8220;floating&#8221; which can lead to false button readings and other unhappy occurences. We need to set up hardware that will force a value of 0V or 5V at all times. This turns out to be quite simple. By connect the switch from the pin to ground and a resistor from the pin to VCC (called a pull-up resistor) there will always be a very small 5V current trickling into the pin, except when an unrestricted path to ground is created by pressing the button. We don&#8217;t even need our own resistor as there&#8217;s one inside the microcontroller that we&#8217;ll take advantage of. Here&#8217;s a schematic showing what this connection, along with the internal pull-up resistor, looks like:</p>
<p><img class="alignnone size-full wp-image-30818" title="button_conn_sch" src="http://hackadaycom.files.wordpress.com/2010/11/button_conn_sch.jpg" alt="" width="470" height="240" /></p>
<p>That description is a mouthful but all we&#8217;re really doing is placing a button between PC0 and Ground. Pin 23 is PC0 on the ATmega168 and the pin right next to that (pin 22) is GND. I&#8217;ve connected a switch accordingly. In the following image please note that Pin 22 is connected with a jumper wire to the ground rail above it, but is obscured by the black wire from the push button:</p>
<p><img class="alignnone size-full wp-image-30814" title="avrtut-btn-added" src="http://hackadaycom.files.wordpress.com/2010/11/avrtut-btn-added.jpg" alt="" width="470" height="353" /></p>
<p>And finally, I want to make connections to the chip for In-System Programming. I like to do this using <a href="http://hackaday.com/2010/05/07/5x2-patch-board/">a patch board that I created</a>. This lets me use a 10-pin IDC cable for easy connection to my programmer:</p>
<p><img class="alignnone size-full wp-image-30815" title="avrtut-btn-and-isp" src="http://hackadaycom.files.wordpress.com/2010/11/avrtut-btn-and-isp.jpg" alt="" width="470" height="353" /></p>
<p>That&#8217;s it. I plan to use this hardware with several different firmware examples so double-check your wiring and then start writing code.</p>
<h2>Writing Code</h2>
<p>Time to practice writing your own code. I have come up with <a href="https://github.com/Hack-a-Day/had_AVRtut_4">four firmware examples</a> ranging in difficulty from &#8220;Hello World&#8221; to &#8220;Damn That&#8217;s Slick&#8221;. I&#8217;ll discuss each of them briefly but along the way you should try to write your own code, using my examples as&#8230; examples. The best way to learn to code is to write a small portion of code, let the compiler yell at you for messing up, and then figure out how to fix it.</p>
<p><strong>Blinking all 8 (8led_1hz)</strong></p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/11/19/avr-programming-04-writing-code-etc/"><img src="http://img.youtube.com/vi/ssBfFUoLjFI/2.jpg" alt="" /></a></span>
<p>First thing&#8217;s first, can <em><strong>you</strong></em> make the <a href="https://github.com/Hack-a-Day/had_AVRtut_2">example code from Part 2</a> blink all 8 LEDs instead of just one?</p>
<p>There&#8217;s really only two things that you need to change from the original to make this happen. First, when setting up the input/output, make all of the pins on Port D outputs, then turn them all on. Second, when toggling the bits in the Interrupt Service Routine use a bitmask that affects all eight bits.</p>
<p><a href="https://github.com/Hack-a-Day/had_AVRtut_4">The source package for this part</a> of the series includes this alteration. Grab a copy of it and look at the 8led_1hz code. In it you&#8217;ll find these changes:</p>
<p><pre class="brush: cpp; wrap-lines: false;">  DDRD |= 0xFF;			//Set PortD pins as an outputs
  PORTD |= 0xFF;		//Set PortD pins high to turn on LEDs
</pre></p>
<p><pre class="brush: cpp; wrap-lines: false;">  PORTD ^= 0xFF;		//Use xor to toggle the LEDs</pre></p>
<p>As you can see, both portions of code use 0xFF as a bit mask. This is a byte containing all ones, which will manipulate every pin on the registers to which we apply it. Before I had shifted a bit using this:</p>
<pre style="padding-left:30px;">'1&lt;&lt;0'</pre>
<p>It resulted in a bit mask of 0&#215;01, protected the upper seven bits from being changed during register manipulation.</p>
<p><strong>Make the LEDs do something interesting (m168_led_effects)</strong></p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/11/19/avr-programming-04-writing-code-etc/"><img src="http://img.youtube.com/vi/d-wyP7iYaWg/2.jpg" alt="" /></a></span>
<p>Now I&#8217;m going to take a big step forward in C code difficulty. But I challenge you to develop three different types of LED effects by yourself:</p>
<ul>
<li>A binary counter which counts up at 1 bit per second</li>
<li>A flasher that alternates lighting every other LED</li>
<li><a href="http://www.youtube.com/watch?v=NPAqGgYpb4A">Larson scanner</a> (a simple one, doesn&#8217;t need to use PWM)</li>
</ul>
<p>You&#8217;ll find my example code in the m168_led_effects directory. Here&#8217;s some of the new things I&#8217;m using in my code:</p>
<p style="padding-left:30px;"><strong>Definitions:</strong> I&#8217;m using definitions for common settings and for I/O pins, ports, and direction registers. These are constants that the compiler will replace with appropriate values but they make your job much easier. If you get most of the way into a project and realize you need to change some of the hardware this will make it simple to do. Need to change from Port D to Port C? No problem, change the #define and the rest of the code will still work</p>
<p style="padding-left:30px;"><strong>Delay:</strong> AVR libc has a nice delay utility called delay.h. You can see that I&#8217;ve included it at the top of the source file and also written a function called delay_ms(). This is a moderately accurate way to mark the passage of time. The drawback to using this is that you are literally wasting time when the processor could be doing other things. Still, it&#8217;s simple and if you&#8217;re new to microcontrollers you&#8217;ll probably find yourself using this frequently at first.</p>
<p>Also notable in this version of the code is my use of functions to take the complexity out of MAIN. I like to do this when I can to make program flow more readable. If you use descriptive function names it will be easy for others to see how the firmware works just by looking at main. This is also why I comment my code quite a lot. Not just for others, but so I can read it quickly if I come back to it later and don&#8217;t remember what I originally wrote the program to do.</p>
<p>Before we move on here&#8217;s a quick synopsis of how I solved the three goals:</p>
<ul>
<li>When displaying a binary counter at 1Hz I simply start Timer 2 the same way I did for the blinking LED in Part 2 of the tutorial. Each time it fires I don&#8217;t toggle the pins, but set the entire port to an 8-bit variable value while incrementing it at the same time. The ++binary_counter increments that value just before it sets Port D. It is crucial that this value be a global variable using the keyword &#8216;volatile&#8217; because it is changed by both the ISR and in the main loop. If you don&#8217;t make it volatile the compiler might optimize the code in a way that disturbs or disrupts the intended functionality.</li>
<li>Creating an alternating flasher is much the same as toggling a single LED. I set up for the effect by instantiating a variable with every-other bit as 1. When using an exclusive OR operator (XOR) on this value, all of the bits will flip. I could have set up an interrupt with a shorter delay than the 1 Hz interrupt to take care of this but for learning purposes I used a delay instead.</li>
<li>The Larson scanner is a classic bit of blinky goodness. The core function is to illuminate one LED and sweep it back and forth. To do this I just created a loop to shift the bits, waiting after each change. Once the LED on the end is lit the program leaves the loop and enters another one to shift bits the other way. The same could have been accomplished with a variable that keeps track of which direction the LED is moving, testing during each iteration.</li>
</ul>
<p>When you&#8217;ve read and understood how this code works it is time to get the button up and running.</p>
<p><strong>Make the button do something (m168_led_button)</strong></p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/11/19/avr-programming-04-writing-code-etc/"><img src="http://img.youtube.com/vi/N7AJeXsk_KQ/2.jpg" alt="" /></a></span>
<p>We brought a button to the party, let&#8217;s alter our LED effects so that the button is used to change between the three possibilities. If you&#8217;ve never written code for a button input before there&#8217;s little chance you&#8217;ll be able to pull this off yourself, so open up the code in the m168_led_button folder and lets walk through it.</p>
<p style="padding-left:30px;"><strong>Debounce:</strong> Buttons often register more than one press if not handled correctly, a process called debouncing. There is a hardware fix for this, but you can learn about that on your own time. Recently, I gathered a <a href="http://hackaday.com/2010/11/09/debounce-code-one-post-to-rule-them-all/">post full of different debounce code</a>, but <a href="http://hackaday.com/2010/10/13/open-call-send-us-your-debounce-code/">the one I almost always use</a> is based on code by [Peter Dannegger]. It relies on several parts:</p>
<ul>
<li>Code to start a timer with an overflow interrupt</li>
<li>An ISR to service the timer overflow, resetting the timer for 10ms interrupts and polling the button pin.</li>
<li>A bit mask and pin definitions that identify how the buttons are hooked up</li>
<li>A function used to check if a button press has been registered</li>
<li>Code to check that function and act when a button has been pressed.</li>
</ul>
<p>The magic is in the ISR debounce code. It flips bits in a binary counter to register four successive button press readings totalling 40ms. That signals a legitimate button press and when the get_key_press function is called it will return a populated key mask. To help understand how this debounce code works, I have included a code example called button_debounce. This has been slimmed down to include only the code used to debounce. Pressing the button will toggle the LEDs.</p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/11/19/avr-programming-04-writing-code-etc/"><img src="http://img.youtube.com/vi/PjI0GsT0bVI/2.jpg" alt="" /></a></span>
<p>During the hardware setup I talked about using the internal pull-up resistors. I have to remember to set those up at the beginning of the program or the input pin will be floating. The datasheet talks about this on page 71. When a pin is set to input using the Data Direction Register, writing a high value to the Port bit for that pin will enable the pull-up resistor. From there the current status of the pin can be grabbed from the appropriate Pin register. Notice the ISR used for debouncing reads KEY_PIN, which is defined as the PINC register at the top of the source code. You don&#8217;t have to read the Pin register because the ISR is doing it for you.</p>
<p>My implementation of button debouncing in the m168_led_button code is just fine, but my use of the button is a hack. I should have used a state machine and gotten rid of the delay functions in the code. For simplicity I just littered calls to get_key_press throughout the code whenever I was trapping the program in a loop. I used the detection of a key press to return to main from the function the program is stuck in.</p>
<p>Pick this apart, writing simple code that you understand and slowly you will build the knowledge base necessary to understand this code as a whole.</p>
<p><strong>Creating something useful (m168_bike_light)</strong></p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/11/19/avr-programming-04-writing-code-etc/"><img src="http://img.youtube.com/vi/FxZPDY5Kf-Y/2.jpg" alt="" /></a></span>
<p>I wanted to finish the code writing section with a useful application for our test hardware. Behold, a bicycle tail light. It has a button to scroll through several different red light patterns, and it uses sleep mode to shut off the LEDs and conserve battery power.</p>
<p>I&#8217;ve changed the program flow to use a state machine. This is a bit of a juggling act. I use an interrupt to set a flag called &#8216;timer&#8217;. The main loop constantly polls that flag, as well as the button, and acts accordingly. Whenever that flag is set the next step of the LED effect is performed.</p>
<p>Sleep mode is also used in this example. One thing to note: when in sleep mode the chip uses almost no current, conserving batteries. But the linear power regulator still burns away like crazy. For this to be useful the code should be ported to a chip that operates at low voltages. For instance, you could use a tiny13 and two AA batteries without a regulator. Adjustments would need to be made for less pins and corrected LED resistor values, but these are not difficult changes to make. Have a look at the code in the m168_bike_light folder. The comments and your hard-earned AVR knowledge will help you understand how this works. Good luck!</p>
<p>Now I&#8217;ll move on to the discuss one of the most important parts of theses microcontrollers:</p>
<h2>AVR Fuse Bits</h2>
<p>The fuse bits are a set of registers that control some core features of the AVR line of chips. You can think of them as another type of memory, programmed separately from the code that you want to execute.</p>
<p><strong>Read the datasheet</strong></p>
<p>Fuse bits for the ATmega168 are covered starting on page 285 of <a href="http://www.atmel.com/dyn/resources/prod_documents/doc2545.pdf">the datasheet</a>. You should make yourself thoroughly familiar with this information. <span style="color:#ff0000;">Incorrectly programming these registers could render your chip useless<span style="color:#ffffff;"> unless</span></span><span style="color:#ffffff;"> you have a programmer capable of High Voltage Programming (HVP).</span></p>
<p>There are three fuse bit registers on our chip, the Extended fuse byte, the High fuse byte and the Low fuse byte. All of them use inverse logic, meaning that a &#8217;1&#8242; means the corresponding feature is NOT selected. I start every project with these registers set to the factory default, information I keep in a text file with the factory fuse defaults for all the chips I work with. At the beginning of every project I try to talk to the chip using the &#8216;-v&#8217; option of AVRdude to make sure the programmer and chip are both working correctly to save time on later debugging. Here are the ATmega168 defaults:</p>
<ul>
<li>efuse: 0b11111111 (0xFF)</li>
<li>hfuse: 0b11011111 (0xDF)</li>
<li>lfuse: 0b01100010 (0&#215;62)</li>
</ul>
<p>I&#8217;ll touch on most of these features in the next section. But of particular concern are the bits that select the clock source, and the reset disable bit. If you disable the reset pin, by accident or in order to use it as an I/O pin, you will need to use HVP or debugWire to use ISP programming again. If the clock pins are changed you will need the appropriate external clock signal, or HVP for the same reason.</p>
<p>You can program the fuse bits using AVRdude. In fact, <a href="http://www.nongnu.org/avrdude/user-manual/avrdude_6.html">there&#8217;s an example in the documentation</a>. This command will reset the fuses to the factory settings:</p>
<p><pre class="brush: cpp; wrap-lines: false;">avrdude -c dragon_isp -P usb -p m168 -U efuse:w:0xff:m -U hfuse:w:0xdf:m -U lfuse:w:0x62:m</pre></p>
<h2>AVR Peripherals (A Whirlwind Tour)</h2>
<p>Take a whirlwind tour of the features available to you on this chip. This is gonna be quick, but you already have the core skills you need. Just read the datasheet and using the Internet to connect the rest of the dots.</p>
<p><strong>EEPROM memory</strong></p>
<p>Most (if not all) of the AVR chips come with Electronically Erasable Programmable Read Only Memory. This is persistent memory that stores data between resets and when there is no power to the chip. This is where data loggers store information and often contains things like text strings, font data, etc. AVR-GCC will generate an .EEP file at compile time with any EEPROM data that you use in your programs. This needs to be programmed to the chip separately from flash data.</p>
<p><strong>Timers (Regular and Watchdog)</strong></p>
<p>Timers are where it&#8217;s at in terms of functionality. They go far beyond simply measuring time, and can be used to wake the chip up from sleep mode, to generate pulse width modulation frequencies, and much more. Some chips have asyncronous timers, like Timer/Counter 2 on the ATmega168, that can use an external clock signal separate from the other timers.</p>
<p>Also not to be missed is the Watchdog timer. These timers can save money, and even lives. They are a hardware timer enabled through the fuse bits that will reset the microcontroller if not handled in software. Why would you want to do that? Because nobody writes perfect code. When using a Watchdog timer you frequently reset its counter during successful code execution. That way if your code ever hangs or gets caught in a loop the Watchdog timer will automatically reset the device, getting you out of a software-caused bind. See <a href="http://www.ganssle.com/watchdogs.htm">what [Jack Ganssle] has to say</a> about them.</p>
<p><strong>Real time counter</strong></p>
<p>I mentioned above that Timer/Counter 2 can be run asynchronously from the rest of the timer/counters. Why is that valuable? One of the uses is as a Real Time Counter (RTC). This works in conjunction with a clock crystal to keep track of the time and date.</p>
<p><strong>Hardware PWM</strong></p>
<p>Continuing with the theme of timer/counter based featured, these chips have hardware-based pulse width modulation. PWM generates a signal between 0V and VCC by turning a pin output on and off frequently. The frequency used, and the duty cycle (ratio of high versus low over one period) are set in the registers and you don&#8217;t have to think about it again until you want to change them. This is useful for a slew of things, like dimming an LED, driving a servo motor, or generating sound on a piezo.</p>
<p><strong> </strong><strong>ADC</strong></p>
<p>If you want to measure an analog value you need an Analog-to-Digital Converter. Most AVR chips have several of these with varying degrees of precision. This enables you to do things like measure light levels using a photoresistor and reading the value of a potentiometer (using it like a settings knob).</p>
<p><strong>USART</strong></p>
<p>The ATmega168 has a Universal Synchronous and Asynchronous serial Receiver and Transmitter which allows it to communicate in many different ways. This includes serial communications like USB (by taking advantage of <a href="http://www.obdev.at/products/vusb/index.html">the V-USB stack</a>), as well as chip-to-chip communication standards like SPI, I2C, and TWI.</p>
<p><strong>SPI</strong></p>
<p>The AVR family often incorporates Serial Peripheral Interface bus communications protocols into its hardware. The USART on the ATmega168 offers master SPI functionality, used to control other chips that also use the protocol via three connections; two for data one for clock.</p>
<p><strong>I2C/TWI</strong></p>
<p>The USART also offers hardware I2C and Two Wire Interface features. Like SPI these are common chip-to-chip protocols but they use just two wires; one for data and the other for a clock signal.</p>
<p><strong>Analog comparator</strong></p>
<p>The analog comparator uses two input pins to compare analog signals. Based on their relation, the chip can be set to fire interrupts if one changes value compared to the other. The two inputs can be mapped to any of the ADC pins, but only two values can be compared at one time. I&#8217;ve never used this feature and I&#8217;m basing this description purely on what I&#8217;ve read in the datasheet. Sorry!</p>
<p><strong>Lock bits</strong></p>
<p>Any code you write to these chips can be read back and stored (albeit what comes back out is machine code, the C code we&#8217;ve been writing can never be reproduced perfectly from what you get off the chip). That can then be used to program other identical chips. But there is a feature called lock bits that can protect that code. Once set, the chip cannot be read, and depending on which bits are set it may not be able to be reprogrammed. That is, until the chip has been erased, which resets these lock bits.</p>
<p><strong>JTAG, debugWire, and High Voltage Programming</strong></p>
<p>In this tutorial we&#8217;ve been using In System Programming, but there are a few other ways to program AVR chips. JTAG is a standard hardware debugging (and programming) interface that some chips have, but the ATmega168 does not. Many of these chips can use the debugWire protocol to program and debug with just one wire communicating on the reset pin. Both JTAG and debugWire protocols are configured using the fuse bits.</p>
<p>High Voltage Programming is used to rescue chips that cannot be reached using other programming methods. There are two kinds, High Voltage Parallel Programming, like the ATmega168 uses, or High Voltage Serial Programming which chips with a low-pin count use. If you disable the Reset pin or enable debugWire, or set the clock source incorrectly in the fuse settings, HVPP or HVSP should be able to reset the fuses and rescue the &#8220;bricked&#8221; chip.</p>
<p><strong>Power and Sleep</strong></p>
<p>Microcontrollers operate so quickly there is often just wasted time as they scroll the infinite loop waiting for an interrupt to happen. If you are operating under battery power this just wastes juice. By using the power saving and sleep modes batteries can last longer. This is accomplished by turning off power hungry peripherals like the ADC, and shutting down the processor when not needed by putting it to sleep. They&#8217;re a bit tricky to understand, but often worth your while</p>
<h2>Conclusion</h2>
<p>That&#8217;s it really. I&#8217;ve had a great time writing about this. Fiddling with microcontrollers is my favorite hobby and I hope it has become yours as well. These are really very simple concepts that grow in complexity as you pile them atop each other. Just compare the original Part 2 source code with the bicycle tail light code. But that&#8217;s the fun of it. This is the inventor&#8217;s equivalent of a choose your own adventure novel. So come up with a challenge and see where it takes you!</p>
<h2>Follow Me</h2>
<p><a href="http://twitter.com/szczys">@szczys</a></p>
<h2>Resources</h2>
<p>Part 4 Firmware package: <a href="https://github.com/Hack-a-Day/had_AVRtut_4">Github repository</a></p>
<p>Atmel AVR <a href="http://www.atmel.com/dyn/resources/prod_documents/doc2545.pdf">ATmega168 Datasheet</a> (PDF)</p>
<p><a href="http://www.nongnu.org/avr-libc/user-manual/">AVR Libc manual</a></p>
<div id="_mcePaste" class="mcePaste" style="position:absolute;left:-10000px;top:1364px;width:1px;height:1px;"><a href="http://www.ganssle.com/watchdogs.htm">http://www.ganssle.com/watchdogs.htm</a></div>
<br />Filed under: <a href='http://hackaday.com/category/how-to/'>how-to</a>, <a href='http://hackaday.com/category/microcontrollers/'>Microcontrollers</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/30193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/30193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/30193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/30193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/30193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/30193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/30193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/30193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/30193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/30193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/30193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/30193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/30193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/30193/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=30193&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/11/19/avr-programming-04-writing-code-etc/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/avr-programming-for-everyone.jpg" medium="image">
			<media:title type="html">avr-programming-for-everyone</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/11/m168_led_button.png?w=450" medium="image">
			<media:title type="html">m168_led_button</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/11/avrtut-8leds.jpg" medium="image">
			<media:title type="html">avrtut-8leds</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/11/button_conn_sch.jpg" medium="image">
			<media:title type="html">button_conn_sch</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/11/avrtut-btn-added.jpg" medium="image">
			<media:title type="html">avrtut-btn-added</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/11/avrtut-btn-and-isp.jpg" medium="image">
			<media:title type="html">avrtut-btn-and-isp</media:title>
		</media:content>
	</item>
		<item>
		<title>Under-desk RGB keyboard lighting</title>
		<link>http://hackaday.com/2010/11/11/under-desk-rgb-keyboard-lighting/</link>
		<comments>http://hackaday.com/2010/11/11/under-desk-rgb-keyboard-lighting/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 21:00:35 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[home hacks]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[desk]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[rgb]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=30587</guid>
		<description><![CDATA[[Jay Collett] was having trouble seeing his keyboard when the room was dim. But throwing a light under the desk just didn&#8217;t seem cool enough. Instead he built an RGB light board that is controlled by his desktop. The board is based around an ATmega328 with the Arduino booloader. He etched a single-sided PCB to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=30587&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-30591" title="under-desk-keyboard-light" src="http://hackadaycom.files.wordpress.com/2010/11/under-desk-keyboard-light1-e1289495811248.jpg" alt="" width="470" height="353" /></p>
<p>[Jay Collett] was having trouble seeing his keyboard when the room was dim. But throwing a light under the desk just didn&#8217;t seem cool enough. Instead he built <a href="http://www.jaycollett.com/2010/11/arduino-clone-powered-rgb-keyboard-light/">an RGB light board that is controlled by his desktop</a>. The board is based around an ATmega328 with the Arduino booloader. He etched a single-sided PCB to connect it to a group of five RGB LEDs, with a programming header for an FTDI cable. The board communicates with a PC via serial connection, with a C# control application that [Jay] coded to control the color. We&#8217;ve embedded a couple of videos after the break but check his page for a package of code and hi-res pictures.</p>
<p>If you want something cool that&#8217;s a little bit less work to build check out the EL-wire keyboard <a href="http://hackaday.com/2010/08/22/hackaday-links-august-22-2010/">from this links post</a>.</p>
<p><span id="more-30587"></span></p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/11/11/under-desk-rgb-keyboard-lighting/"><img src="http://img.youtube.com/vi/dtvuBaSUJco/2.jpg" alt="" /></a></span>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/11/11/under-desk-rgb-keyboard-lighting/"><img src="http://img.youtube.com/vi/H2rnBi3CSaE/2.jpg" alt="" /></a></span>
<br />Filed under: <a href='http://hackaday.com/category/home-hacks/'>home hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/30587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/30587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/30587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/30587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/30587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/30587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/30587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/30587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/30587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/30587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/30587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/30587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/30587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/30587/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=30587&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/11/11/under-desk-rgb-keyboard-lighting/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/11/under-desk-keyboard-light1-e1289495811248.jpg" medium="image">
			<media:title type="html">under-desk-keyboard-light</media:title>
		</media:content>
	</item>
		<item>
		<title>Machine your own Ring Light</title>
		<link>http://hackaday.com/2010/11/09/machine-your-own-ring-light/</link>
		<comments>http://hackaday.com/2010/11/09/machine-your-own-ring-light/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 14:11:28 +0000</pubDate>
		<dc:creator>James Munns</dc:creator>
				<category><![CDATA[digital cameras hacks]]></category>
		<category><![CDATA[led hacks]]></category>
		<category><![CDATA[lathe]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[lexan]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[microscope]]></category>
		<category><![CDATA[ring]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=30368</guid>
		<description><![CDATA[[Alan] acquired a stereo microscope from eBay, and decided to save some more money by designing, machining, and assembling his own arc reactor ring light to go along. After finding an LED driver board sitting around as well as ordering some surface mount LEDs, he set about using a lathe to cut away a block [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=30368&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-30369" title="title2" src="http://hackadaycom.files.wordpress.com/2010/11/title2.png" alt="" width="470" height="200" /></p>
<p>[Alan] acquired a stereo microscope from eBay, and decided to save some more money by designing, machining, and assembling his own <del>arc reactor</del> <a href="http://bobodyne.com/web-docs/robots/RingLight/RingLight.html">ring light</a> to go along. After finding an LED driver board sitting around as well as ordering some surface mount LEDs, he set about using a lathe to cut away a block of lexan, making sure to include slots for the lights as well as the microscope mount point. Follow the link to see the detailed build photos, as well as some comparison shots with and without the ring light.</p>
<p>A month or two earlier though, and [Alan] would have had a fantastic start to an Iron Man costume.</p>
<br />Filed under: <a href='http://hackaday.com/category/digital-cameras-hacks/'>digital cameras hacks</a>, <a href='http://hackaday.com/category/led-hacks/'>led hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/30368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/30368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/30368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/30368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/30368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/30368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/30368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/30368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/30368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/30368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/30368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/30368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/30368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/30368/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=30368&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/11/09/machine-your-own-ring-light/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jahmez</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/11/title2.png" medium="image">
			<media:title type="html">title2</media:title>
		</media:content>
	</item>
		<item>
		<title>Crutch-mounted light</title>
		<link>http://hackaday.com/2010/10/29/crutch-mounted-light/</link>
		<comments>http://hackaday.com/2010/10/29/crutch-mounted-light/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 16:01:27 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[digital cameras hacks]]></category>
		<category><![CDATA[crutches]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=29892</guid>
		<description><![CDATA[[Malikaii] is exercising the hacker spirit inside by building light stands out of junk. He&#8217;s using them as an alternative to purchasing off-camera flash units. He made this one using a lot of salvaged parts; two crutches make up the frame, a discarded reflector for one of those highway-work floodlights will house the flash, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=29892&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-29893" title="crutch-mouted-light" src="http://hackadaycom.files.wordpress.com/2010/10/crutch-mouted-light.jpg" alt="" width="470" height="400" /></p>
<p>[Malikaii] is exercising the hacker spirit inside by <a href="http://vented-toxins.livejournal.com/1398.html">building light stands out of junk</a>. He&#8217;s using them as an alternative to purchasing off-camera flash units. He made this one using a lot of salvaged parts; two crutches make up the frame, a discarded reflector for one of those highway-work floodlights will house the flash, and an old pillow case diffuses the light. The version above can easily be moved around by an assistant, or if you&#8217;re shooting solo [Malikaii] also found that the base from an oscillating fan was easy to adapt for use with the crutch frame.</p>
<p>If you&#8217;re not able to scavenge these parts perhaps <a href="http://hackaday.com/2010/03/03/build-your-own-lightweight-flash-tripod/">a folding light tripod</a> is what you need.</p>
<br />Filed under: <a href='http://hackaday.com/category/digital-cameras-hacks/'>digital cameras hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/29892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/29892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/29892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/29892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/29892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/29892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/29892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/29892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/29892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/29892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/29892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/29892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/29892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/29892/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=29892&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/10/29/crutch-mounted-light/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/crutch-mouted-light.jpg" medium="image">
			<media:title type="html">crutch-mouted-light</media:title>
		</media:content>
	</item>
	</channel>
</rss>
