Grabbing Remote Control Codes

Because remote controls from different vendors rarely use the same protocol or even the same commands, before we start sending remote control codes ourselves, we should know what we have to send to achieve a certain result. We have to get as much information as possible about the remote control we’d like to emulate.

We have two options for obtaining remote control codes for a specific device: we could use a remote control database on the Internet, such as the Linux Infrared Remote Control project,[126] or we could use an infrared receiver to read them directly from our device’s remote. We’ll choose the latter approach because you can learn a lot from it.

Infrared receivers are fairly complex on the inside, but ...

Get Arduino: A Quick-Start Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.