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.