Need help to integrate infrared receiver

Hi

I am trying to integrate the infrared receiver sensor on the banana pi m2 zero board. I am using armbian os. Can you please guide me on how can i start this?