<?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>BrickEngineer: LEGO Design&#187; Design</title>
	<atom:link href="http://www.brickengineer.com/pages/category/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brickengineer.com/pages</link>
	<description>LEGO Engineering for LEGO NXT and Robot Enthusiasts</description>
	<lastBuildDate>Sun, 08 Jan 2012 05:53:48 +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>A Catalog of Omni-directional or Holonomic Wheels for LEGO Robots</title>
		<link>http://www.brickengineer.com/pages/2011/08/23/a-catalog-of-omni-directional-or-holonomic-wheels-for-lego-robots/</link>
		<comments>http://www.brickengineer.com/pages/2011/08/23/a-catalog-of-omni-directional-or-holonomic-wheels-for-lego-robots/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 09:47:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[Wheels]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[omni-directional wheels holonomic killough platform]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=184</guid>
		<description><![CDATA[I have been researching the possibilities for omni-directional or holonomic wheels for LEGO robots. An omni-directional or holonomic wheel is one that can roll not just backwards and forwards, but sideways as well. While these are often used on robots with three wheels where all three rotate at different rates allowing the robot to go [...]]]></description>
			<content:encoded><![CDATA[<p>I have been researching the possibilities for omni-directional or holonomic wheels for LEGO robots.  An omni-directional or holonomic wheel is one that can roll not just backwards and forwards, but sideways as well.</p>
<div id="attachment_189" class="wp-caption aligncenter" style="width: 260px"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/new-rotocaster.jpg" alt="New Rotocaster Omni-Directional Wheel" title="New Rotocaster Omni-Directional Wheel" width="250" height="251" class="size-full wp-image-189" /><p class="wp-caption-text">New Rotocaster Omni-Directional Wheel</p></div>
<p>While these are often used on robots with three wheels where all three rotate at different rates allowing the robot to go in any direction,<br />
<div id="attachment_186" class="wp-caption aligncenter" style="width: 460px"><a href="http://botbench.com/blog/2009/11/10/my-omnipotent-omniwheel/"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/xander-omniwheel-prototype.jpg" alt="Three-Wheeled Omni-Wheel Prototype by Xander Soldaat at Bot Bench" title="Three-Wheeled Omni-Wheel Prototype by Xander Soldaat at Bot Bench" width="450" height="359" class="size-full wp-image-186" /></a><p class="wp-caption-text">Three-Wheeled Omni-Wheel Prototype by Xander Soldaat at Bot Bench (click on image to see more)</p></div><br />
I am interested in using these on a rover that can employ differential steering smoothly without skidding.</p>
<p>There are several different options that one can consider.  LEGO purists may consider making their own omni-directional wheel designs out of only official LEGO parts.  Another option is to purchase manufactured omni-directional wheels.  These come in two classes: those that are designed to be LEGO compatible, and those that are not LEGO compatible.  In the latter case, one would have to construct some kind of coupling mechanism to enable the wheel to connect to LEGO parts.</p>
<p>Here are some of the options that I have found.</p>
<p><strong>Omni-Directional Wheels Constructed from LEGO Parts</strong></p>
<p><a href="http://botbench.com/blog/2009/11/10/my-omnipotent-omniwheel/" title="Omni-Directional LEGO Wheels">Omni-Directional LEGO Wheels by Xander</a> at <a href="http://botbench.com/blog/" title="Bot Bench">Bot Bench</a><br />
These wheels use the LEGO pulley to get a six-fold symmetry.  Each &#8220;wheel&#8221; uses 12 LEGO wheels.  For archiving purposes, here are three pictures.  Please <a href="http://botbench.com/blog/2009/11/10/my-omnipotent-omniwheel/" title="Omni-Directional LEGO Wheels">visit Xander at Bot Bench for larger images and more details</a>.</p>
<div id="attachment_194" class="wp-caption aligncenter" style="width: 460px"><a href="http://botbench.com/blog/2009/11/10/my-omnipotent-omniwheel/"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/xander-lego-omni-directional-wheel-1.jpg" alt="Omni-Directional LEGO Wheels by Xander Soldaat at Bot Bench" title="Omni-Directional LEGO Wheels by Xander Soldaat at Bot Bench" width="450" height="356" class="size-full wp-image-194" /></a><p class="wp-caption-text">Omni-Directional LEGO Wheels by Xander Soldaat at Bot Bench</p></div>
<div id="attachment_195" class="wp-caption aligncenter" style="width: 460px"><a href="http://botbench.com/blog/2009/11/10/my-omnipotent-omniwheel/"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/xander-lego-omni-directional-wheel-2.jpg" alt="Omni-Directional LEGO Wheels by Xander Soldaat at Bot Bench" title="Omni-Directional LEGO Wheels by Xander Soldaat at Bot Bench" width="450" height="296" class="size-full wp-image-195" /></a><p class="wp-caption-text">Details of Omni-Directional LEGO Wheels by Xander Soldaat at Bot Bench</p></div>
<div id="attachment_196" class="wp-caption aligncenter" style="width: 460px"><a href="http://botbench.com/blog/2009/11/10/my-omnipotent-omniwheel/"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/xander-lego-omni-directional-wheel-3.jpg" alt="Omni-Directional LEGO Wheels by Xander Soldaat at Bot Bench" title="Omni-Directional LEGO Wheels by Xander Soldaat at Bot Bench" width="450" height="300" class="size-full wp-image-196" /></a><p class="wp-caption-text">Details of Omni-Directional LEGO Wheels by Xander Soldaat at Bot Bench</p></div>
<p>This <a href="http://technabob.com/blog/2010/10/19/lego-metal-slug-tank/">amazing tank by Peer Kreuger</a> also sports omni-directional wheels made from LEGO parts<br />
<div id="attachment_217" class="wp-caption aligncenter" style="width: 460px"><a href="http://technabob.com/blog/2010/10/19/lego-metal-slug-tank/"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/LEGO-tank.jpg" alt="LEGO Tank with LEGO Omni-Directional Wheels" title="LEGO Tank with LEGO Omni-Directional Wheels" width="450" height="338" class="size-full wp-image-217" /></a><p class="wp-caption-text">LEGO Tank with LEGO Omni-Directional Wheels</p></div></p>
<p>The <a href="http://us.mindstorms.lego.com/en-us/Community/NXTLog/DisplayProject.aspx?id=270b90f6-0ea4-4aeb-9e44-05830d7eb885">Omni Bot v2 by jason701802</a> also sports omni-directional wheels<br />
<div id="attachment_218" class="wp-caption aligncenter" style="width: 460px"><a href="http://us.mindstorms.lego.com/en-us/Community/NXTLog/DisplayProject.aspx?id=270b90f6-0ea4-4aeb-9e44-05830d7eb885"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/omni-bot-v2.jpg" alt="Omni Bot v2 by jason701802" title="Omni Bot v2 by jason701802" width="450" height="359" class="size-full wp-image-218" /></a><p class="wp-caption-text">Omni Bot v2 by jason701802</p></div></p>
<p><strong>LEGO-compatible Manufactured Omni-Directional Wheels</strong></p>
<p>This LEGO-compatible wheel is made by the <a href="http://www.holonomicwheel.com/index.jsp">School of Robotics</a><br />
<div id="attachment_212" class="wp-caption aligncenter" style="width: 430px"><a href="http://www.holonomicwheel.com/index.jsp"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/School-of-Robotics.jpg" alt="School of Robotics Omni-Directional Wheels" title="School of Robotics Omni-Directional Wheels" width="420" height="393" class="size-full wp-image-212" /></a><p class="wp-caption-text">School of Robotics Omni-Directional Wheels</p></div></p>
<p><a href="http://www.rotacaster.com.au/robot-wheels.html">Rotacaster</a> makes a LEGO-compatible omni-directional wheel:<br />
<div id="attachment_216" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.rotacaster.com.au/robot-wheels.html"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/rotacaster.jpg" alt="Rotacaster Robot Wheel (LEGO-compatible)" title="Rotacaster Robot Wheel (LEGO-compatible)" width="450" height="473" class="size-full wp-image-216" /></a><p class="wp-caption-text">Rotacaster Robot Wheel (LEGO-compatible)</p></div></p>
<p>Rotacaster is also coming out with a new design<br />
<div id="attachment_189" class="wp-caption aligncenter" style="width: 260px"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/new-rotocaster.jpg" alt="New Rotocaster Omni-Directional Wheel" title="New Rotocaster Omni-Directional Wheel" width="250" height="251" class="size-full wp-image-189" /><p class="wp-caption-text">New Rotocaster Omni-Directional Wheel</p></div></p>
<p>Rotacaster also produces several <a href="http://www.rotacaster.com.au/omnidirectional-wheels---mounts.html">non-LEGO compatible designs</a>.</p>
<p><a href="http://www.legoeducation.us/eng/product/tetrix_omni_wheels/2237">Tetrix also makes LEGO-compatible Omni-Directional Wheels</a><br />
<div id="attachment_219" class="wp-caption aligncenter" style="width: 358px"><a href="http://www.legoeducation.us/eng/product/tetrix_omni_wheels/2237"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/tetrix-omni-directional.jpg" alt="Tetrix Omni-Directional Wheels" title="Tetrix Omni-Directional Wheels" width="348" height="348" class="size-full wp-image-219" /></a><p class="wp-caption-text">Tetrix Omni-Directional Wheels</p></div></p>
<p><strong>General Manufactured Omni-Directional Wheels</strong></p>
<p><a href="http://en.wikipedia.org/wiki/Mecanum_wheel">Mecanum Omni-Wheel</a> Designed by Bengt Ilon in 1973 at the Mecanum AB Company<br />
<div id="attachment_221" class="wp-caption aligncenter" style="width: 303px"><a href="http://en.wikipedia.org/wiki/Mecanum_wheel"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/mecanum-wheel-01.png" alt="Mecanum Wheel" title="Mecanum Wheel" width="293" height="300" class="size-full wp-image-221" /></a><p class="wp-caption-text">Mecanum Wheel</p></div></p>
<div id="attachment_222" class="wp-caption aligncenter" style="width: 576px"><a href="http://www.sparkfun.com/products/10543"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/mecanum-wheel-02.jpg" alt="Mecanum Omni-Directional Wheel" title="Mecanum Omni-Directional Wheel" width="566" height="566" class="size-full wp-image-222" /></a><p class="wp-caption-text">Mecanum Omni-Directional Wheel</p></div>
<p><a href="http://www.vexrobotics.com/276-2165.html">Vex Omni-Directional Wheel</a><br />
<div id="attachment_215" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.vexrobotics.com/276-2165.html"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/vex-omni-directional.jpg" alt="Vex Omni-Directional Wheel" title="Vex Omni-Directional Wheel" width="450" height="450" class="size-full wp-image-215" /></a><p class="wp-caption-text">Vex Omni-Directional Wheel</p></div></p>
<p><a href="http://www.alibaba.com/product-gs/248317134/Omni_Wheel_Directional_Wheel_hexagon_hole_.html">Damon WH-01 Omni Directional Wheel (hexagon hole)</a><br />
(Outer Diameter:60mm, Inner Diameter:11mm, Material: Nylon)<br />
<div id="attachment_202" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.alibaba.com/product-gs/248317134/Omni_Wheel_Directional_Wheel_hexagon_hole_.html"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/Damon-WH-011.jpg" alt="Damon WH-01 Omni-Directional Wheel" title="Damon WH-01 Omni-Directional Wheel" width="450" height="338" class="size-full wp-image-202" /></a><p class="wp-caption-text">Damon WH-01 Omni-Directional Wheel</p></div></p>
<p><a href="http://www.alibaba.com/productshowimg/kornylak-215643715-0/Omni_Directional_Wheel.html">Kornylak Omni-Directional Wheel</a><br />
<div id="attachment_205" class="wp-caption aligncenter" style="width: 260px"><a href="http://www.alibaba.com/productshowimg/kornylak-215643715-0/Omni_Directional_Wheel.html"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/kornylak-omni-directional.jpg" alt="Kornylak Omni-Directional Wheel" title="Kornylak Omni-Directional Wheel" width="250" height="238" class="size-full wp-image-205" /></a><p class="wp-caption-text">Kornylak Omni-Directional Wheel</p></div></p>
<p><a href="http://www.alibaba.com/productshowimg/kornylak-215644015-0/Transwheels.html">Kornylak Transwheel</a><br />
<div id="attachment_206" class="wp-caption aligncenter" style="width: 260px"><a href="http://www.alibaba.com/productshowimg/kornylak-215644015-0/Transwheels.html"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/kornylak-transwheel.jpg" alt="Kornylak Transwheel" title="Kornylak Transwheel" width="250" height="234" class="size-full wp-image-206" /></a><p class="wp-caption-text">Kornylak Transwheel</p></div></p>
<p><a href="http://www.alibaba.com/productshowimg/kornylak-215642651-0/Omniwheel.html">Kornylak Omni-Directional Wheel</a><br />
<div id="attachment_207" class="wp-caption aligncenter" style="width: 260px"><a href="http://www.alibaba.com/productshowimg/kornylak-215642651-0/Omniwheel.html"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2011/08/kornylak-omni-directional-wheel.jpg" alt="Kornylak Omni-Directional Wheel" title="Kornylak Omni-Directional Wheel" width="250" height="231" class="size-full wp-image-207" /></a><p class="wp-caption-text">Kornylak Omni-Directional Wheel</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2011/08/23/a-catalog-of-omni-directional-or-holonomic-wheels-for-lego-robots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Blossoming Lotus: LEGO Kinetic Art</title>
		<link>http://www.brickengineer.com/pages/2008/11/07/the-blossoming-lotus-lego-kinetic-art/</link>
		<comments>http://www.brickengineer.com/pages/2008/11/07/the-blossoming-lotus-lego-kinetic-art/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 00:17:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[circle]]></category>
		<category><![CDATA[construction]]></category>
		<category><![CDATA[creation]]></category>
		<category><![CDATA[Geometry]]></category>
		<category><![CDATA[Hoberman]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[MLCAD]]></category>
		<category><![CDATA[parts]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[sphere]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=38</guid>
		<description><![CDATA[I call this creation The Blossoming Lotus.  It was originally posted on Online Cortex, but I have decided to repost it here because its just plain fun. Basically it is a large 2D version of a Hoberman sphere. Why did I not make a large Hoberman sphere? First, the parts to make the circle cost [...]]]></description>
			<content:encoded><![CDATA[<p>I call this creation The Blossoming Lotus.  It was originally posted on <a href="http://www.huginn.com/knuth/blog/2007/05/10/the-blossoming-lotus/">Online Cortex</a>, but I have decided to repost it here because its just plain fun. Basically it is a large 2D version of a <a href="http://www.hoberman.com/fold/Sphere/sphere.htm" target="_blank">Hoberman sphere</a>.  Why did I not make a large Hoberman sphere?  First, the parts to make the circle cost almost $80 US.  Second, I have other more pressing projects I am working on.</p>
<div id="attachment_39" class="wp-caption aligncenter" style="width: 360px"><a href="http://www.brickengineer.com/pages/wp-content/uploads/2008/11/blossoming-lotus-anim.gif"><img class="size-full wp-image-39" title="blossoming-lotus-anim" src="http://www.brickengineer.com/pages/wp-content/uploads/2008/11/blossoming-lotus-anim.gif" alt="The Blossoming Lotus Kinetic Art" width="350" height="260" /></a><p class="wp-caption-text">The Blossoming Lotus Kinetic Art</p></div>
<p>It is about 4 feet in diameter when completely extended and is pretty impressive.  Its relatively easy to make.  My design consists of constructing each petal with two interlocking pieces: a single-claw arm and a double-claw arm.  The parts needed to make the two arms are illustrated below.</p>
<div id="attachment_40" class="wp-caption aligncenter" style="width: 360px"><a href="http://www.brickengineer.com/pages/wp-content/uploads/2008/11/lotus-parts.png"><img class="size-full wp-image-40" title="lotus-parts" src="http://www.brickengineer.com/pages/wp-content/uploads/2008/11/lotus-parts.png" alt="Parts for a Single Lotus Petal" width="350" height="262" /></a><p class="wp-caption-text">Parts for a Single Lotus Petal</p></div>
<p>To make the entire circle of petals, one needs 20 copies of each petal.  The job then is to put them all together.  I will post detailed instructions on a website in the near future.  For now, here is a closeup of the blossom when completed.</p>
<div id="attachment_41" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.brickengineer.com/pages/wp-content/uploads/2008/11/lotus_close-up_small.png"><img class="size-medium wp-image-41" title="lotus_close-up_small" src="http://www.brickengineer.com/pages/wp-content/uploads/2008/11/lotus_close-up_small-300x225.png" alt="Close Up of the Lotus Blossom" width="300" height="225" /></a><p class="wp-caption-text">Close Up of the Lotus Blossom</p></div>
<p>And of course, the project wouldn&#8217;t be complete without that animation above made with <a href="http://www.lm-software.com/mlcad/" target="_blank">MLCAD</a>, <a href="http://l3pao.malagraphixia.com/" target="_blank">L3PAO</a>, and <a href="http://www.povray.org/" target="_blank">POV Ray</a>.  The animation was straightforward&#8212;once you get the geometry right (which is not straightforward).  I will post a lesson on the geometry and the animation of this creation in the future as well.  For now, enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2008/11/07/the-blossoming-lotus-lego-kinetic-art/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Little Rover with Instructions and Code</title>
		<link>http://www.brickengineer.com/pages/2008/10/12/little-rover-with-instructions-and-code/</link>
		<comments>http://www.brickengineer.com/pages/2008/10/12/little-rover-with-instructions-and-code/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 05:43:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Constructs]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[code software]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[NXT-G]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[rover]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=26</guid>
		<description><![CDATA[I have finally compiled building instructions for my Little Rover, which can be seen above in a 3D Rendering courtesy of POVRay.  An earlier version of this rover can be seen in this YouTube video: Little Rover Prototype Video Rover Design The complete detailed building instructions can be found here in this 94-page pdf file. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.brickengineer.com/pages/wp-content/uploads/2008/10/little-rover-on-mars-med.jpg"><img class="aligncenter size-full wp-image-34" title="little-rover-on-mars-med" src="http://www.brickengineer.com/pages/wp-content/uploads/2008/10/little-rover-on-mars-med.jpg" alt="" width="450" height="321" /></a></p>
<p>I have finally compiled building instructions for my Little Rover, which can be seen above in a 3D Rendering courtesy of <a href="http://www.povray.org/" target="_blank">POVRay</a>.  An earlier version of this rover can be seen in this YouTube video:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/cShU-TzoK6w&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/cShU-TzoK6w&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
<p><a href="http://www.youtube.com/watch?v=cShU-TzoK6w">Little Rover Prototype Video</a></p>
<p><strong>Rover Design</strong></p>
<p>The complete detailed building instructions can be found <a title="Little Rover Building Instructions" href="http://www.brickengineer.com/pages/instructions/little-rover-building-instructions.pdf" target="_self">here in this 94-page pdf file</a>.<br />
Warning: it is about 9MB in size.  The design is not entirely compatible with the standard NXT Mindstorms Kit.  This design relies on two touch sensors, several 1&#215;9 bent liftarms, and as far as I can tell from Peeron, the NXT Kit has only two.  This may require a little redesign.  Other compatibility issues and their solutions can be found in the Parts List in the <a title="Little Rover Building Instructions" href="http://www.brickengineer.com/pages/instructions/little-rover-building-instructions.pdf" target="_self">instructions</a>.</p>
<p>Remember to <a href="http://www.brickengineer.com/pages/downloads/code/Little-Rover.zip">download the software DriveSmart here as well</a>.<br />
Installation instructions can be found in the zip file.</p>
<p><strong>DriveSmart Code</strong></p>
<p>The main file is called DriveSmart.rbt.  Drive Smart runs four threads:</p>
<p>Drive Thread<br />
The Drive Thread (lowest one of the four) drives until a warning flag is set by one of the other<br />
threads. It then waits until it gets an all clear message via the Wait Until Free block, and then<br />
it starts driving again.</p>
<p>Bumper Threads<br />
There are two threads that monitor the bumpers.<br />
The reaction is only activated if nothing else is currently commanding the robot.  In this case the<br />
bumper has been pressed and the robot will veer away from the hazard.</p>
<p>Ultrasound Thread<br />
This thread monitors the ultrasound rangefinder.<br />
The reaction is only activated if nothing else is currently commanding the robot.  When the robot<br />
comes too close to a hazard, the robot is commanded to stop.  It then looks both ways and then turns<br />
in the direction with more room.  If the robot is within 10 cm of a hazard on both sides, it then<br />
backs up.</p>
<p>The robot can roam about a wide variety of rooms and not get stuck.<br />
He does not detect stairs though!  So be careful.</p>
<p>Download: <a title="Little Rover Building Instructions" href="http://www.brickengineer.com/pages/instructions/little-rover-building-instructions.pdf" target="_self">instructions</a> and <a href="http://www.brickengineer.com/pages/downloads/code/Little-Rover.zip">code</a>.</p>
<p>Enjoy!<br />
Kevin Knuth</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2008/10/12/little-rover-with-instructions-and-code/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>LEGO NXT Motor Wiring</title>
		<link>http://www.brickengineer.com/pages/2008/09/05/lego-nxt-motor-wiring/</link>
		<comments>http://www.brickengineer.com/pages/2008/09/05/lego-nxt-motor-wiring/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 05:15:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO Electronics]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[motor]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[wire]]></category>
		<category><![CDATA[wiring]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/2008/09/05/lego-nxt-motor-wiring/</guid>
		<description><![CDATA[After posting Hacking the LEGO Mindstorms NXT Standard Motor, I received several requests for more information regarding the wiring of the motor. The NXT cable has six wires. Below I list a table with the wires and their colors: Color Name White Motor 1 Black Motor 2 Red GND Green 4.3 Volts Yellow Tach01 Blue [...]]]></description>
			<content:encoded><![CDATA[<p>After posting <a href="http://www.brickengineer.com/pages/2008/04/05/hacking-the-lego-mindstorms-nxt-standard-motor/" title="Hacking the LEGO Motor">Hacking the LEGO Mindstorms NXT Standard Motor</a>, I received several requests for more information regarding the wiring of the motor.</p>
<p>The NXT cable has six wires.   Below I list a table with the wires and their colors:</p>
<table>
<tr>
<td><strong>Color    </strong></td>
<td><strong>Name</strong></td>
</tr>
<tr>
<td>White</td>
<td>Motor 1</td>
</tr>
<tr>
<td>Black</td>
<td>Motor 2</td>
</tr>
<tr>
<td>Red</td>
<td>GND</td>
</tr>
<tr>
<td>Green</td>
<td>4.3 Volts</td>
</tr>
<tr>
<td>Yellow</td>
<td>Tach01</td>
</tr>
<tr>
<td>Blue</td>
<td>Tach02</td>
</tr>
</table>
<p>The WHITE and BLACK wires (Motor 1 and Motor 2) deliver power to the motor.<br />
If standard batteries are used, the potential difference will be 9 volts, otherwise the NiMH rechargeable batteries provide 7.2 volts.  If the white wire is positive and black is negative, the motor will turn one way.  If you reverse the polarity, the motor will turn the other way.</p>
<p>The RED wire is connected to the ground (GND).  Note that in the sensors, RED and BLACK are connected to one another.  This is not the case in the motors.</p>
<p>The GREEN wire is connected to the +4.3 NXT power supply.</p>
<p>The YELLOW and BLUE wires are connected to the <a href="http://en.wikipedia.org/wiki/Rotary_encoder">quadrature encoder</a>, also called an <a href="http://en.wikipedia.org/wiki/Rotary_encoder">incremental rotary encoder</a>.</p>
<p><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Basic-Rotary.jpg/180px-Basic-Rotary.jpg" alt="Basic Rotary Encoder" align="middle" height="179" width="180" /></p>
<p><a href="http://en.wikipedia.org/wiki/Quadrature_encoder"><img src="http://upload.wikimedia.org/wikipedia/en/thumb/6/68/Quadrature_Diagram.svg/300px-Quadrature_Diagram.svg.png" alt="Square waves from quadrature encoder" align="middle" /></a></p>
<p>As shown in the figure from Wikipedia above, (<a href="http://en.wikipedia.org/wiki/Quadrature_encoder">http://en.wikipedia.org/wiki/Quadrature_encoder</a>) the wires return square wave pulses that are 90 degrees out of phase.  If the rising pulse on TACH00 leads the rising pulse of TACH01 by 90 degrees, then the motor is going forward.  If it instead lags by 90 degrees, the motor is rotating backwards.  One complete square wave cycle corresponds to 2 degrees of rotation.  In the diagram above, if TACH00 refers to A and TACH01 refers to B, we can see that the motor is going backwards as TACH00 is lagging TACH 01.</p>
<p>By measuring the frequency of the square wave oscillation, one can compute the rotational velocity.  Since one cycle corresponds to 2 degrees of rotation, one cycle per second (1 Hz) corresponds to 2 degrees/sec.  If you record a frequency of X Hz, then the rotation rate is 2X cycles/sec.</p>
<p>Note also that by tracking both square waves, you can identify quarter cycles, which gives you a resolution of 1/4 of 2 degrees, which is 0.5 degrees.</p>
<p>The motor speed is controlled by <a href="http://en.wikipedia.org/wiki/Pulse-width_modulation">pulse-width modulation</a> (pwm), which works by driving the motor with a variable duty cycle square wave.  This effectively turns the motor on and off, fast.  The longer it is on, the more torque it will generate and the faster it will go.</p>
<p>These details and more can be found in the excellent book: Extreme: NXT with a sneak peak <a href="http://books.google.com/books?id=ze1vS5f4apUC&amp;pg=PA32&amp;lpg=PA32&amp;dq=lego+mindstorms+quadrature+encoder&amp;source=web&amp;ots=AdmPVFnk6s&amp;sig=RY_mOg7YTePFTb_YMg-slF0VP-w&amp;hl=en&amp;sa=X&amp;oi=book_result&amp;resnum=7&amp;ct=result#PPA32,M1">here</a>.</p>
<p>Additional details can be found in the excellent book <a href="http://www.amazon.com/gp/product/1590598180?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1590598180">Extreme NXT: Extending the LEGO MINDSTORMS NXT to the Next Level (Technology in Action)</a><img src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=1590598180" style="border: medium none ; margin: 0px" border="0" height="1" width="1" /> by Michael Gasperi, Philippe E. Hurbain, and Isabelle L. Hurbain.</p>
<p><a href="http://www.amazon.com/gp/product/1590598180?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1590598180"><img src="http://www.brickengineer.com/pages/pics/books/extreme-nxt.jpg" border="0" /></a><img src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=1590598180" style="border: medium none ; margin: 0px" border="0" height="1" width="1" /></p>
<p>Philo uploaded a comment, and reminded me that &#8220;Note that there are some internal photos of the NXT motor here: <a href="http://philohome.com/nxtmotor/nxtmotor.htm" onclick="javascript:pageTracker._trackPageview('/outgoing/philohome.com/nxtmotor/nxtmotor.htm');" rel="nofollow">http://philohome.com/nxtmotor/nxtmotor.htm</a> and schematics here: <a href="http://www.brickshelf.com/cgi-bin/gallery.cgi?i=1846577" onclick="javascript:pageTracker._trackPageview('/outgoing/www.brickshelf.com/cgi-bin/gallery.cgi?i=1846577');" rel="nofollow">http://www.brickshelf.com/cgi-bin/gallery.cgi?i=1846577</a>&#8221;</p>
<p>Happy Hacking!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2008/09/05/lego-nxt-motor-wiring/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>10+1 LEGO Design and Engineering Tips</title>
		<link>http://www.brickengineer.com/pages/2008/03/14/101-lego-design-and-engineering-tips/</link>
		<comments>http://www.brickengineer.com/pages/2008/03/14/101-lego-design-and-engineering-tips/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 12:20:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Constructs]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[Mechanisms]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[construction]]></category>
		<category><![CDATA[creation]]></category>
		<category><![CDATA[engineering]]></category>
		<category><![CDATA[engineerings]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[parts]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[solutions]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/2008/03/14/101-lego-design-and-engineering-tips/</guid>
		<description><![CDATA[1. Use only parts that are necessary&#8230;no less and no more. In the course of trying to fortify a LEGO construction, it is extremely easy to get carried away and add too many parts. If you are like me, you have a limited supply of parts.  Using too many parts rapidly depletes your supply and [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a name="1" title="1"></a>1. Use only parts that are necessary&#8230;no less and no more.</strong><br />
In the course of trying to fortify a LEGO construction, it is extremely easy to get carried away and add too many parts. If you are like me, you have a limited supply of parts.  Using too many parts rapidly depletes your supply and can add significant weight to your creation.  If you are building a robot, this extra weight can really slow it down.</p>
<p><strong><a name="2" title="2"></a>2. Build strong connections<br />
</strong>We all know that when stacking bricks to make a wall, you need to stagger the bricks so that the next layer of bricks holds the bricks in the lower layer together by covering up the cracks.  This is one way to build strong connections.  You can do even better by bracing the wall with a beam by pinning it to technic bricks embedded in the wall.  By adding a few carefully chosen pieces, it is possible to significantly strengthen a structure.  Just be careful not to go crazy and violate <a href="#1">Tip #1</a>.</p>
<p><strong><a name="3" title="3"></a>3. Be aware of design constraints</strong><br />
Every time you add a LEGO part to your creation, you limit the possibilities of what you can make.  When you have nothing you can make anything.  When you grab a brick, you can now only make things that have that brick in it.  Each part constrains the creation. Be aware of parts or constructs or mechanisms that place too strong of a constraint on your design.  You dont have to get rid of them, but just be aware of the role they play in constraining what you do next.</p>
<p><strong><a name="4" title="4"></a>4. Dont become TOO attached to your creation.</strong><br />
Sometimes we find that we really really like a certain aspect of the construction or a set of parts, but nothing else works. The tendency is to get rid of everything else and then build up around those parts we really like. However, these parts are placing strong constraints on the design&#8230; often too strong, which is why nothing else works. The solution is to get rid of the problem. In this case, you have to get rid of the set of parts you like because it is over-constraining the rest of the design. You dont have to destroy it (see <a href="#9">Tip #9</a>)&#8230; just set it aside, but be sure to remove it from your creation.</p>
<p><strong><a name="5" title="5"></a>5. Be open to new ideas.</strong><br />
There is always more than one way to solve a problem. Be open to new, and seemingly crazy ideas. Sometimes these lead to ingenious solutions. If you suspect that you are having problems similar to those described in <a href="#4">Tip #4</a>, take some time out to brainstorm and see if you can come up with a new idea!</p>
<p><strong><a name="6" title="6"></a>6. Build in stages.</strong><br />
Designing a complex structure or mechanism in one step is almost impossible. Break the construction up into stages, and consider each stage separately. Sometimes a given stage will still be too complex. If so, break that construction up into stages as well. Just be aware of the dangers in <a href="#4">Tip #4</a> above. Your solution for one stage might be awesome, but if it doesn&#8217;t work well with your solution as a whole&#8230; it has to go. Again, if you have enough parts, keep your creations. Otherwise, at the very least preserve their memory by building them in a <a href="http://www.lm-software.com/mlcad/">LEGO Computer Aided Design (CAD) system</a>.</p>
<p><strong><a name="7" title="7"></a>7. Watch for opportunities.</strong><br />
Sometimes we get lucky and we find that a part or a set of parts can serve two or more functions. This is an excellent situation as it saves you both parts, size and weight. Watching out for these opportunities, and taking advantage of them when you can, can really help make an elegant and efficient design. Just be careful not to become too attached to the idea, as you could end up in trouble as described in <a href="#4">Tip #4</a>.</p>
<p><strong><a name="8 title=" title="8 title="></a>8. Study your design.</strong><br />
When you are all finished, take some time to study and test your design. Consider both form and function. When considering form, you are concerned mainly with aesthetics (beauty). What do you like about the design? What dont you like? Is it too big? Is it bulky? Can it be made smaller, sleeker, more elegant? When considering function, you are concerned mainly with its operation and effficiency. Does it do what it is supposed to? Do the parts go together well? Does it vibrate? Do the gears mesh properly? Does it get stuck? Is there too much friction in the system? Could it be smoother? Is it safeguarded against parts breaking in high torque situations? Then consider the big picture. What did you do right? What did you do wrong? If you could do it over again, what would you change?</p>
<p><strong><a name="9" title="9"></a>9. Keep your designs</strong><br />
I have mentioned this tip several times above. If you have enough parts, and enough room, keep your creations. Otherwise, at the very least preserve their memory by building them in a <a href="http://www.lm-software.com/mlcad/">LEGO Computer Aided Design (CAD) system</a> and generate building instructions. That way you can keep a good idea. Who knows if it will come in handy later?</p>
<p><strong><a name="10" title="10"></a>10. Do it over again!</strong><br />
When building mechanisms that require careful consideration of either form or function, you should plan to make several prototypes (a prototype is a first design). Don&#8217;t destroy what you just constructed. You may need to refer to it by copying a part of the design that worked well. You may also need to see if you have improved the form or function by comparing it to your first attempt. I personally plan to make <em>at least</em> three prototypes until settling down with a final design.</p>
<p><strong><a name="11" title="11"></a>11. Color coordinate your creation</strong><br />
I dont apply this rule to my first prototypes, but as I settle in on a final design, I work to choose the brick colors carefully. Of course, we do not always have enough parts to do this, but it is worth the extra effort. Colors scattered all over a design leads the eye to seeing it as haphazard rather than elegant. A careful choice of colors can really enhance the form of your creation. You can also use colors to enhance the function by color-coding functional segments of your design. This is maybe better for illustrative purposes (as in a <a href="http://www.lm-software.com/mlcad/">LEGO CAD design</a>), but usually I choose the latter and aim for an elegant coloration.</p>
<p>Kevin Knuth<br />
Albany NY</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2008/03/14/101-lego-design-and-engineering-tips/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

