<?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; Electronics</title>
	<atom:link href="http://www.brickengineer.com/pages/tag/electronics/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>DIY Arduino Circuit</title>
		<link>http://www.brickengineer.com/pages/2012/01/04/diy-arduino-circuit/</link>
		<comments>http://www.brickengineer.com/pages/2012/01/04/diy-arduino-circuit/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 21:24:12 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[ATMega328]]></category>
		<category><![CDATA[circuit]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[Jameco]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[microcontrollers]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[NXT]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=271</guid>
		<description><![CDATA[Jameco.com has an interesting article on how to build your own Arduino microcontroller circuit. The circuit relies on an ATMega328 microcontroller, and since it requires only component parts it is cheaper and has a potentially smaller footprint than the popular Arduino Boards. We have started using Arduino microcontrollers to directly control the LEGO Motors (9842), [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Jameco.com has an <a href="http://www.jameco.com/Jameco/workshop/JamecoBuilds/arduinoCircuit.html" title="Jameco Article">interesting article</a> on how to build your own Arduino microcontroller circuit.  </p>
<p><a href="http://www.brickengineer.com/pages/wp-content/uploads/2012/01/arduinoboard.jpg"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2012/01/arduinoboard.jpg" alt="Image of a circuit board" title="Jameco&#039;s DIY Arduino Board" width="300" height="185" class="alignnone size-full wp-image-275" /></a></p>
<p>The circuit relies on an ATMega328 microcontroller, and since it requires only component parts it is cheaper and has a potentially smaller footprint than the popular <a href="http://www.amazon.com/gp/product/B0051QHPJM/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B0051QHPJM">Arduino Boards</a><img src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&#038;l=as2&#038;o=1&#038;a=B0051QHPJM" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />.</p>
<p>We have started using Arduino microcontrollers to directly control the <a href="http://www.amazon.com/gp/product/B003BCCYSK/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B003BCCYSK">LEGO Motors (9842)</a><img src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&#038;l=as2&#038;o=1&#038;a=B003BCCYSK" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />, and expect to post on this sometime in the near future.  In the meantime check out posts on LEGO NXT motor control:<br />
<a href="http://www.brickengineer.com/pages/2008/09/05/lego-nxt-motor-wiring/" title="LEGO NXT Motor Wiring"><br />
LEGO NXT Motor Wiring</a><br />
<a href="http://www.brickengineer.com/pages/2008/04/05/hacking-the-lego-mindstorms-nxt-standard-motor/" title="Hacking the LEGO Mindstorms NXT Standard Motor">Hacking the LEGO Mindstorms NXT Standard Motor</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2012/01/04/diy-arduino-circuit/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>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>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>
		<item>
		<title>Storing your LEGO Collection</title>
		<link>http://www.brickengineer.com/pages/2007/10/09/storing-your-lego-collection/</link>
		<comments>http://www.brickengineer.com/pages/2007/10/09/storing-your-lego-collection/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 05:46:16 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Collecting]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[construction]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[parts]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[toys]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/2007/10/09/storing-your-lego-collection/</guid>
		<description><![CDATA[It can be very difficult to figure out exactly how to store one&#8217;s LEGO parts. This depends greatly on the extent of your collection, and how mobile it needs to be. Below I offer a wide array of suggestions ranging from the size of one NXT set through tens of NXT sets with thousands of [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>It can be very difficult to figure out exactly how to store one&#8217;s LEGO parts. This depends greatly on the extent of your collection, and how mobile it needs to be. Below I offer a wide array of suggestions ranging from the size of one NXT set through tens of NXT sets with thousands of dollars of extra parts. Here I will review the solutions that I have found useful, and at the end I will provide a detailed description of my particular storage strategy.</p>
<hr /><strong>Utility Boxes with Compartments</strong><br />
Clear plastic utility boxes with adjustable compartments are excellent for storing LEGO parts, keeping them separated, and making sure that they are accessible. I have found the products manufactured by <a href="http://www.planomolding.com/">Plano Molding Company</a> to be especially useful. The <a href="http://www.amazon.com/gp/product/B000E3C3OE/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399369&#038;creativeASIN=B000E3C3OE">Plano Prolatch with Adjustable Dividers</a><img src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&#038;l=as2&#038;o=1&#038;a=B000E3C3OE&#038;camp=217145&#038;creative=399369" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><br />
 is secure and allows one to carry the box around without fear of accidental opening. These utility boxes are also included in the larger <a href="http://www.amazon.com/gp/product/B000E3FKTE/ref=as_li_tf_tl?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399369&#038;creativeASIN=B000E3FKTE">Plano Tackle Boxes</a><img src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&#038;l=as2&#038;o=1&#038;a=B000E3FKTE&#038;camp=217145&#038;creative=399369" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />, which provides an excellent means of both storage and transport.The new Custom Divider Systems (CDS) give you a great many ways to divide each box into bins with the greatest versatility. The other divider systems work well, but this is a nice option.</p>
<table>
<tr>
<td><strong>Small Box</strong><br />
<a href="http://www.amazon.com/gp/product/B0000BY57Y?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B0000BY57Y">Plano No. 2-3500-20</a><br />
9-1/8&#8243; Wide. x 1-1/4&#8243; High x 5&#8243; Deep<br />
Up to 9 adjustable compartments<br />
<a B0000BY57Y?ie="UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B0000BY57Y" src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=B0000BY57Y" width="1" height="1" border="0" href="http://www.amazon.com/gp/product/B0000BY57Y?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B0000BY57Y" style="margin: 0px; border: medium none">Order from Amazon.com</a><br />
These fit into the <a href="http://www.amazon.com/gp/product/B000OES590/ref=as_li_tf_tl?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399369&#038;creativeASIN=B000OES590">Plano 1354 Tackle Box</a><img src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&#038;l=as2&#038;o=1&#038;a=B000OES590&#038;camp=217145&#038;creative=399369" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><br />
 below</td>
<td><a href="http://www.amazon.com/gp/product/B0000BY57Y?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B0000BY57Y"><img width="175" src="http://brickengineer.com/pages/pics/collecting/3500.jpg" height="175" /></a></td>
</tr>
</table>
<table>
<tr>
<td><strong>Medium Box<br />
Plano No. 2-3650-20</strong><br />
11&#8243; Wide x 1-3/4&#8243; High x 7-1/4&#8243; Deep<br />
Up to 18 adjustable compartments<br />
These fit into the Plano 1364 Tackle Box below</td>
<td><img width="175" src="http://brickengineer.com/pages/pics/collecting/3650.jpg" height="175" /></td>
</tr>
</table>
<table>
<tr>
<td><strong>Large Box<br />
Plano No. 2-3750-20</strong><br />
14&#8243; Wide x 2&#8243; High x 9-1/4&#8243; Deep<br />
Up to 20 adjustable compartments<br />
These fit into the Plano 1374 Tackle Box below</td>
<td><img width="175" src="http://brickengineer.com/pages/pics/collecting/3750.jpg" height="175" /></td>
</tr>
</table>
<hr /><strong>Tackle Boxes</strong><br />
Plano tackle boxes are designed to hold multiple (typically four) utility boxes above. This provides for a readily mobile storage solution. Your LEGO collection can be carried from your home, to the lab, a friend&#8217;s house, or into the field at a moment&#8217;s notice. Here is a photo of my Plano 1364 Tackle Box that I use for most of my construction needs.</p>
<table>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000E3C3LC?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000E3C3LC">Plano 1354 Tackle Box (3500 size) </a><br />
I have found that the 1354 Tackle Box is a bit on the small side for even the smallest collections. You will be surprised at how many distinct kinds of Lego parts there are, when you find that they will never fit into the 9&#215;4 compartments. However, this tackle box can hold 4 utility boxes, and you often can put an additional box in the top compartment.<br />
<a href="http://www.amazon.com/gp/product/B000E3C3LC?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000E3C3LC">Order at Amazon.com</a></td>
<td><a href="http://www.amazon.com/gp/product/B000E3C3LC?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000E3C3LC"><img width="200" src="http://brickengineer.com/pages/pics/collecting/1354.jpg" height="230" /></a></td>
</tr>
</table>
<table>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000E3FKTE?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000E3FKTE"><strong>Plano 1364 Tackle Box (3650 size) </strong></a><br />
This is a really nice size for a tackle box. I can easily store at least two NXT sets in this tackle box as well as many extra parts. Four <a href="http://www.amazon.com/gp/product/B000E3C3O4/ref=as_li_tf_tl?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399369&#038;creativeASIN=B000E3C3O4">Plano ProLatch 3650 stowaway boxes</a><img src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&#038;l=as2&#038;o=1&#038;a=B000E3C3O4&#038;camp=217145&#038;creative=399369" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><br />
 fit in the tray resulting in 4&#215;18 = 72 compartments. I also manage to keep an additional 3650 box in the top of the tackle box. I can often work with just this subset of my collection. In addition, it makes travel easy.<br />
<a href="http://www.amazon.com/gp/product/B000E3FKTE?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000E3FKTE">Plano 1364 Tackle Box at Amazon.com</a></td>
<td><a href="http://www.amazon.com/gp/product/B000E3FKTE?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000E3FKTE"><img width="200" src="http://brickengineer.com/pages/pics/collecting/1364.jpg" height="226" /></a></td>
</tr>
</table>
<table>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000E3FKTO?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000E3FKTO"><strong>Plano 1374 Tackle Box (3750 size) </strong></a><br />
This tackle box can hold a large number of parts. The top bulk storage compartment is sufficiently large and deep to actually hold smaller robots! The 3750 size utility boxes are very spacious, and this tackle box comes with one of the newer Custom Divider System (CDS) utility boxes, and one flip-sider, which is good for fishing tackle, but not so useful for LEGO parts. For this reason, you may need to buy an extra 3750 box to replace the flip-sider. And you may want an extra 3750 to fit in the top compartment.<br />
<a href="http://www.amazon.com/gp/product/B000E3FKTO?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000E3FKTO">Plano 1374 Tackle Box at Amazon.com</a></td>
<td><a href="http://www.amazon.com/gp/product/B000E3FKTO?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000E3FKTO"><img width="225" src="http://brickengineer.com/pages/pics/collecting/1374.jpg" height="225" /></a></td>
</tr>
</table>
<hr /><strong>Compartmentalized Storage</strong><br />
For a more extensive LEGO collection, one may require more storage space for small parts, such as pins, axles, etc. Akro-Mills makes some very nice organizers with a large number of small drawers.</p>
<table>
<tr>
<td><strong><a href="http://www.amazon.com/gp/product/B00012FQEM/ref=as_li_tf_tl?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399369&#038;creativeASIN=B00012FQEM">Akro-Mills 10724 24 Drawer Storage</a><img src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&#038;l=as2&#038;o=1&#038;a=B00012FQEM&#038;camp=217145&#038;creative=399369" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><br />
</strong><br />
This organizer can hold a healthy supply of small LEGO parts. The organizer comes with partitions that can be inserted into the drawers allowing one to keep more parts.Overall Size: W=20&#8243; H=15.81&#8243; D=6.38&#8243; (inches)<br />
Drawer Size: 4.25&#8243; W x 5.25&#8243; D x 2.0&#8243; HI have three of these. One holds all of my pins and connectors. The second holds all of my axles and axle connectors, and the third holds all of my gears.</td>
<td><img width="225" src="http://brickengineer.com/pages/pics/collecting/ak10124.gif" height="225" /></td>
</tr>
</table>
<table>
<tr>
<td><strong>Akro-Mills 10124-2 44 Drawer Storage</strong><br />
This organizer can hold a healthy supply of small LEGO parts. The organizer comes with partitions that can be inserted into the drawers allowing one to keep more parts.Overall Size: W=20&#8243; H=15.81&#8243; D=6.38&#8243; (inches)<br />
Large Drawers: 4.38&#8243; W x 5.25&#8243; D x 2.0&#8243; H<br />
Small Drawers: 2.13&#8243; W x 5.25&#8243; D x 1.50&#8243; H</td>
<td><img width="225" src="http://brickengineer.com/pages/pics/collecting/ak10744.gif" height="225" /></td>
</tr>
</table>
<table>
<tr>
<td><strong><a href="http://www.amazon.com/gp/product/B000VTSOKS/ref=as_li_tf_tl?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399369&#038;creativeASIN=B000VTSOKS">Akro-Mils 10764 64-Drawer Storage</a><img src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&#038;l=as2&#038;o=1&#038;a=B000VTSOKS&#038;camp=217145&#038;creative=399369" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><br />
</strong><br />
This organizer can hold many small LEGO parts. The organizer comes with partitions that can be inserted into the drawers allowing one to keep even more parts.Overall Size: W=20&#8243; H=15.81&#8243; D=6.38&#8243; (inches)<br />
Small Drawers: 2.13&#8243; W x 5.25&#8243; D x 1.50&#8243; H</td>
<td><img width="225" src="http://brickengineer.com/pages/pics/collecting/ak10764b.gif" height="225" /></td>
</tr>
</table>
<hr /><strong>Large Storage Bins with Drawers</strong><br />
The larger collections require more extensive storage. Storage bins with drawers are excellent for storing large numbers of bricks of many colors and types. Stackable bins with drawers facilitate organization and access, although they require a good bit of space&#8230; or rather, your collection does!</p>
<table>
<tr>
<td><strong>Three Drawer Organizer </strong><br />
I have found the Sterilite ClearView™ Wide Three Drawer Organizer 2093 to work very well. Its dimensions are suffciently large to hold a large number of brick. Or one could make partitions (they do not come with the drawer) to store a wide array of parts in a single drawer. At this point, I use 20 of these to store my bricks, plates, liftarms, wheels, and specialized NXT parts. The clear drawers make it easy to see what is inside, and one can easily afix large easy-to-read labels.The dimensions of the three drawer organizer is:<br />
14 5/8&#8243; L x 14 1/2&#8243; W x 10 5/8&#8243; H.</td>
<td><img width="245" src="http://brickengineer.com/pages/pics/collecting/2093.jpg" height="195" /></td>
</tr>
</table>
<hr /><strong>Large Mobile Storage</strong><br />
My lab requires that a large proportion of my parts be easily transported. The best solution that I have found for this is the mobile toolbox together with a healthy set of Plano Utility Boxes (above). I was surprised to find that there is not the diversity in toolbox designs that I expected. I finally settled on the<br />
<a href="http://www.amazon.com/gp/product/B000Q5KXY2?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000Q5KXY2">Stanley Consumer Storage 033023R Pro Mobile Tool Chest.</a></p>
<table>
<tr>
<td>This tool chest when packed full holds:<br />
4 large Plano 3750 compartment boxes<br />
3 medium Plano 3650 compartment boxes<br />
6 small Plano 3500 compartment boxesThis is in addition to the large top tray that can hold Mindstorm NXT bricks, a great deal of cabling, and other tools that you might need.The tool chest has a handle and wheels, which makes for easy transportation.<br />
<a href="http://www.amazon.com/gp/product/B000Q5KXY2?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000Q5KXY2">Order from Amazon.com here. </a></td>
<td><a href="http://www.amazon.com/gp/product/B000Q5KXY2?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000Q5KXY2"><img width="250" src="http://brickengineer.com/pages/pics/collecting/stanley.jpg" height="250" /></a></td>
</tr>
</table>
<p>See the more recent posts: <a href="http://www.brickengineer.com/pages/2011/07/26/colorful-lego-storage-ideas/">COLORFUL LEGO STORAGE IDEAS</a> and <a href="http://www.brickengineer.com/pages/2012/02/09/new-lego-storage-opportunities/" title="NEW LEGO Storage Opportunities" target="_blank">New LEGO STORAGE OPPORTUNITIES</a> for more ideas.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2007/10/09/storing-your-lego-collection/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
