Universal RC5/RC6 transceiver using PIC16F628

This project is an expansion from another project from this website.
On the one side you can read the RC5, RC5X and RC6 codes from remote controls on a LCD and on the other hand you can send all thinkable RC5, RC5X and RC6 codes to a device.
Besides is for this project a PCB layout drawed to make it still more easier for you.


The IR receiver:
When the TSOP1736 (IR receiver) receives an infrared (IR) signal from a RC5 or RC6 remote control (like Philips) burns LED1 (green).
The LCD shows when it receives a new type of code for one second which protocol is received (RC5, RC5X or RC6).
After then the LCD shows the RC5 or RC6 system- and command code in decimal as wel in binair.
The toggle-value is shown by LED3 (yellow).
LED2 (red) burns if the received signal is poor or if it’s not a RC5, RC5X or RC6 signal.
If you only want to know the code from a button then you can ofcourse also look at the RC5 tables from this website (See here and here).
The IR transmitter:
With the IR-transmitter it is possible to send every possible code from the RC5, RC5X and RC6 protocol, like a remote control does.
With the help of the LCD you can adjust which RC5, RC5X or RC6 system- and command code must send out.
When start up select first with ‘ADJUST’ (S2) the RC5 or RC6 protocol, when the choise is right, confirm with ‘SEND’ (S3).
To adjust the command value press ‘ADJUST’.
If this button is pressed for a longer time, the counter changes from direction.
If this button is pressed much longer, then the counter starts repeating automatically and counts faster and faster.

When PORTA.5 is connected to GND (keep S1 pressed), then changes not the command value, but the RC5 or RC6 system-address, the system-address will be stored in EEPROM.
The in this way adjusted code will be transmitted, by pressing ‘SEND’ (S3).
If ‘ADJUST’ and ‘SEND’ are pressed both, the program restarts, then you can select between RC5 and RC6 again.


For more detail: Universal RC5/RC6 transceiver using PIC16F628

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us: