Behavior Control
Help Index

Sharp IR Radar

How To Add This Control To Your Project

  1. Load the most recent release of EZ-Builder
  2. Press the Project tab from the top menu bar of EZ-Builder
  3. Press Add Control from the button ribbon bar of EZ-Builder
  4. Choose the Sharp IR Distance category tab
  5. Press the Sharp IR Radar icon to add the control to your project
The Sharp IR distance sensor can be connected to and analog pin of the EZ-B Robot Controller. If the distance sensor is mounted on a servo, this control will sweep the sensor back and forth in a scanning motion to detect objects.

If an object is detected, it is displayed by a little red dot similar to an army radar scanner. Optionally, you can use the Config menu to enable Movement Panel Control. With this option selected, this control will interact with a movement panel and steer your robot away from obsticles.

A great feature to enable is "Scan only when moving forward". This ensures the scanner and object collision detection is only enabled when the robot is moving.

Video