<?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>HaHa Bird</title>
	<atom:link href="http://www.hahabird.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hahabird.com</link>
	<description>Less Artsy, More Fartsy</description>
	<lastBuildDate>Tue, 07 May 2013 22:43:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Drive It Like You Stole It</title>
		<link>http://www.hahabird.com/2013/04/drive-it-like-you-stole-it/</link>
		<comments>http://www.hahabird.com/2013/04/drive-it-like-you-stole-it/#comments</comments>
		<pubDate>Sun, 28 Apr 2013 04:43:16 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.hahabird.com/?p=1428</guid>
		<description><![CDATA[Turn a screwdriver into a car key so you can emulate the car-stealing thug life.]]></description>
			<content:encoded><![CDATA[<p>Officer, it&#8217;s not what it looks like! I did not steal this car; that&#8217;s my key! Why are you getting out your taser?!</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_in_use1.jpg"><img class="aligncenter size-large wp-image-1439" title="screwdriver_key_in_use" src="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_in_use1-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>For no practical purpose at all, I wanted to see if I could make a screwdriver into a car key. What fun it would be to impersonate the look of a stolen car with a screwdriver jammed into the ignition! And maybe I could empty my glove box all over the seat so it looks like I was scrounging for spare change and prescription drugs too!</p>
<p>Read on to make your own.</p>
<p><span id="more-1428"></span></p>
<p>Hit the thrift store or a nearby garage sale and get a beat up old screwdriver with a shaft about the same thickness as the width of your car key. Don&#8217;t get a new screwdriver; you want one with some character, one that looks like it might have stabbed someone. Cut the shaft down to about an inch long.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_01.jpg"><img class="aligncenter size-large wp-image-1436" title="screwdriver_key_01" src="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_01-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Cut a slot 1/4&#8243; &#8211; 3/8&#8243; deep in the end of the shaft. This is not a precision job.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_02.jpg"><img class="aligncenter size-large wp-image-1434" title="screwdriver_key_02" src="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_02-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Round the end on a grinder or with a file. This will give a nice, smooth transition between the key and the screwdriver shaft.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_04.jpg"><img class="aligncenter size-large wp-image-1432" title="screwdriver_key_04" src="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_04-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_05.jpg"><img class="aligncenter size-large wp-image-1431" title="screwdriver_key_05" src="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_05-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Take your car key out to the car, put it in the ignition, and mark how far in it needs to go to start the car. Add the depth of the slot you cut in the shaft to that mark, then cut. Oh, and use a spare key for this. Not your one-and-only original.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_03.jpg"><img class="aligncenter size-large wp-image-1433" title="screwdriver_key_03" src="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_03-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>The key needs to fit into the slot you cut in the screwdriver, so unless you gut a lucky match between your key and your kerf you can either widen the slot or narrow the key. I chose the latter and thinned it on a belt sander. Don&#8217;t take off to much because you want the key to fit tightly.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_06.jpg"><img class="aligncenter size-large wp-image-1430" title="screwdriver_key_06" src="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_06-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Put some flux on it the key, then tap it into the slot on the screwdriver shaft. Be sure that everything is lined up. With a torch, silver solder the key to the screwdriver.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_07.jpg"><img class="aligncenter size-large wp-image-1429" title="screwdriver_key_07" src="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_07-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>With a file or grinder, taper the edges of the key to meet the screwdriver shaft. Smooth it with some sandpaper and clean it with a wire wheel in a Dremel.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_finished.jpg"><img class="aligncenter size-large wp-image-1437" title="screwdriver_key_finished" src="http://www.hahabird.com/wp-content/uploads/2013/04/screwdriver_key_finished-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>All done! Now cruise around like the grand theft auto thug you are!</p>
<p>If you make your own, take a picture and email it to me (nathan@ the domain name of this site) and I&#8217;ll share it here if you&#8217;re willing. Bonus points if the picture includes police in the background ordering you out of your car!</p>
<p><strong>NOTE:</strong>  Having this much weight and leverage hanging out of your ignition is not going to be good for it. One bump and your tumblers are toast. It also won&#8217;t work if you&#8217;ve got a modern car with a chip in the key. Consider yourself warned.</p>
<p><em>[May 6, 2013] Haha Bird reader Richie emailed pictures of the screwdriver key he made. Nice work!</em></p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/04/richie_screwdriver.jpg"><img class="aligncenter size-large wp-image-1454" title="richie_screwdriver" src="http://www.hahabird.com/wp-content/uploads/2013/04/richie_screwdriver-580x217.jpg" alt="" width="580" height="217" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hahabird.com/2013/04/drive-it-like-you-stole-it/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Change-O-Matic</title>
		<link>http://www.hahabird.com/2013/03/change-o-matic/</link>
		<comments>http://www.hahabird.com/2013/03/change-o-matic/#comments</comments>
		<pubDate>Sat, 09 Mar 2013 04:29:04 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.hahabird.com/?p=1382</guid>
		<description><![CDATA[How to interface an Arduino with an automated change dispenser. Cha-ching!]]></description>
			<content:encoded><![CDATA[<p>Every year I throw an Oscar party with my friends, with lots of drinking, yelling at the TV, and low-stakes wagering. Everybody puts in a dollar as each category is announced, then that pot is split among everyone that made the right pick. After almost 20 years of doing it the same way, I finally got tired of counting out the change after each win. $1.65 times nine winners equals clinking coins for minutes.</p>
<p>So why not do what grocery stores and fast food restaurants figured out long ago and automate the change dispensing so any middle-school dropout can do it? I present to you the Change-O-Matic.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/02/DSC_0041.jpg"><img class="aligncenter  wp-image-1385" title="DSC_0041" src="http://www.hahabird.com/wp-content/uploads/2013/02/DSC_0041-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p><span id="more-1382"></span>I picked up a used change dispensing machine on eBay, and after some trouble with the seller sending Australian coin canisters instead of US, I got it working. The model is a Telequip Transact 2+ CE. I can&#8217;t vouch for how well my system would work with other machines in their lineup, but I would assume some compatibility.</p>
<p>I found some basic documentation online about what connection settings it expected (9600 baud, 7 data, 1 stop bit, even parity), then with a serial monitoring program and a copy of the test &amp; configuration software I was able to see what was being sent to and from the machine.</p>
<p>First to be sent are some control codes to reset the machine and tell it a change request is coming. Then the change amount is sent along with a checksum. I didn&#8217;t know how the checksum was calculated, but with only 99 options it was easy to record them all with the serial monitoring program and store them.</p>
<p>To drive it I used an Arduino, a <a href="http://www.cutedigi.com/arduino-shields/rs232-shield-for-arduino.html" target="_blank">serial shield</a>, an <a href="http://www.adafruit.com/products/181" target="_blank">LCD display</a>, a <a href="https://www.sparkfun.com/products/8653" target="_blank">numeric keypad</a>, and some buttons and switches, and built it all into a Radio Shack project box that I milled some openings into. Paint and custom waterslide decals turned it into the Change-O-Matic. The outside looks a lot better than the mess I crammed inside. I plan on improving the design later with a custom PCB combining the microcontroller and serial driver, a serial port on the outside of the box instead of just a hole cut for the cord to pass through, and a rechargeable battery pack. I think I can get it down to about half the size.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/02/DSC_0023.jpg"><img class="aligncenter size-large wp-image-1392" title="DSC_0023" src="http://www.hahabird.com/wp-content/uploads/2013/02/DSC_0023-580x385.jpg" alt="" width="580" height="385" /></a></p>
<p>I programmed two modes into Change-O-Matic: Oscar mode, where you enter the number of winners and the number of players and it calculates and dispenses the take for the winners, and Change mode, where you simply enter the amount of change and the number of times dispensed (0.35 x 3, for example). A two second delay between each batch of coins allows time to scoop out the change before the next comes.</p>
<p>At the party everything worked as planned, and change was dispensed quickly and accurately all night long. I wasn&#8217;t able to find a middle-school dropout to run it, but a friend&#8217;s elementary student took the job instead, freeing me for more drinking and yelling.</p>
<p>I&#8217;m not going to post the code for the entire project, but only the basics required for the interface with the change machine. I couldn&#8217;t find anyone else that had done this work with the change machine; everything else you can find better examples for online.</p>
<p>Interestingly, there doesn&#8217;t seem to be any kind of authentication between the change machine and whatever&#8217;s sending it commands. If you plugged this into the dispenser at the grocery store I think it would start spitting out the change you asked for. Standing there for 5 suspicious minutes while the machine dispenses $100 in loose change is not a risk/reward ratio that many people would find worthwhile, though.</p>
<p>Here&#8217;s a quick video of it in action, though I use the term &#8220;action&#8221; quite loosely. You&#8217;ll find the code immediately below that.</p>
<p><iframe src="http://player.vimeo.com/video/61396003" frameborder="0" width="500" height="281"></iframe></p>
<p><a href="http://vimeo.com/61396003">Change-O-Matic</a> from <a href="http://vimeo.com/user14345616">HaHaBird</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<pre>#include "Wire.h"
//============================================
//            Inits
//============================================

// control codes used to communicate with the dispenser
byte STX=0x02;
byte ETX=0x03;
byte EOT=0x04;
byte ENQ=0x05;

// array of checksums, their position in the list 
// relating to the change amount requested
// so to get 45 cents you would also need to send checkSumArray[45].
int checkSumArray[]={ 
  0x00, 0x32, 0x31, 0x30, 0x37, 0x36, 0x35, 0x34, 0x3B, 0x3A, 
  0x02, 0x03, 0x00, 0x01, 0x06, 0x07, 0x04, 0x05, 0x0A, 0x0B, 
  0x01, 0x00, 0x03, 0x02, 0x05, 0x04, 0x07, 0x06, 0x09, 0x08, 
  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 
  0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00, 0x0F, 0x0E, 
  0x06, 0x07, 0x04, 0x05, 0x02, 0x03, 0x00, 0x01, 0x0E, 0x0F, 
  0x05, 0x04, 0x07, 0x06, 0x01, 0x00, 0x03, 0x02, 0x0D, 0x0C, 
  0x04, 0x05, 0x06, 0x07, 0x00, 0x01, 0x02, 0x03, 0x0C, 0x0D, 
  0x0B, 0x0A, 0x09, 0x08, 0x0F, 0x0E, 0x0D, 0x0C, 0x03, 0x02, 
  0x0A, 0x0B, 0x08, 0x09, 0x0E, 0x0F, 0x0C, 0x0D, 0x02, 0x03};

//============================================
//            Setup
//============================================

void setup() {  
  Serial.begin(9600,SERIAL_7E1); // serial settings required by the Transact
}

//============================================ 
//            Main Loop 
//============================================

void loop(){
   // dispense change from 1 - 99 cents with a 2 second delay
   for (int i=1; i&lt;100; i++){
        dispenseChange(i);
        delay(2000);
    }
}

//============================================ 
//            Change Dispense 
//============================================

void dispenseChange(int cents){

    //send reset
    Serial.write(EOT);
    Serial.print("Cr");
    Serial.write(ENQ);

    //send the change command
    Serial.write(EOT);
    Serial.print("C");
    Serial.write(STX);

    //send the change amount
    Serial.print(cents);   
    Serial.write(ETX);

    //send the checksum
    Serial.write(checkSumArray[cents]);
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hahabird.com/2013/03/change-o-matic/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Counting Box, Version Two</title>
		<link>http://www.hahabird.com/2013/01/the-counting-box-version-two/</link>
		<comments>http://www.hahabird.com/2013/01/the-counting-box-version-two/#comments</comments>
		<pubDate>Fri, 11 Jan 2013 23:16:33 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.hahabird.com/?p=1284</guid>
		<description><![CDATA[Step by step instructions for building your own counting box similar to the one seen in my article in MAKE magazine.]]></description>
			<content:encoded><![CDATA[<p>My Counting Box article in <a href="http://blog.makezine.com/volume/make-33/" target="_blank">MAKE magazine</a> was meant as a short &#8220;How I Made This&#8221; story, not a detailed &#8220;How You Can Make This Yourself&#8221; guide. Because people might want some instructions to follow in order to make their own counting box, I built a new version and documented it.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0070.jpg"><img class="aligncenter size-large wp-image-1364" title="DSC_0070" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0070-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>But first, an update on <a title="The Counting Box" href="http://www.hahabird.com/2011/08/the-counting-box/">Counting Box Version 1</a>. It&#8217;s been in service for 17 months and is showing a count of 121,860. This is three less than the highest number it&#8217;s reached. My son doesn&#8217;t seem to be a fan of negative numbers because -93 is the lowest the box has counted. The increment button has been pushed 18,422 times and the decrement button 4227. It&#8217;s only been recharged twice that I know of, so that giant battery was total overkill.</p>
<p>Now here&#8217;s how to build your own.</p>
<p><span id="more-1284"></span></p>
<p>Please read through the entire build first and get an idea what you&#8217;re in for. I write with the assumption that you&#8217;ve got a basic understanding of electronics assembly, programming, and how to use the Arduino IDE. I&#8217;m only going to tell you to solder X to Y, not how to solder, what temperature to use, and so on. Also be aware that these instructions are only for the circuit, not for the enclosure. As you build it, think ahead to what kind of case you want to put it into because that could influence decisions like how long to make certain wires.</p>
<p><strong>Circuit Parts &amp; Pieces</strong></p>
<ul>
<li>Arduino<br />
An Uno, Duemilanove, or other similar board using an ATMega328. We&#8217;ll be pulling that ATMega chip out and putting it in our own standalone circuit.</li>
<li><a href="http://www.mouser.com/ProductDetail/Arduino/A000048/?qs=%2fha2pyFaduiX3PyRmisFCptmb1dGUVZtUXyAsYifGznjkuJ6LT4ImoB3w2SNTZVl" target="_blank">ATMega328 w/ Arduino bootloader</a><br />
This will replace the chip you pull from your Arduino. I know you can burn your own bootloader, but this is easier.</li>
<li><a href="http://www.mouser.com/ProductDetail/Texas-Instruments/SN74HC00N/?qs=sGAEpiMZZMuyBeSSR239IT5Ta765RsfI87HcnF3ttBg%3d" target="_blank">74HC00 quad NAND IC</a> for debouncing the buttons</li>
<li><a href="http://www.mouser.com/ProductDetail/Microchip-Technology/24LC256-E-P/?qs=sGAEpiMZZMuVhdAcoizlRWkyOXLsk1dxSdpbBI9w7Wc%3d" target="_blank">24LC256 EEPROM chip</a> for storing the count and related statistics</li>
<li><a href="http://www.mouser.com/ProductDetail/TE-Connectivity-AMP/1-390261-9/?qs=sGAEpiMZZMs%2fSh%2fkjph1tvt1%2fmEPT%2fXo7eKgqaeaqYE%3d" target="_blank">28 pin IC socket</a> for the ATMega328</li>
<li><a href="http://www.mouser.com/ProductDetail/TE-Connectivity-AMP/1-390261-3/?qs=sGAEpiMZZMs%2fSh%2fkjph1tvt1%2fmEPT%2fXodKL8qkoyOWM%3d" target="_blank">14 pin IC socket</a> for the 74HC00</li>
<li><a href="http://www.mouser.com/ProductDetail/TE-Connectivity-AMP/1-390261-2/?qs=sGAEpiMZZMs%2fSh%2fkjph1tvt1%2fmEPT%2fXo%2fUwCoJERBIM%3d" target="_blank">8 pin IC socket</a> for the 24LC256 EEPROM</li>
<li>2 <a href="http://www.adafruit.com/products/880" target="_blank">Adafruit 7-segment displays with I2c backpacks</a> (choose any color you like)<br />
For the display and its driver in the first version of the Counting Box I used a MAX7219 IC and a pair of 4-digit seven-segment LEDs. These Adafruit displays are a little bit more expensive but really simplify the wiring.</li>
<li>2 arcade-style buttons<br />
I used <a href="https://www.sparkfun.com/products/9336" target="_blank">this</a> and <a href="https://www.sparkfun.com/products/9341" target="_blank">this</a> from SparkFun. The circuit is built for SPDT switches but would work with SPST if you used a different method for debouncing.</li>
<li><a href="http://www.mouser.com/Search/ProductDetail.aspx?R=FR01AR10PB-W-Svirtualkey63300000virtualkey633-FR01AR10PB-W-S" target="_blank">10-position coded rotary switch</a> and <a href="http://www.mouser.com/Search/ProductDetail.aspx?R=AT4104Avirtualkey63300000virtualkey633-AT4104A" target="_blank">knob</a></li>
<li>2 22pF capacitors</li>
<li>16MHz crystal</li>
<li>2 perf boards<br />
I like the half-size <a href="http://www.adafruit.com/products/571" target="_blank">Perma-Proto boards from Adafruit</a></li>
<li>Resistors: 10kΩ (x5), 220Ω (x1)<br />
I&#8217;m not going to link to each for purchase at 2 cents each because if you&#8217;re building a project like this you should have a big assortment already. If not, go get one.</li>
<li>1 LED</li>
</ul>
<p><strong>Power Supply Parts</strong></p>
<p>I&#8217;m breaking these out separately because you might want to do something else for the power supply. My original counting box used a USB charger and battery combined with a step-up voltage converter.</p>
<ul>
<li><a href="http://www.mouser.com/ProductDetail/Texas-Instruments/UA7805CKCT/?qs=sGAEpiMZZMt9rZLnhhqRz49hEfk1SGzT" target="_blank">7805 voltage regulator</a></li>
<li>2 10uF capacitors</li>
<li>Battery holder, either 9v or 6x AA. 6x AA will last longer.</li>
</ul>
<p><strong>Tools<br />
</strong></p>
<ul>
<li>Soldering iron &amp; solder</li>
<li>Breadboard</li>
<li>Wire, the more colors the better</li>
<li>Wire stripper</li>
<li>Multimeter</li>
</ul>
<p>With all of that gathered, let&#8217;s start building!</p>
<p><strong>Assemble the Displays</strong></p>
<p>Instead of replicating the steps here, I&#8217;m just going to tell you to follow the assembly <a href="http://learn.adafruit.com/adafruit-led-backpack/0-dot-56-seven-segment-backpack" target="_blank">instructions that came with the 7-segment displays</a>. You&#8217;ll be soldering the 4 digit display to the I2C backpack, then soldering a 4-pin header to that.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/IMG_4698.jpg"><img class="aligncenter size-large wp-image-1354" title="IMG_4698" src="http://www.hahabird.com/wp-content/uploads/2013/01/IMG_4698-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Short the A0 jumper on one of the backpacks to change its address, as seen circled below.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9956.jpg"><img class="aligncenter size-large wp-image-1334" title="DSC_9956" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9956-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p><strong>Wire the Rotary Switch</strong></p>
<p>The rotary switch has 4 switch pins on one side and a ground pin on the other. One pin is for a value of 1, the next for a value of 2, the next for 4, and the last for 8. Hey, that sounds like a binary number system! It is. When the switch is set to 7, for example, the pins would read 0111.</p>
<p>Review the datasheet for your switch to understand which pin is which and how the pins are read.</p>
<p>I found the leads on the switch to be pretty fragile, so I soldered it onto a small perf board (<a href="https://www.sparkfun.com/products/8808" target="_blank">here, from SparkFun</a>). I routed the ground to the same side as the switch pins, then ran it all to a ribbon cable about 6&#8243; long. Individual wires work fine if you don&#8217;t have ribbon cable available.</p>
<p>&nbsp;</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9941.jpg"><img class="aligncenter size-large wp-image-1289" title="DSC_9941" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9941-435x435.jpg" alt="" width="435" height="435" /></a></p>
<p><strong>Wire the Buttons</strong></p>
<p>The arcade switches are SPDT, so each has 3 leads. Solder an 8&#8243; wire to each lead. I recommend using different colored wires so you can keep track of which is which. The switch itself can be removed from the button to make it easier to work with.</p>
<p>You can use <a href="http://www.adafruit.com/products/473" target="_blank">buttons that aren&#8217;t SPDT</a>, but you&#8217;ll need to come up with a different method for debouncing them.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9969.jpg"><img class="aligncenter size-large wp-image-1290" title="DSC_9969" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9969-580x388.jpg" alt="" width="580" height="388" /></a></p>
<h2>Breadboarding</h2>
<p>We&#8217;ll build the counting box circuit on a breadboard first to make sure everything works.</p>
<p><strong>A Note on Pin Numbering</strong></p>
<p>The ICs we&#8217;re using all have a notch on one end so you can orient them correctly. Pin numbers start with 1 at the top left as you&#8217;re looking at the IC with the notch on top. The numbers proceed down the left side, hop over to the bottom of the right side, then go up to the top right in a counter-clockwise pattern.</p>
<p><strong>Breadboard the EEPROM</strong></p>
<p>When I first wrote about the original Counting Box, some people recommended that instead of using the external EEPROM chip I should make a circuit that would only write to the internal EEPROM when power was switched off. This way I could use the internal memory but not worry about hitting its write limit. It&#8217;s a good idea, but the problem is that I&#8217;m not an electrical engineer and I couldn&#8217;t figure out a reliable circuit to do that. It would require a way to accurately sense the incoming voltage and a capacitor that can keep the circuit running for the 66ms or so that it would take to write all of the data (3.3ms per byte x 20 bytes).</p>
<p>Or I could buy a $1.50 chip and not have to worry about it.</p>
<p>The EEPROM needs pins 1 through 4 connected to ground. 1-3 are used to set the address in case you want multiple chips in the same circuit. Pin 4 is the ground. Connect pin 8 to +5v.</p>
<p>Pin 6 on the EEPROM is the clock. It connects to analog pin 5 on the Arduino (via the green wire in the photo below). Pin 5 on the EEPROM is the data line, and it connects to analog pin 4 on the Arduino (via the yellow wire below).</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9949.jpg"><img class="aligncenter size-large wp-image-1291" title="DSC_9949" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9949-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p><strong>Breadboard the Display</strong></p>
<p>Put the two displays side-by-side on the breadboard and run +5V and ground to the appropriate pins on each one. The displays are on the same I2C bus as the EEPROM chip, so run the data and clock lines from the 24LC256 to the displays. EEPROM pin 5 is data and will connect to the pin marked &#8220;D&#8221; on the display backpack, and EEPROM pin 6 is the clock connecting to the &#8220;C&#8221; pin on the backpack.</p>
<p>For the code I&#8217;ve written, the display with the shorted jumper needs to go on the right-hand side.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9955.jpg"><img class="aligncenter size-large wp-image-1292" title="DSC_9955" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9955-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p><strong>Breadboard the Debounce Circuit</strong></p>
<p>Without some way to debounce the switches, each press will register as multiple presses and change your count by dozens or more. A pair of NAND gates coupled together will ensure that the SPDT switch is only in one state at a time, and the 74HC00 IC has 4 NAND gates on it. You can <a href="http://www.ganssle.com/debouncing-pt2.htm" target="_blank">learn more about debouncing here</a>.</p>
<p>Insert the 74HC00 into the breadboard with the notch toward the power supply. Run wires between pins 2 and 6 and between pins 8 and 12. Then between 3 and 4 on the left and 10 and 11 on the right. Connect 10k resistors between +5v and pins 1, 5, 9, and 13. The ground from the switches goes to ground, and the normally-open and normally-closed switch wires go to the same pins as the resistors.</p>
<p>Connect pin 14 to +5v and pin 7 to ground.</p>
<p>Connect pin 3 of the 74HC00 to pin 3 on the Arduino, and pin  8 on the 74HC00 to pin 2 on the Arduino.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9978.jpg"><img class="aligncenter size-large wp-image-1294" title="DSC_9978" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9978-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>To help myself understand and remember where everything went I made the breadboard diagram below. It might help you too.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/debounce_diagram.png"><img class="aligncenter size-large wp-image-1351" title="debounce_diagram" src="http://www.hahabird.com/wp-content/uploads/2013/01/debounce_diagram-580x238.png" alt="" width="580" height="238" /></a></p>
<p><strong>Connect the Rotary Switch</strong></p>
<p>The common wire from the rotary switch connects to GND on the Arduino.</p>
<p>Switch value 1 connects to Arduino digital pin 8, switch value 2 to pin 7, switch value 4 to pin 6, and switch value 8 to pin 5. Even though there&#8217;s the gap between pins 7 &amp; 8 on the Arduino, the pins have a convenient placement on the standalone circuit we&#8217;ll build later.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9964.jpg"><img class="aligncenter size-large wp-image-1295" title="DSC_9964" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9964-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>When everything&#8217;s assembled it should look roughly like the photo below, except you probably don&#8217;t have the <a title="Bamboo Prototyping Board" href="http://www.hahabird.com/2012/09/bamboo-prototyping-board/" target="_blank">prototyping tray I made</a>.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9976.jpg"><img class="aligncenter size-large wp-image-1319" title="DSC_9976" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9976-580x388.jpg" alt="" width="580" height="388" /></a></p>
<h2>Programming</h2>
<p>Download my code here (<a href="http://www.hahabird.com/wp-content/uploads/2013/01/CountingBox2_1.ino_.zip">CountingBox2_1.ino.zip</a>), unzip it, and install. You&#8217;ll also need to download and install the <a href="https://github.com/adafruit/Adafruit-GFX-Library" target="_blank">Adafruit GFX library</a> and the <a href="https://github.com/adafruit/Adafruit-LED-Backpack-Library" target="_blank">Adafruit LED Backpack library</a>. I&#8217;ve tried to comment my code as much as possible, but here&#8217;s a general overview of the main processes:</p>
<p>On startup the code loads the variables for the count, the minimum number reached, the maximum number, and the number of button presses. It initializes all of the buttons then checks to see if the counting box is being launched in standard counting mode, delete mode, or stats mode.  Delete mode is triggered by turning the rotary switch to 8 while holding the decrement button during startup. It&#8217;ll confirm you want to delete, and revert to standard mode if there&#8217;s not a prompt response. Stats mode is triggered by setting the rotary switch to 3 while holding the increment button during startup. Each push of the green button will step through a stat &#8212; max number, min number, increment button presses, and decrement button presses &#8212; before reverting to standard mode.</p>
<p>During the main loop the program compares the current count to the previous count. If they&#8217;re the different it saves to the EEPROM, if they&#8217;re the same then it does nothing. The button presses are triggered by interrupts, so there&#8217;s no checking for button presses during this loop.</p>
<p>The count (or any other number displayed) is broken into an array of its individual digits, then the array is stepped through and each digit is sent to the displays individually. I would have preferred sending a 4-digit number to each, but the library for the displays pads the left side with zeroes, so that sending 45 would end up as 0045.</p>
<p>A  timer blanks the display after one minute and puts the ATMega into low-power sleep mode. Pushing any button wakes it up.</p>
<h2>Building a Standalone Circuit</h2>
<p>When you&#8217;re satisfied that it all works then it&#8217;s time to tear it apart, move it away from the Arduino, and build it onto a standalone board.</p>
<p><strong>Power Regulator</strong></p>
<p>The counting box is going to need power, and you&#8217;ve got a couple of options for providing it.</p>
<p>In my original counting box I used a <a href="https://www.adafruit.com/products/353" target="_blank">huge battery</a> and a separate <a href="https://www.sparkfun.com/products/8290" target="_blank">converter</a> &amp; <a href="https://www.adafruit.com/products/259" target="_blank">charger</a>. If this is your plan, skip this power regulator step and instead connect the +5v and ground from your power supply to the power rails on the prototyping board.</p>
<p>To keep things a little  simpler—not to mention cheaper—we can build our own circuit to convert 9v from common batteries to the nice, steady 5v the circuit needs.</p>
<p>Solder the 7805 into the first three rows on the protoboard. Run a wire from the middle pin to the ground column on the rail, then another from the right-most pin to the + column. In front of the 7805 put a 10uF capacitor between the input line on the left and the ground line in the middle. The silver stripe on the capacitor goes on the ground side.</p>
<p>Over on the other rail put another 10uF between power and ground.</p>
<p>You can connect the two rails now or later with a pair of wires across the bottom.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9974.jpg"><img class="aligncenter size-large wp-image-1296" title="DSC_9974" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9974-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>The breadboard diagram below might help clarify what goes where.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/power_diagram.jpg"><img class="aligncenter size-large wp-image-1317" title="power_diagram" src="http://www.hahabird.com/wp-content/uploads/2013/01/power_diagram-580x321.jpg" alt="" width="580" height="321" /></a>Put 9v into the input and use your multimeter to check that you&#8217;re getting 5v on the rails. I left off a power-indication light to save a tiny bit of power, but you could add one with a 220Ω resistor and an LED between +5V and ground.</p>
<p><strong>ATMega 328</strong></p>
<p>Solder the 28 pin socket with the notch toward the power supply. Be sure it doesn&#8217;t share any rows with the power supply.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9983.jpg"><img class="aligncenter size-large wp-image-1299" title="DSC_9983" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9983-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Connect pin 7 to +5v and pin 8 to ground. Connect pins 20 &amp; 21 to +5v on the other side, and pin 22 to ground.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9984.jpg"><img class="aligncenter size-large wp-image-1300" title="DSC_9984" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9984-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Solder a 16MHz crystal between pins 9 and 10. It&#8217;ll fit parallel to the socket if you bend the leads in. Connect a 22pF capacitor between pin 9 and ground, and another between pin 10 and ground.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9985.jpg"><img class="aligncenter size-large wp-image-1301" title="DSC_9985" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9985-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Solder a 10k ohm resistor between pin 1 and +5v.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9992.jpg"><img class="aligncenter size-large wp-image-1302" title="DSC_9992" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9992-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>To get power over to the left side, connect the two power rails at the bottom of the board if you didn&#8217;t already in the previous step.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9993.jpg"><img class="aligncenter size-large wp-image-1303" title="DSC_9993" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9993-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Connect a 9v power source (6AA cells or 1 9v battery) to your power regulator. Be sure that the positive and negative leads go to the right location.</p>
<p>Load the sample blink sketch on your Arduino, then disconnect it from power. Gently pry the ATMega328 chip from the Arduino using a chip extraction tool or a small flat-head screwdriver. If you&#8217;re using a screwdriver, alternate sides and go slowly so that the pins aren&#8217;t bent.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0054.jpg"><img class="aligncenter size-large wp-image-1325" title="DSC_0054" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0054-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Insert the ATMega into your socket, ensuring that the notch is facing the right direction. Connect a 220 ohm resistor and LED between pin 19 on the ATMega328 (equivalent to Arduino pin 13) and ground, then connect your power. If everything is assembled correctly the LED should blink.</p>
<p>Congratulations, you&#8217;ve built a standalone microcontroller! The design up to here can be used in other projects, but now we&#8217;re going to add components specific to the counting box.</p>
<p><a style="text-decoration: none;" href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9994.jpg"><img class="aligncenter size-large wp-image-1304" title="DSC_9994" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9994-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p><strong>24LC256 EEPROM</strong></p>
<p>Solder the 8 pin socket onto the board right next to the 28 pin socket. The notch should be pointing toward the power supply.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9998.jpg"><img class="aligncenter size-large wp-image-1306" title="DSC_9998" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_9998-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Next, connect pins 1-4 to ground (the black wires circled below) and pin 8 to +5v.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0002.jpg"><img class="aligncenter size-large wp-image-1307" title="DSC_0002" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0002-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>I forgot to take a picture of this step, so pretend that I haven&#8217;t already soldered the 14 pin socket. Connect pin 6 of the EEPROM to pin 28 of the ATMega, and pin 5 of the EEPROM to pin 27 of the ATMega. Pins 27 and 28 on the ATMega are the equivalent of analog pins 4 &amp; 5 on the Arduino.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0003.jpg"><img class="aligncenter size-large wp-image-1305" title="DSC_0003" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0003-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>The breadboard diagram below might clarify what goes where.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/24LC256_diagram.jpg"><img class="aligncenter size-large wp-image-1316" title="24LC256_diagram" src="http://www.hahabird.com/wp-content/uploads/2013/01/24LC256_diagram-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p><strong>74HC00 Debounce Circuit</strong></p>
<p>Solder the 14 pin socket right below the 8 pin socket, making sure again that the notch is toward the power supply.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0003a.jpg"><img class="aligncenter size-large wp-image-1308" title="DSC_0003a" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0003a-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Solder a wire between pins 2 and 6, and another between pins 8 and 12. It can help to refer to the circuit you built on the breadboard, because this is exactly the same.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0006.jpg"><img class="aligncenter size-large wp-image-1313" title="DSC_0006" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0006-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Solder a wire between pins 3 and 4, and another between pins 10 and 11. With the wires connecting the power rails and the circles I drew to highlight the wires in this step, doesn&#8217;t the picture below look like a smiling face?</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0007.jpg"><img class="aligncenter size-large wp-image-1312" title="DSC_0007" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0007-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Wire pin 7 to ground and pin 14 to +5V. Now the face is getting a little cockeyed.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0009.jpg"><img class="aligncenter size-large wp-image-1311" title="DSC_0009" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0009-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>10k resistors go between +5V and pins 1, 5, 9, and 13.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0011.jpg"><img class="aligncenter size-large wp-image-1310" title="DSC_0011" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0011-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Now connect the debounce circuit to the ATMega by running a wire from 74HC00 pin 3 to ATMega pin 5, and another from 74HC00 pin 8 to ATMega pin 6. The wire on the right-hand side will need to be routed to the left.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0013.jpg"><img class="aligncenter size-large wp-image-1309" title="DSC_0013" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0013-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Solder the buttons to ground and to the same pins that you added the resistors. The normally-open side of the switches should go to pin 1 on the left side and pin 9 on the right.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0016.jpg"><img class="aligncenter size-large wp-image-1314" title="DSC_0016" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0016-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p><strong>Rotary Switch</strong></p>
<p>Solder the common line from the rotary switch to ground, then switch 1 to ATMega pin 14, switch 2 to ATMega pin 13, switch 4 to ATMega pin 12, and switch 8 to ATMega pin 11.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0018.jpg"><img class="aligncenter size-large wp-image-1315" title="DSC_0018" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0018-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p><strong>Display</strong></p>
<p>Get out a new protoboard to mount the seven-segment displays on. Don&#8217;t solder them yet, but find a good placement and note where each header pin is going. Remove the displays and connect the + and &#8211; rows where the display backpacks will connect to the + and &#8211; rails on the protoboard, circled below.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0022.jpg"><img class="aligncenter size-large wp-image-1329" title="DSC_0022" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0022-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Now we need to route the clock and data signals to the appropriate rows. The photo-illustration below shows how it&#8217;ll be wired, but the wiring will be done on the back so it doesn&#8217;t get in the way of the display backpacks.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0026.jpg"><img class="aligncenter size-large wp-image-1328" title="DSC_0026" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0026-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>And this is what it looks like after you&#8217;re done and flip it over. Please excuse the sad condition of this protoboard; I desoldered a previous build of this step.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0029.jpg"><img class="aligncenter size-large wp-image-1330" title="DSC_0029" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0029-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>We need to get power and signal from the main board to the display board, so solder on a 4-conductor ribbon cable (or individual wires) to the +5v column, the ground column, the first row for clock, and the second row for data.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0030.jpg"><img class="aligncenter size-large wp-image-1331" title="DSC_0030" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0030-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Solder the displays to the protoboard. Make sure that the pins line up correctly with the wires you attached and that the displays are parallel. There&#8217;s a surprising amount of room in which to get components out of alignment in those little holes.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0032.jpg"><img class="aligncenter size-large wp-image-1333" title="DSC_0032" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0032-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Now solder the other end of the cable/wires to the main board. Ground and +5V go to their respective locations on the power rail, the clock line goes to pin 6 on the EEPROM, and the data line goes to pin 6 on the EEPROM (remember, the display and the EEPROM are on the same I2C bus).</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0034.jpg"><img class="aligncenter size-large wp-image-1332" title="DSC_0034" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0034-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>Carefully insert all of the chips into their sockets. Be sure that the notches on the chip line up with the notches in the sockets.</p>
<p><strong>Battery &amp; Switch</strong></p>
<p>Solder a switch on the input line from your power source. Now flip the switch and start counting!</p>
<p>&nbsp;</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0039.jpg"><img class="aligncenter size-large wp-image-1327" title="DSC_0039" src="http://www.hahabird.com/wp-content/uploads/2013/01/DSC_0039-580x388.jpg" alt="" width="580" height="388" /></a></p>
<h2>The Box</h2>
<p>I&#8217;m not going to give detailed instructions on how to make a box to put this into because I think that should be a decision that matches your sense of style, your ability, and the tools at your disposal. In my <a title="The Counting Box" href="http://www.hahabird.com/2011/08/the-counting-box/">original counting box</a> I used laser-cut bamboo from a pattern I made. Some other things that might work for housings would be a lunchbox, a cigar box, or even a clear plastic storage bin so the circuit can be seen. The buttons could be mounted on the top or from the side like on a pinball game.</p>
<p>Whatever box you use, you&#8217;ll need to at least do the following:</p>
<ul>
<li>Drill a 1/4&#8243;  hole for the shaft of the rotary switch. You&#8217;ll also want to print out and glue down a label for the numbers around the switch. You can <a href="http://www.hahabird.com/wp-content/uploads/2013/01/Counting_Box_Selector_Layout.pdf">download a label that I made</a> to fit around the knob linked to in the parts section. Push the rotary switch through the hole from the inside, thread the nut on to hold it in place, then push the knob on. You may need to rotate the switch to get the locations of each stop to line up with the labels.</li>
<li>Drill a 1-1/8&#8243; hole for each arcade button. Separate each switch from its button and unscrew the large nut. Drop the button in from the outside of the box, tighten the nut against the inside, then re-attach the switch.</li>
<li>Drill a hole for your power switch and mount as appropriate, whether screw-in or snap-in.</li>
<li>Cut an opening for the display. I measure mine at .75&#8243; x 4&#8243;, but you should check your own just in case they&#8217;re slightly different. There are holes at the corners of the LED backpacks you could use to attach to your box with screws, or you could use hot glue.</li>
<li>Be sure there&#8217;s a way to change the batteries when they run out. You don&#8217;t want the box permanently sealed, but if it&#8217;s for a child you don&#8217;t want the interior easily accessible either.</li>
</ul>
<p>Finally, please share if do build your own counting box. Post a link to your website, Flickr account, etc. in the comments, or email pics and let me know whether or not it&#8217;s OK to post.</p>
<p>If you&#8217;ve got any questions I&#8217;ll do my best to answer, but I&#8217;m not an electrical engineer so I can&#8217;t get too technical. If you&#8217;ve got suggestions or can improve the design, I&#8217;d love to hear those ideas too.</p>
<p><strong>UPDATE March 21, 2013:</strong></p>
<p>Reader Marty has kindly created a schematic and shared it. Thanks Marty!<br />
<a href="http://www.hahabird.com/wp-content/uploads/2013/01/Counting_Box_V2_schematic.pdf">Counting_Box_V2_Schematic.pdf (16KB)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hahabird.com/2013/01/the-counting-box-version-two/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Decline and Fall of the Pumpktris Empire</title>
		<link>http://www.hahabird.com/2012/11/1266/</link>
		<comments>http://www.hahabird.com/2012/11/1266/#comments</comments>
		<pubDate>Thu, 08 Nov 2012 00:53:43 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.hahabird.com/?p=1266</guid>
		<description><![CDATA[As is the case with so many celebrities,  the meteoric rise of Pumpktris was followed by an equally swift and brutal decline. Unable to cope with the twin pressures of fame and fungus, he was last seen passed out in the alley. A spokesman claims Pumpktris is merely suffering from &#8220;exhaustion.&#8221;]]></description>
			<content:encoded><![CDATA[<p>As is the case with so many celebrities,  the meteoric rise of <a title="Pumpktris" href="http://www.hahabird.com/2012/10/pumpktris/">Pumpktris</a> was followed by an equally swift and brutal decline. Unable to cope with the twin pressures of fame and fungus, he was last seen passed out in the alley. A spokesman claims Pumpktris is merely suffering from &#8220;exhaustion.&#8221;</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/11/20121107-165308.jpg"><img class="alignnone size-full" src="http://www.hahabird.com/wp-content/uploads/2012/11/20121107-165308.jpg" alt="20121107-165308.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hahabird.com/2012/11/1266/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pumpktris</title>
		<link>http://www.hahabird.com/2012/10/pumpktris/</link>
		<comments>http://www.hahabird.com/2012/10/pumpktris/#comments</comments>
		<pubDate>Sun, 28 Oct 2012 15:49:16 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.hahabird.com/?p=1176</guid>
		<description><![CDATA[Pumpktris is a fully playable version of Tetris into a pumpkin, with 128 LEDs for the display and the stem serving as a game controller.]]></description>
			<content:encoded><![CDATA[<p>What do you get when you combine a pumpkin with the classic video game Tetris? Pumpktris! Fully playable, embedded in a pumpkin, and with the stem serving as a controller. Watch the video below to see it in action, then read on for the development story.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_finished.jpg"><img class="aligncenter size-large wp-image-1251" title="pumpktris_finished" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_finished-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p><iframe src="http://www.youtube.com/embed/8PCp5xk-9Qo" frameborder="0" width="560" height="315"></iframe></p>
<h3><span id="more-1176"></span>The Idea</h3>
<p>One of my habits is to write down all the crazy, fleeting ideas I have, then go back to review later rather than judging right off the bat, or even worse, forgetting them.  Earlier in the month I was looking through that idea notepad and found &#8220;Make Tetris Pumpkins&#8221; from sometime last year. My original plan had been to make forms to shape pumpkins into Tetris pieces as they grew, then stack them together for Halloween. Since Halloween was only a few weeks away and it was too late to start growing pumpkins, I thought &#8220;Why not make a pumpkin you can play Tetris on instead?&#8221;</p>
<p>I had a <a href="http://jimmieprodgers.com/kits/lolshield/" target="_blank">LOLShield</a> I hadn&#8217;t assembled yet, and I knew that someone had already written Tetris for it, so I figured it would be a simple matter to poke some holes in the pumpkin to match the LEDs, make a controller, and be done. But oh no, that would be too simple, and would look kind of lame. Little tiny LEDs, all stuck together on a 2&#215;3&#8243; area? Nahhhh.</p>
<p>Plan B: Still use the LOLshield, but instead of mounting LEDs in the shield I would wire them up externally so I could space them out more on the pumpkin. Luckily, I didn&#8217;t get too far down that route before I realized that the bundle of wires between the LEDs and the shield would be as thick as my wrist and a nightmare to solder and organize.</p>
<p>I was going to have to make my own LED matrix and program my own Tetris. With the decision made, I ordered 140 amber LEDs from Mouser and a pair of <a href="http://www.adafruit.com/products/871" target="_blank">LED Matrix I2C &#8220;backpacks&#8221;</a> from Adafruit. These little circuits come with a mini (.8&#8243; square) LED matrix that I could use for programming instead of having to wire up my own LED matrix right from the start..</p>
<h3>Time to Solder</h3>
<p>The first step was to make the LED matrix, and for that I&#8217;m grateful to have found this <a href="http://hackaday.com/2010/10/26/70-led-matrix-in-a-jack-o-lantern/">guide on hackaday.com to making a 70 LED matrix</a>. My construction steps were essentially the same (plus 58 more LEDs), but I&#8217;ll go through them here anyway. For more theory, check out their post. Mine leans toward &#8220;what I did&#8221; rather than &#8220;why you should do it this way.&#8221;</p>
<p>It started with cutting 112 pieces of 2.5&#8243; wire and 16 pieces of 8&#8243; wire. The short ones would go between each LED, and the long ones would run to the controller. A cutting mat made it easy to quickly and accurately measure out the lengths.</p>
<p style="text-align: center;"><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_cuttingwires.jpg"><img class="size-large wp-image-1186  aligncenter" title="pumpktris_cuttingwires" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_cuttingwires-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Next I soldered seven short wires and one long one into a daisy chain. Then again 15 more times—one for each row and one for each column in the matrix.</p>
<p style="text-align: center;"><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_daisychain.jpg"><img class="size-large wp-image-1187 aligncenter" title="pumpktris_daisychain" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_daisychain-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>A jig was needed for assembly, and here I differed from Hackaday. Instead of drilling hardboard, I opted to poke holes into 1/4&#8243; foam-core board with an awl. It was a lot quicker than a drill would be, and the foam-core board had a little bit of give so that I could make the holes small and they&#8217;d stretch out to hold the LED securely while I soldered.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_jig.jpg"><img class="aligncenter size-large wp-image-1188" title="pumpktris_jig" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_jig-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>With a row of LEDS poked into holes, I tinned the base of each anode and clipped it short, then soldered the wire daisy-chain down the line. At each joint I slipped on a half-inch of heat-shrink tubing before soldering. I&#8217;m proud to say there were only a couple of times I forgot the heat-shrink and had to go back. What caused more trouble was being in a hurry and sliding the tubing down to the joint while it was still hot. It would start to shrink up and wouldn&#8217;t fit over the connection on the LEDs.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_solder.jpg"><img class="aligncenter size-large wp-image-1189" title="pumpktris_solder" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_solder-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>When eight rows of LEDs were finally strung together, it was time to mount them all into the jig and solder on the cathode columns. The procedure with the heat-shrink was the same. As each column was finished I would pull it out of the jig and fold it out of the way in order to reach the next column.</p>
<p style="text-align: center;"><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_folding.jpg"><img class="size-large wp-image-1190 aligncenter" title="pumpktris_folding" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_folding-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Check it out!  A finished LED matrix!</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_matrix.jpg"><img class="aligncenter size-large wp-image-1192" title="pumpktris_matrix" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_matrix-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>But guess what? That&#8217;s only one, and 8&#215;8 isn&#8217;t enough room for a game of Tetris, so it all got done again! I&#8217;ll spare you a rerun on the pictures and description, but if you want to you can go back up and read it again to get the full experience.</p>
<p>The Adafruit LED Matrix Backpack is meant to have its LED matrix soldered right to the board, but instead I soldered on female headers that would permit me to plug in either the mini LED matrix for code testing or the large matrix for deployment. Someone will probably be along to tell me I need a resistor here or there or I&#8217;m going to blow some chip up—and they&#8217;re likely right—but it seems to have worked so far as-is.</p>
<p>To connect my own matrix to the I2C Backpack, I cut down a piece of prototyping board and soldered in the male headers, then connected the 8&#8243; wires from the last row and last column of the matrix to the board.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_plug.jpg"><img class="aligncenter size-large wp-image-1193" title="pumpktris_plug" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_plug-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Would it work, though? I needed some code in order to find out.</p>
<h3>Code</h3>
<p>I did all coding with the hardware mounted on my <a title="Bamboo Prototyping Board" href="http://www.hahabird.com/2012/09/bamboo-prototyping-board/">bamboo prototyping board</a>. The mini matrices in the I2C backpack sockets fit on the desk much better than the big, floppy matrices I built would have.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_coding.jpg"><img class="aligncenter size-large wp-image-1210" title="pumpktris_coding" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_coding-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>There are seven Tetrominos—yes, that&#8217;s what they&#8217;re called—in the game. Each has four points, as implied by the &#8220;tetra&#8221; prefix. A three-dimensional array stores the location of every pixel of every shape, in each of four possible rotations. Storing each rotation is a lot easier (for my brain at least) than calculating it on the fly. As an example, here&#8217;s the T shape:</p>
<pre>/* T */ {
 /* angle 0 */ { {0,1}, {1,1}, {2,1}, {1,2} },
 /* angle 90 */ { {1,0}, {1,1}, {2,1}, {1,2} },
 /* angle 180 */ { {1,0}, {0,1}, {1,1}, {2,1} },
 /* angle 270 */ { {1,0}, {0,1}, {1,1}, {1,2} } 
 }</pre>
<p>To draw the active piece the program keeps an activePiece variable (the index of the shape in the array) and a rotation variable (the index of the rotation description of that shape), then offsets each pixel pair that it pulls out by a yOffset and xOffset of how far down the screen it&#8217;s moved and how far left or right.</p>
<p>It also keeps an array describing the status of each &#8220;fixed&#8221; piece. With every move of the active piece, whether by gravity or by user control, it checks against that fixed-piece array to see if the requested move can be made without a collision. If the forbidden movement is left, right, or a rotation, it simply doesn&#8217;t make the move. If the forbidden movement is vertical it considers the piece to have landed and writes the piece to the array of fixed pieces, then launches a new active piece. Along the way it keeps score, tracks the level, speeds up the drop of the active piece as the game goes on, etc.</p>
<p>You can <a href="http://www.hahabird.com/wp-content/uploads/2012/11/Pumpktris.ino_.zip">download a copy of the code here.</a> In order to use it you&#8217;ll also need to download the <a href="https://github.com/adafruit/Adafruit-LED-Backpack-Library">Adafruit LED Backpack library</a> and <a href="https://github.com/adafruit/Adafruit-GFX-Library">Adafruit GFX</a> libraries and install them on your computer by copying each to the &#8220;libraries&#8221; folder of your computer&#8217;s Arduino sketch folder.</p>
<h3>The Wet Work</h3>
<p>This project required the perfect arcade cabinet—errr, I mean pumpkin. It had to be tall enough that the eight-inch tall matrix wouldn&#8217;t wrap too far around the bottom or top, and it needed a nice straight stem. I bought 3 pumpkins in a row, thinking each was perfect until I got it home and realized one thing or another wouldn&#8217;t work. Finally I found what I needed and the other pumpkins were relegated to prototyping duty for practice drilling holes and cutting.</p>
<p>To get inside the pumpkin I cut a large opening on the back. It wouldn&#8217;t work to cut from the top because I wanted the controller up there, and it would be easier to put the LEDs straight in from the back rather than the top.</p>
<p>With a paper template taped on to the pumpkin, I poked guide holes through the orange flesh.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_poking.jpg"><img class="aligncenter size-large wp-image-1206" title="pumpktris_poking" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_poking-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Once the holes were marked I drilled through with a 13/64&#8243; bit.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_drilling1.jpg"><img class="aligncenter size-large wp-image-1207" title="pumpktris_drilling" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_drilling1-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>And since round pixels just would not do for a proper Tetris game, I cut a square around each hole with an X-Acto blade. The ends of the holes on the inside of the pumpkin were left round.</p>
<p><img class="aligncenter size-large wp-image-1205" title="pumpktris_pixels" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_pixels-580x435.jpg" alt="" width="580" height="435" /></p>
<p>To turn the stem into a joystick I carefully sawed the it off at its base and drilled a 1-1/8&#8243; hole right where the shaft would pass through.</p>
<p><img class="aligncenter size-large wp-image-1202" title="pumpktris_stemdrill" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_stemdrill-580x435.jpg" alt="" width="580" height="435" /></p>
<p>I squared off the inside of the pumpkin below the stem, cut down some drywall anchors so they wouldn&#8217;t poke through the pumpkin, and screwed them in. Later I would attach the joystick with short screws into the drywall anchors.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_anchor.jpg"><img class="aligncenter size-large wp-image-1203" title="pumpktris_anchor" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_anchor-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>For a controller I used <a href="https://www.sparkfun.com/products/9182" target="_blank">short handle joystick from SparkFun</a>, with the red ball unscrewed and replaced with the stem of the pumpkin. I think I&#8217;m going to call this the  &#8221;joystem&#8221; from now on, as disgusting as that may sound. I drilled a hole in the detached stem and epoxied in a 6mm bolt, then screwed that into a coupling nut on the joystick shaft.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_joystem.jpg"><img class="aligncenter size-large wp-image-1214" title="pumpktris_joystem" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_joystem-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>One at a time, I started to poke each LED into its slimy place. It wasn&#8217;t long before a problem became apparent: there were 16 rows of holes on the outside, but only 15 on the inside. The angle that the holes were drilled toward the top of the pumpkin had the two rows coming together into a single row. I was eventually able to squeeze the LEDs past each other and direct them into their appropriate shafts. Once the LEDs were in, I attached the joystem.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpkis_installed_LEDs.jpg"><img class="aligncenter size-large wp-image-1215" title="pumpkis_installed_LEDs" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpkis_installed_LEDs-326x435.jpg" alt="" width="326" height="435" /></a></p>
<p>I plugged each matrix into the I2C backpack and then that into the Arduino. Usually I&#8217;ll build a standalone bare-bones controller board, but since this was definitely not a permanent piece I used the Arduino board. Power was provided by eight rechargeable AA batteries.</p>
<p>It was time to play Pumpktris!</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_lit.jpg"><img class="aligncenter size-large wp-image-1260" title="pumpktris_lit" src="http://www.hahabird.com/wp-content/uploads/2012/10/pumpktris_lit-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Everything worked great, except for some occasional glitches in the top matrix as the night went on. Maybe a power supply issue, but it&#8217;s also possible there might be some intermittent shorts that happen when you bury that many electrical connections inside a pumpkin. It&#8217;s also weird playing with the controller on the top and the display underneath, so if I were to do it again I would wire the joystem into a separate pumpkin, either wireless or with the wire made to look like a vine.</p>
<p>Next up? Porting Halo to a watermelon.*</p>
<p>By the numbers:</p>
<ul>
<li>128 LEDs</li>
<li>256 pieces of heat-shrink tubing</li>
<li>313 solder joints</li>
<li>around twelve hours of work over a week and a half</li>
<li>9800-point high score so far</li>
</ul>
<p>* No, not really.</p>
<p><em>UPDATE: I did a more in-depth writeup on how to make your own (as opposed to this story about how I made mine) at <a href="http://www.instructables.com/id/Pumpktris-The-Tetris-Pumpkin/" target="_blank">Instructables</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hahabird.com/2012/10/pumpktris/feed/</wfw:commentRss>
		<slash:comments>59</slash:comments>
		</item>
		<item>
		<title>The Abacus Bracelet</title>
		<link>http://www.hahabird.com/2012/10/the-abacus-bracelet/</link>
		<comments>http://www.hahabird.com/2012/10/the-abacus-bracelet/#comments</comments>
		<pubDate>Sun, 21 Oct 2012 00:47:48 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Woodworking]]></category>

		<guid isPermaLink="false">http://www.hahabird.com/?p=1138</guid>
		<description><![CDATA[Hey, hipsters! That 1980s calculator wristwatch you're wearing isn't retro enough for you anymore? Time to go waaaaay back in time with your wrist-worn calculating devices, all the way to the abacus.]]></description>
			<content:encoded><![CDATA[<p>Hey, hipsters! So that 1980s calculator wristwatch you&#8217;re wearing isn&#8217;t retro enough for you anymore? Time to go waaaaay back in time with your wrist-worn calculating devices, all the way to the abacus.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/DSC_98841.jpg"><img class="aligncenter size-large wp-image-1164" title="DSC_9884" src="http://www.hahabird.com/wp-content/uploads/2012/10/DSC_98841-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p><span id="more-1138"></span></p>
<p>The bracelet is made from layers of bubinga veneer, glued around a form one layer at a time. Individually, each piece of wood is flexible, but when they&#8217;re glued together they hold their shape. Below are veneer sheets cut into 1.5&#8243; wide strips for the bracelet.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4406.jpg"><img class="aligncenter size-large wp-image-1155" title="IMG_4406" src="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4406-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>The first step was to make a form for the bracelet. I drew out the shape in Illustrator, printed it, then spray-mounted it to a scrap of 2&#215;4. I cut around the edges with the band saw, then smoothed it right up to the line with the belt sander.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_3988.jpg"><img class="aligncenter size-large wp-image-1141" title="IMG_3988" src="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_3988-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>To make the bracelet I spread some glue on a strip of veneer, wrapped it around the form with the glue side out, then wrapped another strip around it. Hose clamps held its shape until it dried, then I added another layer, let it dry, added another, and so on until seven layers were built up.</p>
<p>My first attempt (this project wasn&#8217;t successful until the third try) had indentations in the wood from the clamps, so on later attempts I put a layer of brass sheet around the wood to spread the pressure of the clamps. A scrap of baking parchment keeps any glue squeezed out from sticking to the clamps.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_3989.jpg"><img class="aligncenter size-large wp-image-1140" title="IMG_3989" src="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_3989-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Once I had all 7 layers finished I drilled holes through the wood for the rods that the beads would slide on. Unfortunately, because of the bit&#8217;s small size, the characteristics of the wood, and some poor alignment on my part, the perfectly spaced and centered holes on one side wandered all over on the other side. On my second attempt I tried to be more careful in alignment. It was slightly better than the first attempt, but still not good enough.</p>
<p>For my third try I realized I could make some channels for the rod <em>before</em> I glued on later layers. These would serve as pilot holes when I drilled. I stopped at the 4th layer of wood and clamped it into my milling machine, then ran an engraving bit across the layer (as seen in the photo below). This ensured that the channels were straight and evenly spaced.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4317.jpg"><img class="aligncenter size-large wp-image-1142" title="IMG_4317" src="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4317-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>When I glued on the last three layers I had to take care that glue didn&#8217;t block the channels, so as it dried I passed a piece of guitar string back and forth through each channel to keep it clear. The photo below shows this, but without the clamps and the form.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4319.jpg"><img class="aligncenter size-large wp-image-1149" title="IMG_4319" src="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4319-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Once all the layers were formed and dried, I squared the edges on the belt sander and clamped it into the mill again. This time I routed out the openings where the beads would go. The photo below shows this step on an early attempt, without the pilot holes/channels in the middle.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4008.jpg"><img class="aligncenter size-large wp-image-1139" title="IMG_4008" src="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4008-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>With everything roughed in, I drilled the pilot holes to size. It worked perfectly—the holes were just as aligned on one side as on the other.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_43251.jpg"><img class="aligncenter size-large wp-image-1157" title="IMG_4325" src="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_43251-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>After sanding and applying a finish, I pushed the wires through and threaded the beads.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4330.jpg"><img class="aligncenter size-large wp-image-1146" title="IMG_4330" src="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4330-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>I cut each wire shorter than the width of the bracelet so that it would be inset in the holes, then filled the holes with a paste made from super glue and sawdust from the bracelet (for matching color). When that was dry I sanded down the excess so it only remained in the holes, smoothed it, and applied more finish to the edges.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4336.jpg"><img class="aligncenter size-large wp-image-1145" title="IMG_4336" src="http://www.hahabird.com/wp-content/uploads/2012/10/IMG_4336-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Here you can see the edge where the holes were. They&#8217;re still visible, but don&#8217;t jump out at you.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/abacus_9.jpg"><img class="aligncenter size-large wp-image-1174" title="abacus_9" src="http://www.hahabird.com/wp-content/uploads/2012/10/abacus_9-580x388.jpg" alt="" width="580" height="388" /></a></p>
<p>And here it is, finished and ready for all your on-the-go calculation needs!</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/finished_abacus_1.jpg"><img class="aligncenter size-large wp-image-1147" title="finished_abacus_1" src="http://www.hahabird.com/wp-content/uploads/2012/10/finished_abacus_1-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/10/finished_abacus_2.jpg"><img class="aligncenter size-large wp-image-1148" title="finished_abacus_2" src="http://www.hahabird.com/wp-content/uploads/2012/10/finished_abacus_2-580x435.jpg" alt="" width="580" height="435" /></a></p>
<form enctype="multipart/form-data" class="fm-form" method="post" action="http://www.hahabird.com/2012/10/the-abacus-bracelet/" name="fm-form-1" id="fm-form-1" autocomplete="on" >

	<fieldset>	
									<legend>I Want an Abacus Bracelet!</legend>
							
		<ul>
						<li id="fm-item-note-518981e9f3097">
									<table><tr>
						<td style="width:200px"><label>Instructions</label></td>
						<td><div style="text-align:left">Leave your name and email and I'll let you know when I have some for 
sale. <br>
This isn't a waiting list or a guarantee that you'll get one, only that I'll let you know when some are for sale. After that it's first come, first served.</div></td>
					</tr></table>
							</li>
						<li id="fm-item-text-518981ae37944">
									<table><tr>
						<td style="width:200px"><label>Name</label></td>
						<td><input type="text" name="text-518981ae37944" id="text-518981ae37944" style="width:300px;" placeholder="" /></td>
					</tr></table>
							</li>
						<li id="fm-item-text-518981c7e0678">
									<table><tr>
						<td style="width:200px"><label>Email Address</label></td>
						<td><input type="text" name="text-518981c7e0678" id="text-518981c7e0678" style="width:300px;" placeholder="" /></td>
					</tr></table>
							</li>
					</ul>

		<div>
		 <input type="submit" name="fm_form_submit" id="fm_form_submit" class="submit" value="Submit" onclick="return fm_submit_onclick(1)"  />
		</div>

	</fieldset>
	<input type="hidden" name="fm_nonce" id="fm_nonce" value="6d8347683d" />
<input type="hidden" name="fm_id" id="fm_id" value="1" />
<input type="hidden" name="fm_uniq_id" id="fm_uniq_id" value="fm-5198c27308a11" />
<input type="hidden" name="fm_parent_post_id" id="fm_parent_post_id" value="1138" />
</form>

]]></content:encoded>
			<wfw:commentRss>http://www.hahabird.com/2012/10/the-abacus-bracelet/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Bamboo Prototyping Board</title>
		<link>http://www.hahabird.com/2012/09/bamboo-prototyping-board/</link>
		<comments>http://www.hahabird.com/2012/09/bamboo-prototyping-board/#comments</comments>
		<pubDate>Sun, 30 Sep 2012 06:27:06 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Woodworking]]></category>

		<guid isPermaLink="false">http://www.hahabird.com/?p=1011</guid>
		<description><![CDATA[A laser-cut prototyping board that holds an Arduino, a full-sized breadboard, and has a tray for components.]]></description>
			<content:encoded><![CDATA[<p>I like to do a lot of my electronics &amp; Arduino work on a laptop, either on the dining room table or spread out on the living room floor. Between the Arduino, the breadboard, and who-knows-how-many components, it&#8217;s a hassle to get all the pieces moved when project time is over.</p>
<p>I&#8217;ve seen acrylic plates for mounting a half-sized breadboard and an Arduino (<a href="http://adafruit.com/products/275" target="_blank">here&#8217;s one at Adafruit</a> &amp; <a href="https://www.sparkfun.com/products/11235?" target="_blank">here&#8217;s one at Sparkfun</a>), but they don&#8217;t appeal to me. First, I prefer using a full-size breadboard, and second, I don&#8217;t like the look of  the acrylic. Time to make my own.</p>
<p><img class="aligncenter size-large wp-image-1014" title="proto_bamboo_1" src="http://www.hahabird.com/wp-content/uploads/2012/09/proto_bamboo_1-435x435.jpg" alt="" width="435" height="435" /></p>
<p><span id="more-1011"></span>It&#8217;s laser cut from two pieces of bamboo plywood, sized to the P1 (smallest available) sheet at Ponoko. The thin sheet is the base, and the thick piece glued to the top holds the Arduino and a breadboard. A cut-out on the thick piece creates a tray for holding components.  I had room, so I engraved a resistor color code guide for handy reference*.</p>
<p>If you want to make it yourself, you can <a href="http://www.ponoko.com/design-your-own/products/bamboo-mounting-plate-for-arduino-breadboard-8727" target="_blank">add it directly to your Ponoko account from my showroom</a>, or you can <a href="http://www.hahabird.com/wp-content/uploads/2012/09/BambooProtoBoard.zip">download the zipped EPS files here</a>. The file &#8220;protoboard_3plybamboo_p1.eps&#8221; is the top piece and should be made with <a href="http://www.ponoko.com/make-and-sell/show-material/226-bamboo-amber-3-ply" target="_blank">3-ply amber bamboo</a>, and &#8220;protoboard_blondebamboo_p1.eps&#8221; is the bottom piece made with <a href="http://www.ponoko.com/make-and-sell/show-material/88-bamboo-blonde" target="_blank">single-ply blonde bamboo</a>. The total cost was around $15 + shipping.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/09/proto_bamboo_2.jpg"><img class="aligncenter size-large wp-image-1015" title="proto_bamboo_2" src="http://www.hahabird.com/wp-content/uploads/2012/09/proto_bamboo_2-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>A stack of plastic washers on each bolt acts as a standoff to raise the Arduino off the wood, but this isn&#8217;t strictly necessary. On the back, the nuts are recessed. If you make your own, be sure that the bolt holes in the top sheet are centered in the nut holes on the bottom when you glue the two pieces together. Rubber feet in the corners keep it from sliding around.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/09/proto_bamboo_3.jpg"><img class="aligncenter size-large wp-image-1013" title="proto_bamboo_3" src="http://www.hahabird.com/wp-content/uploads/2012/09/proto_bamboo_3-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>I sanded the charred edges off the outside, but left them on the inside (because I&#8217;m lazy and the belt sander couldn&#8217;t reach), and protected it all with a few coats of polyurethane.</p>
<p>*In my haste to get this made, I forgot to include the GOLD and SILVER on the resistor chart when I exported and uploaded. Whoops. I&#8217;ve re-done the file now to include those, and also to express the multiplier values in what I think is an easier to read format: xxK and x.xM, for example, instead of x1,000 and x100,000. This is what it looks like on the files linked/attached:</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/09/proto_bamboo_resistor.jpg"><img class="aligncenter size-full wp-image-1023" title="proto_bamboo_resistor" src="http://www.hahabird.com/wp-content/uploads/2012/09/proto_bamboo_resistor.jpg" alt="" width="300" height="349" /></a></p>
<p><strong>update 4/16/2013:</strong> reader Matt made another variation that you can <a href="http://www.thingiverse.com/thing:71335" target="_blank">download on Thingiverse</a>. Very cool!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hahabird.com/2012/09/bamboo-prototyping-board/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>The Big Chair &#8211; Building Your Own</title>
		<link>http://www.hahabird.com/2012/07/the-big-chair-building-your-own/</link>
		<comments>http://www.hahabird.com/2012/07/the-big-chair-building-your-own/#comments</comments>
		<pubDate>Mon, 23 Jul 2012 15:10:20 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Woodworking]]></category>

		<guid isPermaLink="false">http://www.hahabird.com/?p=285</guid>
		<description><![CDATA[Plans and instructions for building your own version of the giant Adirondack chair.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4240.jpg"><img class="aligncenter size-large wp-image-985" title="IMG_4240" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4240-326x435.jpg" alt="" width="326" height="435" /></a></p>
<p>I&#8217;ve gotten a few emails and comments asking for plans for the<a title="The Big Chair" href="http://www.hahabird.com/2010/05/the-big-chair/" target="_blank"> giant adirondack chair</a> I built. The trouble is that I prefer building things to documenting them. But because I love you all, I buckled down and made some plans. Don&#8217;t get too excited, because these aren&#8217;t formal blueprinty plans. To do that right would require building another chair to test everything out, and there&#8217;s only room for one of these in my yard. So instead I measured the already-built chair, tried to remember what I&#8217;d done (and in some cases what I&#8217;d do differently), and rebuilt it in Google Sketchup.</p>
<p><strong><span id="more-285"></span>Please note:</strong> this description isn&#8217;t intended to be a step-by-step guide with every 1/8 of an inch and every angle accounted for.  Read through the entire thing before building. Then read it again. This will get you close, but you&#8217;ll need to figure some things out on your own as you go. No guarantees are made as to the accuracy or suitability of it for any purpose, and you&#8217;re responsible for what you build and for any damage when it inevitably falls down.</p>
<p>Here&#8217;s a materials list for the lumber:</p>
<table>
<tbody>
<tr>
<th>Quantity</th>
<th>Dimension</th>
<th>Purpose</th>
</tr>
<tr>
<td>3</td>
<td>2&#215;12 x 12&#8242;</td>
<td>Backrest slats</td>
</tr>
<tr>
<td>1</td>
<td>2&#215;12 x 10&#8242;</td>
<td>Armrests</td>
</tr>
<tr>
<td>1</td>
<td>2&#215;12 x 8&#8242;</td>
<td>Front Vertical Supports</td>
</tr>
<tr>
<td>1</td>
<td>2&#215;10 x 12&#8242;</td>
<td>Seat/Frame</td>
</tr>
<tr>
<td>1</td>
<td>2&#215;10 x 8&#8242;</td>
<td>Seat/Frame</td>
</tr>
<tr>
<td>2</td>
<td>2&#215;8 x 8&#8242;</td>
<td>Seat slats</td>
</tr>
<tr>
<td>1</td>
<td>2&#215;8 x 8&#8242;</td>
<td>Upper Rear Support</td>
</tr>
<tr>
<td>1</td>
<td>2&#215;6 x 12&#8242;</td>
<td>Rear Vertical Supports</td>
</tr>
</tbody>
</table>
<p>You&#8217;ll also need some deck screws (2.5&#8243; or 3&#8243;), eight 1/2&#8243; galvanized hex bolts (length depends on how you build it, but I think I used 3&#8243;), washers, and nuts.</p>
<h2>Seat/Base</h2>
<p>Cut your 12-foot 2&#215;10 in half so you&#8217;ve got two 6-foot pieces.  These will be the rails along the side that support the seat slats.  Decide what angle your chair will rest at. Mine&#8217;s at 20 degrees, and in regular-sized Adirondack chair plans I&#8217;ve seen everything from 17 &#8211; 22 degrees or so.  Cut this angle across one end of each of these boards, something like this:</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/base_supports1.png"><img class="aligncenter size-large wp-image-915" title="base_supports" src="http://www.hahabird.com/wp-content/uploads/2012/05/base_supports1-580x138.png" alt="" width="580" height="138" /></a></p>
<p>The angle you cut will be the back foot that the chair rests on. If you want to round that corner (shown in red), do so now. This would also be the time to cut a contour in the seat (again in red), should you desire. The seat contour shouldn&#8217;t be very deep, and should end about 30&#8243; back where the back of the last seat slats will go.</p>
<p>Measure 9 inches from the front of the 2&#215;10 frame rail, along the bottom.  Starting there, draw a line at 90 degrees to the angle you used before. It&#8217;ll be 9&#8243; back on the bottom tilting to barely under 6 inches back on the top. It&#8217;s illustrated in yellow in the photo below. This line will be where the front edge of the front vertical support goes.  Do it again on the opposite side of the other rail.</p>
<p>Cut a 4-foot piece from the 8-foot 2&#215;10 to connect the two side rails at the front of the seat.</p>
<p>Put the frame rails four feet apart (from outside edge to outside edge) and make sure everything is parallel and square, then attach the 4-foot 2&#215;10 across the front with a few deck screws in each end.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/base_frame1.png"><img class="aligncenter size-large wp-image-916" title="base_frame" src="http://www.hahabird.com/wp-content/uploads/2012/05/base_frame1-580x395.png" alt="" width="580" height="395" /></a></p>
<p>Cut the 8-foot 2&#215;12 into two 42&#8243; long pieces.  These will be the front vertical supports that hold up the seat and the armrest.</p>
<p>With some friends, stand the vertical supports on either side of the base frame you made, then start lifting the front of the base until the line you drew is parallel with the support.  Getting this right will also mean that that the corner you cut at the rear of the rail is now flat on the ground.</p>
<p>Clamp the rails and the supports together firmly so you don&#8217;t need to hold it all up by hand, then drill a pair of  half-inch holes all the way through.  You can use a Forstner bit partway through to sink the bolt head (I used half-inch galvanized bolts) out of the way, but that&#8217;s not necessary.  Carriage bolts might be another option, so that the outside would be more smooth.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/base.png"><img class="aligncenter size-large wp-image-893" title="base" src="http://www.hahabird.com/wp-content/uploads/2012/05/base-580x395.png" alt="" width="580" height="395" /></a></p>
<p>Cut both of the 8-foot 2x8s in half so you have four 4-foot pieces. These will be the slats you sit on.  I used a round-over bit in the router to soften the top edges, but that&#8217;s optional depending on your tool set.</p>
<p>Attach the first 4-foot 2&#215;8 across the top with deck screws, overlapping the edge of the 2&#215;10 on the front. Work your way back attaching each slat about half an inch away from the one before.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/base_slats.png"><img class="aligncenter size-large wp-image-894" title="base_slats" src="http://www.hahabird.com/wp-content/uploads/2012/05/base_slats-580x395.png" alt="" width="580" height="395" /></a></p>
<h2>Backrest</h2>
<p>Now it&#8217;s time to make the backrest. This part is tricky, but I&#8217;ll do my best to describe it. Make a lot of measurements and do a lot of fitting and testing before you cut. Build to the measurements you end up with, and not strictly to mine.</p>
<p>Cut your three 12-foot 2x12s in half so you&#8217;ve got six 6-foot boards. You&#8217;ll only need five of them for the slats, and the other will be used elsewhere.</p>
<p>The first problem to be overcome is that the boards are each 11-1/4&#8243; across, and you&#8217;ll want a half-inch gap between them. Five boards and four gaps equals 58.25&#8243;. That&#8217;s fine for the top of the backrest, but the bottom needs to fit the 48&#8243; width of the chair base. You&#8217;ll need to taper each board down from 11.25&#8243; to 9.2&#8243; (let&#8217;s go with 9.25&#8243; for ease of measurement). 9.25&#8243; x 5=46.25.  Add 2&#8243; for the gaps between and you get just a bit over 48&#8243;. That&#8217;s close enough.</p>
<p>There&#8217;s no need to cut 1&#8243; from each side; instead you can take 2&#8243; off of one side, as long as you can round over the board&#8217;s edges to match on both sides. How you cut this is going to depend on the tools you&#8217;ve got. I used a circular saw and made a guide to ensure a straight cut.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/07/back_slat.png"><img class="aligncenter size-large wp-image-979" title="back_slat" src="http://www.hahabird.com/wp-content/uploads/2012/07/back_slat-580x395.png" alt="" width="580" height="395" /></a></p>
<p>&nbsp;</p>
<p>Once all 5 back slats are cut, lay them onto the ground and space them about half an inch apart at top and bottom. This is mostly a check to make sure all the cuts are correct and the spacing is right. The width on the bottom should be just over 48&#8243;. If you want to cut an arch across the top of the slats (shown in red on the picture below), draw it on now while all of the boards are lined up, then cut each board individually. If you want the top to be square, snap a chalk line across the top, then cut each board along the line. The bottom edge of the boards will not be even, and you shouldn&#8217;t try to make them even yet.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/back_slats_layout.png"><img class="aligncenter size-large wp-image-918" title="back_slats_layout" src="http://www.hahabird.com/wp-content/uploads/2012/05/back_slats_layout-580x395.png" alt="" width="580" height="395" /></a></p>
<p>There are two supports for the back slats, one at the bottom and one about halfway up. Let&#8217;s do the bottom one first.</p>
<p>You should have one 6-foot piece of 2&#215;12 left. Cut it down to 4 feet long, then measure 7.25 inches in from the edge and draw a line all the way across (red in the diagram below). You&#8217;re basically making a 2&#215;8. Next draw a shallow arc from one corner of that 2&#215;8 piece to the other. This will be a rough guide to the contour of the seat back.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/07/bottom_support_from_2x12.png"><img class="aligncenter size-large wp-image-970" title="bottom_support_from_2x12" src="http://www.hahabird.com/wp-content/uploads/2012/07/bottom_support_from_2x12-580x380.png" alt="" width="580" height="380" /></a></p>
<p>Now divide the arc into five 9-3/4&#8243; (or so) straight segments. These segments will let each back slat fit square against the support. If you cut right along the arc, only the corner of each slat would be supported. Cut as neatly as you can along the lines because you&#8217;ll use the convex piece later.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/07/bottom_support.png"><img class="aligncenter size-large wp-image-980" title="bottom_support" src="http://www.hahabird.com/wp-content/uploads/2012/07/bottom_support-580x395.png" alt="" width="580" height="395" /></a></p>
<p>There&#8217;s another support halfway up the back, and this one really relies on you making your own measurements based on the back slats you&#8217;ve got laid out. Measure 4 feet up from the middle of the center slat and mark it. Draw a straight line all the way across the slats at that mark. Measure the width of each board at the line you&#8217;ve drawn and write each down. Because of the way they fan out, the width of the outside boards at the line will be more than the center board. Add a little bit to each measurement, since the curve will make that half-inch gap at the front of the board slightly wider at the back.</p>
<p>Cut the remaining 8-foot 2&#215;8 in half, then mark off your measurements from the center of one piece and cut another segmented arc with these measurements, much like you did with the bottom support. The boards on the edge of the backrest won&#8217;t be fully supported, so the outside segments of the arc will be shorter than the rest.</p>
<p>To attach the upper back support to the chair, mark your chosen angle 60&#8243; up the 12-foot 2&#215;6. Measure 60&#8243; off the other side of the angle and cut straight across, so you&#8217;ve got one support for each side. Keep the scrap piece to use later as an armrest support.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/07/rear_support_cuts.png"><img class="aligncenter size-large wp-image-969" title="rear_support_cuts" src="http://www.hahabird.com/wp-content/uploads/2012/07/rear_support_cuts-580x120.png" alt="" width="580" height="120" /></a></p>
<p>Lay the two vertical supports 45&#8243; apart, get everything square, then attach the upper horizontal support with screws. There will be a 1.5&#8243; overhang on each side.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/rear_support.png"><img class="aligncenter size-large wp-image-923" title="rear_support" src="http://www.hahabird.com/wp-content/uploads/2012/05/rear_support-580x395.png" alt="" width="580" height="395" /></a></p>
<p>Attaching this rear support frame takes some attention to detail, because you want the verticals completely, well, vertical. And at the same time, you want it positioned front to back so that the angle between the seat and the back equals 90 degrees. You might have another method, but what I did was to tie a string between the centers of the upper and lower rear slat supports, then move the support frame back and forth until a framing square held against the seat slats showed the string was at a right angle. The picture below illustrates this method. When everything is lined up and square, clamp the support frame to the rails, drill, and bolt just like you did for the front supports.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/back_angle.png"><img class="aligncenter size-large wp-image-925" title="back_angle" src="http://www.hahabird.com/wp-content/uploads/2012/05/back_angle-580x395.png" alt="" width="580" height="395" /></a></p>
<p>Now you can attach the vertical slats! I put four screws into each slat (2 top, 2 bottom). You might have to remove a seat slat or two in order to get access for drilling &amp; screwing. Be careful at this stage: without the armrests tying it together, the chair is very unstable.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/back_slats.png"><img class="aligncenter size-large wp-image-903" title="back_slats" src="http://www.hahabird.com/wp-content/uploads/2012/05/back_slats-580x395.png" alt="" width="580" height="395" /></a></p>
<p>Because of the way you cut the angle into the back slats, there may be some unevenness along the bottom where it attaches to the support (see image below). You can either ignore this or mark a line on each slat, take it down, cut it, then re-attach. If you do remove your slats, it&#8217;s a good idea to mark which is which so everything can fit back where it&#8217;s meant to be.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/slats_bottom.png"><img class="aligncenter size-large wp-image-926" title="slats_bottom" src="http://www.hahabird.com/wp-content/uploads/2012/05/slats_bottom-580x395.png" alt="" width="580" height="395" /></a></p>
<h2>Armrests</h2>
<p>The armrests are 60&#8243; 2x12s. Cut two from the 10-foot 2&#215;12 and contour them as you&#8217;d like. The back of each armrest is attached by screws to a small block on the the vertical support in the rear of the chair (see the inset detail below). Cut the blocks from a piece of the 2&#215;8 left over from the 8-foot 2&#215;8 you used for the upper back slat support. Screw the block to the vertical support, then screw the armrest to the block.</p>
<p>In the front, cut two 2x6s about 1 foot long (use the scrap piece from the rear vertical supports) and contour as you like, then attach with deck screws to each front vertical support in a T formation. This will give the armrest a wide, stable surface to rest on.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/armrest1.png"><img class="aligncenter size-large wp-image-929" title="armrest" src="http://www.hahabird.com/wp-content/uploads/2012/05/armrest1-580x395.png" alt="" width="580" height="395" /></a></p>
<p>Now for the problem of how to intersect the armrest and the rear vertical slats. Take a close look at the picture above and see where they meet. It&#8217;s a compound angle, possibly even extending into dimensions we haven&#8217;t discovered yet. The slats lean back <em>and</em> curve inward. I basically cut it in place by fitting the armrest as close as I could against the vertical slat, marking it, cutting, test fitting, cutting some more, and so on. If you&#8217;ve got a laser level, that may help you transfer lines where you need them. All I can really say is &#8220;good luck,&#8221; or maybe build a chair without the fanned back; then you don&#8217;t need to worry about it.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/armrest_slot.png"><img class="aligncenter size-large wp-image-920" title="armrest_slot" src="http://www.hahabird.com/wp-content/uploads/2012/05/armrest_slot-580x395.png" alt="" width="580" height="395" /></a></p>
<p>Once you&#8217;ve got your armrests attached, fill the gap between the vertical slats and the rearmost seat slat. Remember the convex piece from your 2&#215;12? You&#8217;re basically putting these two pieces back together with the backrest between them. You might need to trim the straight side of the board to fit. Leave a gap between this board and the back slats for any rain to drain down.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/last_base_slat.png"><img class="aligncenter size-large wp-image-905" title="last_base_slat" src="http://www.hahabird.com/wp-content/uploads/2012/05/last_base_slat-580x395.png" alt="" width="580" height="395" /></a></p>
<p>You&#8217;re done! Now you&#8217;ll probably want to take it all apart in order to paint it and/or move it to its final destination.</p>
<p>If you do end up building a giant chair based on this page, please send pics. I&#8217;d love to see your work. I also welcome any ideas to make the project easier; I&#8217;ll add them here to help the next builder.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/finished_chair_01.png"><img class="aligncenter size-large wp-image-907" title="finished_chair_01" src="http://www.hahabird.com/wp-content/uploads/2012/05/finished_chair_01-580x395.png" alt="" width="580" height="395" /></a></p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/05/finished_chair_02.png"><img class="aligncenter size-large wp-image-906" title="finished_chair_02" src="http://www.hahabird.com/wp-content/uploads/2012/05/finished_chair_02-580x395.png" alt="" width="580" height="395" /></a></p>
<p>Here&#8217;s the materials list again, this time with each type of board color coded. It corresponds with the picture below where each board is colored the same as in the materials list, so you have a better idea which pieces are used where.</p>
<table>
<tbody>
<tr>
<th>Quantity</th>
<th>Dimension</th>
<th>Purpose</th>
</tr>
<tr style="background-color: #ff882e;">
<td>3</td>
<td>2&#215;12 x 12&#8242;</td>
<td>Backrest slats</td>
</tr>
<tr style="background-color: #695ab2;">
<td>1</td>
<td>2&#215;12 x 10&#8242;</td>
<td>Armrests</td>
</tr>
<tr style="background-color: #3d15ff;">
<td>1</td>
<td>2&#215;12 x 8&#8242;</td>
<td>Front Vertical Supports</td>
</tr>
<tr style="background-color: #66cc64;">
<td>1</td>
<td>2&#215;10 x 12&#8242;</td>
<td>Seat/Frame</td>
</tr>
<tr style="background-color: #09b206;">
<td>1</td>
<td>2&#215;10 x 8&#8242;</td>
<td>Seat/Frame</td>
</tr>
<tr style="background-color: #ff25d9;">
<td>2</td>
<td>2&#215;8 x 8&#8242;</td>
<td>Seat slats</td>
</tr>
<tr style="background-color: #b21206;">
<td>1</td>
<td>2&#215;8 x 8&#8242;</td>
<td>Upper Rear Support</td>
</tr>
<tr style="background-color: #5ab2ad;">
<td>1</td>
<td>2&#215;6 x 12&#8242;</td>
<td>Rear Vertical Supports</td>
</tr>
</tbody>
</table>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/07/chair_color.png"><img class="aligncenter size-large wp-image-974" title="chair_color" src="http://www.hahabird.com/wp-content/uploads/2012/07/chair_color-580x395.png" alt="" width="580" height="395" /></a></p>
<p>And here&#8217;s a PDF (61KB) of all the lumber with cuts marked:</p>
<p style="text-align: center;"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/Adirondack_Wood_Cutting.pdf"><img class="aligncenter size-large wp-image-992" title="Adirondack_Wood_Cutting" src="http://www.hahabird.com/wp-content/uploads/2012/07/Adirondack_Wood_Cutting-323x435.png" alt="" width="323" height="435" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hahabird.com/2012/07/the-big-chair-building-your-own/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>iPhone-Charging USGI Flashlight</title>
		<link>http://www.hahabird.com/2012/07/iphone-charging-usgi-flashlight/</link>
		<comments>http://www.hahabird.com/2012/07/iphone-charging-usgi-flashlight/#comments</comments>
		<pubDate>Sun, 08 Jul 2012 05:28:26 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.hahabird.com/?p=933</guid>
		<description><![CDATA[This surplus USGI flashlight can charge my phone and light my way down a darkened path.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4227.jpg"><img class="aligncenter size-large wp-image-937" title="IMG_4227" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4227-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>Last week I ordered a <a href="http://adafruit.com/products/14" target="_blank">MintyBoost</a> charging kit from <a href="http://www.adafruit.com" target="_blank">AdaFruit</a>. The MintyBoost is a circuit that takes power from a pair of AA batteries and outputs 5v through a USB port, so you can charge your phone or other similar device where you might not have access to another power source. It gets its name because it&#8217;s commonly built into an Altoids mint tin, but I wanted something a little heavier duty than candy and tiny batteries.</p>
<p><span id="more-933"></span>The MintyBoost kit was well-documented and went together quickly. I verified that it worked with a pair of AA batteries in the provided battery holder, then started hunting around for more power.</p>
<p>AA batteries have a capacity of about 2800mAh (milliAmp hours). The iPhone 4s I would most likely be charging has a battery capacity of about 1400mAh. When you figure in the inefficiencies of the charger, the fact that batteries usually overstate their capacity, and other factors, it turns out that the AA batteries might top off a phone that&#8217;s down to about 1/4 power. That&#8217;s it. Then you need to get a new pair of AAs.</p>
<p>On the other hand, D-cell batteries have a capacity of almost 15,000mAh—over 5x that of AA batteries. I just needed a good case to hold the D batteries and the MintyBoost, and what better than a flashlight?</p>
<p>I scrounged through a box of junk and found an old USGI right-angle flashlight. These things are uglier and tougher than almost anything around, and mine was no exception on either count, scarred up from who-knows-how-many youthful camping trips and midnight troublemaking expeditions.</p>
<div id="attachment_946" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4179.jpg"><img class="size-large wp-image-946" title="IMG_4179" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4179-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">The source material: an old USGI right-angle flashlight and an Adafruit Mintyboost circuit.</p></div>
<p>The USGI flashlight comes apart in a ton of different places. There are two tail caps: one to hold an assortment of lens filters and the other to provide access to the battery compartment. A ring screws off of the front of the lens to hold a filter, and the bulb assembly screws out of the head of the flashlight. I figured that somewhere in there would be room for the tiny MintyBoost.</p>
<div id="attachment_945" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4181.jpg"><img class="size-large wp-image-945" title="IMG_4181" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4181-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">The flashlight disassembled. There&#8217;s a lot of room in there.</p></div>
<p>I poked the circuit into various nooks &amp; crannies of the flashlight, trying to see where it would fit best. One possibility was in the head of the flashlight behind the bulb assembly.</p>
<div id="attachment_949" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4182.jpg"><img class="size-large wp-image-949" title="IMG_4182" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4182-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">The MintyBoost in the head of the flashlight.</p></div>
<p>Another likely spot was in the tail cap where there&#8217;s a compartment for storing a spare bulb.</p>
<div id="attachment_950" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4185.jpg"><img class="size-large wp-image-950" title="IMG_4185" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4185-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">MintyBoost in the tail cap.</p></div>
<p>I decided on the tailcap, but not poking out the side like in the picture above. Rather, it would come out the rear of the flashlight. There was a reinforcing area for the D-ring that was <em>exactly</em> the right size for the USB port and would provide a solid surface for mounting. It would also be easier to put an on-off switch on the flat base than on the head or out the side of the flashlight.</p>
<p>After milling a slot in the tail cap, I squared the corners with a knife.</p>
<div id="attachment_944" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4186.jpg"><img class="size-large wp-image-944" title="IMG_4186" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4186-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">A slot for the USB port.</p></div>
<p>Neither of the two tailcaps on their own had enough room, but together they were quite spacious. I only needed to open the wall between them. To do this, I chucked a small flush-cutting bit into the router and ran it around the inside of the cap. It&#8217;s a little bit rough, but the picture below is the last time anyone will see the inside anyway. Doing this sacrificed the storage for the filters, but I never used them in the first place.</p>
<div id="attachment_943" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4187.jpg"><img class="size-large wp-image-943" title="IMG_4187" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4187-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">The solid base routed out of the battery cap.</p></div>
<p>Even when it&#8217;s not in use, a circuit can like this can draw a minuscule amount of power and drain the batteries over time, so I added an on/off switch in the tail cap to control the power to the MintyBoost. In reality, it&#8217;s completely unnecessary since the batteries would probably leak and corrode before the unused charger emptied them, but why not wear suspenders with that belt? The charger operates completely independently of the flashlight; either can be on or off regardless of the state of the other.</p>
<div id="attachment_942" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4191.jpg"><img class="size-large wp-image-942" title="IMG_4191" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4191-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">Countersinking holes for the switch mounting screws.</p></div>
<p>I attached the MintyBoost with high-strength two-part epoxy on three sides of the USB port and on the edge of the circuit board where it made contact with the inside of the tail cap.</p>
<div id="attachment_941" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4192.jpg"><img class="size-large wp-image-941" title="IMG_4192" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4192-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">The finished cap.</p></div>
<p>The cap looked great on its own, but now I had to get power to it. I could tap right into the spring in the tail cap for the negative terminal, but for positive I&#8217;d have to run a wire from the head. I soldered a wire to the springy copper strip that contacts the bulb and ran it down through the battery compartment. There&#8217;s plenty of room in the battery tube for a wire held down with electrical tape.</p>
<div id="attachment_936" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4230.jpg"><img class="size-large wp-image-936" title="IMG_4230" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4230-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">The positive terminal at the head of the flashlight, showing the line feeding to the charger.</p></div>
<p>In the tail cap, I ran the negative wire to a bent strip of copper I made to hang over the lip that the battery spring rests on. Since the copper strip stays in place as the cap screws on (and the spring possibly rotates with it), it&#8217;s one less wire to get tangled up. Things weren&#8217;t so easy with the positive wire, but it works well enough to run the wire through the spring so that as the cap and spring are screwed on, the wire rotates through the spiral.</p>
<div id="attachment_938" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4215.jpg"><img class="size-large wp-image-938" title="IMG_4215" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4215-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">The MintyBoost circuit inside the tail cap.</p></div>
<p>With everything screwed together, I plugged in the iPhone and flipped the switch on the base of the flashlight. Ahhh, the relief of hearing that sweet beep-boop from the phone as it acknowledged the charge. It works!</p>
<div id="attachment_940" class="wp-caption aligncenter" style="width: 336px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4209.jpg"><img class="size-large wp-image-940" title="IMG_4209" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4209-326x435.jpg" alt="" width="326" height="435" /></a><p class="wp-caption-text">It charges!</p></div>
<p>To save the flashlight batteries even more I swapped the incandescent bulb for a drop-in <a href="http://www.amazon.com/Dorcy-41-1643-Lumen-Volt-Replacement/dp/B003MP8MGY/" target="_blank">LED replacement</a>. It&#8217;s not too bright, as far as modern LED technology goes, but it&#8217;s still brighter than the original bulb and should ensure that using the flashlight as an actual flashlight will still leave plenty of juice for a phone charge.</p>
<div id="attachment_935" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4235.jpg"><img class="wp-image-935" title="IMG_4235" src="http://www.hahabird.com/wp-content/uploads/2012/07/IMG_4235-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">Using the flashlight to charge my iPhone, so I can use its flashlight too.</p></div>
<p>I&#8217;m going to use it next week to charge up on a supported long-distance bike ride (meaning someone drives my gear—including this—to the campsite while I pedal there). After that it&#8217;ll probably stay in the back of the car as an emergency light/charger.</p>
<p>So, what to call it? It&#8217;s a MintyBoost at its heart, but the flashlight&#8217;s green is more of an olive. So how about the OliveDrabbyBoost?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hahabird.com/2012/07/iphone-charging-usgi-flashlight/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>USB Mix Tape</title>
		<link>http://www.hahabird.com/2012/01/usb-mix-tape/</link>
		<comments>http://www.hahabird.com/2012/01/usb-mix-tape/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 01:15:14 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.hahabird.com/?p=835</guid>
		<description><![CDATA[Combining the storage of a flash drive with the form factor of a cassette tape.]]></description>
			<content:encoded><![CDATA[<p>I was reminiscing with friends about the days of mix tapes when it struck me that the ubiquitous USB flash drive would fit almost perfectly into a cassette tape, making a perfect marriage of old and new media. You could have all of the artwork and label design potential of the tape (to say nothing of the nostalgia), but with the space for more than just a dozen songs.</p>
<p>A quick survey online found some instructions on <a href="http://www.instructables.com/tag/?sort=none&amp;limit%3Atype%3Aid=on&amp;limit%3Atype%3Acomment=on&amp;limit%3Atype%3Auser=on&amp;limit%3Atype%3Agroup=on&amp;limit%3Atype%3AforumTopic=on&amp;limit%3Atype%3AforumComment=on&amp;limit%3Atype%3Aquestion=on&amp;q=usb+cassette+tape" target="_blank">making your own</a> or even <a href="http://www.makeamixa.com/" target="_blank">buying pre-made ones</a>. Ignoring all, I plunged ahead. After all, this is about learning, building, and probably screwing up, not just having a finished product.</p>
<p>I found a cheap, unopened cassette tape at a local surplus store, but it turned out to not have the screw-joined halves I thought it would. I was going to have to raid my old stash of tapes from the corner of the basement. I haven&#8217;t listened to a tape in at least a decade, don&#8217;t even have a tape player, and certainly don&#8217;t still have the old Yamaha multitrack recorder these were recorded with, but I still had a tough time sacrificing it. Why, there could be a heartfelt masterpiece on that tape that 22-year-old me recorded. Someday the archivists (or prison psychologists) will want to study it!</p>
<p>Oh well.  Onward!  I at least chose one without a label, on the theory that if I hadn&#8217;t thought it worthy of labeling back then, it couldn&#8217;t be that important. Now we&#8217;ll never know.</p>
<p>With tape in hand, I needed a flash drive. I had a few laying around, so after disassembling the tape to see just how much room there was inside, I spent an hour or so trying out different drives for fit. I wanted the tape to retain its original profile, but I wasn&#8217;t sure whether the USB drive should slide out, swivel on this axis or another, or just present a port that would require a separate cable. The drive that seemed most promising was a 2GB SanDisk Cruzer and its sliding action; it would require the least modification to the tape and would be the strongest.</p>
<div id="attachment_843" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/01/mixtape_drive.jpg"><img class="size-large wp-image-843" title="mixtape_drive" src="http://www.hahabird.com/wp-content/uploads/2012/01/mixtape_drive-580x217.jpg" alt="" width="580" height="217" /></a><p class="wp-caption-text">The donor drive, in and out of its original housing.</p></div>
<p>On a side note, I&#8217;m amazed by the fact that I live in a world where it&#8217;s hard to find a cassette tape, but I&#8217;ve got multiple gigabyte+ storage options buried in my junk drawer.  I remember when these cassette tapes used to <em>be</em> the storage for my computer. Three cheers for progress!</p>
<p>With a 3/16&#8243; end mill I milled the port for the USB connector to slide in and out of. Then, after measuring and re-measuring more times than I can count and mapping out the exact numbers of turns and even which direction to turn the handles on the mini-mill (I&#8217;ve only had it for a month, and this was my first project after getting it set up), I plunged the mill into the tape and started cutting the opening for the sliding mechanism. I put the opening on side B of the tape, so that side A would look stock while it was in the case. All the planning worked out well, because when I popped the tape out of the vise, the drive fit perfectly.</p>
<p>Unfortunately, the two halves of the cassette didn&#8217;t quite fit together. If the SanDisk folks had made their drive just the smallest fraction of an inch thinner, it would have slid right in for a perfect fit. I was going to have to thin the cassette shell.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/01/mixtape1.jpg"><img class="aligncenter size-large wp-image-851" title="mixtape1" src="http://www.hahabird.com/wp-content/uploads/2012/01/mixtape1-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>The finish is a little rough, but it works. You can see the opening for the slider, the thinning of the case, and the notch that keeps the drive locked into place when it&#8217;s all the way out. With side B milled out, I tried to put the two halves of the cassette shell together again. No luck, and side B couldn&#8217;t stand to lose any more plastic, so I did the same thinning on side A.</p>
<p>A test fit found everything sliding easily when it was supposed to and locking down when required, so I moved on to the reels next.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/01/IMG_3960.jpg"><img class="aligncenter size-large wp-image-848" title="IMG_3960" src="http://www.hahabird.com/wp-content/uploads/2012/01/IMG_3960-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>As you can see in the photo, the take-up reel got in the way of the memory. I attacked it with the belt sander and ground it down just barely to the inside sprockets, then glued it into place (below). It would have been nice to retain the tape functionality, but it wasn&#8217;t to be.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/01/mixtape2.jpg"><img class="aligncenter size-large wp-image-850" title="mixtape2" src="http://www.hahabird.com/wp-content/uploads/2012/01/mixtape2-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>The spool of tape on the other reel was a little bit too large and kept the memory assembly from being able to slide all the way back. I didn&#8217;t want to unspool too much and lose the full-tape look, so I experimented with the spare tape I got from the surplus store and put some superglue across half of the reel. The thin glue quickly soaked in and glued the layers of tape solid enough that I was able to cut it right through with an X-Acto knife without it unspooling. The cut was a little rough, but that could be cleaned up. More detrimental was that it would be obvious from looking at the little crusts of dried glue through the tape&#8217;s window that it wasn&#8217;t quite right. Maybe something useful can be done with this tape-solidifying knowledge later.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/01/IMG_3968.jpg"><img class="aligncenter size-large wp-image-853" title="IMG_3968" src="http://www.hahabird.com/wp-content/uploads/2012/01/IMG_3968-580x435.jpg" alt="" width="580" height="435" /></a></p>
<p>So after that I decided it might not be so bad after all to lose the 1/4 inch of tape needed for clearance. Finally, a part of the project my four-year-old could help with: &#8220;Take this end and pull until I say stop!&#8221;</p>
<p>When our fun was over with, I threaded the tape back around the rollers and through the guides.</p>
<div id="attachment_849" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/01/mixtape3.jpg"><img class="size-large wp-image-849" title="mixtape3" src="http://www.hahabird.com/wp-content/uploads/2012/01/mixtape3-580x435.jpg" alt="" width="580" height="435" /></a><p class="wp-caption-text">I know there are some problems with the tape path in this picture. I realized and corrected after the photo.</p></div>
<p>At last, I put the two halves in place and screwed them together. I didn&#8217;t have any labels for the tape, so I trimmed down an address label and used that, then plugged it in to the computer and reformatted to use the name &#8220;Mix Tape&#8221; (what else could it be?).</p>
<p>The drive works well on my laptop and in the USB port on my desktop machine&#8217;s keyboard, but because of the weight and leverage, I don&#8217;t know how it would hold up being unsupported in a port higher up on a desktop machine.</p>
<div id="attachment_847" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.hahabird.com/wp-content/uploads/2012/01/DSC_9522.jpg"><img class="size-large wp-image-847 " title="DSC_9522" src="http://www.hahabird.com/wp-content/uploads/2012/01/DSC_9522-580x387.jpg" alt="" width="580" height="387" /></a><p class="wp-caption-text">If I&#8217;d labeled it when I was 16 it probably would have had more stars, spirals, and other doodles on it than today&#8217;s version.</p></div>
<p>Side A looks just like a standard tape, so much so that if it&#8217;s still in the case you&#8217;ll only notice the USB on the side if you look closely. I&#8217;ve handed it to a couple of friends, saying &#8220;I&#8217;ve got some music I want to share,&#8221; only to have them laugh and complain they had nothing to play it on. They have to be told to take it out and flip it over.</p>
<p>And now I have to go make some for them. That&#8217;s the trouble with making cool stuff.</p>
<p><a href="http://www.hahabird.com/wp-content/uploads/2012/01/DSC_9528.jpg"><img class="aligncenter size-large wp-image-846" title="DSC_9528" src="http://www.hahabird.com/wp-content/uploads/2012/01/DSC_9528-580x387.jpg" alt="" width="580" height="387" /></a><a href="http://www.hahabird.com/wp-content/uploads/2012/01/DSC_9529.jpg"><img class="aligncenter size-large wp-image-845" title="DSC_9529" src="http://www.hahabird.com/wp-content/uploads/2012/01/DSC_9529-580x387.jpg" alt="" width="580" height="387" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hahabird.com/2012/01/usb-mix-tape/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.276 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-05-19 05:15:47 -->
