Infrared Remote Control Protocols

Infrared remote controls send short bursts of a 30 to 56 kHz carrier, most often 36 or 38 kHz, and encode each command in the timing of those bursts. NEC uses pulse-distance coding, Philips RC-5 and RC-6 use bi-phase (Manchester) coding, and JVC uses a shorter NEC-like frame. IrDA is different again: a short-range infrared data link for serial data, not remote control. Capture the output of a demodulating IR receiver with a logic analyser, and an IR decoder shows the protocol, address and command of every key press.

36 to 38 kHzCarrier used by most remote protocols
NEC8-bit address and command, each followed by its inverse
RC-514 bits, Manchester coded, 36 kHz
RC-6Leader plus mode bits, 36 kHz
Toggle bitRC-5 and RC-6 flag a new key press
IrDA SIRSerial data to 115.2 kbit/s

What to Capture

An IR receiver module, such as a 38 kHz three-pin type, removes the carrier and outputs a logic signal that is low while a burst is received. That is what most decoders expect, and it is what the microcontroller in the product sees. To check the carrier frequency or the LED drive current, probe the transmitter LED instead: the bursts then show the individual carrier cycles. Use a receiver matched to the remote's carrier, or the range and pulse widths will suffer.

NEC Protocol

NEC frame at the output of an IR receiver: leader, then pulse-distance coded bitsAt the output of a demodulating IR receiver the line idles high and goes low during each burst of carrier. An NEC frame starts with a 9 millisecond burst and a 4.5 millisecond space. Each bit is a 562.5 microsecond burst followed by a space: 562.5 microseconds for a 0 and 1.6875 milliseconds for a 1. The 32 bits are address, inverted address, command and inverted command, least significant bit first.Leader burst 9 msSpace 4.5 ms0110Receiver output is active low: low = carrier present. Bit value is set by the length of the space.
An NEC frame at the receiver output. Every bit starts with the same burst; a long space means 1.
  1. Leader: a 9 ms burst and a 4.5 ms space.
  2. Bits: a 562.5 µs burst, then a 562.5 µs space for 0 or a 1.6875 ms space for 1, least significant bit first.
  3. Content: 8-bit address, its inverse, 8-bit command, its inverse, then a final burst. Extended NEC drops the inverted address to allow 16-bit addresses.
  4. Repeat: holding the key sends a repeat code (9 ms burst, 2.25 ms space, final burst) every 108 ms instead of the full frame.

Philips RC-5 and RC-6

RC-5 runs on a 36 kHz carrier with bi-phase coding: each bit lasts 1.778 ms and is a burst in one half and a space in the other. An RC-5 frame has 14 bits: two start bits, a toggle bit, a 5-bit address and a 6-bit command, most significant bit first. In extended RC-5 the second start bit becomes a seventh command bit. The toggle bit changes each time a key is pressed again, so the receiver can tell a new press from a held key; frames repeat every 113.8 ms while the key is held.

RC-6 also uses 36 kHz, with a 444 µs time unit. A frame starts with a 2.666 ms leader burst and 0.889 ms space, then a start bit, three mode bits and a double-length trailer (toggle) bit, followed by the payload: in mode 0, an 8-bit address and an 8-bit command. RC-6 uses the opposite bi-phase polarity to RC-5, so a decoder must know which one it is reading.

JVC Protocol

JVC uses a 38 kHz carrier and NEC-style pulse-distance coding with shorter timing: a leader of about 8.4 ms burst and 4.2 ms space, then an 8-bit address and 8-bit command, least significant bit first, with no inverted copies. A held key repeats the frame without the leader.

ProtocolCarrierCodingPayload
NEC38 kHzPulse distance8-bit address and command, each with its inverse (or 16-bit address in extended NEC)
RC-536 kHzBi-phase, 1.778 ms bitsToggle bit, 5-bit address, 6-bit command (7-bit extended)
RC-6 mode 036 kHzBi-phase, 444 µs unitToggle bit, 8-bit address, 8-bit command
JVC38 kHzPulse distance8-bit address, 8-bit command

IrDA

IrDA is a data link, not a remote control format. In its SIR mode a UART signal is sent as short infrared pulses, 3/16 of a bit time long, for each 0 bit, at rates up to 115.2 kbit/s. It appears in older phones, meters, medical devices and data loggers with an optical port. An IrDA decoder converts the pulses back to UART bytes.

Common Infrared Remote Faults and How to Find Them

SymptomLikely CauseWhat to Check
Some keys work, others do notFirmware expects a different protocol variant or addressDecode the frames and compare address and command with the firmware table
Key repeats when held, or does notRepeat codes or toggle bit handled wronglyLook for NEC repeat codes or a toggle bit that does not change between presses
Short rangeReceiver tuned to a different carrier, or weak LED driveMeasure the carrier frequency at the LED and the LED current
Random false pressesInterference from lighting or sunlightCapture the receiver output with the remote idle; look for noise bursts
Decoder shows errors on a good remoteCapturing the modulated LED signal with a decoder that expects demodulated input, or inverted polarityCapture the receiver output, or set the decoder polarity and carrier option

Tools for Decoding Infrared Protocols

Watch tools capture the IR receiver output (or the LED drive) and decode protocol, address and command. Sample at 1 MS/s or more for demodulated signals, and well above the carrier frequency if you capture the LED drive.

ProductRoleCapabilityPrice ex VAT
Acute TravelLogic 34-ChannelWatchLogic analyser running Acute's decoder library, which includes NEC, RC-5, RC-6, JVC and IrDA£1,260
ZeroPlus LAP-C Pro SeriesWatchLogic analyser with NEC, Philips RC-5 and RC-6, and IrDA decoders in ZeroPlus's decoder library; ask us to confirm which come with your LAP-C Pro model£925

Need a decoder for another remote format? Tell us the product or remote and we will check which analyser supports it.

Frequently Asked Questions

How Do I Tell Which IR Protocol a Remote Uses?

Capture one key press at the output of an IR receiver. A 9 ms leader and 4.5 ms space means NEC; a frame of 14 bi-phase bits of about 1.8 ms each means RC-5; a 2.7 ms leader followed by short bi-phase bits means RC-6; an 8.4 ms leader means JVC.

What Carrier Frequency Do IR Remotes Use?

Most use 36 kHz (RC-5, RC-6) or 38 kHz (NEC, JVC). Some formats use 40 or 56 kHz. Match the receiver module to the carrier for best range.

What Is the Toggle Bit?

A bit in RC-5 and RC-6 frames that changes each time a key is pressed again. It lets the receiver tell a held key, which repeats frames with the same toggle value, from a second press of the same key.

Is IrDA the Same as an IR Remote?

No. IrDA is a bidirectional infrared data link that carries UART data, typically up to 115.2 kbit/s in SIR mode. Remote control protocols send short one-way commands on a modulated carrier.

Can I Decode the LED Signal Directly?

Yes, if the decoder accepts modulated input or you filter it, but most decoders are designed for the demodulated receiver output. Probe the LED when you need to check the carrier frequency or duty cycle.

More Protocols

By John Legg CEng, Director, Debug Store. Updated 24 November 2026.