This page describes an circuit and the necessary assembly code to control a PIC16F84 microcontroller with signals from a normal IR remote control.
This information is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The IR receiving module is an IRM-8601S from Everlight (ELFA art. no. 75-303-89). The following circuit is used to connect it to the PIC:
The assembly code used to decode the signals can be found here (in html-format, converted using asm2html, text-only version is here). The program uses some utilities from f84inc.inc (text-only).