Powered by Modern Robotics

0 $0.00

Cart

No products in the cart.
Shop

HiTechnic NXT EOPD

$26.95

Accurately detect objects and small changes in distance to a target with the HiTechnic EOPD. The EOPD or Electro-Optical Proximity Detector uses an internal light source to detect the presence of a target or determine changes in distance to a target. By generating its own light source, the EOPD is able to filter out all external light signals so as a robot moves from bright areas to dimly lit areas or through shadows, the EOPD automatically compensates and only returns a signal based on its own light source. Targets can be accurately detected over distances up to about 8 inches (20 cm), depending on the target size, shape, and reflective qualities.

Out of stock

Join the waitlist to be emailed when this product becomes available

SKU: NEO1048 Category:

Description

HiTechnic EOPD Sensor

The HiTechnic EOPD Sensor is an Electro-Optical Proximity Detector. Electro-Optical? This means an electronic device that uses visible light as part of its operation.

The HiTechnic EOPD is similar to a standard light sensor except that it uses pulsed light to effectively eliminate the interference of ambient or background light from the reading. By using pulsed light, the brightness during the pulse can be relatively bright but remain safe because the average power output is very low. The sensor reads the difference between the light measurement at the detector before the pulse is emitted and the light measurement during the pulse. It then subtracts the difference so the reading is a direct measurement of the reflected light energy after removing any dependence on ambient light.

The EOPD sensor has two modes of operation, x1 sensitivity, and x4 sensitivity. In x4 sensitivity mode, the HiTechnic EOPD can easily detect the red ball which comes with the LEGO MINDSTORMS NXT set at a range of at least 15 cm (approx. 6 inches). Since the sensor can be overloaded by close white targets, the x1 sensitivity mode can be used for detecting the position of LEGO pieces, such as a small white part attached to a black beam, used as a mechanism home detection device.

The HiTechnic EOPD can be read at up to 300 samples per second. Internally, the EOPD sensor runs at between 350 to 400 samples per second to ensure there is always a new reading for the NXT at 300 samples per second.

Each HiTechnic EOPD runs at a slightly different sampling rate which means they can be used near each other with a minimized chance of interference.

The first plot shows the raw readings from the sensor ( y-axis) versus the range to the red ball in inches ( x-axis). The blue line is the x1 mode while the pink line is the x4 mode.

The second plot shows the result of computing range=cal.factor/sqrt(raw.reading). The actual range is the x-axis while the y-axis shows the computed range value.

Raw Readings v Corrected Readings

MINDSTORMS NXT-G Programming Block

Display Settings

This number shows which NXT sensor port is selected to connect the EOPD. You can change this number in the configuration panel Port selection or by wiring a variable to the port plug on the drawer.

Configuring the EOPD Block

  1. Choose the port your EOPD is plugged into. By default, the block will be set to port 1 for the EOPD. You can change this selection if you want.
  2. Use the slider to set the trigger value or type a value directly into the input box. Select the radio button to the right of the slider if you want the block to be triggered by levels higher than the trigger value; select the left radio button to trigger the block with levels lower than the trigger value. You can also use the pull-down menu to set the “true” portion of the slider.
  3. If you check the “Long Range” checkbox, the EOPD sensor will adjust the sensitivity to detect objects over a longer distance.

EOPD block Data Hub plugs

  1. This plug wires the NXT port number your EOPD is connected to.
  2. This plug wires the value to compare against for the trigger.
  3. This plug wires the logic used in the trigger comparison.
  4. This plug wires the Long Range selection.
  5. This plug wires the result of the trigger comparison.
  6. This plug wires the processed value from the sensor.
  7. This plug wires the raw value from the sensor.

You must click on the Data Hub to open it as shown.

Examples showing the logical result.

This chart shows the different characteristics of the plugs on the EOPD block’s data hub:

 
PlugData TypePossible RangeWhat the Values Mean
1
PortNumber1, 2, 3 or 4NXT sensor port the EOPD is plugged into
2
Trigger PointNumber0 – 1023Value to compare against
3
Greater / LessLogicTrue/False

Logic used in comparison. True = Greater, False = Less

4
Long RangeLogicTrue/FalseSelect Long Range Mode
True = Long Range, False = Standard Range
5
Yes / NoLogicTrue/FalseResult of comparison
6
ResultNumber0 – 100The processed or scaled value read from the sensor. This is useful to calculate a relative distance * see note
7
Raw ValueNumber0 – 1023Raw (unscaled) value read from the sensor

*Note: This value is derived from the square root of the raw value and can be divided into a constant to calculate the distance to a target. The constant should be chosen to yield the distance in the desired units. You can choose the units to suit each application. For example, divide 250 (the constant) by the processed value and the result will be a linear scale representing distance units to the target. If you change the constant to a larger number, say 350, the resulting scale will have more (smaller) units for a given distance.

Additional information

Weight .0575 lbs

Robot C

The RobotC driver suite supports HiTechnic products for RobotC 4.x and RobotC 3.x. Select the corresponding repository at the link below and download the zip file.

https://github.com/botbench

Downloads

No downloads found!