<?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; NXT</title>
	<atom:link href="http://www.brickengineer.com/pages/tag/nxt/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>Arduino NXT Motor Shield</title>
		<link>http://www.brickengineer.com/pages/2013/02/02/arduino-nxt-motor-shield/</link>
		<comments>http://www.brickengineer.com/pages/2013/02/02/arduino-nxt-motor-shield/#comments</comments>
		<pubDate>Sun, 03 Feb 2013 02:02:12 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[Arduino shield]]></category>
		<category><![CDATA[kit]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[NXT motor]]></category>
		<category><![CDATA[NXT motor shield]]></category>
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=461</guid>
		<description><![CDATA[TKJ Electronics has released a LEGO NXT Servo Motor shield for the Arduino . This shield can interface with up to two NXT motors as well as the ultrasonic rangefinder. In addition to controlling motor speeds via pulse-width modulation, the shield reads the motor&#8217;s encoders so that it knows the position of the motor with [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.tkjelectronics.dk/" title="TJK Electronics" target="_blank">TKJ Electronics</a> has released a <a href="http://www.amazon.com/gp/product/B003BCCYSK/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B003BCCYSK&#038;linkCode=as2&#038;tag=onlicort-20">LEGO NXT Servo Motor </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;" /><br />
 shield for the <a href="http://www.amazon.com/gp/product/B006H06TVG/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B006H06TVG&#038;linkCode=as2&#038;tag=onlicort-20">Arduino</a><img src="http://www.assoc-amazon.com/e/ir?t=onlicort-20&#038;l=as2&#038;o=1&#038;a=B006H06TVG" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><br />
.  This shield can interface with up to two <a href="http://www.amazon.com/gp/product/B003BCCYSK/ref=as_li_qf_sp_asin_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B003BCCYSK&#038;linkCode=as2&#038;tag=onlicort-20">NXT motors </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;" /> as well as the ultrasonic rangefinder.  In addition to controlling motor speeds via pulse-width modulation, the shield reads the motor&#8217;s encoders so that it knows the position of the motor with a precision of 1 degree.</p>
<div id="attachment_464" style="width: 310px" class="wp-caption alignleft"><a href="http://www.brickengineer.com/pages/wp-content/uploads/2013/02/NXT-motor-shield1.jpg"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2013/02/NXT-motor-shield1.jpg" alt="NXT Motor Shield" width="300" height="261" class="size-full wp-image-464" /></a><p class="wp-caption-text">NXT Motor Shield for Arduino available from TJK Electronics</p></div>
<p>The NXT Motor Shield is discussed in the <a href="http://blog.tkjelectronics.dk/2011/06/nxt-motor-shield/" title="TJK Electronics Blog Entry on the NXT Moor Shield" target="_blank">TJK Electronics Blog</a>.<br />
The NXT Motor Shield kit can be purchased at the <a href="http://shop.tkjelectronics.dk/product_info.php?products_id=29" title="TJK Electronics Store" target="_blank">TJK Electronics Store</a>.</p>
<p>Extra NXT motors and Arduino units can be found here:</p>
<table>
<tr>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=B003BCCYSK&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=B006H06TVG&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=B001VK18HC&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
</tr>
<tr>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=B0051QHPJM&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=0262182629&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=B0029N70WM&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
</tr>
<tr>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=B006UTE70E&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=0071784225&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td>
<iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=1449313876&#038;ref=qf_sp_asin_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_top&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2013/02/02/arduino-nxt-motor-shield/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KnuthLab LEGO Exploration Rover Featured on Japan&#8217;s NHK World Network</title>
		<link>http://www.brickengineer.com/pages/2012/10/04/knuthlab-lego-exploration-rover-featured-on-japans-nhk-world-network/</link>
		<comments>http://www.brickengineer.com/pages/2012/10/04/knuthlab-lego-exploration-rover-featured-on-japans-nhk-world-network/#comments</comments>
		<pubDate>Thu, 04 Oct 2012 07:01:42 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[Curiosity]]></category>
		<category><![CDATA[cyberphysics]]></category>
		<category><![CDATA[Japan]]></category>
		<category><![CDATA[Japanese]]></category>
		<category><![CDATA[Knuth]]></category>
		<category><![CDATA[laboratory]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[Mars]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[NASA]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[rersearch]]></category>
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=433</guid>
		<description><![CDATA[The Knuth Cyberphysics Laboratory focuses on studying the fundamental physics governing the processes of information-driven systems. At present we are focused on two research projects. The first, which is funded by a NASA SBIR grant, aims to develop Bayesian vision-based navigation systems for future NASA missions. The second, which has been funded by NASA in [&#8230;]]]></description>
				<content:encoded><![CDATA[<div id="attachment_434" style="width: 390px" class="wp-caption alignleft"><a href="http://www.brickengineer.com/pages/wp-content/uploads/2012/10/KnuthLab-Exploration-Rover-on-NHK-WorldNet.jpg"><img src="http://www.brickengineer.com/pages/wp-content/uploads/2012/10/KnuthLab-Exploration-Rover-on-NHK-WorldNet-300x168.jpg" alt="KnuthLab Exploration Rover Featured on NHK WorldNet" title="KnuthLab Exploration Rover Featured on NHK WorldNet" width="380" height="230" class="size-medium wp-image-434" /></a><p class="wp-caption-text">KnuthLab Exploration Rover Featured on NHK WorldNet</p></div>
<p>The <a href="http://cyberphysics.rit.albany.edu/" title="Knuth Cyberphysics Laboratory" target="_blank">Knuth Cyberphysics Laboratory</a> focuses on studying the fundamental physics governing the processes of information-driven systems. </p>
<p>At present we are focused on two research projects.  The first, which is funded by a NASA SBIR grant, aims to develop Bayesian vision-based navigation systems for future NASA missions.  The second, which has been funded by NASA in the past, is focused on developing intelligent instrumentation in the forms of science platforms that can autonomously decide on and perform their own experiments.  Both projects, which are focused mainly machine learning software, rely on robotic platforms that we construct out of LEGOs.  LEGO bricks are prefabricated plastic parts that can be assembled and disassembled in a matter of hours.  We have found them to be quite versatile and capable, as well as being inexpensive.</p>
<p>On Wednesday Sept. 12, 2012, the Knuth Cyberphysics Lab at the University at Albany was visited by a television crew from NHK<br />
World Network (Japan Broadcasting Corp.).  They were working on a piece focused on the Mars Curiosity rover and were interested how NASA missions fostered creativity in robotics.  In our lab, they were specifically interested in the fact that we used LEGO robots to test software for funded NASA projects.  The program aired in Japan on Sept 15, 2012.</p>
<p>Here is a link to the <a href="http://www.nhk.or.jp/worldnet/archives/year/detail20120915_202.html" title="NHK WorldNet" target="_blank">show&#8217;s website</a>.<br />
<a href="http://www.nhk.or.jp/worldnet/archives/year/detail20120915_202.html" title="NHK WorldNet Link" target="_blank">http://www.nhk.or.jp/worldnet/archives/year/detail20120915_202.html</a></p>
<p>Here is the photo caption from the website:<br />
ＮＡＳＡは自由な発想で宇宙開発に挑むために、<br />
あるユニークな方法を取り入れている。その方法とは、おもちゃにもなっているブロック。次世代の探査機を研究しているチームでは、ブロックを使いながら設計予想図のイメージを共有し、問題点を洗い出している。何度も手軽に作り直すことができ、自由な発想を形にしやすいのがブロックの強みだ。キュリオシティの開発でもブロックを使って検討作業を行った。研究開発の担当者は「ブロックを使うと、いいアイディアかそうでないかはすぐにわかるので方針転換も早くなる」と話す。</p>
<p>The Bing translation is:<br />
Incorporating a unique way for free thinkers NASA challenge space development. How is block have become toys. Share the anticipated blueprint image team studies the next-generation spacecraft, while using the block and identify the problem. Easily can be recreated many times, easy and free thinking-is an advantage of the block. Using the block curiosity Inc. developed and went on. Research and development professionals &#8220;using blocks, a good idea? so readily detect if it isn&#8217;t policy change even faster&#8221; and speak.</p>
<p>The Knuth Cyberphysics Lab website can be found at:<br />
<a href="http://cyberphysics.rit.albany.edu/" title="Knuth Cyberphysics Laboratory" target="_blank">http://cyberphysics.rit.albany.edu/</a><br />
and<br />
<a href="http://knuthlab.rit.albany.edu/" title="KnuthLab Research" target="_blank">http://knuthlab.rit.albany.edu/</a></p>
<p>Learn more by checking out this related post&#8221;<br />
<a href="http://www.brickengineer.com/pages/2012/01/06/knuthlab-lego-exploration-rover/" title="KnuthLab LEGO Exploration Rover" target="_blank">http://www.brickengineer.com/pages/2012/01/06/knuthlab-lego-exploration-rover/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2012/10/04/knuthlab-lego-exploration-rover-featured-on-japans-nhk-world-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mars Curiosity Rover Made Entirely of LEGOs</title>
		<link>http://www.brickengineer.com/pages/2012/08/23/mars-curiosity-rover-made-entirely-of-legos/</link>
		<comments>http://www.brickengineer.com/pages/2012/08/23/mars-curiosity-rover-made-entirely-of-legos/#comments</comments>
		<pubDate>Thu, 23 Aug 2012 15:55:50 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[LEGO Engineering]]></category>
		<category><![CDATA[NASA]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[Curiosity]]></category>
		<category><![CDATA[Curiosity Rover]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[LEGO NXT]]></category>
		<category><![CDATA[LEGO robot]]></category>
		<category><![CDATA[LEGO robotics]]></category>
		<category><![CDATA[Mars]]></category>
		<category><![CDATA[Mars rover]]></category>
		<category><![CDATA[Mars Science Laboratory]]></category>
		<category><![CDATA[MSL]]></category>
		<category><![CDATA[NASA rover]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[robot]]></category>

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

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

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=259</guid>
		<description><![CDATA[Tenfire.com has a list of this year&#8217;s LEGO best sellers. They are: 1. LEGO Star Wars Obi-Wan’s Jedi Starfighter (10215) 2. LEGO Cars Big Bentley (5828) 3. LEGO Star Wars Snow Trooper Army Pack (8084) 4. LEGO Mindstorms NXT 2.0 (8547) 5. LEGO Star Wars Clone Trooper Battle Pack (7913) 6. LEGO City Police Helicopter [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.tenfire.com/2011/12/16/top-ten-lego-best-sellers-2011/" title="Top Ten LEGO Best Sellers in 2011" target="_blank">Tenfire.com</a> has a <a href="http://www.tenfire.com/2011/12/16/top-ten-lego-best-sellers-2011/" title="Top Ten LEGO Best Sellers in 2011" target="_blank">list</a> of this year&#8217;s LEGO best sellers.</p>
<p>They are:<br />
1. <a href="http://www.amazon.com/gp/product/B0044S1O2C/ref=as_li_tf_il?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B0044S1O2C" title="LEGO Star Wars Obi-Wan’s Jedi Starfighter (10215)">LEGO Star Wars Obi-Wan’s Jedi Starfighter (10215)</a><br />
2. <a href="http://www.amazon.com/gp/product/B004P5O3VI/ref=as_li_tf_il?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B004P5O3VI" title="LEGO Cars Big Bentley (5828)">LEGO Cars Big Bentley (5828)</a><br />
3. <a href="http://www.amazon.com/gp/product/B002RL7W9W/ref=as_li_tf_il?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B002RL7W9W" title="LEGO Star Wars Snow Trooper Army Pack (8084)">LEGO Star Wars Snow Trooper Army Pack (8084)</a><br />
4. <a href="http://www.amazon.com/gp/product/B001USHRYI/ref=as_li_tf_il?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B001USHRYI" title="LEGO Mindstorms NXT 2.0 (8547)">LEGO Mindstorms NXT 2.0 (8547)</a><br />
5. <a href="http://www.amazon.com/gp/product/B004478GMY/ref=as_li_tf_il?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B004478GMY" title="LEGO Star Wars Clone Trooper Battle Pack (7913)">LEGO Star Wars Clone Trooper Battle Pack (7913)</a><br />
6. <a href="http://www.amazon.com/gp/product/B000WNUU6Y/ref=as_li_tf_il?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B000WNUU6Y" title="LEGO City Police Helicopter (7741)">LEGO City Police Helicopter (7741)</a><br />
7. <a href="http://www.amazon.com/gp/product/B00030EP12/ref=as_li_tf_il?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B00030EP12" title="LEGO City Fire Truck (7239)">LEGO City Fire Truck (7239)</a><br />
8. <a href="http://www.amazon.com/gp/product/B00000JIVS/ref=as_li_tf_il?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B00000JIVS" title="LEGO Green Building Plate (10? x 10?)">LEGO Green Building Plate (10? x 10?)</a><br />
9. <a href="http://www.amazon.com/gp/product/B003CZ7210/ref=as_li_tf_il?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B003CZ7210" title="LEGO Harry Potter Quidditch Match (4737)">LEGO Harry Potter Quidditch Match (4737)</a><br />
10. <a href="http://www.amazon.com/gp/product/B003U4A12U/ref=as_li_tf_il?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B003U4A12U" title="LEGO Architecture White House (21006)">LEGO Architecture White House (21006)</a><br />
11. <a href="http://www.amazon.com/gp/product/B004OT8HJO/ref=as_li_tf_il?ie=UTF8&#038;tag=onlicort-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B004OT8HJO" title="LEGO Star Wars Millennium Falcon (7965) – 2011 Release">Lego Star Wars Millennium Falcon (7965) – 2011 Release</a><br />
&nbsp;</p>
<p><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_4c139508-99d6-4e01-9d33-da0820b6db00"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&#038;ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fonlicort-20%2F8010%2F4c139508-99d6-4e01-9d33-da0820b6db00&#038;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&#038;ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fonlicort-20%2F8010%2F4c139508-99d6-4e01-9d33-da0820b6db00&#038;Operation=GetDisplayTemplate" id="Player_4c139508-99d6-4e01-9d33-da0820b6db00" quality="high" bgcolor="#ffffff" name="Player_4c139508-99d6-4e01-9d33-da0820b6db00" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&#038;ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fonlicort-20%2F8010%2F4c139508-99d6-4e01-9d33-da0820b6db00&#038;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT></p>
<p>&nbsp;</p>
<p><iframe src="http://rcm-na.amazon-adsystem.com/e/cm?t=onlicort-20&#038;o=1&#038;p=12&#038;l=ur1&#038;category=toysandgames&#038;banner=0BFQ7S4RVFG1W6FGFG02&#038;f=ifr" width="300" height="250" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2012/01/04/2011-lego-best-sellers/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>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><![CDATA[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 [&#8230;]]]></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" style="width: 310px" class="wp-caption alignleft"><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><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Electronics]]></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 [&#8230;]]]></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" style="width: 321px" class="wp-caption alignleft"><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>MATLAB Packages for the NXT</title>
		<link>http://www.brickengineer.com/pages/2009/02/11/matlab-packages-for-the-nxt/</link>
		<comments>http://www.brickengineer.com/pages/2009/02/11/matlab-packages-for-the-nxt/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 07:10:14 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[LEGO mindstorms]]></category>
		<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[mindstorms]]></category>
		<category><![CDATA[NXT]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[starting]]></category>

		<guid isPermaLink="false">http://www.brickengineer.com/pages/?p=45</guid>
		<description><![CDATA[There are now several MATLAB packages for robotics, and specifically for the NXT.  One paradigm is to run the code on a PC and have it communicate direct commands to the NXT Brick via Bluetooth or USB.  I have found this paradigm to be a bit dangerous since in the event of a MATLAB crash [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>There are now several MATLAB packages for robotics, and specifically for the NXT.  One paradigm is to run the code on a PC and have it communicate direct commands to the NXT Brick via Bluetooth or USB.  I have found this paradigm to be a bit dangerous since in the event of a MATLAB crash or a miscommunication, the NXT Brick will continue with its last command until ordered to stop.  This has the potential to destroy your robot.  The paradigm that I prefer to use is to write several programs that run on the brick.  These programs take commands from files on the brick that can be uploaded rapidly from the PC.  The MATLAB code then is in charge of sending the command files and starting and stopping programs.  In the event of a MATLAB crash or communication failure, the software running on the NXT Brick can be designed to terminate gracefully.</p>
<p>Here are the MATLAB packages that I know of.  The first two are specifically geared toward the NXT; whereas the last is a general robotics package.</p>
<ul>
<li>LEGO MINDSTORMS NXT Toolkit for MATLAB and Simulink<br />
<a href="http://www.mathworks.com/programs/mindstorms/" target="_blank">http://www.mathworks.com/programs/mindstorms/</a></li>
<li>Robotics Toolbox for MATLAB (Release 7.1) (P.I. Corke)<br />
<a href="http://petercorke.com/Robotics%20Toolbox.html" target="_blank">http://petercorke.com/Robotics%20Toolbox.html</a></li>
<li>RWTH Mindstorms NXT Toolbox for Matlab<br />
<a href="http://www.mindstorms.rwth-aachen.de/" target="_blank">http://www.mindstorms.rwth-aachen.de/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.brickengineer.com/pages/2009/02/11/matlab-packages-for-the-nxt/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
