IR protocol analyzer is a universal application for automatic decoding several types of infrared remote control protocol packets. The application uses microphone input of a soundcard to capture infrared signal from a remote control. As a consequence, the hardware receiver is minimalistic and easy to build; just plug a phototransistor to input of your soundcard, that’s all hardware you need.
Application processes IR signal from a remote control and compares it with its own database of known protocols. When a match is found, packet is decoded and its characteristic is displayed to user (including protocol name, description, decoded data and graph with timing).
Protocol definitions are stored in separate XML file. This XML file can be easily modified and new protocol definitions can be added by user. When an unknown packet is captured, user may still display its graph with timing details. Then, on the basis of the graph and timing, he may create new protocol description.
IR protocol analyzer - screenshot
- IR protocol analyzer v1.1 (315 kB)
- IR protocol analyzer v1.0 (313 kB)
- Latest protocol definition file 2012-01-25 (XML, 11kB)
Now to say few things about my experience with this software. First I tried to make receiver as described in user manual by connecting photo transistor to microphone input of sound card. Unfortunately result was not so good. I could hardly receive anything. I guess photo transistors have problem with ambien light that takes it in saturation. Solution could be found in reflective optocoupler that has IR filter on its input so daylight will not be problem here. Just connect receiving pins to microphone input. I used old cable from dead microphone to connection to PC. Here are few pictures of this solution
Below you can see few pictures of CNY 70.
Software is very useful to learn how Ir remotes work as well as to test your remote controler. More about IR protocols you can read at IR section of Electronics-Base site.
Below is the video of software operation