Attention !!! We are shipping orders now but due to Covid-19 situation it can take 1-2 days for your orders to be shipped from our Nashik warehouse. If you have any queries feel free to contact us. Thank you for your support and understanding.
  • 8412906903
  • dnatechindia@gmail.com

Product categories

Have You Seen

Samsung 18650 2600mah Li-ion Battery

Samsung 18650 2600mah Li-ion Battery

Samsung ICR18650-26J 2.6Ah BatteryOriginal Samsung 18650 2600 mah Lithium-ion BatteryThis is or..

Rs.247.80 (inc GST)
Rs.210.00 + GST

SKU: 1183 | DAB424
Stock: 0
Arduino Mega 2560 Pro Mini

Arduino Mega 2560 Pro Mini

Mega Pro 2560 Development Board Mega 2560 Pro a  Atmega2560 based compact Arduino MegaThis..

Rs.889.72 (inc GST)
Rs.754.00 + GST

SKU: 2058 | DAB079
Stock: 25

Introduction to RC5 Protocol



RC5 Protocol is a standard infrared data communication protocol used in remotes. This protocol was developed by Philips. It has 2048 different commands which are divided into 32 addresses each of 64 commands.

RC5 standard uses fix bit length & fixed number of bits. It uses bi phase modulation technique  i.e. each bit  consists of two part & has a level transition (high to low or low to high). A '1' is defined by low to high transition & a '0' is defined by high to low transition. The duration of each bit is equal to 1.778ms since the RC5 protocol consists of 14 bits so the total duration is approximately 24.8ms. The carrier frequency used for transmitting is 36KHz.
RC5 Bit Logic

RC5 Bit Logic
As stated earlier this protocol consists of 14 bits as follows:

RC5 Protocol

RC5 Protocol

The first two bits are the start bits used for Automatic Gain Calibration (AGC) of the receiver. These are basically two HIGH bits.

The third bit is TOGGLE BIT or CHECK BIT,  this bit toggles every time a new button is pressed.

The next 5 bits ADDRESS BITS each device has a specific address. This is used to identify which kind of device executes the command bits.

The next 6 bits are COMMAND BITS. These bits are used to give instruction to the addressed device i.e. what action to perform.

Since the carrier frequency of the RC5 code is 36 KHz we require a receiver with a response frequency of 36KHz. one such receiver is VISHAY's TSOP1836. It is basically a 3 pin device & gives demodulated output signal which can directly be decoded by the microcontroller.

Written by Amol Shah

Amol Shah

Founder of DNA Technology an Electronic Engineer by choice. Started working on this website as an Hobby and now its a full time venture. Very passionate about Electronics and like to learn new stuff. Want to make DNA Technology one of the best Online Store for Electronics Components in India.
Follow Me Twitter | Facebook | Google Plus | Instagram