Dual IR Proximity Detector
Go to Home Page

Limited stock.      DIRPD-T    Dual IR Proximity Detector    $39.00                      

This sensor has been tested with NXT using the Lego NXT conversion cable (W770323).

Proximity Detector lets you know when you are getting near a wall or large object.

Building a robot that moves around is easy.  Making one that does not self-destruct is more difficult.  Lego sells a mechanical switch that can be used to detect when your robot hits a wall.  Unforturnatly, when you hit the wall, it is sometimes too late.  Fast moving robots usually can not stop in time to prevent the robot from breaking apart.  The Proximity Detector provides warning BEFORE you hit the wall.  This gives your robot time to reverse, or turn away from the wall.  The detector trigger point is adjustable from 12 to 18 cm.  (5-7 inches), which gives most robots enough time to stop or turn.

NOTE:  This product uses the same Infra-red technology that the RCX uses to communicate with your PC.  When the IR Proximity Detector is in operation, it may interfere with communication between the RCX and PC.

Proximity detector for Mindstorms

Dual IR proximity sensor        
 
 

Infrared sensor on Lego robot       Simple Robot.

This simple robot will avoid collisions with walls and beverage cans.  When the  DIRPD detects an object, it turns off the motor on the opposite wheel.  When the edge is no longer seen, the motor is turned back on.  Look at this example program after you read the programming section below.
 


Programming

You program the detector just like the Lego light sensor.  Use the Light Sensor block in the Mindstorms program environment to cause program branches.  The DIRPD returns four different values depending on what it sees.  In the example below, Motor A will run when the DIRPD sees an object on the left.  Motor C will run when it sees an object on the right.  Both motors run when it sees an object straight ahead.  If you put lights on the motor outputs, this program is useful for testing the range of the IRPD.

Wall avoiding program in RIS 1.0

If you are programming in NQC, here is an example provided by Miles "Xerces".   Thanks Miles!
 


Specifications

Abercrombie and fitch black friday lululemon black friday canada goose black friday moncler black friday canada goose cyber Monday Chanel black friday Mulberry cyber monday Mulberry black friday burberry cyber monday Chanel cyber monday uggs cyber monday michael kors cyber monday kate spade cyber monday michael kors cyber monday north face black friday north face black friday uggs cyber monday victoria secret black friday uggs cyber monday uggs cyber monday michael kors cyber monday canada goose cyber monday louis vuitton cyber monday uggs cyber monday uggs cyber monday uggs cyber monday uggs black Friday coach cyber monday beats by dre cyber Monday michael kors cyber monday jordan cyber monday michael kors cyber Monday mcm black friday bose cyber monday beats by dre black Friday sale uggs cyber monday uggs cyber monday canada goose black friday kate spade black friday michael kors black Friday beats by dre black Friday sale north face cyber monday michael kors black Friday louis vuitton black Friday michael kors black Friday north face cyber monday coach cyber Monday michael kors black Friday abercrombie and fitch cyber Monday Victoria Secret cyber monday north face cyber monday north face black friday tod's cyber monday Juicy Couture black friday uggs black friday michael kors cyber Monday uggs black friday beats by dre black Friday sale north face cyber monday christian louboutin cyber monday michael kors cyber Monday coach cyber monday canada goose cyber monday coach black friday beats by dre cyber Monday beats by dre cyber Monday lululemon black friday chanel black friday North Face Black Friday north face cyber monday canada goose black friday black friday jordans uggs black friday uggs black friday north face black friday kate spade black friday kate spade black friday the north face cyber monday beats by dre cyber Monday michael kors cyber Monday uggs cyber monday uggs black friday uggs cyber monday uggs cyber monday uggs black friday uggs black friday michael kors cyber Monday uggs cyber monday michael kors cyber Monday michael kors black Friday michael kors cyber Monday north face cyber monday north face cyber monday michael kors cyber Monday north face black friday michael kors cyber Monday north face black friday north face black friday beats by dre black friday north face black friday michael kors cyber monday uggs cyber monday michael kors cyber monday michael kors black friday uggs cyber monday michael kors black friday michael kors black friday michael kors cyber monday michael kors cyber monday michael kors cyber monday uggs black friday uggs black friday uggs cyber monday uggs black friday north face black friday north face black friday uggs cyber monday north face cyber monday uggs black friday north face black friday