background image

 

Test and Adjustment of IR Sensor System 

 

 

 

Educational Revision

  

BEST Robotics Inc © 2019  

Page 

4

 

Step 3: Adjust the System’s Sensitivity   

 

 

For help in debugging, the transmitter board has a red LED that will be on when the IR emitter is 

on.  The receiver board has a red LED that will be on when an IR signal is detected.  Due to the limited 
power available, the receiver LED is fairly dim. 

 

The IR signal is modulated at 38KHz to reduce sensitivity to other light sources – the detector is 

tuned to 38KHz and is less sensitive to constant light or other modulation frequencies.  For maximum 
sensitivity tune the transmitter board to 38KHz.  You can adjust the modulation frequency to adjust the 
system’s sensitivity by turning the white potentiometer on the transmitter board.  There are a couple 
ways to make this adjustment. 
 

         

 
 

If you have an oscilloscope or frequency counter connect it to pin 7 of the 8-pin DIP to monitor 

the frequency.  If you lack that equipment, don’t panic.  You can do a pretty good job without any 
special test equipment.  Separate the transmitter and receiver until the receiver just barely detects the 
IR signal.  Now when you adjust the potentiometer you should find that the receiver detects the IR 
signal somewhere in the middle of its range of travel but does not detect the IR signal at either the 
counter-clockwise extreme or the clockwise extreme.  Find the two spots of the potentiometer’s travel 
where it switches between detecting and not detecting and set the potentiometer halfway between 
these two points. 

 

You may not want maximum sensitivity.  Perhaps your transmitter and receiver are very close 

together, counting wheel spokes as they go past, for example.  Frustratingly, it doesn’t work reliably 
because the receiver is also picking up reflections from other parts of your robot.  In this case you can 
“detune” the transmitter so that your receiver can detect the strong signal from the transmitter but not 
the weaker reflections.  Flat black paint may also be your friend here.  

 

 

Summary of Contents for IR Sensor System

Page 1: ...re cables 2 Solderless breadboard optional Oscilloscope or frequency counter optional This document will walk you through testing the BEST IR Sensor System s operation and adjusting its sensitivity Step 1 Separate the PC Boards In the kit the two PC boards are manufactured as a single board to make it a little larger for easier assembly After soldering on all the components the two boards will be ...

Page 2: ... two boards The IR detecting IC is the dark 3 legged device with a bump on its side located on one edge of the board The bump is a lens so the IR should shine on the bump Note that as supplied it is looking in the plane of the board If you want it to look in a direction perpendicular to the plane of the board carefully bend the IC back so the bump is away from the board There is a clear area on th...

Page 3: ...nected Using another 3 wire cable connect the receiver board to the transmitter board The male end of the cable plugs into the 3 pin socket on the receiver board J3 with black wire connected to the same end as that of the first cable on J2 Note that the cable s connector will be offset 0 1 from the first cable s connector The female end of this cable plugs onto the 3 pin connector on the XMT board...

Page 4: ...IP to monitor the frequency If you lack that equipment don t panic You can do a pretty good job without any special test equipment Separate the transmitter and receiver until the receiver just barely detects the IR signal Now when you adjust the potentiometer you should find that the receiver detects the IR signal somewhere in the middle of its range of travel but does not detect the IR signal at ...

Reviews: