[home]
NXT Products
Advanced Sensors
Multiplexers and Controllers
Actuators
Sensor Kits
RC Servos and Mounting Kits
Flexi-Cables
Plugs and Connectors
Other Robotics accessories

Arduino Products
Shields and Controllers

Shopping Cart
Your cart is empty.
Ordering Infromation
Our Distributors
World Wide Shipping
How to Order and Pay
Paying by Credit Card
Your satisfaction is important to us
About mindsensors.com
Site Map

Yondering ...
Forums
FAQ
Videos
Coming Soon ...
End of Life Products
Robotics related Links

Downloads
NXT Product Docs and Software
User Guides
NXT-G Blocks
API's and Sample Programs
All Downloads

Translate this site

Translate this site:


(Courtesy of Google™)
Search Web Pages



Need Technical Support?
Write e-mail to:
support

Note your order number in the support request.
You can find order number on your Packing-slip or Order confirmation e-mail.
Official PayPal Seal

Google Checkout


Humble Supporter of:
Robofest


Trinity College Fire Fighting Robot Contest.

Contact:
E-mail:
info
Address:
mindsensors.com

8607 Mayland Drive
Richmond, VA 23294 USA.
Phone: (804) 767-8116
Fax: (804) 747-5303



Or, scan code below to call:
scan this code
IX-GP2Y0A21YK - motor powered RCX interface for GP2Y0A21YK
Features
Motor powered RCX interface for GP2Y0A21YK

IX-GP2Y0A21YK - motor powered RCX interface for GP2Y0A21YK

  • Comes with Sharp GP2Y0A21YK
  • Provides your RCX with capability of measuring distances from an obstacle.
  • Can precisely and reliably read distance from 10cm-80cm.
  • Attach power port as LEGO Motor on RCX, and use as a light sensor

This interface module will work with NXT as light sensor attached using converter cables supplied with MINDSTORMS Education NXT set. Additionally, you may need external power source.

Supported Software
RIS, ROBOLAB, NQC, LejOS
Specifications
  • Power consumption 30mA.
  • Range: 10cm to 80cm.
  • Use as a LEGO light sensor.
  • Can be read once in 35 ms in normal operation mode.
  • Can be read continuously for any amount of time.
  • Works with AMUX (Active Sensor Multiplexer)
  • Works with GP2Y0A21YK

For Application notes, data sheet, product details and technical bulletin for Sharp GP2Y0A21YK, visit following URL:
GP2Y0A21YK Technical Information
Using with ROBOLAB
Connect the 'P' port to motor port.
Connect the 'S' port to sensor port.

Write your program such that:
  • Motor Port is on with full power
  • Read from Sensor Port using Light Sensor Block

NQC Program
// Read Sensor output and displays 
// raw value on RCX display (requires RCX 2 firmware)
// Connect Sensor wire to Motor B
// Mount Sensor on Port Sensor A


int value;

task main()
{
  SetUserDisplay(value,0); // Display "value" on LCD
  OnFwd(OUT_B); // Power Motor B 
  SetSensorMode(SENSOR_1,SENSOR_MODE_RAW);
  SetSensor(SENSOR_1,SENSOR_LIGHT); // Active mode: 

  until (false)
  {
    value=SENSOR_1; // reads and display value
    Wait(5); // for 50 ms
  }
}


What's Related
These might interest you as well
Documents

Photo Albums

Link Manager

Web Pages

FAQ