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

DocumentsDate added

Order by : Name | Date | Hits [ Ascendant ]
file icon Use ValueTooltip 10/26/2009 Hits: 515
This program takes the value output from a light sensor and uses it to control the power of a motor.


file icon Uploading Data to GraphTooltip 10/26/2009 Hits: 463
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 Run Until Sensor TriggeredTooltip 10/26/2009 Hits: 485
This program runs a motor until the touch sensor is pressed, then stops the motor.


file icon Radar GunTooltip 10/26/2009 Hits: 561
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.

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 Graphing Sensor ValuesTooltip 10/26/2009 Hits: 430
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.


file icon Displaying Sensor ValuesTooltip 10/26/2009 Hits: 445
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 2 Button 2 Motor ControlTooltip 10/26/2009 Hits: 535
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.


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