<?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; &#187; LEGO Engineering</title>
	<atom:link href="http://www.brickengineer.com/pages/tag/lego-engineering/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>Tue, 10 Mar 2015 04:45:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.39</generator>
	<item>
		<title>Mars Curiosity Rover Made Entirely of LEGOs</title>
		<link>http://www.brickengineer.com/pages/2012/08/23/mars-curiosity-rover-made-entirely-of-legos/</link>
		<comments>http://www.brickengineer.com/pages/2012/08/23/mars-curiosity-rover-made-entirely-of-legos/#comments</comments>
		<pubDate>Thu, 23 Aug 2012 15:55:50 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[NASA]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[Curiosity]]></category>
		<category><![CDATA[Curiosity Rover]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[LEGO NXT]]></category>
		<category><![CDATA[LEGO robot]]></category>
		<category><![CDATA[LEGO robotics]]></category>
		<category><![CDATA[Mars]]></category>
		<category><![CDATA[Mars rover]]></category>
		<category><![CDATA[Mars Science Laboratory]]></category>
		<category><![CDATA[MSL]]></category>
		<category><![CDATA[NASA rover]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=382</guid>
		<description><![CDATA[In celebration of the landing of the Mars Science Laboratory, Curiosity, on Mars, Doug Moran and Will Gorman of BattleBricks.com built a LEGO MINDSTORMS model of the Mars Curiosity Rover. The model was part of the Build the Future in Space event at NASA&#8217;s Kennedy Space Center. The LEGO Curiosity Rover relies on 7 NXT [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In celebration of the landing of the <a href="http://www.nasa.gov/mission_pages/msl/index.html" title="Mars Science Laboratory" target="_blank">Mars Science Laboratory</a>, <a href="http://www.nasa.gov/mission_pages/msl/index.html" title="Curiosity Rover" target="_blank">Curiosity</a>, on Mars, Doug Moran and Will Gorman of <a href="http://battlebricks.com" title="BattleBricks.com" target="_blank">BattleBricks.com</a> built a LEGO MINDSTORMS model of the Mars Curiosity Rover.  The model was part of the <a href="http://www.nasa.gov/multimedia/imagegallery/image_feature_1805.html" title="Build the Future in Space" target="_blank">Build the Future in Space</a> event at <a href="http://www.nasa.gov/centers/kennedy/home/index.html" title="NASA's Kennedy Space Center" target="_blank">NASA&#8217;s Kennedy Space Center</a>.  The LEGO Curiosity Rover relies on 7 NXT Bricks running leJOS NXT.  It employs 13 NXT Motors, two Power Function Motors, and 1000+ LEGO Bricks.</p>
<p>An article on the event can be found at <a href="http://inhabitat.com/battlebricks-build-a-mini-mars-curiosity-rover-out-of-lego-at-the-kennedy-space-center/" title="Inhabitat Article on LEGO Mars Rover" target="_blank">inhabitat.com</a>.  There is also an article by the creators themselves at <a href="http://battlebricks.com/curiosity/" title="BattleBricks Curiosity" target="_blank">BattleBricks.com </a></p>
<div id="attachment_383" style="width: 410px" class="wp-caption aligncenter"><a href="http://www.brickengineer.com/pages/wp-content/uploads/2012/08/LEGO-Mars-Curiosity-Rover.jpg"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2012/08/LEGO-Mars-Curiosity-Rover.jpg" alt="LEGO Mars Curiosity Rover" title="LEGO Mars Curiosity Rover" width="400" height="300" class="size-full wp-image-383" /></a><p class="wp-caption-text">LEGO Mars Curiosity Rover by Doug Moran and Will Gorman of BattleBricks</p></div>
<p>Here is a video of the rover in action!</p>
<p><iframe width="400" height="225" src="http://www.youtube.com/embed/2Kfoa39XzZY" frameborder="0" allowfullscreen></iframe></p>
<p>Check out <a href="http://legospace.com/en-us/Default.aspx" title="LEGOSpace" target="_blank">LEGOSpace.com</a> to learn more about the long-awaited NASA-LEGO partnership.  And be sure to check out what the <a href="http://www.nasa.gov/mission_pages/msl/index.html" title="Mars Science Laboratory" target="_blank">real Curiosity Rover is experiencing on Mars</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2012/08/23/mars-curiosity-rover-made-entirely-of-legos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raspberry Pi: An ARM GNU/Linux box for $25</title>
		<link>http://www.brickengineer.com/pages/2012/04/08/raspberry-pi-an-arm-gnulinux-box-for-25/</link>
		<comments>http://www.brickengineer.com/pages/2012/04/08/raspberry-pi-an-arm-gnulinux-box-for-25/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 04:14:29 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[1080p]]></category>
		<category><![CDATA[ARM1176]]></category>
		<category><![CDATA[ARM1176JZF-S]]></category>
		<category><![CDATA[BluRay]]></category>
		<category><![CDATA[Broadcom BCM2835]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[computing technology]]></category>
		<category><![CDATA[Embedded Multimedia Applications Processor]]></category>
		<category><![CDATA[GNU/Linux Box]]></category>
		<category><![CDATA[GPU]]></category>
		<category><![CDATA[High Definition]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO Brick]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[LEGO First]]></category>
		<category><![CDATA[LEGO First League]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[LEGO motors]]></category>
		<category><![CDATA[LEGO NXT]]></category>
		<category><![CDATA[LEGO robot]]></category>
		<category><![CDATA[LEGO robotics]]></category>
		<category><![CDATA[LEGO sensors]]></category>
		<category><![CDATA[microcontrollers]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[motors]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[OpenVG]]></category>
		<category><![CDATA[processor]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[sensors]]></category>
		<category><![CDATA[SoC]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[System on a Chip]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Videocore 4 GPU]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=373</guid>
		<description><![CDATA[Move over LEGO brick! Here comes Raspberry Pi, and it is going to change the face of robotics forever! Raspberry Pi is Linux machine the size of a credit card. Plug in your television and a keyboard and you have a fully-functional computer for $25. YES!!! TWENTY-FIVE DOLLARS!!!! Models: There are two models, Model A [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Move over LEGO brick!<br />
Here comes Raspberry Pi, and it is going to change the face of robotics forever!</p>
<p>Raspberry Pi is Linux machine the size of a credit card.  Plug in your television and a keyboard and you have a fully-functional computer for $25.<br />
YES!!!<br />
TWENTY-FIVE DOLLARS!!!!</p>
<p><img src="http://www.raspberrypi.org/wp-content/uploads/2011/07/raspi_blue_white.png" alt="Layout of the Raspberry Pi ARM GNU/Linux Box Computer" /></p>
<p>Models:<br />
There are two models, Model A and Model B.<br />
Model A has 256MB RAM, 1 USB port and no Ethernet (network connection).<br />
Model B has 256MB RAM, 2 USB ports and an Ethernet port.</p>
<p>Specs:<br />
It relies on a System on a Chip (SoC).  The particular SoC used is <a href="http://www.broadcom.com/products/BCM2835" title="Broadcom BCM2835" target="_blank">Broadcom BCM2835</a>.  The Broadcom BNC2835 is a High Definition 1080p Embedded Multimedia Applications Processor.  It relies on the <a href="http://www.arm.com/products/processors/classic/arm11/arm1176.php" title="ARM1176 Processor" target="_blank">ARM1176 (ARM1176JZF-S) Processor</a> which has a floating point processor and runs at 700 MHz.  Moreover, the SoC has a <a href="http://en.wikipedia.org/wiki/VideoCore" title="Videocore 4 GPU" target="_blank">Videocore 4 GPU</a>, which is capable of BluRay quality playback, using H.264 at 40MBits/s. The Broadcom BNC2835 has a fast 3D core accessed using the supplied OpenGL ES2.0 and OpenVG libraries.  The GPU is capable of 1 Gpixel/s, 1.5 Gtexel/s or 24 GFLOPs of general purpose computing.</p>
<p>Size:<br />
The Raspberry Pi is SMALL!<br />
The card is slightly larger than 85.60 mm x 53.98 mm x 17 mm due to the fact that the SD card and connectors project over the edges. It weighs with a mass of 45g.  The Raspberry Pi is low power and runs on 4 AA cells.</p>
<p>Programming:<br />
Fedora, Debian and ArchLinux are supported and other distributions will be supported later.  Python is the official educational language.</p>
<p>I cant wait to get my hands on one of these and begin interfacing directly with the LEGO motors and sensors!</p>
<p><img src="http://www.raspberrypi.org/wp-content/uploads/2011/07/PC2365272-1024x768.jpg" alt="A photograph of the Raspberry Pi" /></p>
<table>
<tr>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=B009SQQF9C&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=B008TCUXLW&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=111846446X&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2012/04/08/raspberry-pi-an-arm-gnulinux-box-for-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KnuthLab LEGO Exploration Rover</title>
		<link>http://www.brickengineer.com/pages/2012/01/06/knuthlab-lego-exploration-rover/</link>
		<comments>http://www.brickengineer.com/pages/2012/01/06/knuthlab-lego-exploration-rover/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 23:13:25 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[NASA]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[cyberphysics]]></category>
		<category><![CDATA[KnuthLab]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO Exploration Rover]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[rover]]></category>
		<category><![CDATA[testbed]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=284</guid>
		<description><![CDATA[The Knuth Cyberphysics Laboratory in the University at Albany Physics Department has developed the KnuthLab LEGO Exploration Rover, which acts as a testbed for robotic intelligence and navigation software. Development of this rover was funded by a NASA SBIR Award (Advanced Bayesian Methods for Lunar Surface Navigation) through Autonomous Exploration Inc. as well as a [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><div id="attachment_288" style="width: 575px" class="wp-caption alignleft"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2012/01/LEGO-Exploration-Rover-and-researchers-1024x1024.jpg" alt="Image of KnuthLab Exploration Rover" title="KnuthLab Exploration Rover with Researchers A. Fischer and N. Malakar " width="565" height="565" class="size-large wp-image-288" /><p class="wp-caption-text">KnuthLab Exploration Rover with Researchers A. Fischer and N. Malakar </p></div>The <a href="http://cyberphysics.rit.albany.edu/index.php/Main/Home" title="Knuth Cyberphysics Laboratory" target="_blank">Knuth Cyberphysics Laboratory</a> in the <a href="http://www.albany.edu/physics/" title="UAlbany Physics" target="_blank">University at Albany Physics Department</a> has developed the KnuthLab LEGO Exploration Rover, which acts as a testbed for robotic intelligence and navigation software.  Development of this rover was funded by a <a href="http://www.autonomous-exploration.com/blog/2009/12/autonomous-exploration-inc-awarded-a-2009-nasa-sbir/" title="NASA SBIR Award" target="_blank">NASA SBIR Award (Advanced Bayesian Methods for Lunar Surface Navigation)</a> through <a href="http://www.autonomous-exploration.com/" title="Autonomous Exploration Inc." target="_blank">Autonomous Exploration Inc.</a> as well as a University at Albany Faculty Research Award (Developing Robotic Explorers, PI: K.H. Knuth).</p>
<p>The LEGO Exploration Rover is powered by six NXT Standard Motors in a <a href="http://en.wikipedia.org/wiki/Rocker-bogie" title="Rocker-bogie suspension" target="_blank">Rocker-Bogie suspension system</a> used in all of the NASA Mars rover designs.  The rover is approximately 1.5 ft high with a 1 ft x 1.5 ft base.  It is larger than the <a href="http://mars.jpl.nasa.gov/MPF/mpf/rover.html" title="NASA Sojourner Rover" target="_blank">NASA Sojourner Rover</a>, which was part of the <a href="http://www.nasa.gov/mission_pages/mars-pathfinder/" title="Mars Pathfinder mission" target="_blank">Pathfinder Mission</a> to Mars in 1997, and smaller than the <a href="http://marsrover.nasa.gov/home/index.html" title="Mars Exploration Rovers" target="_blank">Mars Exploration Rovers</a> Spirit and Opportunity.  It can safely carry a payload of 8 pounds.<br />
<div id="attachment_291" style="width: 377px" class="wp-caption alignleft"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2012/01/LEGO-Exploration-Rover.jpg" alt="Image of KnuthLab LEGO Exploration Rover " title="KnuthLab LEGO Exploration Rover " width="367" height="419" class="size-full wp-image-291" /><p class="wp-caption-text">KnuthLab LEGO Exploration Rover </p></div><br />
The LEGO Exploration Rover has two laptop bays built into the box-like frame in which it can carry two <a href="http://eeepc.asus.com/" title="Asus Eee Laptops" target="_blank">Asus Eee Laptops</a> for onboard processing.  The wheels are controlled by two LEGO NXT bricks, which can communicate with the laptops via Bluetooth.  The rocker-bogie suspension and low speed allows it to handle relatively rugged terrain and steep grades.</p>
<p>The white frame mounted on top of the rover is the Bayesian Vision-Based Navigation System being developed by <a href="http://www.autonomous-exploration.com/" title="Autonomous Exploration Inc." target="_blank">Autonomous Exploration Inc.</a> for NASA.</p>
<p>Check back, as we will be posting videos of its operation and discussing some of the important design features.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2012/01/06/knuthlab-lego-exploration-rover/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interface a Potentiometer to the NXT</title>
		<link>http://www.brickengineer.com/pages/2009/10/05/interface-a-potentiometer-to-the-nxt/</link>
		<comments>http://www.brickengineer.com/pages/2009/10/05/interface-a-potentiometer-to-the-nxt/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 15:12:40 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[extreme]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[potentiometer]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=92</guid>
		<description><![CDATA[NOTE: WE ARE NOT RESPONSIBLE FOR ANY DAMAGE YOU MAY DO TO YOUR NXT BRICK. THIS EXERCISE PRESUMES SOME WORKING KNOWLEDGE OF ELECTRONICS. In this exercise, I will walk you through interfacing a potentiometer (variable resistor) to the NXT brick. You will need: &#8211; A stripped NXT cable &#8211; A potentiometer with a maximum resistance [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>NOTE: WE ARE NOT RESPONSIBLE FOR ANY DAMAGE YOU MAY DO TO YOUR NXT BRICK.<br />
THIS EXERCISE PRESUMES SOME WORKING KNOWLEDGE OF ELECTRONICS.</strong></p>
<p>In this exercise, I will walk you through interfacing a potentiometer (variable resistor) to the NXT brick.<br />
You will need:<br />
&#8211; A stripped NXT cable<br />
&#8211; A potentiometer with a maximum resistance no more than <img src='http://www.brickengineer.com/pages/latexrender/pictures/070c47ad71d57ef2eacf1d64186ccd3a.gif' title='$10 k\Omega$' alt='$10 k\Omega$' align=absmiddle><br />
&#8211; A small piece of wire<br />
&#8211; An NXT Brick</p>
<p>This exercise is derived and expanded from a chapter in Extreme NXT by Gasperi, Hurbain and Hurbain.</p>
<p><strong>THEORY</strong></p>
<p>The NXT monitors the potential difference between the black and white wires with an Analog-to-Digital (A/D) converter.  The A/D converter converts this potential difference to a RAW value between 0 and 1023 (10 bits accuracy).  This RAW value is given by the ratio</p>
<p>(1)     <img src='http://www.brickengineer.com/pages/latexrender/pictures/1cad6789deeb4cd24eda028aaf82c9d4.gif' title='$RAW = \frac{RAW_{max}}{V_{max}} V_{R} = \frac{1023}{5} V_{R}$' alt='$RAW = \frac{RAW_{max}}{V_{max}} V_{R} = \frac{1023}{5} V_{R}$' align=absmiddle></p>
<p>where <img src='http://www.brickengineer.com/pages/latexrender/pictures/b43b792b8a0ad9e20bbed3ffe589f270.gif' title='$RAW_{max}$' alt='$RAW_{max}$' align=absmiddle> is the maximum RAW value of 1023, <img src='http://www.brickengineer.com/pages/latexrender/pictures/dd101dae0851cc03c2c9afa9ee7d58eb.gif' title='$V_{max} = 5V$' alt='$V_{max} = 5V$' align=absmiddle> is the voltage used by the NXT A/D Converter, and <img src='http://www.brickengineer.com/pages/latexrender/pictures/bec7483bf7de7666e8169bfb2677affc.gif' title='$V_{R}$' alt='$V_{R}$' align=absmiddle> is the voltage drop between the black and white wires.</p>
<p>The circuit diagram looks like this:</p>
<p><img src="http://www.brickengineer.com/pages/wp-content/uploads/2009/10/ad-nxt-schematic.jpg" alt="NXT A/D Converter Schematic" title="NXT A/D Converter Schematic" width="300" height="300" class="aligncenter size-full wp-image-108" /></p>
<p>I have a little <img src='http://www.brickengineer.com/pages/latexrender/pictures/5e0f22e358604402c3a03443068c077c.gif' title='$1k\Omega$' alt='$1k\Omega$' align=absmiddle> potentiometer that can turn over a range of about <img src='http://www.brickengineer.com/pages/latexrender/pictures/75509215276170cb42d350f8ef4d0a82.gif' title='$0^{\circ}$' alt='$0^{\circ}$' align=absmiddle> to <img src='http://www.brickengineer.com/pages/latexrender/pictures/0bd080041b349b48631cfa8cadce5cd8.gif' title='$270^{\circ}$' alt='$270^{\circ}$' align=absmiddle>.  Below is a diagram.  The resistance between the leftmost and rightmost pins is the maximum resistance of <img src='http://www.brickengineer.com/pages/latexrender/pictures/5e0f22e358604402c3a03443068c077c.gif' title='$1k\Omega$' alt='$1k\Omega$' align=absmiddle>.  We will focus on the resistance between the leftmost and center pins, which varies based on the angle through which the potentiometer has been rotated.  To keep things safe, we wire the center pin and rightmost pin together.  This doesn&#8217;t affect the potential difference between the leftmost and center pins.</p>
<p><img src="http://www.brickengineer.com/pages/wp-content/uploads/2009/10/potentiometer.jpg" alt="Potentiometer Wiring" title="Potentiometer Wiring" width="145" height="200" class="aligncenter size-full wp-image-111" /></p>
<p>I will assume that it is a linear potentiometer (a pretty good assumption), which means that the resistance at any given angle <img src='http://www.brickengineer.com/pages/latexrender/pictures/53d147e7f3fe6e47ee05b88b166bd3f6.gif' title='$A$' alt='$A$' align=absmiddle> is given by</p>
<p>(2)     <img src='http://www.brickengineer.com/pages/latexrender/pictures/9b17fb6a4e23964da4aa54b217d99d7e.gif' title='$R = \frac{A}{A_{max}} R_{max} = \frac{A}{270} \times 1 k\Omega}$' alt='$R = \frac{A}{A_{max}} R_{max} = \frac{A}{270} \times 1 k\Omega}$' align=absmiddle></p>
<p>where <img src='http://www.brickengineer.com/pages/latexrender/pictures/db89de390ca9a572d5f3db56a7d989e5.gif' title='$A_{max}$' alt='$A_{max}$' align=absmiddle> is the maximum angle of the potentiometer and <img src='http://www.brickengineer.com/pages/latexrender/pictures/ea449f9e9a48e2959872aac8fa65e1ca.gif' title='$R_{max}$' alt='$R_{max}$' align=absmiddle> is the <img src='http://www.brickengineer.com/pages/latexrender/pictures/5e0f22e358604402c3a03443068c077c.gif' title='$1k\Omega$' alt='$1k\Omega$' align=absmiddle> maximum resistance.</p>
<p>Equation (2) says that if the angle <img src='http://www.brickengineer.com/pages/latexrender/pictures/d1b9d96e40897ca243ff281f5aee7ce0.gif' title='$A = 0^{\circ}$' alt='$A = 0^{\circ}$' align=absmiddle> then the resistance of the potentiometer  <img src='http://www.brickengineer.com/pages/latexrender/pictures/8a8aab1169d4020852d8d06a8a3e1e24.gif' title='$R_{max} = 0 \Omega$' alt='$R_{max} = 0 \Omega$' align=absmiddle>, and if the angle  <img src='http://www.brickengineer.com/pages/latexrender/pictures/deb17e4443c1eb6e6c679a8913933bd7.gif' title='$A = 270^{\circ}$' alt='$A = 270^{\circ}$' align=absmiddle> then the resistance of the potentiometer is maximum <img src='http://www.brickengineer.com/pages/latexrender/pictures/dd63154537d0661b80239a820feece0e.gif' title='$R_{max} = 1 k\Omega$' alt='$R_{max} = 1 k\Omega$' align=absmiddle>.</p>
<p>Looking at the circuit diagram for the A/D converter, the potential drop across our potentiometer (represented by resistor <img src='http://www.brickengineer.com/pages/latexrender/pictures/1e438235ef9ec72fc51ac5025516017c.gif' title='$R$' alt='$R$' align=absmiddle>) is given by the typical voltage divider relation</p>
<p>(3)     <img src='http://www.brickengineer.com/pages/latexrender/pictures/2bac90d7a171d06bd46e916b0780ff0b.gif' title='$V_R = \frac{R}{R+R_{int}} V_{max} = \frac{R}{R+10k\Omega} \times 5V$' alt='$V_R = \frac{R}{R+R_{int}} V_{max} = \frac{R}{R+10k\Omega} \times 5V$' align=absmiddle></p>
<p>We can now substitute (2) into (3) so that the voltage between the black and white wires is determined by the angle of the potentiometer rather than its resistance.  Then we can substitute the result into (1) to get an equation for the RAW value</p>
<p>(4)     <img src='http://www.brickengineer.com/pages/latexrender/pictures/761c502e47967e1b8673cdaa66330032.gif' title='$RAW = RAW_{max} \frac{A R_{max}}{A R_{max} + A_{max} R_{int}}$' alt='$RAW = RAW_{max} \frac{A R_{max}}{A R_{max} + A_{max} R_{int}}$' align=absmiddle></p>
<p>with my particular values, this is</p>
<p><img src='http://www.brickengineer.com/pages/latexrender/pictures/7780912834bf8933662f2c391d669f62.gif' title='$RAW  = 1023 \frac{A \times 1 k\Omega}{(A \times 1 k\Omega) + (270 \times 10 k\Omega)}$' alt='$RAW  = 1023 \frac{A \times 1 k\Omega}{(A \times 1 k\Omega) + (270 \times 10 k\Omega)}$' align=absmiddle></p>
<p>This formula will let us predict the NXT RAW value based on the angle of the potentiometer.</p>
<p>For my potentiometer, I find that a maximum angle of <img src='http://www.brickengineer.com/pages/latexrender/pictures/0bd080041b349b48631cfa8cadce5cd8.gif' title='$270^{\circ}$' alt='$270^{\circ}$' align=absmiddle> gives me a maximum value of 93.  This is less than 7 bits of information, and each RAW value corresponds to <img src='http://www.brickengineer.com/pages/latexrender/pictures/e22be5d833d32b48854ad4fdf237aff7.gif' title='$2.9^{\circ}$' alt='$2.9^{\circ}$' align=absmiddle>.  If you want a nice angle detector, you will probably need a <img src='http://www.brickengineer.com/pages/latexrender/pictures/070c47ad71d57ef2eacf1d64186ccd3a.gif' title='$10 k\Omega$' alt='$10 k\Omega$' align=absmiddle> potentiometer!</p>
<p><strong>TRY IT</strong></p>
<p>1. Before beginning, you need to cut and strip one of the NXT cables so that you can interface with the wires directly.  I have placed a layer of solder on mine, so they can be inserted into a breadboard for easy connecting.</p>
<p>2. Next connect the center and right pins of the potentiometer together with a wire</p>
<p>3. Plug the other end of the NXT cable into the NXT brick.</p>
<p>I wrote a simple NXT-G program to read the sensor and display the RAW value.  Notice that the Touch Sensor actually reads the resistance between the wires.  So we are just replacing the Touch Sensor with a potentiometer.  We will use the raw number output of the Touch Sensor Block, which is represented by the 1010 0101 symbol.  We then need to convert it to text so it can be displayed on the NXT LCD panel.</p>
<p><img src="http://www.brickengineer.com/pages/wp-content/uploads/2009/10/potentio-01.jpg" alt="potentio-01.rbt Screenshot" title="potentio-01.rbt Screenshot" width="470" height="389" class="aligncenter size-full wp-image-114" /></p>
<p>You may download it here,<br />
<a href="http://www.brickengineer.com/pages/downloads/code/Potentio-01.rbt">Potentio-01.rbt</a><br />
or write your own.</p>
<p>When I try my potentiometer, I find that the RAW value goes from 0 to 95, pretty close to my predicted range of 0 to 93.  So it works! Not bad considering I guessed that the potentiometer sweeps through and angle of <img src='http://www.brickengineer.com/pages/latexrender/pictures/0bd080041b349b48631cfa8cadce5cd8.gif' title='$270^{\circ}$' alt='$270^{\circ}$' align=absmiddle>.</p>
<p><strong><br />
Determining the Angle of the Potentiometer</strong></p>
<p>Now, let&#8217;s convert this RAW value to an angle.<br />
In Extreme NXT, the authors worry about the fact that the resulting relationship is nonlinear with respect to the RAW value.  As far as I can see, this isn&#8217;t a problem.  We simply solve (4) above for the angle <img src='http://www.brickengineer.com/pages/latexrender/pictures/53d147e7f3fe6e47ee05b88b166bd3f6.gif' title='$A$' alt='$A$' align=absmiddle> in terms of RAW.  We can output the angle if we wish, but here I&#8217;ll take it a step further and demonstrate the resulting equation by controlling a motor so that it maintains an angle equal to the angle through which I have rotated the potentiometer.</p>
<p>I will leave out the algebra. Try it yourself.  Solve (4) for angle A:</p>
<p>(5)     <img src='http://www.brickengineer.com/pages/latexrender/pictures/67c4dab90b1bc204c427800a89470354.gif' title='$A = \frac{RAW A_{max} R_{int}}{R_{max} (RAW_{max} &amp;#8211; RAW)}$' alt='$A = \frac{RAW A_{max} R_{int}}{R_{max} (RAW_{max} &amp;#8211; RAW)}$' align=absmiddle></p>
<p>for my potentiometer, this is simply</p>
<p><img src='http://www.brickengineer.com/pages/latexrender/pictures/2dc5e0f8c1957bd00d73303eedad972f.gif' title='$A = \frac{2700 RAW}{(1023 &amp;#8211; RAW)}$' alt='$A = \frac{2700 RAW}{(1023 &amp;#8211; RAW)}$' align=absmiddle></p>
<p>which is easy to code in NXT-G.<br />
You can download my code here:<br />
<a href="http://www.brickengineer.com/pages/downloads/code/Potentio-03.rbt">Potentio-03.rbt</a></p>
<p>The motor control is a bit crude, but it works well enough for the demonstration.<br />
Check out the YouTube video to see it in action!</p>
<p><object width="350" height="283"><param name="movie" value="http://www.youtube.com/v/HpFQX-aM6-c&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/HpFQX-aM6-c&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="350" height="283"></embed></object></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2009/10/05/interface-a-potentiometer-to-the-nxt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Knuth: Developing Robotic Scientists for Space Exploration</title>
		<link>http://www.brickengineer.com/pages/2008/10/22/knuth-developing-robotic-scientists-for-space-exploration/</link>
		<comments>http://www.brickengineer.com/pages/2008/10/22/knuth-developing-robotic-scientists-for-space-exploration/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 04:12:19 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[NASA]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[demonstration]]></category>
		<category><![CDATA[exploration]]></category>
		<category><![CDATA[inquiry]]></category>
		<category><![CDATA[intelligence]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[machine learning]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[space]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=36</guid>
		<description><![CDATA[The University at Albany (SUNY) has highlighted Knuth&#8217;s research in a recent news piece. UAlbany Professor Kevin Knuth with a robot built from LEGOs. (Photo Mark Schmidt) Kevin Knuth has a laboratory in the physics department of the University at Albany that is filled with LEGOs. The bricks are relatively cheap and can be used [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>The University at Albany (SUNY) has highlighted Knuth&#8217;s research in a <a href="http://www.albany.edu/news/update_4522.shtml">recent news piece</a>.</p>
<p><img src="http://www.albany.edu/news/feedimages/689_0560.jpg" alt="UAlbany Professor Kevin Knuth with a robot built from LEGOs. (Photo Mark Schmidt) " width="250" height="166" /><br />
UAlbany Professor Kevin Knuth with a robot built from LEGOs. (Photo Mark Schmidt)</p>
<blockquote><p>Kevin Knuth has a laboratory in the <a href="http://www.albany.edu/physics/">physics department</a> of the University at Albany that is filled with LEGOs. The bricks are relatively cheap and can be used to rapidly prototype a robot&#8217;s body. Knuth&#8217;s robots are being programmed to solve such problems as mapping complex terrain.</p>
<p>At <a href="http://www.albany.edu/ualbanyday/">UAlbany Day</a> on Saturday, Oct. 25, he will give a demonstration on <em>Robotics and Robotic Exploration</em> in Life Sciences Room 143 at 10:45 a.m.</p></blockquote>
<p>More here: <a href="http://www.albany.edu/news/update_4522.shtml"><br />
http://www.albany.edu/news/update_4522.shtml</a></p>
<p><a href="http://www.brickengineer.com/robots/2008/10/21/knuth-developing-robotic-scientists-for-space-exploration/"></a></p>
<p>Building instructions for the robot shown in the UAlbany article can be found on <a href="http://www.brickengineer.com/pages/2008/10/12/little-rover-with-instructions-and-code/">Brickengineer.com</a></p>
<p>Visit <a href="http://www.autonomous-exploration.com/blog/?p=15">Autonomous Exploration News</a> for information on Knuth&#8217;s company <a href="http://www.autonomous-exploration.com/">Autonomous Exploration Inc.</a></p>
<p>Visit <a href="http://www.brickengineer.com/robots/2008/10/21/knuth-developing-robotic-scientists-for-space-exploration/">Robots Everywhere</a> for a general blog on robotics news.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2008/10/22/knuth-developing-robotic-scientists-for-space-exploration/feed/</wfw:commentRss>
		<slash:comments>0</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><![CDATA[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 [&#8230;]]]></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>13</slash:comments>
		</item>
		<item>
		<title>Basic Electronics Supplies for Beginners</title>
		<link>http://www.brickengineer.com/pages/2008/06/14/basic-electronics-supplies/</link>
		<comments>http://www.brickengineer.com/pages/2008/06/14/basic-electronics-supplies/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 18:47:33 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[microcontrollers]]></category>
		<category><![CDATA[parts]]></category>
		<category><![CDATA[starting]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/2008/06/14/basic-electronics-supplies/</guid>
		<description><![CDATA[I am getting interested in more general robotics projects, but will still be relying on LEGOs for their construction.  The LEGO brick is a bit too limited with its specialized programming languages and limited sensor and motor ports. So for those interested in some LEGO electronics hacking, here is a list of supplies that will [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I am getting interested in more general robotics projects, but will still be relying on LEGOs for their construction.  The LEGO brick is a bit too limited with its specialized programming languages and limited sensor and motor ports.</p>
<p>So for those interested in some LEGO electronics hacking, here is a list of supplies that will get you up and running fast for about $275&#8230; just a but more than the cost of a single Mindstorms kit.  Plus you&#8217;ll now get to learn electronics!</p>
<p>First, check out the book:<br />
<a href="http://www.amazon.com/gp/product/0596510519?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0596510519">Making Things Talk: Practical Methods for Connecting Physical Objects</a><img border="0" width="1" src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=0596510519" height="1" style="margin: 0px; border: medium none" /></p>
<p><iframe scrolling="no" frameBorder="0" src="http://rcm.amazon.com/e/cm?t=onlicort-20&amp;o=1&amp;p=8&amp;l=as1&amp;asins=0596510519&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;lc1=0000FF&amp;bc1=FFFFFF&amp;bg1=FFFFFF&amp;f=ifr" marginHeight="0" marginWidth="0" style="width: 120px; height: 240px"></iframe></p>
<p>This book explains how to wire, program and interconnect various microcontrollers, some of which are very closely related to those <a href="http://thenxtstep.blogspot.com/2006/07/inside-nxt-brick-lots-of.html">used by the NXT Brick</a>.</p>
<p><strong>Supply List</strong></p>
<table>
<tr>
<td>Item Number</td>
<td>Description</td>
<td>Quantity</td>
<td>Unit Price</td>
<td>Total</td>
</tr>
<tr>
<td bgColor="#ccccff"><a href="http://www.amazon.com?ie=UTF8&amp;tag=onlicort-20">Amazon.com</a></td>
</tr>
<tr>
<td> </td>
<td><a href="http://www.amazon.com/gp/product/0596510519?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0596510519">Making Things Talk</a><img border="0" width="1" src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=0596510519" height="1" style="margin: 0px; border: medium none" /></td>
<td>1</td>
<td> $19.79</td>
<td>$19.79</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td bgColor="#ccccff"><a href="Jameco.com">Jameco.com</a></td>
</tr>
<tr>
<td>19166</td>
<td>Desoldering Pump</td>
<td>1</td>
<td>$4.95</td>
<td>$4.95</td>
</tr>
<tr>
<td>159291</td>
<td>Wire Stripper</td>
<td>1</td>
<td>$10.15</td>
<td>$10.15</td>
</tr>
<tr>
<td>161411</td>
<td>Diagonal Cutter</td>
<td>1</td>
<td>$7.49</td>
<td>$7.49</td>
</tr>
<tr>
<td>35474</td>
<td>Needlenose Pliers</td>
<td>1</td>
<td>$5.49</td>
<td>$5.49</td>
</tr>
<tr>
<td>127271</td>
<td>Mini Screwdriver</td>
<td>1</td>
<td>$1.89</td>
<td>$1.89</td>
</tr>
<tr>
<td>681002</td>
<td>Helping Hands</td>
<td>1</td>
<td>$8.75</td>
<td>$8.75</td>
</tr>
<tr>
<td>159611</td>
<td>Power Connector</td>
<td>2</td>
<td>$1.79</td>
<td>$3.58</td>
</tr>
<tr>
<td>10444</td>
<td>Alligator Test Clip Leads</td>
<td>2</td>
<td>$4.39</td>
<td>$8.78</td>
</tr>
<tr>
<td>103377</td>
<td>Header Pins</td>
<td>10</td>
<td>$0.16</td>
<td>$1.60</td>
</tr>
<tr>
<td>119011</td>
<td>Push Button (PCB Type)</td>
<td>10</td>
<td>$0.27</td>
<td>$2.70</td>
</tr>
<tr>
<td>29082</td>
<td>Potentiometer</td>
<td>2</td>
<td>$1.05</td>
<td>$2.10</td>
</tr>
<tr>
<td>242115</td>
<td>LM1117T-3.3 Voltage Regulator</td>
<td>3</td>
<td>$1.39</td>
<td>$4.17</td>
</tr>
<tr>
<td>51262</td>
<td>7805T 5v Voltage regulator</td>
<td>3</td>
<td>$0.32</td>
<td>$0.96</td>
</tr>
<tr>
<td>38236</td>
<td>2N2222A Transistor NPN</td>
<td>5</td>
<td>$0.41</td>
<td>$2.05</td>
</tr>
<tr>
<td>32993</td>
<td>TIP120 Power Transistor</td>
<td>5</td>
<td>$0.45</td>
<td>$2.25</td>
</tr>
<tr>
<td>643488</td>
<td>3.3V Zener Diode</td>
<td>5</td>
<td>$0.03</td>
<td>$0.16</td>
</tr>
<tr>
<td>35991</td>
<td>1N4004 Diode</td>
<td>5</td>
<td>$0.04</td>
<td>$0.20</td>
</tr>
<tr>
<td>152792</td>
<td bgColor="#eeeeee">LED Yellow</td>
<td>10</td>
<td>$0.17</td>
<td>$1.70</td>
</tr>
<tr>
<td>152805</td>
<td>LED Red</td>
<td>10</td>
<td>$0.21</td>
<td>$2.10</td>
</tr>
<tr>
<td>153139</td>
<td bgColor="#eeeeee">LED Orange</td>
<td>10</td>
<td>$0.35</td>
<td>$3.50</td>
</tr>
<tr>
<td>156962</td>
<td>LED Green (567 nm)</td>
<td>10</td>
<td>$0.20</td>
<td>$2.00</td>
</tr>
<tr>
<td>334529</td>
<td bgColor="#eeeeee">LED Bargraph Red</td>
<td>1</td>
<td>$1.31</td>
<td>$1.31</td>
</tr>
<tr>
<td>334537</td>
<td>LED Bargraph Yellow</td>
<td>1</td>
<td>$1.23</td>
<td>$1.23</td>
</tr>
<tr>
<td>334511</td>
<td bgColor="#eeeeee">LED Bargraph Green</td>
<td>1</td>
<td>$1.28</td>
<td>$1.28</td>
</tr>
<tr>
<td>17187</td>
<td>7-segment LED Display</td>
<td>3</td>
<td>$0.88</td>
<td>$2.64</td>
</tr>
<tr>
<td>38818</td>
<td>4-switch DIP</td>
<td>4</td>
<td>$0.48</td>
<td>$1.92</td>
</tr>
<tr>
<td>38842</td>
<td bgColor="#eeeeee">8-switch DIP</td>
<td>2</td>
<td>$0.89</td>
<td>$1.78</td>
</tr>
<tr>
<td>103166</td>
<td>Resistor Refill</td>
<td>1</td>
<td>$12.95</td>
<td>$12.95</td>
</tr>
<tr>
<td>15270</td>
<td>0.1 uF</td>
<td>10</td>
<td>$0.15</td>
<td>$1.53</td>
</tr>
<tr>
<td>94161</td>
<td>1 uF</td>
<td>10</td>
<td>$0.12</td>
<td>$1.20</td>
</tr>
<tr>
<td>29891</td>
<td>10 uF</td>
<td>10</td>
<td>$0.06</td>
<td>$0.60</td>
</tr>
<tr>
<td>158394</td>
<td>100 uF</td>
<td>10</td>
<td>$0.11</td>
<td>$1.08</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td bgColor="#ccccff"><a href="http://www.mpja.com/">MPJA</a></td>
</tr>
<tr>
<td>4443 TE</td>
<td>Solderless Breadboard</td>
<td>1</td>
<td>$4.95</td>
<td>$4.95</td>
</tr>
<tr>
<td>4447 TE</td>
<td bgColor="#eeeeee">Large Solderless Breadboard</td>
<td>1</td>
<td>$22.95</td>
<td>$22.95</td>
</tr>
<tr>
<td>7027 TE</td>
<td>Jumpers</td>
<td>2</td>
<td>$3.95</td>
<td>$7.90</td>
</tr>
<tr>
<td>14213 TE</td>
<td>Digital Multimeter</td>
<td>1</td>
<td>$14.95</td>
<td>$14.95</td>
</tr>
<tr>
<td>15860 TL</td>
<td>Mini Soldering Station</td>
<td>1</td>
<td>$14.95</td>
<td>$14.95</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td bgColor="#ccccff"><a href="http://www.sparkfun.com/commerce/categories.php">Sparkfun</a></td>
</tr>
<tr>
<td>Wiring Platform</td>
<td>DEV-00744</td>
<td>1</td>
<td>$84.95</td>
<td>$84.95</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td bgColor="#ccccff"><a href="http://www.radioshack.com/sm-lead-free-solder0-25-oz--pi-2062722.html">Radio Shack</a></td>
</tr>
<tr>
<td>64-025</td>
<td>Lead Free Solder</td>
<td>1</td>
<td>$3.89</td>
<td>$3.89</td>
</tr>
<tr></tr>
</table>
<p>Note that the light gray items are optional, and not necessary.</p>
<p>Also, this list does not include some sort of power supply. Pulling one out of an old computer is an easy option. Or rechargeable batteries work well too (in which case you will need battery holders).</p>
<p>Last, there are special items in the book <a href="http://www.amazon.com/gp/product/0596510519?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0596510519">Making Things Talk</a><img border="0" width="1" src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=0596510519" height="1" style="margin: 0px; border: medium none" /> that you may decide to purchase separately, such as flex sensors, or bluetooth boards, etc.</p>
<p>You can store your electronics in much the same way you store your small LEGO parts. <a href="http://www.brickengineer.com/pages/2007/10/09/storing-your-lego-collection/">Check out the article on Storage</a>.</p>
<p>Enjoy Hacking!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2008/06/14/basic-electronics-supplies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smooth LEGO Clutch with Differential</title>
		<link>http://www.brickengineer.com/pages/2008/05/31/smooth-lego-clutch-with-differential/</link>
		<comments>http://www.brickengineer.com/pages/2008/05/31/smooth-lego-clutch-with-differential/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 03:50:21 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[Mechanisms]]></category>
		<category><![CDATA[clutch]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[educational]]></category>
		<category><![CDATA[engage]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[motor]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[toys]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/2008/05/31/smooth-lego-clutch-with-differential/</guid>
		<description><![CDATA[In a previous post, I describe the design of a smooth LEGO clutch. Here I introduce a version where I have added a differential to the top of the clutch. By rotating the main differential gear in one direction, the clutch will engage and rotate one axle. By rotating it the other direction, the clutch [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In a <a target="_blank" href="http://www.brickengineer.com/pages/2007/11/27/smooth-lego-clutch/">previous post</a>, I describe the design of a <a href="http://www.brickengineer.com/pages/2007/11/27/smooth-lego-clutch/">smooth LEGO clutch</a>.</p>
<p>Here I introduce a version where I have added a differential to the top of the clutch. By rotating the main differential gear in one direction, the clutch will engage and rotate one axle. By rotating it the other direction, the clutch will engage and rotate the opposite axle.</p>
<p><img border="0" align="middle" width="320" src="http://www.brickengineer.com/pages/pics/mechanisms/clutch-with-differential.jpg" alt="LEGO clutch with differential" height="240" /></p>
<p>It would be straightforward to attach a motor to this system.</p>
<p>Here are the <a href="http://www.brickengineer.com/pages/instructions/clutch-with-differential-building-instructions.pdf">building instructions</a>.</p>
<p>Enjoy,<br />
Kevin</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2008/05/31/smooth-lego-clutch-with-differential/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hacking the LEGO Mindstorms NXT Standard Motor</title>
		<link>http://www.brickengineer.com/pages/2008/04/05/hacking-the-lego-mindstorms-nxt-standard-motor/</link>
		<comments>http://www.brickengineer.com/pages/2008/04/05/hacking-the-lego-mindstorms-nxt-standard-motor/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 14:20:33 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[interfacing]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO Electronics]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[motor]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/2008/04/05/hacking-the-lego-mindstorms-nxt-standard-motor/</guid>
		<description><![CDATA[We are working on interfacing the LEGO sensors and motors to a compact lightweight computer for more sophisticated control. Aret Carlsen brings us a video demonstrating how one can hack into the NXT Standard Motor: See also quadrature encoder or rotary encoder at wikipedia and the LEGO NXT Hardware Developers Kit (LEGO NXT data sheets). [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>We are working on interfacing the LEGO sensors and motors to a compact lightweight computer for more sophisticated control. Aret Carlsen brings us a video demonstrating how one can hack into the NXT Standard Motor:</p>
<p><object width="350" height="292"><param name="movie" value="http://www.youtube.com/v/_NQ3qng_b80&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/_NQ3qng_b80&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="350" height="292"></embed></object></p>
<p>See also quadrature encoder or <a href="http://en.wikipedia.org/wiki/Rotary_encoder">rotary encoder</a> at wikipedia and the <a href="http://mindstorms.lego.com/Overview/NXTreme.aspx">LEGO NXT Hardware Developers Kit</a> (LEGO NXT data sheets). Philo also has the pinout diagram on his page on <a href="http://www.philohome.com/nxtpwr/pwr.htm">deriving power from the Motor A port</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 border="0" width="1" src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=1590598180" height="1" style="margin: 0px; border: medium none" /> 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 border="0" src="http://www.brickengineer.com/pages/pics/books/extreme-nxt.jpg" /></a><img border="0" width="1" src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=1590598180" height="1" style="margin: 0px; border: medium none" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2008/04/05/hacking-the-lego-mindstorms-nxt-standard-motor/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Hacking the LEGO Mindstorms NXT Light Sensor</title>
		<link>http://www.brickengineer.com/pages/2008/04/05/hacking-the-lego-mindstorms-nxt-light-sensor/</link>
		<comments>http://www.brickengineer.com/pages/2008/04/05/hacking-the-lego-mindstorms-nxt-light-sensor/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 13:59:13 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO Electronics]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[sensor]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/2008/04/05/hacking-the-lego-mindstorms-nxt-light-sensor/</guid>
		<description><![CDATA[We are working on interfacing the LEGO sensors and motors to a compact lightweight computer for more sophisticated control.  Aret Carlsen brings us a video demonstrating how one can hack into the NXT Light Sensor: Additional details can be found in the excellent book Extreme NXT: Extending the LEGO MINDSTORMS NXT to the Next Level [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>We are working on interfacing the LEGO sensors and motors to a compact lightweight computer for more sophisticated control.  Aret Carlsen brings us a video demonstrating how one can hack into the NXT Light Sensor:</p>
<p><object width="350" height="292"><param name="movie" value="http://www.youtube.com/v/H7YjkqnqaY0&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/H7YjkqnqaY0&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="350" height="292"></embed></object></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 border="0" width="1" src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=1590598180" height="1" style="margin: 0px; border: medium none" /> 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 border="0" src="http://www.brickengineer.com/pages/pics/books/extreme-nxt.jpg" /></a><img border="0" width="1" src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=1590598180" height="1" style="margin: 0px; border: medium none" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2008/04/05/hacking-the-lego-mindstorms-nxt-light-sensor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
