Dear users,
I am trying to connect a TSOP4840 infrared receiver to my Arduino UNO board. The Vs-pin of the sensor is connected to the 5V pin on the Arduino while the GND-pin of the sensor is connected to the GND-pin of the board. The data/OUT-pin of the sensor is connected to an analog port of the Arduino. When I now try to read the voltages using analogRead, I experience random values if the sensor is connected. Most values are 0 until they start to rise up to 0.6V and decline again to 0. In this form, they are different to the random values when no device is connected to the analog pin.
Using a voltmeter, I receive correct values which seem to be linear dependant on the distance of the infrared emitter.
Does maybe someone know, what I am doing wrong and what I have to do in order to get the correct voltages of my TSOP-sensor?
Thanks in advance.
Kind regards
Birk