<?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>think&#124;haus &#187; Trevyn</title>
	<atom:link href="http://www.thinkhaus.org/category/trevyn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thinkhaus.org</link>
	<description>A place for hackers, makers, artists, crafters and DIYers.</description>
	<lastBuildDate>Tue, 11 Oct 2011 23:08:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>HOWTO turn a cheap Chinese laser engraver into a pretty good laser cutter</title>
		<link>http://www.thinkhaus.org/2010/06/19/howto-turn-a-cheap-chinese-laser-engraver-into-a-pretty-good-laser-cutter/</link>
		<comments>http://www.thinkhaus.org/2010/06/19/howto-turn-a-cheap-chinese-laser-engraver-into-a-pretty-good-laser-cutter/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 22:07:19 +0000</pubDate>
		<dc:creator>trevyn</dc:creator>
				<category><![CDATA[Trevyn]]></category>

		<guid isPermaLink="false">http://www.thinkhaus.org/?p=297</guid>
		<description><![CDATA[&#8230;using only a computer, LinuxCNC, and lots of scrap cardboard. Every hackerspace needs a laser cutter. Unfortunately, they can be very expensive. Deals like the one Hacklab.to got don&#8217;t happen very often. However, there are factories in China turning out laser engravers and selling them on eBay for relatively cheap. We found a local distributor [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;using only a computer, <a href="http://linuxcnc.org">LinuxCNC</a>, and lots of scrap cardboard.</p>
<p>Every hackerspace needs a laser cutter. Unfortunately, they can be very expensive. Deals like the one <a href="http://www.andrewkilpatrick.org/?p=laser_cutter">Hacklab.to got</a> don&#8217;t happen very often. However, there are factories in China turning out laser engravers and selling them on eBay for relatively cheap. We found a <a href="http://www.allimageprinting.com/">local distributor</a> that appears to buy them directly from China, make sure they work, and resell them.</p>
<p><span id="more-297"></span></p>
<p>We received our laser in good shape. It came with a <a href="http://picasaweb.google.com/thinkhausorg/UnboxingTheLaser#5400781162823177890">240V blower</a> (now junked), a <a href="http://picasaweb.google.com/thinkhausorg/UnboxingTheLaser#5400781714477589250">240V pump</a> (also junked) and a <a href="http://picasaweb.google.com/thinkhausorg/UnboxingTheLaser#5400781853920520210">120-&gt;240 stepup transformer</a> (now unnecessary) to power both of them. It also came with <a href="http://picasaweb.google.com/thinkhausorg/UnboxingTheLaser#5400784352453165954">MoshiDraw 6 and a USB copy protection dongle</a>.</p>
<p>It didn&#8217;t take us long to decide that MoshiDraw wasn&#8217;t going to work for us &#8211; the software and manual are badly translated and it doesn&#8217;t support vector motion (essential for cutting). The interface between MoshiDraw and the controller may be some subset of <a href="http://en.wikipedia.org/wiki/HPGL">HPGL</a>, but not in any useful way. Feeding HPGL directly from a file to the laser resulted either in nothing happening or in unpredictable, inconsistent behaviour, even when the file was produced by MoshiDraw itself.</p>
<p>At this point we decided to follow the route Hacklab.to took, and replace the internal driver electronics with a board that can read step and direction signals from <a href="http://linuxcnc.org">LinuxCNC</a></p>
<p>Once that decision was made, there were two options: build a controller, or buy one off the shelf. There are dozens of commercially available stepper driver boards. They can be expensive, and most of them have more features than we need. Also, just buying a drop-in solution is no fun, so we decided to build one.</p>
<p>The driver is basically just a double implementation of the reference design for the <a href="http://www.allegromicro.com/en/Products/Part_Numbers/3982/">Allegro A3982</a> plus an optocoupler to activate the laser and a connector for the end stops.</p>
<p><a href="http://www.thinkhaus.org/wp-content/uploads/2010/06/driver.png"><img class="alignnone size-medium wp-image-463" src="http://www.thinkhaus.org/wp-content/uploads/2010/06/driver-300x189.png" alt="" width="300" height="189" /></a></p>
<p>I chose the A3982 because it has a translator built-in (translates step/direction signals into the right sequence for driving a stepper), and because it&#8217;s available in SOIC which meant I could use an SOIC to DIP adapter when breadboarding the circuit and when building it on perf-board. If I were to get a PCB made, I would probably use one of the Allegro chips that supports 1/4, 1/8 or even 1/32 steps (only available in TSSOP or smaller). Be sure to read the <a href="http://www.allegromicro.com/en/Products/Part_Numbers/3982/3982faq.asp">A3982/83/84 FAQ</a> if you decide to use the chip.</p>
<p>The only hard part of configuring LinuxCNC is the end-stop/home sensor settings &#8211; it takes a bit of thought and experimentation to get the right combination of approach direction, inversion of signals, identification of the signals, and so on.</p>
<p>We chose to use the Spindle ON signal to activate the laser because it&#8217;s the one that makes the most sense, and it should allow for <a href="http://en.wikipedia.org/wiki/Pulse-width_modulation">PWM</a> output when we decide to work out computer control of laser power. We initially routed that signal to parallel port pin 1, but discovered that pin to be active low &#8211; meaning that it is held high until LinuxCNC starts and takes control of the parallel port, possibly resulting in the laser being activated unintentionally.</p>
<p>Here are the important parameters for our laser:<br />
Motor steps/rev: 400<br />
X Leadscrew Pitch: 0.626 rev/in (determined empirically)<br />
Y Leadscrew Pitch: 0.626 rev/in</p>
<p>Home X and Home Y signals in LinuxCNC are connected to the optical end stops on the gantry. Both signals are set to invert, and the Home Latch Direction is set to &#8220;same&#8221;.</p>
<p>The end result is that we have a laser that can easily cut 5mm acryclic, 1/4&#8243; hardboard, 1/4&#8243; poplar, and etch nicely on many materials.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkhaus.org/2010/06/19/howto-turn-a-cheap-chinese-laser-engraver-into-a-pretty-good-laser-cutter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Team think&#124;haus in the Power Racing Series</title>
		<link>http://www.thinkhaus.org/2010/06/12/team-thinkhaus-in-the-power-racing-series/</link>
		<comments>http://www.thinkhaus.org/2010/06/12/team-thinkhaus-in-the-power-racing-series/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 02:35:11 +0000</pubDate>
		<dc:creator>trevyn</dc:creator>
				<category><![CDATA[Trevyn]]></category>

		<guid isPermaLink="false">http://www.thinkhaus.org/?p=349</guid>
		<description><![CDATA[At Maker Faire Detroit (July 31 &#8211; August 1 2010), the folks from Pumping Station: One have challenged hackerspaces around the world to participate in the Power Racing Series. The idea is this: buy a Power Wheels car, mod it to make it MOAR AWSOME, and race it against teams from other hackerspaces. Very simple. [...]]]></description>
			<content:encoded><![CDATA[<p>At <a href="http://blog.makezine.com/archive/2009/12/maker_faire_detroit_2010.html">Maker Faire Detroit</a> (July 31 &#8211; August 1 2010), the folks from <a href="http://pumpingstationone.org/">Pumping Station: One</a> have challenged hackerspaces around the world to participate in the <a href="http://powerracingseries.org/">Power Racing Series</a>.</p>
<p>The idea is this: buy a <a>Power Wheels</a> car, mod it to make it MOAR AWSOME, and race it against teams from other hackerspaces. Very simple.</p>
<p>We got ourselves a used <a href="http://picasaweb.google.com/thinkhausorg/PowerWheelsRacing#5467579985810429650">Extreme Dune Buggy</a>, and let Jason <a href="http://picasaweb.google.com/thinkhausorg/PowerWheelsRacing#5467580192453648130">go at it with the Sawzall</a>.</p>
<p>There was much <a href="http://picasaweb.google.com/thinkhausorg/PowerWheelsRacing#5474302317079108338">drilling</a>, <a href="http://picasaweb.google.com/thinkhausorg/PowerWheelsRacing#5474302361398661602">lathing</a>, <a href="http://picasaweb.google.com/thinkhausorg/PowerWheelsRacing#5474302452805818450">cutting</a>, <a href="http://picasaweb.google.com/thinkhausorg/PowerWheelsRacing#5479529295073743570">grinding</a>, and <a href="http://picasaweb.google.com/thinkhausorg/PowerWheelsRacing#5479528206414150946">welding</a>.</p>
<p>The organising people announced the <a href="http://powerracingseries.org/blog/ppprs_announces_round_one_of_the_early_bird_challenge/">Early Bird Challenge</a> a few weeks ago &#8211; post a video of your car driving 150 feet, powered by the motor you intend to race with. We didn&#8217;t quite get the points, but we did post a video:<br />
<object width="500" height="400"><param name="movie" value="http://www.youtube.com/e/ZrJerlNB0bw"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/e/ZrJerlNB0bw" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkhaus.org/2010/06/12/team-thinkhaus-in-the-power-racing-series/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MIDI + Mini Piano</title>
		<link>http://www.thinkhaus.org/2010/05/10/midi-mini-piano/</link>
		<comments>http://www.thinkhaus.org/2010/05/10/midi-mini-piano/#comments</comments>
		<pubDate>Mon, 10 May 2010 07:48:24 +0000</pubDate>
		<dc:creator>trevyn</dc:creator>
				<category><![CDATA[Trevyn]]></category>

		<guid isPermaLink="false">http://www.thinkhaus.org/?p=352</guid>
		<description><![CDATA[Recently I came across an Electron Echo Mini Piano that my brother and I played with many years ago: I have no idea who made it or where it came from. The interweb mentions it a few times, but there doesn&#8217;t seem to be any information about it. A moment of inspiration hit, and I [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I came across an Electron Echo Mini Piano that my brother and I played with many years ago:</p>
<p>I have no idea who made it or where it came from. <a href="http://www.google.com/images?q=%22mini%20piano%22">The interweb</a> mentions it a few times, but there doesn&#8217;t seem to be any information about it.</p>
<p>A moment of inspiration hit, and I decided it would be neat/fun/educational to build it into a sort of glorious MIDI-controlled monophonic electronic tinny-sounding synthesizer.</p>
<p><span id="more-352"></span></p>
<p>Opening the case revealed that each button simply connects a pin on the controller chip (under the black blob) to the positive side of the batteries &#8211; there isn&#8217;t even a matrix, unlike most <a href="http://en.wikipedia.org/wiki/Keyboard_matrix_%28music%29">music</a> and <a href="http://en.wikipedia.org/wiki/Keyboard_technology#Keyboard_switch_matrix">computer</a> keyboards.</p>
<p>I soldered 30AWG wire-wrap wire to each trace, labeling them with the solfège names printed on the keys so that I could connect them in the correct order. Then I connected the wires to a microcontroller and programmed it to play a simple tune.</p>
<p><object width="500" height="400"><param name="movie" value="http://www.youtube.com/e/GSCrX9N2uZc"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/e/GSCrX9N2uZc" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: right">
<p>With the proof of concept done, I moved on to the next step.</p>
<p>It turns out that reading MIDI using a microcontroller is very easy. I used the circuit and code (with a little modification) from <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1187962258/">here</a> to read MIDI signals from my keyboard and turn on LEDs.<br />
<object width="500" height="400"><param name="movie" value="http://www.youtube.com/e/zXT2myFKLXQ"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/e/zXT2myFKLXQ" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: right">
<p>The final step was to combine the two circuits into one MIDI-controlled, Arduino-powered, piezo-speaker-somethinged monophonic synthesizer:</p>
<p><object width="500" height="400"><param name="movie" value="http://www.youtube.com/e/OYPj5Shi-Tg"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/e/OYPj5Shi-Tg" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: right">
<p>The fun in this project was in building it and seeing it work, rather than in having it once it&#8217;s done. I would be just disassembling it to reuse the parts, but in this case my cousin (who makes electronic music) is interested in it, so I&#8217;m going to rebuild it on perfboard in a proper case, with a jack for audio output, and maybe some interesting stuff to use up the remaining four pins on the microcontroller. More on that later.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkhaus.org/2010/05/10/midi-mini-piano/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

