<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Half-Byte &#187; Project</title>
	<atom:link href="http://half-byte.com/category/project/feed/" rel="self" type="application/rss+xml" />
	<link>http://half-byte.com</link>
	<description>Doing more with less.</description>
	<lastBuildDate>Mon, 08 Mar 2010 19:46:22 +0000</lastBuildDate>
		<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Old School Bluetooth Handset</title>
		<link>http://half-byte.com/2010/03/08/old-school-bluetooth-handset/</link>
		<comments>http://half-byte.com/2010/03/08/old-school-bluetooth-handset/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 19:44:11 +0000</pubDate>
		<dc:creator>nibble</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[cell phone]]></category>
		<category><![CDATA[handset]]></category>
		<category><![CDATA[mobile phone]]></category>
		<category><![CDATA[pennies]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[rotary]]></category>

		<guid isPermaLink="false">http://half-byte.com/?p=67</guid>
		<description><![CDATA[<p>I had a little fun and threw together something I always wanted to do.</p>
<p>Back in the day, we used these massive handsets with our land line telephones.  They had just the right amount of heft and a design that allows you to &#8217;shoulder&#8217; the handset.  You can still find them in hotels and attached to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://half-byte.com/wp-content/uploads/2010/03/phone_down1.png"><img class="alignleft size-medium wp-image-76" title="Old Rotary Handset" src="http://half-byte.com/wp-content/uploads/2010/03/phone_down1-300x225.png" alt="Handset for an old rotary phone" width="180" height="135" /></a>I had a little fun and threw together something I always wanted to do.</p>
<p>Back in the day, we used these massive handsets with our land line telephones.  They had just the right amount of heft and a design that allows you to &#8217;shoulder&#8217; the handset.  You can still find them in hotels and attached to payphones.</p>
<p>Today our cellphones are tiny, light, and too slim to shoulder.  So, with a nostalgic wisp I decided to pack a cell phone into the handset of an old rotary telephone.<br />
<br/><span id="more-67"></span><br />
<a href="http://half-byte.com/wp-content/uploads/2010/03/phone_guts1.png"><img class="alignright size-medium wp-image-72" title="Bluetooth guts" src="http://half-byte.com/wp-content/uploads/2010/03/phone_guts1.png" alt="" width="180" height="135" /></a>It was a short build and I ended up packing a bluetooth ear piece into the enclosure instead of a full, outright wireless mobile phone.  This way, there&#8217;s no need to get a separate phone account or swap out SIM cards.</p>
<p>The build was basic.  I simply cracked open the bluetooth headset, saw what was inside, and did some simple soldering to extend the wires for the ear speaker and surprisingly tiny microphone.  I also soldered a header connection on the microphone wire since it would be useful to disconnect the device from the handset without having to re-thread everything.</p>
<p>After packing everything up, it worked like a charm.  However, it was lacking one important element; the proper weight.  Since the old massive mouthpiece microphone and old ear speaker were tossed aside, the balance and heft were off.</p>
<p><a href="http://half-byte.com/wp-content/uploads/2010/03/phone_side.png"><img class="size-medium wp-image-74 alignleft" title="Old Phone Side" src="http://half-byte.com/wp-content/uploads/2010/03/phone_side-300x225.png" alt="The side of an old phone handset" width="180" height="135" /></a>I wandered around my home looking for good ballast and turned up a handful of pennies.  These were stuffed into the handset, along with some packing foam to keep the electronics and coins from jingling.  Once that was done, I had a blast chatting away on my new cell phone &#8216;handset&#8217;.</p>
<p>After mentioning this project to a friend, he explained how he pictured me with the handset driving down the road.  &#8220;That&#8217;s not gonna work.  It would be illegal in California.&#8221;  So, we both chuckled and explained how it could be strapped to my head with a sweat band.  With that image in mind, I couldn&#8217;t help but envision being pulled over by a policeman with it stuck to my head and saying with a wink, &#8220;What seems to be the problem officer?&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://half-byte.com/2010/03/08/old-school-bluetooth-handset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Charge Station for the New Decade</title>
		<link>http://half-byte.com/2010/01/07/new-charge-station-for-the-new-decade/</link>
		<comments>http://half-byte.com/2010/01/07/new-charge-station-for-the-new-decade/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 20:54:04 +0000</pubDate>
		<dc:creator>nibble</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[adapter]]></category>
		<category><![CDATA[cell]]></category>
		<category><![CDATA[Charge Station]]></category>
		<category><![CDATA[daiso]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[power station]]></category>

		<guid isPermaLink="false">http://www.half-byte.com/2010/01/07/new-charge-station-for-the-new-decade/</guid>
		<description><![CDATA[<p>I used the Charge Station I built for a while, but the appearance started to annoy me.  Why would I want to have a plastic tupperware box sitting out in my living room, especially when the duct tape was visible through the frosted top?  The box was too sloppy so I made another attempt at [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.half-byte.com/wp-content/uploads/2010/01/box_closed.png" title="Charge Station"><img src="http://www.half-byte.com/wp-content/uploads/2010/01/box_closed.thumbnail.png" alt="Charge Station" align="left" hspace="10" /></a>I used the <a href="http://www.half-byte.com/2008/05/07/diy-charge-station-for-your-electronic-devices/" title="Charge Station" target="_blank">Charge Station</a> I built for a while, but the appearance started to annoy me.  Why would I want to have a plastic tupperware box sitting out in my living room, especially when the duct tape was visible through the frosted top?  The box was too sloppy so I made another attempt at it.</p>
<p>This time I spent the following (<strong>Total $7.50</strong>):</p>
<ol>
<li>Tiny surge protector from <a href="http://www.daiso-sangyo.co.jp/english/" title="Daiso" target="_blank">Daiso</a>: $1.50</li>
<li>Three wooden trays from <a href="http://www.daiso-sangyo.co.jp/english/" title="Daiso" target="_blank">Daiso</a>: 3 x $1.50 = $4.50</li>
<li>Hinges from <a href="http://www.daiso-sangyo.co.jp/english/" title="Daiso" target="_blank">Daiso</a>: $1.50</li>
<li>Elmer&#8217;s Glue: practically free&#8230;</li>
</ol>
<p>The power adapter was cheap, so I felt free to disassemble it to fit it through the tray handle; the power plug wouldn&#8217;t fit otherwise.  This was straight forward since the power adapter had regular Phillips screws.</p>
<p><a href="http://www.half-byte.com/wp-content/uploads/2010/01/box_cracked.png" title="Box Cracked"><img src="http://www.half-byte.com/wp-content/uploads/2010/01/box_cracked.thumbnail.png" alt="Box Cracked" align="middle" hspace="10" /></a>  <a href="http://www.half-byte.com/wp-content/uploads/2010/01/box_back.png" title="Box Back"><img src="http://www.half-byte.com/wp-content/uploads/2010/01/box_back.thumbnail.png" alt="Box Back" align="middle" hspace="10" /></a> <a href="http://www.half-byte.com/wp-content/uploads/2010/01/box_open.png" title="Box Open"><img src="http://www.half-byte.com/wp-content/uploads/2010/01/box_open.thumbnail.png" alt="Box Open" align="middle" hspace="10" /></a></p>
<p>I needed to use a razor to cut out the bottom of one tray to make more space for the power adapters.  This was a little tedious and probably the most difficult part.  But, otherwise this project was simple, fun, and quick.  It only took about an hour to complete.</p>
]]></content:encoded>
			<wfw:commentRss>http://half-byte.com/2010/01/07/new-charge-station-for-the-new-decade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bricking an ATTiny2313 and getting LED&#8217;s to flicker with a 12MHz external clock</title>
		<link>http://half-byte.com/2008/06/30/bricking-an-attiny2313-and-getting-leds-to-flicker-with-a-12mhz-external-clock/</link>
		<comments>http://half-byte.com/2008/06/30/bricking-an-attiny2313-and-getting-leds-to-flicker-with-a-12mhz-external-clock/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 08:32:46 +0000</pubDate>
		<dc:creator>nibble</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[attiny2313]]></category>
		<category><![CDATA[avr]]></category>
		<category><![CDATA[brick]]></category>
		<category><![CDATA[ceramic resonator]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[LED]]></category>

		<guid isPermaLink="false">http://www.half-byte.com/2008/06/30/bricking-an-attiny2313-and-getting-leds-to-flicker-with-a-12mhz-external-clock/</guid>
		<description><![CDATA[<p>A while ago I was doing some mindless fiddling with project&#8217;s makefiles and happened upon some fuse code.  I gave it a shot and immediately found it to have destroyed my ATTiny2313 chip; &#8220;bricked&#8221; it if you will.  A few more attempts at trying restore the fuse bytes failed and even reading the [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I was doing some mindless fiddling with project&#8217;s makefiles and happened upon some fuse code.  I gave it a shot and immediately found it to have destroyed my ATTiny2313 chip; &#8220;bricked&#8221; it if you will.  A few more attempts at trying restore the fuse bytes failed and even reading the signature of the chip failed.  It appeared as though I wiped the chip.  I got a little worried after looking over my inventory of hardware and only found one more AVR microprocessor.  So, I sent off another order with <a href="http://www.mouser.com/">Mouser Electronics</a> for a batch of spares.  They got the mailing and billing addresses mixed up, but I forgive them since they aren&#8217;t far from where I grew up.</p>
<p>I then spent some time with a very basic circuit and code just trying to get my bearings with the toolchain.  It is basically an ATTiny2313 hooked up to a USB cable for power (@5V) and a couple of LED&#8217;s and resistors.  The LED&#8217;s alternate blinking to indicate the clock speed.  Figuring out how to code a delay was a bit of a hassle, since I was working with pre-existing code for the USBTinyISP and it was using a variable that was initialized by data received over the bus.  I ended up using a simple loop to delay the LED state change.</p>
<p>Since I&#8217;m hoping to mess with USB, I need to get my microprocessor running at 12MHz.  So, I did some more in depth research on clock sources and decided to make an attempt at using an external 12MHz ceramic resonator clock.  The ATTiny2313 by default runs at 8MHz with the internal clock.  So, changing it requires mucking with the fuse bytes, which I already had a negative experience with before.  This time I was a little more informed an careful.  I used this <a href="http://palmavr.sourceforge.net/cgi-bin/fc.cgi">AVR Fuse Calculator</a> web page and made the bare minimum changes necessary.  The default low and high fuse bytes for the ATTiny2313 are: 0&#215;64 0xDF.  Since the external clock only requires the low byte to change I ended up using: 0xEF.  Here&#8217;s the command line:<br />
<code><br />
&gt; avrdude -c usbtiny -pt2313 -U lfuse:w:0xef:m<br />
</code></p>
<p>Before running the above command I took out the 3 pronged ceramic resonator (3 pronged because it has the capacitors included in its housing).  I didn&#8217;t want any more variables affecting my fusing.  Also, I recommend you read the fuse bytes before writing them.  You may want to write it down just in case you decide you want to return the chip back to the initial state.   Immediately after running the command, the LED&#8217;s stopped blinking and it looked like I busted it.  But I knew better.  Once the resonator was plugged into the proto board, the LED light up again, and with a break neck pace&#8230; 50 percent quicker.</p>
<p>This was pretty damn cool.  Doing these simple projects are small steps to getting to where I want to be.  In the process I&#8217;ve been able to learn the basics of programming an AVR chip.  Even now, I think I can plug my previous &#8220;bricked&#8221; chip in with an external clock and get it to work.  The microprocessor is just waiting for a clock source to tell it to drive.  So, an &#8220;un-broken&#8221; chip is icing on top of what I&#8217;ve learned.</p>
]]></content:encoded>
			<wfw:commentRss>http://half-byte.com/2008/06/30/bricking-an-attiny2313-and-getting-leds-to-flicker-with-a-12mhz-external-clock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DIY: Charge Station for your Electronic Devices</title>
		<link>http://half-byte.com/2008/05/07/diy-charge-station-for-your-electronic-devices/</link>
		<comments>http://half-byte.com/2008/05/07/diy-charge-station-for-your-electronic-devices/#comments</comments>
		<pubDate>Thu, 08 May 2008 06:06:04 +0000</pubDate>
		<dc:creator>nibble</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[Charge Station]]></category>
		<category><![CDATA[DIY]]></category>

		<guid isPermaLink="false">http://www.half-byte.com/2008/05/07/diy-charge-station-for-your-electronic-devices/</guid>
		<description><![CDATA[<p>A while ago I saw an article on Lifehacker about building your own charge station to reduce clutter of adapter wires.  The idea stuck in my head, because I often collect a nest of wires at the floor of my desk.  These wires often find themselves becoming tangled around the wheels of my [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I saw an article on <a href="http://lifehacker.com/">Lifehacker</a> about <a href="http://lifehacker.com/software/clutter/build-a-cord+and+charger-organizer-229408.php">building your own charge station</a> to reduce clutter of adapter wires.  The idea stuck in my head, because I often collect a nest of wires at the floor of my desk.  These wires often find themselves becoming tangled around the wheels of my chair causing more headaches over my already cramped office situation.  So, I began a little investigation and found the following:</p>
<p><a href="http://www.half-byte.com/wp-content/uploads/2008/05/finished.jpg" title="Power Station"><img src="http://www.half-byte.com/wp-content/uploads/2008/05/finished.thumbnail.jpg" alt="Power Station" align="middle" /></a> <a href="http://www.half-byte.com/wp-content/uploads/2008/05/open.jpg" title="Power Station Innards"><img src="http://www.half-byte.com/wp-content/uploads/2008/05/open.thumbnail.jpg" alt="Power Station Innards" align="middle" /></a></p>
<p><strong>Total cost: </strong>$5.50 (+tax)</p>
<ol>
<li>Simple surge protector from Fry&#8217;s: <a href="http://shop1.frys.com/search?query_string=Inland+Basic+Surge+Protector">$3.00</a></li>
<li>Simple &#8220;tupperware&#8221; box (20&#215;13x12 cm) from <a href="http://www.daiso-sangyo.co.jp/english/">Daiso</a>: $1.50</li>
<li>T shape 3 plug power adapter from a local hardware store: $2.00</li>
</ol>
<p>To build it, you basically cut a hole in the side of the box and jam the surge protector inside.  Then you plug in your adapters and the &#8220;T&#8221; shaped plug (orange in the picture) and cut a hole where it touches the side.  This allows you to attach another adapter to the side of the box without needing to open the top and shift around the plug configuration.  Then you cut holes in the top and feed the ends of the cables through them. A little duct tape will keep the wires from slipping back into the box in inadvertently.</p>
<p>If you keep the switch on the outside of the box, this allows you to turn off all the current to the adapter, which will help reduce wasted electricity.  Those adapters do use up some juice, even when they aren&#8217;t charging anything!  The only gotcha about my power station is that I bought a surge protector with a cheap switch.  There is no LED in the switch, so you can&#8217;t tell if it is on or off.  If I were to do this again, I would shell out the extra 2 bucks to get a surge protector with a lighted switch.</p>
<p><a href="http://www.half-byte.com/wp-content/uploads/2008/05/charging.jpg" title="Power Station Charging"><img src="http://www.half-byte.com/wp-content/uploads/2008/05/charging.thumbnail.jpg" alt="Power Station Charging" align="middle" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://half-byte.com/2008/05/07/diy-charge-station-for-your-electronic-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
