So, recently I went to an electronics store to buy an IR Sensor, so they gave me the next one: IR Phototransistor NPN
Then I went online to check how to build this, and to my surprise, I've found that a lot of tutorials are of the three leads, when I've got only two leads. I'm new in the electronics world, and I need help to use this IR Sensor as a receiver for Raspberry Pi. Does anyone know how to use it? (ex: Which leads do correspond to the three lead version, or which GPIO pins...)