Monday, November 26, 2012

Followup on Reading IR Remote Codes: DVB-T Dongle Remotes

While I have the IR reader set up, I thought it might be prudent to read the codes from the only other IR remote control I own: the remote that came with my DVB-T dongle.

Quick background: if you haven't heard of the rtl-sdr project, fix that now. Essentially you can get a dongle meant for receiving TV broadcasts for about $20, which in fact can receive any radio signal in the range of around 50-1700 MHz. Basically, you can started with software-defined radio (SDR) for practically nothing.

The SDR dongle I purchased came with a remote, shown below. While grabbing the IR codes for my RGB LED strip remote, I discovered that the SDR dongle remote used an almost identical coding scheme. Not surprising, considering how similar they are in their construction.



Oddly enough, while the RGB LED remote has an address byte, a data byte, and their inverses, this remote encodes two separate address bytes, followed by the inverse of the data byte, then the data byte. Don't forget that I'm operating under the assumption that a short pause is a 1 and a long pause is a zero; if you are using the opposite, then the address bytes are inverted and the data byte and its inverse change places. Anyway, the address that I read out was 0x79 0x94. This shows that the address is definitely useful for distinguishing between remotes that use identical coding schemes. As for the data bytes, they're shown below in the following table:


Mute
13
EPG
11
Live TV
1C
Power
12
1
01
2
02
3
03
Stereo
0D
4
04
5
05
6
06
S. Shot
19
7
07
8
08
9
09
Zoom
10
Recall
0A
0
00
CH Up
0B
VOL Up
0C
Teletext
1B
REC
1D
CH Dwn
15
Vol Dwn
18
Stop
0E
Pause
1E
Source
0F
Favorite
1A

So with that, if you ever find yourself using this remote in a project, you'll have an idea of where to start!

No comments:

Post a Comment