<?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>GadgetsReport.com &#187; Lego Mindstoms</title>
	<atom:link href="http://www.gadgetsreport.com/tag/lego-mindstoms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gadgetsreport.com</link>
	<description>Newest gadgets reviews</description>
	<lastBuildDate>Wed, 16 Jun 2010 14:01:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Lego Mindstorms for the programmer</title>
		<link>http://www.gadgetsreport.com/lego-mindstorms-for-the-programmer/</link>
		<comments>http://www.gadgetsreport.com/lego-mindstorms-for-the-programmer/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 16:17:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[fun gadgets]]></category>
		<category><![CDATA[educational]]></category>
		<category><![CDATA[Lego Mindstoms]]></category>

		<guid isPermaLink="false">http://www.gadgetsreport.com/?p=291</guid>
		<description><![CDATA[I just love playing Lego. I like to construct robots and machines. And I really like programming. I like to write programs and frameworks. And not so long ago I found a way to combine these two passions. Lego Mindstorms - a set that includes several motor, sensors and a programmable module that can read [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_294" class="wp-caption alignleft" style="width: 310px"><img class="size-full wp-image-294" title="Lego Mindstorms" src="http://www.gadgetsreport.com/wp-content/uploads/lego-mindstorms-bricks.jpg" alt="Lego Mindstorms" width="300" height="172" /><p class="wp-caption-text">Lego Mindstorms</p></div>
<p>I just love playing Lego. I like to construct <strong>robots </strong>and <strong>machines</strong>. And I really like <strong>programming</strong>. I like to write programs and frameworks. And not so long ago I found a way to combine these two passions. <span id="more-291"></span><strong>Lego Mindstorms </strong>- a set that includes <strong>several motor, sensors </strong>and a <strong>programmable module </strong>that can read information from sensors and control motors.</p>
<p>I will tell more about the Lego Mindstorms and the ways of programming in it.</p>
<p> </p>
<h1>The architecture</h1>
<ul>
<li><strong>sensors </strong>transmit information to the control module</li>
<li>the <strong>program </strong>running on the module processes information and sends control commands to the motors</li>
<li><strong>motors </strong>make the construction move</li>
</ul>
<h1>Sensors</h1>
<p>The standard Mindstorms 2.0 Invention System kit includes:</p>
<h3>Light sensor</h3>
<p>This sensor is able to do quite a lot. First, he knows how to read the current color and return its RGB-value. Secondly, he knows how to measure light level. Oh, and finally, he knows how to work as a flashlight.</p>
<h3>Two touch sensors</h3>
<ul>
<li>button pressed</li>
<li>button released</li>
<li>button bumped</li>
</ul>
<p>These sensors are able to register three events:</p>
<h3>Ultrasonic sensor</h3>
<p>This sensor can measure the distance between obstacles and itself. It is able to measure distances from 0 to 255 centimeters.</p>
<h1>Servo motors</h1>
<p>There are three motos in the kit. Each can rotate at a given angle (promised accuracy to one degree), as well as read the current rotation angle. The last feature will be really helpfull if the motor is fastened to the wheel controlled by user.</p>
<h1>Programmable module</h1>
<p>It’s a small computer. CPU at 48 MHz, 64 KB of RAM, 256 KB flash memory, USB 1.1 port and the bluetooth radio.</p>
<h1>Programs</h1>
<p>From here the fun begins. Along with the standard kit comes the program <strong>Mindstorms NXT</strong>. This is a graphic shell for <strong>writing simple programs</strong>. As for me it’s not very comfortable. Here, for example, is the <strong>screenshot </strong>of a program with a single loop and if:</p>
<div id="attachment_301" class="wp-caption alignnone" style="width: 410px"><img src="http://www.gadgetsreport.com/wp-content/uploads/lego-mindstorm-program.png" alt="Lego Mindstorm screenshot" title="Lego Mindstorm screenshot" width="400" height="382" class="size-full wp-image-301" /><p class="wp-caption-text">Lego Mindstorm screenshot</p></div>
<p>Fortunately, there are a number of projects, which allow writing programs on normal programming languages. For example “<strong>lejos</strong>”. Programs are written in <strong>Java</strong>, compiled into classes, and then translated into binary format, which is supported by patched control module.</p>
<p>Java is quite true: there are quite a lot of <strong>standard libraries</strong>, there are <strong>strings </strong>and even <strong>API </strong>to work with bluetooth. Moreover, there is a plugin for eclipse. In general, there is everything that a developer can dream of.</p>
<h1>A little more about sensors</h1>
<p>It’s great that <strong>third-party developers </strong>also produce sensors for Mindstorms. Search around the internet and you can find the <strong>accelerometer, compass, GPS</strong>-receiver, a <strong>thermometer</strong>, <strong>infrared sensor, RFID </strong>reader, and much more. Unfortunately, one programmable module can support no more than four sensors at a time. So for complex projects you need to use multiple modules working together.</p>
<h1>Summary</h1>
<p>Overall, Lego Mindstorms is a great way to spend time. I would highly reccoment it to you if you like Lego and want to feel like a mad professor.</p>
<img src="http://www.gadgetsreport.com/?ak_action=api_record_view&id=291&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.gadgetsreport.com/lego-mindstorms-for-the-programmer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
