<?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>Steve's Junk &#187; robot</title>
	<atom:link href="http://smackaay.com/tag/robot/feed/" rel="self" type="application/rss+xml" />
	<link>http://smackaay.com</link>
	<description>A showcase of Steven Mackaay's stuff</description>
	<lastBuildDate>Sun, 11 Mar 2012 20:11:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Ugluino, the ugly Arduino powered robot</title>
		<link>http://smackaay.com/2012/01/01/ugluino-the-ugly-arduino-powered-robot/</link>
		<comments>http://smackaay.com/2012/01/01/ugluino-the-ugly-arduino-powered-robot/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 10:53:24 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[arduino nano]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[pic18f2685]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[Ugluino]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1069</guid>
		<description><![CDATA[So, even though I&#8217;ve built a wide variety of crap over the last few years, all of them with varying utility, I&#8217;ve decided to build a quick robot. With oodles of free time and the feeling of having to go back to work on the horizon after what feels like an eternity of holiday (1 [...]]]></description>
			<content:encoded><![CDATA[<p>So, even though I&#8217;ve built a wide variety of crap over the last few years, all of them with varying utility, I&#8217;ve decided to build a quick robot. With oodles of free time and the feeling of having to go back to work on the horizon after what feels like an eternity of holiday (1 week) I quickly grabbed a bunch of stuff I had sitting around and put this guy together with all the grace of a kindergarten macaroni art sculpture.</p>
<div id="attachment_1073" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2012/01/ugluino3.jpg"><img class="size-medium wp-image-1073" title="Ugluino Being Built" src="http://smackaay.com/wp-content/uploads/2012/01/ugluino3-400x300.jpg" alt="" width="400" height="300" /></a><p class="wp-caption-text">Ugluino Being Built</p></div>
<p>Based off of an Arduino Nano, this guy works just fine. I don&#8217;t like using Arduinos for the following reasons.</p>
<ul>
<li>Perceived lack of control of what&#8217;s going on inside</li>
<li>Feels like cheating since it&#8217;s so easy</li>
<li>Arduino UI is kind of shitty, especially for larger source files.</li>
<li>When dealing with AI routines, making it difficult to use multiple files is a minus</li>
</ul>
<p>Anyways, i plugged ahead and quickly pounded this out with the following IO</p>
<ul>
<li>Input &#8211; The only one, the Echo pin on the ultrasonic sensor</li>
<li>Output &#8211; Trigger on ultrasonic sensor</li>
<li>4 Digital output &#8211; for controlling direction on SN754410 Quad half h-bridge driver. These go to two gear motors which are attached directly to wheels</li>
<li>1 PWM out for duty on motors</li>
<li>1 attached servo out of the servo to turn the sensor</li>
</ul>
<div id="attachment_1072" class="wp-caption aligncenter" style="width: 484px"><a href="http://smackaay.com/wp-content/uploads/2012/01/ugluino2.jpg"><img class="size-medium wp-image-1072" title="The back end of the Ugluino" src="http://smackaay.com/wp-content/uploads/2012/01/ugluino2-474x300.jpg" alt="" width="474" height="300" /></a><p class="wp-caption-text">The back end of the Ugluino</p></div>
<p>Most everything worked out swimmingly until I fucked around with some wiring and produced a short. I hooked the robot on to the USB supply on my computer, I noticed after a few second that the power to the unit wasn&#8217;t running&#8230; hmmm POOF! Well, as it turned out, there was a problem with the wiring to the ultrasonic dealy and it blew what I beleive was a zener diode</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/arduinonanoburn.jpg"><img class="aligncenter size-medium wp-image-1070" title="arduinonanoburn" src="http://smackaay.com/wp-content/uploads/2012/01/arduinonanoburn-378x300.jpg" alt="" width="378" height="300" /></a></p>
<p>I wasn&#8217;t able to figure out exactly what it was, I suspect that it is a zener diode that selects between main power and USB since it is on the output of the VReg. I could be wrong. Since I didn&#8217;t have any more Arduino Nano&#8217;s I simply tried to fix it and soldered a wire across the offending gap. The device seems to work fine&#8230;? Anyways, if anyone know what that part was on the Arduino Nano v3.0, I&#8217;d like to know &#8217;cause I couldn&#8217;t find the 3.0 Schematics and the design has moved those parts around.</p>
<p>Anyways, The robot moves around based on a very simple algorithm.</p>
<ol>
<li>Stop Moving</li>
<li>Scan from 40Deg Right to 40 Deg Left in 10 deg increments</li>
<li>return appropriate movement from a function that analyses it</li>
<li>execute proper movement (Forward, Backward, Right, Left, Hard Right and Hard Left)</li>
<li>rinse</li>
<li>repeat</li>
</ol>
<p>It seemed to work reasonably well. I&#8217;d like to build a more sturdy version for shits and giggles so that I can play with the algorithms. I&#8217;m probably gonna build one with a PIC18F2685 instead of an Arduino. Also, instead of a single sensor, I will use IR proximity sensors to detect low lying objects. Moving the sensor with the Servo make the robot seem more intelligent than it actually is like it&#8217;s &#8216;looking around&#8217;. I quite like that. <img src='http://smackaay.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyways, it&#8217;s my first post of the year, considering it&#8217;s January 1st and 3:52 am as I write this. maybe I should go to bed. Here&#8217;s a video of it getting around.</p>
<p>&nbsp;<br />
<iframe width="640" height="480" src="http://www.youtube.com/embed/jytW-GjFenE" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2012/01/01/ugluino-the-ugly-arduino-powered-robot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Been almost 2 years at Endura</title>
		<link>http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/</link>
		<comments>http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 23:34:09 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[drawing]]></category>
		<category><![CDATA[drawings]]></category>
		<category><![CDATA[manifold]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[solidworks]]></category>
		<category><![CDATA[viscometer]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=276</guid>
		<description><![CDATA[Now that It&#8217;s coming up on two years at the place I work, I was looking through some of the drawings. I figured it&#8217;d be fun to post some of them. I&#8217;ll simply place a gallery here, click the images to see a more detailed description Note that these aren&#8217;t all of my drawings, but [...]]]></description>
			<content:encoded><![CDATA[<p>Now that It&#8217;s coming up on two years at the place I work, I was looking through some of the drawings. I figured it&#8217;d be fun to post some of them. I&#8217;ll simply place a gallery here, click the images to see a more detailed description</p>

<a href='http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/dwg10/' title='V4 Viscometer'><img width="150" height="105" src="http://smackaay.com/wp-content/uploads/2008/11/dwg10-150x105.png" class="attachment-thumbnail" alt="V4 Viscometer" title="V4 Viscometer" /></a>
<a href='http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/dwg01/' title='Engine Mount for McRae Race car'><img width="150" height="97" src="http://smackaay.com/wp-content/uploads/2008/11/dwg01-150x97.png" class="attachment-thumbnail" alt="Engine Mount for McRae Race car" title="Engine Mount for McRae Race car" /></a>
<a href='http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/dwg02/' title='Cart'><img width="150" height="132" src="http://smackaay.com/wp-content/uploads/2008/11/dwg02-150x132.png" class="attachment-thumbnail" alt="Cart" title="Cart" /></a>
<a href='http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/dwg03/' title='Spray Gun Holder'><img width="150" height="103" src="http://smackaay.com/wp-content/uploads/2008/11/dwg03-150x103.png" class="attachment-thumbnail" alt="Spray Gun Holder" title="Spray Gun Holder" /></a>
<a href='http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/dwg04/' title='Airbox'><img width="150" height="102" src="http://smackaay.com/wp-content/uploads/2008/11/dwg04-150x102.png" class="attachment-thumbnail" alt="Airbox" title="Airbox" /></a>
<a href='http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/dwg05/' title='The Bosses house'><img width="150" height="120" src="http://smackaay.com/wp-content/uploads/2008/11/dwg05-150x120.png" class="attachment-thumbnail" alt="The Bosses house" title="The Bosses house" /></a>
<a href='http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/dwg06/' title='Mini Check Valve'><img width="150" height="108" src="http://smackaay.com/wp-content/uploads/2008/11/dwg06-150x108.png" class="attachment-thumbnail" alt="Mini Check Valve" title="Mini Check Valve" /></a>
<a href='http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/dwg07/' title='Major Manifold'><img width="150" height="97" src="http://smackaay.com/wp-content/uploads/2008/11/dwg07-150x97.png" class="attachment-thumbnail" alt="Major Manifold" title="Major Manifold" /></a>
<a href='http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/dwg08/' title='HandCycle Backend'><img width="150" height="94" src="http://smackaay.com/wp-content/uploads/2008/11/dwg08-150x94.png" class="attachment-thumbnail" alt="HandCycle Backend" title="HandCycle Backend" /></a>
<a href='http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/dwg09/' title='Viscometer V2'><img width="150" height="110" src="http://smackaay.com/wp-content/uploads/2008/11/dwg09-150x110.png" class="attachment-thumbnail" alt="Viscometer V2" title="Viscometer V2" /></a>

<p>Note that these aren&#8217;t all of my drawings, but a decent selection of them.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2008/11/25/been-almost-2-years-at-endura/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

