Datasheet
Chapter 3: EEPROM Tricks and Program Tips ยท Page 91
and at each frequency, the Debug Terminal displays a "yes" if the IR receiver detected an
object, or a "no" if it didn't. Notice how the Debug Terminal shows a lot more "yes"
detections for the 0.6 m distance test than it does for the 0.85 m test. The 0.85 m test
demonstrates that 39.5 kHz is the most sensitive frequency for the detectors being tested.
This won't necessarily be the case for your particular IR object detectors, which is why
it's important to do these tests.
Figure 3-6 IR Receiver Frequency Response with an Object at Two Different Distances
Testing to find out if the SumoBot sees the reflection of the floor outside the ring:
If the Debug Terminal shows "yes" responses with no nearby objects, it may be seeing the
floor's reflection. You can confirm this by tipping the SumoBot so that it's looking upward at
an angle. If the "yes" responses change to "no", it's the floor's reflection.
White wall at 0.6 m
White wall at 0.85 m