Library | Building | Programming | Quick Guides Home | Quick Guides to Building | Quick Guides to Programming | LVLM | WeDo
Sensors

DocumentsDate added

Order by : Name | Date | Hits | [ Ascendant ]
file icon Radar GunTooltip 10/26/2009 Hits: 806
This example uses the NXT ultrasonic sensor to estimate the velocity of an object. The ultrasonic sensor can only measure distance, but velocity can found by differentiating the object's position over time. You will notice that the resulting velocity values fluctuate a lot because the noise in the distance measurements becomes amplified when you take the derivative.

file icon 2 Button 2 Motor ControlTooltip 10/26/2009 Hits: 779
This program changes the motor speed and direction of the NXT car depending on which touch sensor is pressed. If both touch sensors are pressed the motors will drive in the same direction, if one touch sensor is pressed the motors will drive in opposite directions, and if no touch sensors are pressed the motors will brake.


file icon Use ValueTooltip 10/26/2009 Hits: 738
This program takes the value output from a light sensor and uses it to control the power of a motor.


This example utilizes proportional control to keep an robotic arm at a constant distance above a surface using only a light sensor at the distal end of the arm to measure position.


file icon Run Until Sensor TriggeredTooltip 10/26/2009 Hits: 705
This program runs a motor until the touch sensor is pressed, then stops the motor.


file icon Uploading Data to GraphTooltip 10/26/2009 Hits: 665
The program records readings from a light sensor attached to the NXT brick until the STOP button on the front panel is pressed. All the readings are then displayed at once on the waveform graph on the front panel below.


file icon Displaying Sensor ValuesTooltip 10/26/2009 Hits: 648
This program demonstrates how to display sensor information on the front panel and on the screen of the NXT brick. Using an indicator attached to the scaled value output of the "Read Light" VI you are able to see its value on the front panel. Using the Draw Number VI, you can display the out put from the light sensor to the screen of the NXT brick.


file icon Graphing Sensor ValuesTooltip 10/26/2009 Hits: 621
This programs takes the output of the light sensor and graphs it on the waveform chart on the front panel, until you press the stop button.


Home | About Us | Contact Us
© 2013 Center for Engineering Educational Outreach, Tufts University
© 2013 The LEGO Group. All rights reserved.