LEGO MINDSTORMS NXT Samples

Glossary Item Box

Microsoft Robotics Developer Studio Send feedback on this topic

LEGO MINDSTORMS NXT Samples

The LEGO® MINDSTORMS NXT sample services are ready-to-go examples of how to program your LEGO® MINDSTORMS NXT using Microsoft Visual Programming Language:

Sample

Description Diagram

Location

Flashlight

This sample diagram demonstrates the use of the Touch Sensor to turn the Light Sensor on and off. Please refer to the corresponding Turn on the Flashlight Tutorial for a complete walk-through.
Bb663561.Diagram(en-us,MSDN.10).png

samples\VPLExamples\LEGO\Turn On The Flashlight\Turn On The Flashlight.mvpl

Ultrasonic Explorer

This sample diagram uses the Ultrasonic sensor with a Tribot, and drives around searching to avoid obstacles. Please refer to the corresponding Ultrasonic Explorer tutorial for a complete walk-through.
Bb663561.Diagram(en-us,MSDN.10).png

samples\VPLExamples\LEGO\UltrasonicExplorer\UltrasonicExplorer.mvpl

Battery

This sample diagram demonstrates the use of the NxtBattery service to track the battery voltage level and receive notifications when the battery falls below the specified level.
Bb663561.Diagram(en-us,MSDN.10).png

samples\VPLExamples\LEGO\Battery\Battery.mvpl

Facing a Tribot North using a HiTechnic Compass sensor

This sample diagram uses a HiTechnic Compass with a Tribot, and attempts to keep the Tribot always facing North.
Bb663561.Diagram(en-us,MSDN.10).png

samples\VPLExamples\LEGO\HiTechnicCompass-FaceNorth\HiTechnicCompass-FaceNorth.mvpl

Facing a Tribot North using a MindSensors Compass sensor

This sample diagram uses a MindSensors Compass with a Tribot, and attempts to keep the Tribot always facing North.
Bb663561.Diagram(en-us,MSDN.10).png

samples\VPLExamples\LEGO\MindSensorsCompass-FaceNorth\MindSensorsCompass-FaceNorth.mvpl

 

 

© 2012 Microsoft Corporation. All Rights Reserved.