Lab 1 FALL10

Lab 1 FALL10 - LEGO MINDSTORMS NXT Lab 1 This lab session...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
NXT Lab 1 Page 1/16 LEGO ® MINDSTORMS ® NXT Lab 1 This lab session is an introduction to the use of motors and rotation sensors for the LEGO MINDSTORMS NXT. The first few parts of this exercise will introduce the use of the movement function blocks to perform simple actions. The final part of the lab is a task to move the robot along a specified path. Lab Summary A. Use the LabVIEW NXT Module to monitor the rotation sensors in the motors B. Create a program to move the robot forward, backward, left, and right C. Use what you have learned to create your own program that makes the robot move in a specified pattern Software LabVIEW with LEGO MINDSTORMS NXT module Hardware LEGO MINDSTORMS NXT Tribot L AB 1 M OVING THE T RIBOT
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
NXT Lab 1 Page 2/16 Part A: Monitoring the Rotational Sensors of the Motor 1. Open LabVIEW on your computer. 2. Select File >> Open to open the rotation sensor VI. 3. Open Lab 1 Part A.VI The code contained in this VI is fairly complex, and is only intended to display data for the user. Working knowledge of the program is not required for its use. 4. Press the Enter button (orange square) on the MINDSTORMS NXT to turn it on. 5. Using a USB Cable, connect the NXT to a USB port on your computer. 6. In the VI front panel, enter the name of the NXT you will be controlling and select the USB connection type. If you are unsure of the NXT name, simply use the default NXT value. 7. Make sure that your VI is targeted to run on your computer rather than the NXT. The bottom left hand corner of your front panel should read Main Application Instance . If not, then select File >> Target to Computer . 8. Run the VI by clicking the run command. The VI will automatically detect the NXT if it is connected. If the NXT cannot be found, the program will return an error. If this is the case, ensure that the USB cable is properly connected, the NXT is powered on, and the correct NXT name is specified. If the NXT st i l l cannot be detected, ensure that the NXT dr ivers are proper ly installed. 9. Watch the chart as you turn the wheels on the Tribot. There are rotational sensors installed for each motor on the Tribot called encoders. Encoders are devices that send a pulse to the NXT block on the Tribot whenever they detect a small change in the rotation of the wheel. They can also detect the direction of movement.
Background image of page 2
NXT Lab 1 Page 3/16 The VI reads the values from the encoders and translates that value to an angle which it then displays on the chart. 10. Press the STOP button when finished. Press the STOP button in the VI rather than the stop icon on the toolbar. The button inside the VI allows it to finish executing and close properly, while the toolbar control aborts the VI without allowing it to finish executing.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/10/2010 for the course ECE 1882 taught by Professor Staff during the Fall '08 term at Georgia Tech.

Page1 / 16

Lab 1 FALL10 - LEGO MINDSTORMS NXT Lab 1 This lab session...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online