Figure 2:
The circuit diagram of IR Sensor.