Although nowadays the MC68HC11 microcontroller (MCU) from Freescale is practically a relic, useful things can be learnt from it. The list of things needed to build a PC infrared receiver with this MCU is the following:
Once the hardware is ready, it is possible to put the firmware either on EEPROM or RAM:
The proposed firmware uses the internal timer of the MCU to measure the elapsed time between falling edges of the infrared receiver signal output. In other words, it measures the signal period.
Take a look to the source code in assembly language and the compiled executable of the program for more details. It was compiled using AS11.
There are some examples of reception obtained with different remote controls that show how the same commands give very similar values.
Return to the do-it-yourself page for more options...