This circuit is a sensor for photodiodes that can be used in optical couplers, encoders and other applications of the same type. The circuit, shown in the figure, provides a rectangular signal when the sensor is excited. The gain is determined by R3 (which can be changed) and the circuit does not require a symmetrical power supply.
