<?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>Dream at the top of your lungs &#187; Projects</title>
	<atom:link href="http://betaorbust.com/blog/category/projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://betaorbust.com/blog</link>
	<description>Rants, sleep deprivation, and gadgetry...</description>
	<lastBuildDate>Sat, 26 Nov 2011 23:46:31 +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>Making ls work as dir in windows</title>
		<link>http://betaorbust.com/blog/2011/11/26/making-ls-work-in-windows/</link>
		<comments>http://betaorbust.com/blog/2011/11/26/making-ls-work-in-windows/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 23:46:16 +0000</pubDate>
		<dc:creator>jfavreau</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://betaorbust.com/blog/?p=317</guid>
		<description><![CDATA[I frequently swap between development in windows and linux environments depending on what I need to do. Without fail, EVERY time I get back to Windows, I end up typing &#8220;ls&#8221; at the command prompt and staring blankly at 'ls' is not recognized as an internal or external command, operable program or batch file. for [...]]]></description>
			<content:encoded><![CDATA[<p>I frequently swap between development in windows and linux environments depending on what I need to do.</p>
<p>Without fail, EVERY time I get back to Windows, I end up typing &#8220;ls&#8221; at the command prompt and staring blankly at</p>
<pre>'ls' is not recognized as an
internal or external command,
operable program or batch file.</pre>
<p>for a few seconds before giving a small sigh and a weary facepalm.</p>
<p>This has happened SEVERAL times today, and while there is no great time loss here, I have a decided to fix this once and for all.</p>
<ol>
<li>Open notepad and type &#8220;dir&#8221; (without the quotes)</li>
<li>Save the file as ls.bat (make sure windows doesn&#8217;t do some silly thing where it saves .txt on the end because you have view known extensions turned off)</li>
<li>place this file in C:\Windows\System32 or wherever your System32 directory is.</li>
<li>Rejoice.</li>
</ol>
<div>Yup, it&#8217;s silly, but by golly, it&#8217;s fixed.</div>
<div><a href="http://betaorbust.com/blog/wp-content/uploads/2011/11/ScreenShot020.png"><img class="aligncenter size-medium wp-image-320" title="picard-facepalm" src="http://betaorbust.com/blog/wp-content/uploads/2011/11/ScreenShot020-450x323.png" alt="Oh dear..." width="450" height="323" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://betaorbust.com/blog/2011/11/26/making-ls-work-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ShiftBrite with an Arduino and a touchscreen</title>
		<link>http://betaorbust.com/blog/2011/07/22/shiftbrite-with-an-arduino-and-a-touchscreen/</link>
		<comments>http://betaorbust.com/blog/2011/07/22/shiftbrite-with-an-arduino-and-a-touchscreen/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 18:34:59 +0000</pubDate>
		<dc:creator>jfavreau</dc:creator>
				<category><![CDATA[Burning Man]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://betaorbust.com/blog/?p=281</guid>
		<description><![CDATA[When life gives you moderately non-linear 4-wire resistive touchscreens you make lemonade. Then you spike that lemonade with something tasty and toxic, and go make cool projects. Recently a fairly sizable number of resistive touchscreens fell off the back of the e-waste truck and into my lap so it’s time to hit the shop and [...]]]></description>
			<content:encoded><![CDATA[<p>When life gives you moderately non-linear 4-wire resistive touchscreens you make lemonade. Then you spike that lemonade with something tasty and toxic, and go make cool projects.</p>
<p>Recently a fairly sizable number of resistive touchscreens fell off the back of the e-waste truck and into my lap so it’s time to hit the shop and make something fun. My good friend Jill of <a title="Blinky Light Love - Youtube" href="https://www.youtube.com/user/blinkylightlove" target="_blank">blinky light love</a> has recently started doing all manner of awesome things with RGB lights and, well… it looked like a lot of fun. Around the same time, <a title="Donut's twitter account" href="http://twitter.com/matt_donut" target="_blank">Donut</a> was putting in an order for some <a title="ShiftBrite information at macetech" href="http://macetech.com/blog/node/54" target="_blank">ShiftBrites</a> so I jumped on that reduced-shipping bandwagon and got 10 of <a title="Buy awesome blinky lights at macetech" href="http://macetech.com/store/index.php?main_page=product_info&amp;cPath=1&amp;products_id=1" target="_blank">these things</a>. They’re exactly what you would want if you have an <a title="Arduino homepage" href="http://www.arduino.cc/" target="_blank">arduino</a> (or other microcontroller) and like pretty things that are fairly robust, well designed, and pretty easy to control.</p>
<div id="attachment_290" class="wp-caption aligncenter" style="width: 460px"><a href="http://betaorbust.com/blog/wp-content/uploads/2011/07/shiftbriteV2_LRG1.jpg"><img class="size-medium wp-image-290" title="Shiftbrite v2 closeup" src="http://betaorbust.com/blog/wp-content/uploads/2011/07/shiftbriteV2_LRG1-450x450.jpg" alt="Shiftbrite v2 closeup" width="450" height="450" /></a><p class="wp-caption-text">Shiftbrite v2</p></div>
<p>First up was seeing if the touch sensors were even operational – I meant it when I said they fell off the back of the e-waste truck. If you’re wondering how to hook these up or how they work, you should check out the <a title="Tutorial on resistive touch screens at Sparkfun" href="http://www.sparkfun.com/tutorials/139" target="_blank">excellent writeup over at Sparkfun</a> or the <a title="Hantouch PDF example of touchscreens" href="http://www.sparkfun.com/datasheets/LCD/HOW%20DOES%20IT%20WORK.pdf" target="_blank">PDF</a> put together by HanTouchUSA. In general, you power one line, ground one line, and read the resulting voltage out of a third to get the output from one axis. Swap <em>everything</em> around you get the other axis. Busted out a scope, a power supply, and made a little breakout board for the flex cables after a brief evaluation of my soldering skills and the flex terminals (conclusion: I don’t want to solder every one of these things if there’s a possibility that I’m going to have to search dozens to find one that works)</p>
<div id="attachment_291" class="wp-caption aligncenter" style="width: 460px"><a href="http://betaorbust.com/blog/wp-content/uploads/2011/07/touch-setup.jpg"><img class="size-medium wp-image-291" title="Touchscreen setup" src="http://betaorbust.com/blog/wp-content/uploads/2011/07/touch-setup-450x337.jpg" alt="Setting up the touch screen" width="450" height="337" /></a><p class="wp-caption-text">Touchscreen attached to an oscilloscope</p></div>
<p>Some quick experimenting later I had the lines out of the touch sensor identified and hooked up to an oscilloscope. Brilliant!   Wiggling a finger over one axis and then three taps.   Sensor away! Not 100% linear, and a bit <a title="THE DOCTOR!!!!" href="http://www.youtube.com/watch?v=vY_Ry8J_jdw" target="_blank">wibbly wobbly</a> around the edges, but I’m not doing surgery so I think it’ll be just fine.</p>
<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_292" class="wp-caption  aligncenter" style="width: 460px;">
<dt class="wp-caption-dt"><a href="http://betaorbust.com/blog/wp-content/uploads/2011/07/touch-results.jpg"><img class="size-medium wp-image-292" title="Touch screen first test" src="http://betaorbust.com/blog/wp-content/uploads/2011/07/touch-results-450x337.jpg" alt="Testing a touch screen with an oscilloscope" width="450" height="337" /></a></dt>
<dd class="wp-caption-dd">Testing a touchscreen with an oscilloscope</dd>
</dl>
</div>
<p>Arduino time! I found a simple and extremely useful <a title="Touch screen library" href="https://github.com/practicalarduino/TouchScreen" target="_blank">library</a> written by Jonathan Oxer that flips around the inputs/outputs as necessary and allowed me to read from my little four-wire touchscreen. After a bit of code modification to dump out some more information to the serial terminal I had my controller!</p>
<p>Next up: blinkies. External power seems to be the way to go with these things, so out came an old 6V wall wart to save the day. Remember to hook your grounds together! A quick Jack-‘n-Hack, this time with Digger 450’s <a title="Shiftbrite code" href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1211177440" target="_blank">code</a>, to get the ShiftBrite control on lock. Originally my plan had been to make the touchscreen some part of an <a title="Wikipedia: HSV" href="http://en.wikipedia.org/wiki/HSL_and_HSV" target="_blank">HSV</a> color picker. We only have two axes, so without more hardware we’re only getting HS or HV. My first implementation was for HS but, as it turns out, HV is much more useful and allows you to play with the intensity and <em>not </em>blind yourself during development. More Jack-and-Hack on Stewart Russell&#8217;s <a title="Stewart Russell's HSV to RGB conversion code." href="http://scruss.com/blog/2010/09/19/much-improved-hsv-colour-cycling-led-on-arduino/" target="_blank">code</a> got me a suitable HSV to RGB transformation method. Sure, it only goes to 255 on each channel and the ShiftBrites can do better, but I’m ok downgrading to 16 million colors from a billion+.</p>
<p>So how did it turn out? Here’s the video proof. Would like for the code to differentiate between dragging finger and tapping states but that isn’t critical and… well, we’ll see if I end up needing it.   The code is up on <a title="Link to my code on Github" href="https://github.com/betaorbust/TouchBrite" target="_blank">gitHub</a> should you want to make your own blinkie light selection.</p>
<p><a href="http://www.youtube.com/watch?v=reueLwlV_ic"><img src="http://img.youtube.com/vi/reueLwlV_ic/2.jpg"></a></p>
<p><a href="http://www.youtube.com/watch?v=reueLwlV_ic">Click here</a> to view the video on YouTube.</p>

<p>If you’re really interested in the touchscreens hit me up on <a title="j_favreau on twitter" href="https://twitter.com/j_favreau" target="_blank">twitter</a> and we’ll work something out. There’s no way I’m going to use all of these.</p>
]]></content:encoded>
			<wfw:commentRss>http://betaorbust.com/blog/2011/07/22/shiftbrite-with-an-arduino-and-a-touchscreen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DIYLILCNC &#8211; Now in 3d!</title>
		<link>http://betaorbust.com/blog/2010/05/17/diylilcnc-now-in-3d/</link>
		<comments>http://betaorbust.com/blog/2010/05/17/diylilcnc-now-in-3d/#comments</comments>
		<pubDate>Mon, 17 May 2010 19:25:07 +0000</pubDate>
		<dc:creator>jfavreau</dc:creator>
				<category><![CDATA[CAD]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://betaorbust.com/blog/?p=270</guid>
		<description><![CDATA[Sooo it’s been a while since this blog has seen any action and I’ve latched on to the idea that betaorbust will be heading back to its original design and pick up as a blog for the various side projects I’m continuously working on. With that said: Recently I’ve started looking at CNC machines with [...]]]></description>
			<content:encoded><![CDATA[<p>Sooo it’s been a while since this blog has seen any action and I’ve latched on to the idea that betaorbust will be heading back to its original design and pick up as a blog for the various side projects I’m continuously working on.</p>
<p>With that said:</p>
<p>Recently I’ve started looking at CNC machines with <a href="http://twitter.com/askForCharon">Kyle Marsh</a> and <a href="http://twitter.com/natantus">Chris Gilmer</a> (for a project that I&#8217;ll detail in a future post) and we found <a href="http://diylilcnc.org/">DIYLILCNC</a>. Unfortunately they’re still in the “working the bugs out” phase and one major thing they were lacking was a 3D model (honestly, crazy engineering respect to the guys who did this using only illustrator and some WICKED spatial reasoning.)</p>
<p>But really… it’s 2010 and anything this complex should have a digital representation to facilitate redesign etc. To that end I threw down maybe 40ish hours of nights/weekend/lunch/<span style="text-decoration: line-through;">dull meetings</span>/etc to bring you this:</p>
<p>It’s a full build (minus the Dremel they use for a power plant) right down to accurately modeled machine screws and bolts.</p>
<div id="attachment_271" class="wp-caption aligncenter" style="width: 460px"><a href="http://betaorbust.com/blog/wp-content/uploads/2010/05/DIYLILCNC.jpg"><img class="size-medium wp-image-271" title="DIYLILCNC - JF Mark 10" src="http://betaorbust.com/blog/wp-content/uploads/2010/05/DIYLILCNC-450x346.jpg" alt="DIYLILCNC - JF Mark 10" width="450" height="346" /></a><p class="wp-caption-text">Full CAD of the DIYLILCNC (JF Mark 10)</p></div>
<p>Improvements over the existing design/drawings include:</p>
<ul>
<li>Made walls square. Now with 90 degree power! (Note: this wasn’t a HUGE issue just a degree here and there)</li>
<li>All hardware (bearings, bolts, washers, rods, etc) modeled off of McMaster drawings where available. Measured parts I had in the lab when I couldn’t find McMaster drawings.</li>
<li>Fixed a flaw where the Y Drive Belt dragged against a misaligned hole when the gantry wasn’t working near the center of its range.</li>
<li>With a fully-assembled model any gaps in the documentation can be referenced against the CAD</li>
</ul>
<p>At some point I’d like to build one of these but I think I’ll hold off until Version 2.</p>
<p>The plans and model are controlled under the virus-like CC Attribution-Share Alike 2.5 Generic license and have been submitted back to the project as of this morning.</p>
<p>For those interested the package <a href="http://betaorbust.com/projects/DIYLILCNC/DIYLILCNC-JFMark10.zip">can be downloaded here</a> (again, in the grips of CC A-SA so make sure you post that if you use em)</p>
]]></content:encoded>
			<wfw:commentRss>http://betaorbust.com/blog/2010/05/17/diylilcnc-now-in-3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

