Press the Project tab from the top menu bar of EZ-Builder
Press Add Control from the button ribbon bar of EZ-Builder
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.