Infrared (IR)

IR remotes still run living rooms, classrooms, and conference rooms worldwide. This page explains how IR signaling works, how to capture/replay responsibly, and how to harden devices against misuse.

Quick-start checklist

  1. Permission & scope: Only test on your own equipment or with explicit written authorization.
  2. Receiver basics: Confirm target uses IR (not RF/Bluetooth). Check for line-of-sight.
  3. Carrier & protocol: Many remotes use ~38 kHz carrier; determine likely protocol (NEC, RC5/RC6, Sony SIRC, Samsung, Panasonic, etc.).
  4. Gear ready: One device with IR receive (learning) and transmit (emulation) capability.
  5. Test plan: Start with non-disruptive commands (e.g., volume down on a spare TV), document results, then expand coverage.

IR protocol primer

IR remotes modulate infrared light (typically around 940 nm) at a carrier frequency (commonly 38 kHz) and send bursts of “on/off” pulses encoding addresses and commands. Different vendors use different frame layouts and timings.

Common families: NEC (LG, Vizio, many TVs), Sony SIRC, Philips RC5/RC6, Samsung, Panasonic, JVC, Sharp, Mitsubishi, Daikin/AC vendors, and projector/AV remotes with “discrete” power inputs.
Carrier ~38 kHz Bursts (marks) and gaps (spaces) encode address + command
IR messages are sequences of timed “marks” and “spaces” at a carrier frequency.

Many consumer devices accept both “toggle” commands (Power) and discrete commands (Power On, Power Off), which are useful for reliable automation. Air conditioners often use long frames encoding entire state (mode, temp, fan), not just single buttons.

Common research workflows

1) Learn → Replay (universal remote basics)

2) Protocol identification & library matching

3) Discrete power & input selection for automation

4) AC & HVAC remotes (state-full frames)

5) Classroom / conference room hygiene (authorized)

Ethics: “TV-B-Gone” style disruptions in public are not cool and may be unlawful. Keep tests limited to your lab or explicitly permitted environments.

Hardening & defense notes

Troubleshooting

FAQ

Is IR line-of-sight only?

Yes—IR is light, so it typically requires line-of-sight. It can reflect off walls, but range and reliability drop.

What carrier frequency should I use?

38 kHz is most common, but some devices use 36/40/56 kHz. If learning works but replay fails, verify carrier frequency.

Can multiple displays be controlled at once?

Yes—wide-angle IR LEDs or multiple emitters can fan out signals. For precision, mount emitters directly on each receiver.

Devices for IR

Useful references

Legal & ethics: See Ethics for permission boundaries and safe demo guidelines.