How To Add This Control To Your Project
Step #1) Load the most recent release of EZ-Builder
Step #2) Press the Project tab from the top menu bar of EZ-Builder
Step #3) Press Add Control from the button ribbon bar of EZ-Builder
Step #4) Choose the
Sharp IR Distance
Step #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.