<?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>Nxtbot.com &#187; Mindstorms programming</title>
	<atom:link href="http://nxtbot.com/blog/category/mindstorms-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://nxtbot.com/blog</link>
	<description>Covering the world of consumer and personal robotics</description>
	<lastBuildDate>Sat, 31 Oct 2009 22:03:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RCX Old School: Rolling Ball Clock</title>
		<link>http://nxtbot.com/blog/2006/08/16/rcx-old-school-rolling-ball-clock/</link>
		<comments>http://nxtbot.com/blog/2006/08/16/rcx-old-school-rolling-ball-clock/#comments</comments>
		<pubDate>Wed, 16 Aug 2006 15:07:57 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Mindstorms (1.0-2.0)]]></category>
		<category><![CDATA[Mindstorms programming]]></category>
		<category><![CDATA[RCX old school]]></category>

		<guid isPermaLink="false">http://nxtbot.com/blog/?p=133</guid>
		<description><![CDATA[
Exotic timepieces of all stripes have always fascinated me, from water-powered clocks to the massive type that serves as an integral part of building architecture. Rolling ball clocks have also piqued my interest, hence this post about Philippe (&#8220;Philo&#8221;) Hurbain&#8217;s RCX-powered rolling ball clock, based on an original design by Bob Kojima.
Powered by a single [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.philohome.com/kojima_clock/ball_clock.htm"><img align="top" src="http://nxtbot.com/blog/wp-content/uploads/2006/08/rcx-ball-clock.jpg" /></a></p>
<p>Exotic timepieces of all stripes have always fascinated me, from <a target="_blank" href="http://scientificsonline.com/product.asp?pn=3081982&#038;bhcd2=1155739333">water-powered clocks</a> to the <a target="_blank" href="http://en.wikipedia.org/wiki/Big_Ben">massive type</a> that serves as an integral part of building architecture. Rolling ball clocks have also piqued my interest, hence this post about Philippe (&#8220;Philo&#8221;) Hurbain&#8217;s RCX-powered rolling ball clock, based on an original design by <a target="_blank" href="http://news.lugnet.com/technic/?n=12160">Bob Kojima</a>.</p>
<p>Powered by a single RCX 1.0 (w/AC power) and equipped with a number of tiny LEGO balls (see below), this contraption can keep track of time thanks to some custom <a target="_blank" href="http://www.philohome.com/kojima_clock/clock1.nqc">NQC programming</a> and an elegantly-designed 8-bucket ball elevator. On his<a target="_blank" href="http://www.philohome.com/kojima_clock/ball_clock.htm"> website</a> Philo explains how he surmounted one challenge &#8212; an overly speedy RCX processor &#8212; with some custom NQC code:</p>
<blockquote><p>The problem should have been very simple: each minute, start                  the elevator until a ball is detected by one sensor. Unfortunately,                  my first try over a several hours period showed me that my clock                  was fast, several seconds each hour! After eliminating all mechanical                  possibilities (two balls at a time, or an undetected ball),                  I concluded that my RCX itself was fast&#8230; To make sure, I finally                  put a frequency meter probe on RCX crystal, and indeed it oscillates                  at 16.03 MHz instead of 16.00 MHz. So I finally added some code                  to wait for 6.92 seconds each hour.</p></blockquote>
<p>Check out Philo&#8217;s complete <a target="_blank" href="http://www.philohome.com/kojima_clock/ball_clock.htm">web page</a> for more details on how he modified the design to overcome other challenges, along with some useful links and other info.  (Source: <a target="_blank" href="http://news.lugnet.com/technic/?n=12160">LUGNET</a>, <a target="_blank" href="http://www.philohome.com/kojima_clock/ball_clock.htm">Philohome</a> : <em>Images (c) Philippe Hurbain</em>) &#8211; [<em>Jeff James</em>]</p>
<p><a href="http://www.philohome.com/kojima_clock/ball_clock.htm"><img align="bottom" src="http://nxtbot.com/blog/wp-content/uploads/2006/08/rcx-ball-clock2.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nxtbot.com/blog/2006/08/16/rcx-old-school-rolling-ball-clock/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HiTechnic Products announces NXT Sensors</title>
		<link>http://nxtbot.com/blog/2006/06/26/hitechnics-announces-nxt-sensors/</link>
		<comments>http://nxtbot.com/blog/2006/06/26/hitechnics-announces-nxt-sensors/#comments</comments>
		<pubDate>Mon, 26 Jun 2006 19:30:03 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Mindstorms (1.0-2.0)]]></category>
		<category><![CDATA[Mindstorms NXT]]></category>
		<category><![CDATA[Mindstorms programming]]></category>

		<guid isPermaLink="false">http://nxtbot.com/blog/?p=116</guid>
		<description><![CDATA[
HiTechnic Products has been making custom sensors and accessories for the original RCX for years. Now they&#8217;ve expanded their product line to support the new NXT as well, and have announced two NXT-ready products: a compass sensor and a color sensor (latter pictured above).
Here&#8217;s some additional info on the compass sensor from the HiTechnic website:
HiTechnic [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hitechnic.com"><img src="http://nxtbot.com/blog/wp-content/uploads/2006/06/hitechnic.jpg" align="top" /></a></p>
<p><a href="http://www.hitechnic.com/" target="_blank">HiTechnic Products</a> has been making custom sensors and accessories for the original RCX for years. Now they&#8217;ve expanded their product line to support the new NXT as well, and have announced two NXT-ready products: a compass sensor and a color sensor (latter pictured above).</p>
<p>Here&#8217;s some additional info on the compass sensor from the HiTechnic website:</p>
<blockquote><p>HiTechnic announces its first NXT compatible sensor, the <strong>HiTechnic Digital Compass Sensor</strong> which operates with the new LEGO® MINDSTORMS NXT system.  The Digital Compass Sensor connects to an NXT sensor port and is capable of operating in full digital mode.   The Digital Compass Sensor outputs a magnetic heading from 0° to 359° and with an internal accuracy of better than 1°.  Heading values are rounded to the nearest 1° assuring excellent navigational characteristics.</p></blockquote>
<p>Both sensors should be available for sale in August. Check out the <a href="http://www.hitechnic.com/" target="_blank">HiTechnic website</a> for more information. (Source: <a href="http://www.hitechnic.com/" target="_blank">HiTechnic Products</a>) &#8211; [<em>Jeff James</em>]</p>
]]></content:encoded>
			<wfw:commentRss>http://nxtbot.com/blog/2006/06/26/hitechnics-announces-nxt-sensors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft launches Microsoft Robotics Studio</title>
		<link>http://nxtbot.com/blog/2006/06/20/microsoft-launches-microsoft-robotics-studio/</link>
		<comments>http://nxtbot.com/blog/2006/06/20/microsoft-launches-microsoft-robotics-studio/#comments</comments>
		<pubDate>Tue, 20 Jun 2006 16:26:54 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General robotics news]]></category>
		<category><![CDATA[Microsoft Robotics Studio]]></category>
		<category><![CDATA[Mindstorms programming]]></category>

		<guid isPermaLink="false">http://nxtbot.com/blog/?p=114</guid>
		<description><![CDATA[
According to a hot-off-the-press article by Todd Bishop over at the Seattle Post-Intelligencer, Microsoft will be launching Microsoft Robotics Studio today. Microsoft has been hard at work on developing software for robotics applications for at least the last few years &#8212; we&#8217;ve posted about their efforts here and here &#8212; and this seems to be [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://seattlepi.nwsource.com/photos/photo.asp?PhotoID=93089"><img align="top" src="http://nxtbot.com/blog/wp-content/uploads/2006/06/msrobot.jpg" /></a></p>
<p>According to a hot-off-the-press article by Todd Bishop over at the <a target="_blank" href="http://seattlepi.nwsource.com/business/274562_msftrobotics20.html">Seattle Post-Intelligencer</a>, Microsoft will be launching <a target="_blank" href="http://msdn.microsoft.com/robotics/">Microsoft Robotics Studio</a> today. Microsoft has been hard at work on developing software for robotics applications for at least the last few years &#8212; we&#8217;ve posted about their efforts <a target="_blank" href="http://nxtbot.com/blog/?p=84">here</a> and <a target="_blank" href="http://nxtbot.com/blog/?p=81">here</a> &#8212; and this seems to be the culmination of their efforts towards creating a common robotics software platform.</p>
<p>Bishop&#8217;s article includes a few quotes from Tandy Trower, the General Manager of the Microsoft Robotics Group:</p>
<blockquote><p>&#8220;<span class="vgraysmall">That&#8217;s really what we&#8217;re trying to do with this,&#8221; Trower said of Microsoft&#8217;s robotics initiative. &#8220;We want to make development of robotic applications available to a wider audience.&#8221;</span></p></blockquote>
<p><span class="vgraysmall">Microsoft Windows helped unify all those disparate PC efforts in the early years of personal computerdom &#8212; anyone remember DR-DOS, GeoWorks, GemOS or CP/M? Regardless of personal opinions about Microsoft Windows that may be all over the map, one can&#8217;t deny that the growth of Microsoft Windows has made the PC platform the most widely-used personal computing environment in the world today. Could Microsoft&#8217;s new robotics initiatives do the same thing for the robotics industry?</span></p>
<p><span class="vgraysmall">Read Todd Bishop&#8217;s <a target="_blank" href="http://seattlepi.nwsource.com/business/274562_msftrobotics20.html">PI article</a> in its entirety for more information, or visit the freshly-minted <a target="_blank" href="http://msdn.microsoft.com/robotics/">Microsoft Robotics Studio homepage</a>. (Source: <a target="_blank" href="http://seattlepi.nwsource.com/business/274562_msftrobotics20.html">Seattle Post-Intelligencer</a>, <a href="http://seattlepi.nwsource.com/photos/photo.asp?PhotoID=93089">Mike Kane PI photo</a>) &#8211; [<em>Jeff James</em>]</span></p>
]]></content:encoded>
			<wfw:commentRss>http://nxtbot.com/blog/2006/06/20/microsoft-launches-microsoft-robotics-studio/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RCX Old School: The DominoBot</title>
		<link>http://nxtbot.com/blog/2006/05/31/rcx-old-school-the-dominobot/</link>
		<comments>http://nxtbot.com/blog/2006/05/31/rcx-old-school-the-dominobot/#comments</comments>
		<pubDate>Wed, 31 May 2006 16:44:20 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Mindstorms (1.0-2.0)]]></category>
		<category><![CDATA[Mindstorms NXT]]></category>
		<category><![CDATA[Mindstorms programming]]></category>
		<category><![CDATA[RCX old school]]></category>

		<guid isPermaLink="false">http://nxtbot.com/blog/?p=103</guid>
		<description><![CDATA[
Everyone loves to see a giant row of dominos getting knocked over in perfect sequence, with lines of the falling tiles snaking off into every direction. Everyone loves to see the finale, but what about all the hard work that went in to lining up thousands of those blasted little things? Robot builder Dave Astolfo [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.astolfo.com/bots/dominobot.asp"><img align="top" src="http://nxtbot.com/blog/wp-content/uploads/2006/05/dominobot.jpg" /></a></p>
<p>Everyone loves to see a giant row of dominos getting knocked over in perfect sequence, with lines of the falling tiles snaking off into every direction. Everyone loves to see the finale, but what about all the hard work that went in to lining up thousands of those blasted little things? Robot builder Dave Astolfo came up with a solution: the RCX-powered DominoBot.</p>
<p>Astolfo explains on his <a target="_blank" href="http://www.astolfo.com">website</a> that some aspects of the build were particularly challenging, especially coordinating the actions of the three motors to properly place the dominos on their edges:</p>
<blockquote><p>&#8220;Without giving away too much, DominoBot consists of sub-sections that are built seperately and the combined into the final model. The biggest challenge that I faced was using three motors to drive, steer, and lay the dominos. I met that challenge with the Loader mechanism (seen below), which has the ability of dispensing and placing each domino with one motor and sensor.&#8221;</p></blockquote>
<p>The original DominoBot took Astolfo rough 20 hours of testing and experimentation to complete the build, as well as additional time to create the building instructions. Astolfo&#8217;s creation was featured as one of 10 Mindstorms robots featured in the <a target="_blank" href="http://www.amazon.com/gp/product/1931836604/sr=8-4/qid=1149092951/ref=sr_1_4/002-5904071-3132839?%5Fencoding=UTF8">LEGO Mindstorms Ultimate Builder Projects book</a> by Syngress Publishing.</p>
<p>An updated version of DominoBot based on the new Mindstorms NXT (<a target="_blank" href="http://www.astolfo.com/bots/dbotNXT.asp">DominoBotNXT</a>) has been created by Astolfo as well.  (Source: Dave Astolfo) &#8211; [<em>Jeff James]</em></p>
]]></content:encoded>
			<wfw:commentRss>http://nxtbot.com/blog/2006/05/31/rcx-old-school-the-dominobot/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>RCX Old School: Rubik&#8217;s Cube Solver</title>
		<link>http://nxtbot.com/blog/2006/05/22/rcx-old-school-rubiks-cube-solver/</link>
		<comments>http://nxtbot.com/blog/2006/05/22/rcx-old-school-rubiks-cube-solver/#comments</comments>
		<pubDate>Mon, 22 May 2006 15:08:16 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Mindstorms (1.0-2.0)]]></category>
		<category><![CDATA[Mindstorms programming]]></category>
		<category><![CDATA[RCX old school]]></category>

		<guid isPermaLink="false">http://nxtbot.com/blog/?p=96</guid>
		<description><![CDATA[
Having spent a winter or two during my youth in the 1980&#8217;s trying &#8212; mostly unsuccessfully &#8212; to solve that brightly-colored bundle of endless frustration and obsession known as the Rubik&#8217;s Cube, I eventually gave up and moved on to other puzzling pursuits. Frustration with inanimate objects becomes me, I guess.
Close to 20 years later, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jpbrown.i8.com/cubesolver.html"><img align="top" src="http://nxtbot.com/blog/wp-content/uploads/2006/05/cs1.jpg" /></a></p>
<p>Having spent a winter or two during my youth in the 1980&#8217;s trying &#8212; mostly unsuccessfully &#8212; to solve that brightly-colored bundle of endless frustration and obsession known as the Rubik&#8217;s Cube, I eventually gave up and moved on to other puzzling pursuits. Frustration with inanimate objects becomes me, I guess.</p>
<p>Close to 20 years later, JP Brown has managed to create arguably one of the most impressive Mindstorms creations ever &#8212; an RCX-powered Rubik&#8217;s Cube solver. Using a pair of RCX units, a Mindstorms Vision Command camera, a few grabber arms and an extensive amount of custom programming, Brown&#8217;s creation can methodically grasp and turn the cube until it is solved.</p>
<p>As he explains on his <a target="_blank" href="http://jpbrown.i8.com/cubesolver.html">website</a>, Brown admits that one of the more time-consuming aspects of the project was writing the color recognition software that helped determine which way the grabber arms needed to move. Working in conjunction with the color recognition software is the 3&#215;3 Rubik&#8217;s Cube solver code (adapted from some existing code) that is based on a cube-solving solution developed by <a href="http://www.kociemba.homepage.t-online.de/cube.htm">Herbert Kociemba</a>.</p>
<p>A <a target="_blank" href="http://jpbrown.i8.com/cubesolver.html">project page</a> on Brown&#8217;s site provides a detailed overview of the project, including <a target="_blank" href="http://jpbrown.i8.com/cubesolver_source.html">code downloads</a> and other details. (Source: JP Brown, images copyright  JP Brown) &#8211; [<em>Jeff James</em>]</p>
<p><a href="http://jpbrown.i8.com/cubesolver.html"><img align="bottom" src="http://nxtbot.com/blog/wp-content/uploads/2006/05/cs2.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nxtbot.com/blog/2006/05/22/rcx-old-school-rubiks-cube-solver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RCX Old School: Pinball Machine</title>
		<link>http://nxtbot.com/blog/2006/05/15/rcx-old-school-pinball-machine/</link>
		<comments>http://nxtbot.com/blog/2006/05/15/rcx-old-school-pinball-machine/#comments</comments>
		<pubDate>Mon, 15 May 2006 20:39:12 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General robotics news]]></category>
		<category><![CDATA[Mindstorms (1.0-2.0)]]></category>
		<category><![CDATA[Mindstorms hacks]]></category>
		<category><![CDATA[Mindstorms programming]]></category>
		<category><![CDATA[RCX old school]]></category>

		<guid isPermaLink="false">http://nxtbot.com/blog/?p=92</guid>
		<description><![CDATA[
We&#8217;ve chosen one of the more ambitous projects we&#8217;ve received to kick-off our coverage of old school (pre-NXT) Mindstorms creations: an RCX-powered, full-size pinball machine!
Designed and built by Gerrit Bronsveld and Martijn Boogaarts, this fully functional pinball machine boasts a number of novel features, including a working coin slot (50 cent Euro coins only, please!), [...]]]></description>
			<content:encoded><![CDATA[<p><img align="top" src="http://nxtbot.com/blog/wp-content/uploads/2006/05/rcxpinball1.jpg" /></p>
<p>We&#8217;ve chosen one of the more ambitous projects we&#8217;ve received to kick-off our coverage of old school (pre-NXT) Mindstorms creations: an RCX-powered, full-size pinball machine!</p>
<p>Designed and built by Gerrit Bronsveld and Martijn Boogaarts, this fully functional pinball machine boasts a number of novel features, including a working coin slot (50 cent Euro coins only, please!), a functional tilt switch (to detect table movement), rotation bumpers (to generate extra ball speed) and an automatic ball-kickback mechanism. Thirteen RCX units were used to control all of the board functions, driven by custom programs written using the alternate <a target="_blank" href="http://bricxcc.sourceforge.net/nqc/">NQC</a> (Not Quite C) programming language.</p>
<p>Gerrit and Martijn used more than 20,000 LEGO bricks in their creation, along with an equally impressive number of other elements:</p>
<ul>
<li>50 lamps (34 used for &#8220;Pinball&#8221; display alone)</li>
<li>24 motors</li>
<li>8 light sensors</li>
<li>13 rotation sensors</li>
<li>18 touch sensors</li>
</ul>
<p>The pinball machine is not only functional, but has endured the hands-on attention of thousands of fans at a recent LEGO event held in Zwolle, Netherlands, that attracted more than 48000 visitors in 6 days. Impressive stuff indeed.</p>
<p>Check out more photos of the device at either <a target="_blank" href="http://www.brickshelf.com/cgi-bin/gallery.cgi?f=151375">Gerrit&#8217;s</a> or <a target="_blank" href="http://www.brickshelf.com/cgi-bin/gallery.cgi?f=154358">Martijn&#8217;s</a> Brickshelf sites, peruse an in-depth feature over at <a target="_blank" href="http://www.pinballnews.com/news/lego.html">Pinball News</a>, or download a fact sheet (Microsoft Word Format) <a target="_blank" href="http://nxtbot.com/blog/wp-content/uploads/2006/05/PinBallFactSheet_EN.doc">here</a>.</p>
<p>Have a cool RCX-powered old school creation you&#8217;d like to tell us about? Drop me a note at jeff [@] nxtbot.com! &#8211; [<em>Jeff James</em>]</p>
<p><img align="bottom" src="http://nxtbot.com/blog/wp-content/uploads/2006/05/rcxpinball2.jpg" /></p>
<p><img src="http://nxtbot.com/blog/wp-content/uploads/2006/05/rcxpinball3.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://nxtbot.com/blog/2006/05/15/rcx-old-school-pinball-machine/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Microsoft, Visual Studio Express and Mindstorms</title>
		<link>http://nxtbot.com/blog/2006/04/26/microsoft-visual-studio-express-and-mindstorms/</link>
		<comments>http://nxtbot.com/blog/2006/04/26/microsoft-visual-studio-express-and-mindstorms/#comments</comments>
		<pubDate>Wed, 26 Apr 2006 23:19:59 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Microsoft Robotics Studio]]></category>
		<category><![CDATA[Mindstorms (1.0-2.0)]]></category>
		<category><![CDATA[Mindstorms programming]]></category>

		<guid isPermaLink="false">http://nxtbot.com/blog/?p=84</guid>
		<description><![CDATA[
As a follow-up to a recent post concerning Microsoft&#8217;s activity in the educational robotics arena, we&#8217;ve learned (by way of Windowsfordevices.com) that Microsoft has added some Mindstorms related content to the &#8220;Coding4Fun&#8221; section of the MSDN developer website.
The resources include an introduction to programming Mindstorms with Visual Studio Express (by Sharplogic Software), while another article [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://nxtbot.com/blog/wp-content/uploads/2006/04/coding4fun.jpg" align="top" /><br />
As a follow-up to a <a href="http://nxtbot.com/blog/?p=81" target="_blank">recent post</a> concerning Microsoft&#8217;s activity in the educational robotics arena, we&#8217;ve learned (by way of <a href="http://www.windowsfordevices.com/news/NS4127455334.html" target="_blank">Windowsfordevices.com</a>) that Microsoft has added some Mindstorms related content to the &#8220;Coding4Fun&#8221; section of the MSDN developer website.</p>
<p>The resources include an introduction to programming Mindstorms with Visual Studio Express (by Sharplogic Software), while another article penned by John Wingfield offers additional tips and tricks on Mindstorms programming. Both articles feature code sample downloads for C#, C++, Visual Basic and J#.</p>
<p>Check out the original source article <a href="http://www.windowsfordevices.com/news/NS4127455334.html" target="_blank">here</a>, or visit the Mindstorms MSDN pages <a href="http://msdn.microsoft.com/coding4fun/lego/default.aspx" target="_blank">here</a>. &#8211; [<em>Jeff James</em>]</p>
]]></content:encoded>
			<wfw:commentRss>http://nxtbot.com/blog/2006/04/26/microsoft-visual-studio-express-and-mindstorms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
