I'm following a tutorial on how to connect an infrared sensor to the raspberry pi to control it with remote control. So far so good, the infrared sensor is working, but now I have to read its output with the GPIOs. However, the tutorial I'm following is for another model of rpi (I have a 4GB pi4 model), and they are saying to connect the output of the sensor to the GPIO 18 (rpi 12) pin.
I don't want to burn any pin, so can someone help me choosing the right pin please?
I'd like to get something similar, so I can then get what is the infrared input through some python script. Thanks for your help!
The article is in french, but here it is.