A circuit was setup to detect obstacle (proximity sensor) using IR transmitter which uses Arduino to generate 40 kHz Frequency (the frequency was checked using a digital oscilloscope and it displays 40 kHz) and TSMP58000 as IR receiver, but the voltage at the output of the IR receiver when an IR pulse gets detected is seen as 3V instead of a value ~0V .What could be the issue?
Receiver used - http://www.vishay.com/docs/82485/tsmp58000.pdf (it receives in 20 kHz - 40 kHz range)
The screen shot of the transmitter and receiver circuits are as below where 4th terminal of IR transmitter is connected to the arduino pin and IR led is connected to the ground. External Power supply is used to power the IR receiver and common ground is used for both.