<?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; Hacking</title>
	<atom:link href="http://www.brickengineer.com/pages/category/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brickengineer.com/pages</link>
	<description>LEGO Engineering for LEGO NXT and Robot Enthusiasts</description>
	<lastBuildDate>Sun, 08 Jan 2012 05:53:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>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>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: - A stripped NXT cable - A potentiometer with a maximum resistance [...]]]></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 />
- A stripped NXT cable<br />
- 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 />
- A small piece of wire<br />
- 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>Danny &#8211; NXT Matlab Bluetooth Router</title>
		<link>http://www.brickengineer.com/pages/2009/02/16/danny-nxt-matlab-bluetooth-router/</link>
		<comments>http://www.brickengineer.com/pages/2009/02/16/danny-nxt-matlab-bluetooth-router/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 05:56:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[starting]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=79</guid>
		<description><![CDATA[Daniele Benedettelli introduces a MATLAB-based NXC Bluetooth Router. This router relies on connecting a master NXT Brick to a computer via USB. This master NXT Brick then can communicate messages to up to three additional slave NXT Bricks up to a distance of 10 meters from the master. This software would allow one to create [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://robotics.benedettelli.com" target="_blank">Daniele Benedettelli</a> introduces a <a href="http://robotics.benedettelli.com/BT_router.htm" target="_blank">MATLAB-based NXC Bluetooth Router</a>.  This router relies on connecting a master NXT Brick to a computer via USB.  This master NXT Brick then can communicate messages to up to three additional slave NXT Bricks up to a distance of 10 meters from the master.  This software would allow one to create small swarms of up to three LEGO robots, which is a nice starting point for investigating distributed robotic systems.</p>
<div id="attachment_80" class="wp-caption alignleft" style="width: 310px"><img class="size-full wp-image-80" title="MATLAB NXT Bluetooth Router" src="http://www.brickengineer.com/pages/wp-content/uploads/2009/02/bluetooth-router.jpg" alt="MATLAB NXT Bluetooth Router" width="300" height="400" /><p class="wp-caption-text">MATLAB NXT Bluetooth Router</p></div>
<p>The system relies on the <a href="http://www.mindstorms.rwth-aachen.de/" target="_blank">RWTH &#8211; MINDSTORMS NXT Toolbox</a>, the <a href="http://mindstorms.lego.com/support/updates/" target="_blank">NXT Fantom Library</a>, and <a href="http://bricxcc.sourceforge.net/lms_arm_jch.zip" target="_blank">John Hansen&#8217;s enhanced firmware</a>.  The brick software is written in <a href="http://bricxcc.sourceforge.net/nbc/" target="_blank">Not eXactly C (NXC)</a>, which requires <a href="http://bricxcc.sourceforge.net/nbc/" target="_blank">Brick CC 3.3</a>.</p>
<p><a href="http://robotics.benedettelli.com" target="_blank">Daniele Benedettelli</a> also has a book published titled <a href="http://www.amazon.com/gp/product/1590599667?ie=UTF8&amp;tag=onlicort-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1590599667">Creating Cool MINDSTORMS NXT Robots (Technology in Action)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&amp;l=as2&amp;o=1&amp;a=1590599667" border="0" alt="" width="1" height="1" /></p>
<p><iframe src="http://rcm.amazon.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=1590599667&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2009/02/16/danny-nxt-matlab-bluetooth-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Infrared-Ultrasonic Beacons for Localization</title>
		<link>http://www.brickengineer.com/pages/2009/02/16/infrared-ultrasonic-beacons-for-localization/</link>
		<comments>http://www.brickengineer.com/pages/2009/02/16/infrared-ultrasonic-beacons-for-localization/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 05:38:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Findings]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[beacon]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[kalman]]></category>
		<category><![CDATA[LabVIEW]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[localization]]></category>
		<category><![CDATA[microcontrollers]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[spatial]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=75</guid>
		<description><![CDATA[An article at NXTasy.org highlights a three-wheeled robot that moves in one dimension and detects signals from an external beacon that emits ultrasonic bursts.  The robot relies on a microcontroller that runs a Kalman filter to perform and maintain spatial localization.  The NXT software is implemented using the LabVIEW NXT toolkit Details on the project [...]]]></description>
			<content:encoded><![CDATA[<p>An <a href="http://nxtasy.org/2009/01/25/1d-navigation-using-a-scalar-kalman-filter/" target="_blank">article at NXTasy.org</a> highlights a three-wheeled robot that moves in one dimension and detects signals from an external beacon that emits ultrasonic bursts.  The robot relies on a microcontroller that runs a <a href="http://en.wikipedia.org/wiki/Kalman_filter" target="_blank">Kalman filter</a> to perform and maintain spatial localization.  The NXT software is implemented using the LabVIEW NXT toolkit</p>
<div id="attachment_76" class="wp-caption alignleft" style="width: 321px"><img class="size-full wp-image-76" title="NXT Reciever with Kalman Filter " src="http://www.brickengineer.com/pages/wp-content/uploads/2009/02/nxt_receiver.png" alt="NXT Reciever with Kalman Filter " width="311" height="261" /><p class="wp-caption-text">NXT Reciever with Kalman Filter </p></div>
<p>Details on the project can be found at <a href="http://www.convict.lu/htm/rob/ir_us.htm#Kalman" target="_blank">http://www.convict.lu/htm/rob/ir_us.htm#Kalman</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2009/02/16/infrared-ultrasonic-beacons-for-localization/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>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO Electronics]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[motor]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[wire]]></category>
		<category><![CDATA[wiring]]></category>

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

