Sunday, November 27, 2022

IR remote code reader (NEC protocol)

This is a quick project on breadboard for decoding and displaying the signals from a IR remote.

The technical details of the NEC IR transmission protocol can be read here.

The project uses PIC16F628A microcontroller and 4 digit 7-segment common cathode LED display for showing the codes. The first two digits represent the address for the receiving device, and the next two digits represent the command code. The format of the codes on the display is hexadecimal.

The schematic is extremely simple:

The program is written in C using MPLAB X IDE 6.0 and compiled with the xc8 compiler.

The source code can be downloaded from here.

No comments:

Post a Comment