 |
 |
|
|
|
Sensors
|
:
Why do I need to zero sensors and containers?
Container values are global, meaning they are not automatically reset when a new or different program is opened. Sometimes there are values left in the containers and sensort from a previous program. Zeroing is a good way to ensure that any unwanted values have been cleared. The reset command s ...
How can I plot frequency data from the NXT sound sensor?
One of the ports for the sound sensor data logging icon (found in Investigator Level 5) is "flat response." To plot sound frequency range data rather than volume data, wire in "False" to this port from the Boolean palette. When the "Flat Response" port contains "True" (the default), then the sen ...
Where can I get other sensors for the RCX?
Three distributors of LEGO Mindstorms sensors are LEGO Education, HiTechnic Products, and Mindsensors. In addition to the light and touch sensors, LEGO Education offers RCX-compatible temperature and rotation sensors. They also distribute several high resolution sensors made by DCP. These includ ...
Why is the light in my light sensor off?
In order for the light in the light sensor to be on, the sensor port must be configured as a powered sensor. Check your program to be sure that you configured the correct port as a light sensor and that the light sensor is plugged into the correct port. ses
Is it possible to use other sensors with the RCX?
There are a lot of other sensors that can be used in conjunction with the RCX, all of which can be found in the sensor adaptors list. For example, here is a program that logs the pH over a time span of 10 seconds. All of these sensors are treated exactly the same as the standard RCX sensors and ...
Where can I get other sensors for the NXT?
Four distributors of LEGO Mindstorms sensors are LEGO Education, HiTechnic Products, Vernier, and Mindsensors. For the NXT, LEGO Education currently sells only the light, touch, sound, and ultrasonic sensors that come with the Mindstorms NXT set. To purchase these sensors separately from the set ...
Can I see what a sensor is reading directly on the NXT brick?
Yes. On the NXT you can see sensor values on the brick's display. Go to the View option. Then select whichever sensor you want to read and in what units (such as inches or cm for the Ultrasonic sensor). Then select which port the sensor is plugged into and the NXT will display the current val ...
Where can I find technical specifications for the NXT sensors?
The Hardware Developer Kit (HDK) published by LEGO Mindstorms provides technical documentation and schematics for the NXT, its bluetooth interface, and its light, touch, sound, and ultrasonic sensors. This documentation may help you in developing your own sensors and actuators. You can download ...
Why do my RCX sensors change values over long periods of time?
Powered sensors are sensitive to the amount of charge left on the batteries. Over long periods of time (hours) the amount of charge on the battery will change causing a slight drift in sensor readings. To avoid unreliable sensors over long time periods, use the wall plug for the RCX so that the ...
I tried to use the touch sensor, but it didn't work.
Often times programming problems are the result of how you have built your robotic creation. In the above program there is no modifier wired into the Wait For Touch icon, therefore it defaults to waiting for a touch sensor to be pressed on Port 1. However, if in your creation you have the touc ...
Why doesn't the touch sensor data logging show up on the NXT display?
When data logging small values, like a small number of clicks from the touch sensor, it is hard to see the change on the NXT display. This is because the axis on the NXT graph is set at 1000 for larger values like the degrees of rotation of a motor. To accurately see the data you are taking, ...
What is the NXT-G Calibration block for?
The Calibration block (located in the 'Advanced' section in the 'complete palette' tab on the left side of the screen) is used to determine what real-life sound and light levels correspond to the 0% and 100% levels of the sound and light sensors. In order to fully calibrate a sensor, two calibra ...
What are some possible uses for the NXT light sensor? How do I program it in NXT-G?
The NXT light sensor is primarily used to gather information about the light levels in the environment around the robot. A few ideas for projects that incorporate the light sensor are: 1) Follow a black line 2) Trigger an event when something passes in front of the sensor, reducing the effective ...
I can’t figure out what threshold values I should use for my light or sound sensors so that they control an action at the right moment. How can I figure this out?
Place your sensor in the light or noise environment that it will experience while the program is running. Then use the “view” option on the NXT display screen to see exactly what value your sensor is reading. To use the “view” option on the NXT, choose View from the home ...
My HiTechnic accelerometer will not work in ROBOLAB.
Try using a shorter cable. ROBOLAB will not work with the accelerometer if the noise level from the cable is too high. The noise level increases as the length of the cable increases. kw
What are some possible uses for the NXT rotation sensor? How do I program it with NXT-G?
The rotation sensor is embedded within the NXT motor. One idea for its use is to build a joystick to control a robotic car. In the following example, the motor responds when the rotation sensor is turned past 30 degrees. The rotation sensor can be made into a joystick for control. Note that in t ...
My HiTechnic acceleration sensor doesn't work with ROBOLAB.
There is an issue with using the HiTechnic acceleration sensors with the ROBOLAB firmware. The sensor does work with ROBOLAB, but only when you do not use the long NXT cables. If you use the shorter cables the sensor will work as expected. The sensors should work fine with any cable using NXT-G ...
What are some possible uses for the NXT ultrasonic / proximity sensor? How do I program it with NXT-G?
The ultrasonic sensor is primarily used to determine the distance to the nearest object within range of the sensor. Some ideas for the integration of this sensor are: 1) Build a tilt sensor to determine when a platform is tilted toward or away from the floor. 2) Determine the distance away from ...
In NXT-G, how can I write a program that allows two touch sensors to control the motors of an NXT car?
Here are three possible ways for two touch sensors to control a car's movement: Firstly, and most simply, have a sensor in front and a sensor in back so that if the car runs into something it backs up, and if it backs into something it goes forward. The following program does just that, with eve ...
What are some possible uses for the NXT touch sensor? How do I program it with NXT-G?
The\ntouch sensor can be used as a way to make a robot sensitive to physical\nobstacles, a way to control the robot manually while it is running a\nprogram, or even as a way to input numerical data. A few ideas\nfor the use of touch sensors are: \n \n1) Build a bumper to respond to obstacles in ...
|