Posts By Category

Posts By Date

I would like to show you a project I was working on recently, involving Microsoft Robotics Developer Studio and Lego NXT 2.0 Mindstorms robot. It consists of a DSS service that controls the robot and a WPF application that draws the current state of the sensors of the robot on the screen.

This is a link to an article that I wrote about this project: Using Microsoft Robotics Developer Studio with Lego Mindstorms NXT Robot

The code is written in C# as DSS Service within MRDS. The complete source code can be found at http://legobotprima.codeplex.com/

I also have two short YouTube videos showing it in action. One for the first version (compass, ultrasonic sensor and two bumpers): http://www.youtube.com/watch?v=toAZGQVWQqg and another one for the second version (ultrasonic sensor, bumper, compass and acceleration sensor): http://www.youtube.com/watch?v=rAxK-zOwePs

The robot uses bluetooth connection with a desktop computer. On the WPF app the robot is depicted as a yellow triangle. It has four sensors: ultrasonic sensor, being shown on the screen as red triangle, two bumpers on each side, drawn on the screen as red dots when pressed and a compass, that will give me the angle of rotation. The robot also has two motor and by turning them on and off, forward and backward I control the movements of the LEGO.

The application can run in manual mode where different actions can be tried separately from one another and automatic mode where they are all placed together.

And this is my second version with a compass, bumper, acceleration sensor and ultrasonic sensor. The music is my composition recorded on Cakewalk software.

Share this post:   digg     Stumble Upon     del.icio.us     Technorati     E-mail

Feedback

Posted on 8/7/2010 8:01:28 AM

Very good project, I would really appreciate if you could document the initial setup instructions and the architecture. I got a lego nxt 2.0 kit, I don't know whether to use mindsqualls' .net library or microsoft robotics studio, do you have any suggestions? Between, your other projects are also amazing, especially nearest stars and lines in 3d.

Posted on 8/7/2010 12:05:31 PM

Thank you Gokulnath, I will write an article about this in http://www.simple-talk.com/ in the next week or two. But you can meanwhile just download the source code and try playing with it. If you already have the lego kid the rest (Robotics Studio http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c185a802-5bbe-4f28-b448-aefe63a7eff7 and Visual Studio http://www.microsoft.com/express/downloads/#2010-Visual-CS) is free .

Please post your comments:

Name:  
Email (optional): Your email address will not be posted.
URL (optional):
Comments: HTML will be ignored, URLs will be converted to hyperlinks
Use [code] if(true) alert("OK"); [/code] for source code
 
Enter the text you see in the box: