<?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>Cantareus &#187; lunchbot</title>
	<atom:link href="http://cantareus.com/tag/lunchbot/feed/" rel="self" type="application/rss+xml" />
	<link>http://cantareus.com</link>
	<description></description>
	<lastBuildDate>Sat, 06 Mar 2010 07:29:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Lunchbot II</title>
		<link>http://cantareus.com/2008/10/lunchbot-ii/</link>
		<comments>http://cantareus.com/2008/10/lunchbot-ii/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 23:54:49 +0000</pubDate>
		<dc:creator>Cantareus</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[assembly]]></category>
		<category><![CDATA[lunchbot]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://cantareus.wordpress.com/?p=73</guid>
		<description><![CDATA[I made my first microcontroller based robot over the weekend. It is far from finished. But it can drive around randomly. Getting something to move randomly was harder than it should have been. I realised overnight that I don&#8217;t actually need a random number generator if I want it to appear to move randomly. I [...]]]></description>
			<content:encoded><![CDATA[<p>I made my first microcontroller based robot over the weekend. It is far from finished. But it can drive around randomly. Getting something to move randomly was harder than it should have been. I realised overnight that I don&#8217;t actually need a random number generator if I want it to appear to move randomly. I just need to use any function that is chaotic.</p>
<p>The motors are controlled using two h-bridges. I&#8217;ve used BD139 and BD140 transistors. They can handle a continuous current of 1.5A. That will be enough for the toy motors I am using.</p>
<p>A PIC16F505 Microchip microcontroller is the brains behind my robot. It&#8217;s a pretty limited chip. It has room for 1024 12-bit instructions and 72 bytes of RAM. I&#8217;ll replace it once I need some extra functionality. I started writing the code in C but I had lots of problems with it. Certain math functions seem to freeze up and I kept getting confusing errors. So I&#8217;m re-writing it in assembly using <a href="http://gputils.sourceforge.net/">gputils</a>.</p>
<p><a href="http://cantareus.files.wordpress.com/2008/10/dscf1196.jpg"><img class="aligncenter size-large wp-image-77" title="Lunchbot" src="http://cantareus.files.wordpress.com/2008/10/dscf1196.jpg?w=500" alt="" width="500" height="374" /></a></p>
<p>As you can see, there isn&#8217;t much to it. Eight transistors to control two motors with a few diodes and resistors and the microcontroller. The container has lots of room to add a big PCB later. In the top right corner you can see a capacitor with the battery leads connected to it. That&#8217;s the power switch. When I want to turn it on I plug that into the breadboard. It&#8217;s a bit crude, I&#8217;ll probably plug it in the wrong way or in the wrong place and fry everything knowing my luck.</p>
<p>I have a few plans for this little robot in the future. I want to give it more brains than any lunch box should ever have. It&#8217;ll be able to create maps and mark locations of interest. I&#8217;ll attempt to make it appear curious so when it finds something it hasn&#8217;t seen before it will keep going back until it isn&#8217;t new anymore. Hopefully I&#8217;ll make more than one and have them communicate via beeps or flashy lights. Then they can follow each other around and have twice as much fun.</p>
<p>I also want it to be able to recharge itself by homing in on a charging station that sends out a beacon.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/P9dTUph_l8Y" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/P9dTUph_l8Y"></embed></object></p>
<p>I only had a 8-bit &#8220;random&#8221; number generator when I videoed this. So It repeats itself twice in that short time.</p>
]]></content:encoded>
			<wfw:commentRss>http://cantareus.com/2008/10/lunchbot-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Robolympics</title>
		<link>http://cantareus.com/2008/10/robolympics/</link>
		<comments>http://cantareus.com/2008/10/robolympics/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 07:13:06 +0000</pubDate>
		<dc:creator>Cantareus</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Uni]]></category>
		<category><![CDATA[line follower]]></category>
		<category><![CDATA[lunchbot]]></category>
		<category><![CDATA[massey]]></category>
		<category><![CDATA[robolympics]]></category>
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://cantareus.wordpress.com/?p=55</guid>
		<description><![CDATA[Today was the competition day for the robots we built in our first year engineering class. I&#8217;m not sure the event deserves to be called robolympics but nevermind. It was fun. We didn&#8217;t win  
Our robot was too slow and the gearbox fell apart during one of the six events. It was also the [...]]]></description>
			<content:encoded><![CDATA[<p>Today was the competition day for the robots we built in our first year engineering class. I&#8217;m not sure the event deserves to be called robolympics but nevermind. It was fun. We didn&#8217;t win <img src='http://cantareus.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Our robot was too slow and the gearbox fell apart during one of the six events. It was also the event that ours was going to do well in. Line following a spiral in and out. We made it half way. Only one team completed it properly. It&#8217;s a pity.</p>
<p>These robots are really really dumb. All the can do is crudely follow a line and back up and turn when they run into an obstacle.</p>
<p>I think our robot was the best looking. It has personality <img src='http://cantareus.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://cantareus.files.wordpress.com/2008/10/dscf1168.jpg"><img class="aligncenter size-large wp-image-56" title="Spiral" src="http://cantareus.files.wordpress.com/2008/10/dscf1168.jpg?w=500" alt="" width="500" height="374" /></a></p>
<p><a href="http://cantareus.files.wordpress.com/2008/10/dscf1163.jpg"><img class="aligncenter size-large wp-image-57" title="Spiral" src="http://cantareus.files.wordpress.com/2008/10/dscf1163.jpg?w=500" alt="" width="500" height="374" /></a></p>
<p><a href="http://cantareus.files.wordpress.com/2008/10/dscf1166.jpg"><img class="aligncenter size-large wp-image-58" title="Maze" src="http://cantareus.files.wordpress.com/2008/10/dscf1166.jpg?w=500" alt="" width="500" height="374" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://cantareus.com/2008/10/robolympics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
