For your NXT or EV3
Sensors
Accelerometer, Compass & Gyro
Motor Multiplexers & Controllers
Wireless Control
Sensor Adapters & Multiplexers
RC Servos, Mountings & Pneumatics

Sensor Kits
Flexi-Cables & Cable Extenders
Classroom packs of Flexi-Cables
Plugs and Connectors
Power Options
Other Robotics accessories

EV3 Console Adapter
EV3 Sensor Adapter for NXT or Arduino
EV3 Compatibility Info

Android App for NXT/EV3

Arduino Products
Shields and Controllers

Raspberry Pi Products
For your Raspberry Pi

Connect with us
Google+
Shopping Cart
Your cart is empty.

Ordering Information
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
EV3 Blocks
API's and Sample Programs
NXT-G Blocks
All Downloads

EV3 Programming Environment
Which Programming Environment do you prefer for EV3?
EV3 Home Edition
EV3 Edu Edition
LeJOS
MonoBrick
RobotC
ev3dev
Other



[View Result]

Votes: 1219
Translate this site
Translate this site: (Courtesy of Google™)
Search Web Pages



Need Quote for your School?
Write e-mail to:
info
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.


Proud Supporter of:
Robofest


Trinity College Fire Fighting Robot Contest.

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

8623 Mayland Drive
Henrico, VA 23294-4703 USA.
Phone: (804) 767-8116
Fax: (804) 747-5303
Official PayPal Seal
Dual Infrared Obsatcle Sensor
Features
DROD40Dual Infra Red Obstacle Detector can be used when your Robot needs an "Eye or Touch" in order to sense the possible obstacles in its way. One simple way to do this is to use Lego touch sensor based tentacles to detect obstacles. However this works only when your robot is too close to the obstacle. Other way is to transmit either Radio Wave (RADAR), Ultra Sonic Waves (SONAR) or Infra Red Radiation (DROD) and detect the reflected waves or radiation from the obstacle ahead. While using SONAR or RADAR you can get distance information. However most of the time robot only need to know approximate range of the obstacle and not the precise distance.

mindsensors.com has developed a very economical solution to this problem - DROD (Dual Infrared Obstacles Detector) that is designed with these objectives in mind and have range of 6" to 1.5' depending of the object size. This sensor is capable of detecting obstacles on Left, Right or ahead.
Since DROD provide reading of LEFT, RIGHT, AHEAD robot can avoid obstacles very intelligently. NQC program for this is also included on this page as an example. When executed this, program checks for the DROD and if there is an Obstacle it turns the robot in order to avoid it.
NQC Program
NQC
// To use with Left -Right Drive kind of motor
// Motor A--- Left motor
// Motor B--- Right motor
task check()
{
  while(true)
  {
    if(SENSOR_2 >70)
    {
      OnRev(OUT_A);
      OnRev(OUT_C);
      Wait(75);
      OnFwd(OUT_C);
      Wait(50);
      OnFwd(OUT_A);
    }
    if(SENSOR_2 >45)
    {
      OnRev(OUT_A);
      OnRev(OUT_C);
      Wait(75);
      OnFwd(OUT_C);
      Wait(50);
      OnFwd(OUT_A);
    }
    if(SENSOR_2 >15)
    {
      OnRev(OUT_A);
      OnRev(OUT_C);
      Wait(75);
      OnFwd(OUT_A);
      Wait(50);
      OnFwd(OUT_C);
    }
  }
}

task main()
{
  SetSensorType(SENSOR_2, SENSOR_TYPE_LIGHT);
  SetSensorMode(SENSOR_2, SENSOR_MODE_PERCENT);
  OnFwd(OUT_A);
  OnFwd(OUT_C);
  start check;
}


One of the Robots we built ...
Our RobotWe built this for fun!