Your Universal Remote Control Center
RemoteCentral.com
Intermission Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Barry Gordons IR COde tutorial
This thread has 3 replies. Displaying all posts.
Post 1 made on Saturday January 13, 2007 at 08:33
berrick
Long Time Member
Joined:
Posts:
November 2004
22
Hi peepz,

I Wanted to understand more about the IR code format etc and read the articale by Barry Gordon. This has helped greately but surley there is a whooping mistake (or have i missed something), in his explanation of the Pioneer IR code.

[Link: remotecentral.com]

The way i read the paragraph explaning the example Pioneer IR code is the 32 bits of data are broken down into 4 lots of 8. The first 8 bits for the device code and the second lot of 8 bits for the device code compliment. This later format is repeated for the function code.

If the two 8 bit words representing either the device code or function code then have a logical "or" applied, if no errors, will result in all 1's or decimal 255.

The problem i have is in the example the two 8 bit words for the device code and function are reversed?

If you look at the hex code, after the lead in, you get 1 1 1 0 1 0 1 0 which according to his explination is the complement device code NOT the device code. Or as i suggested before have I missed something.

Many thanks for looking
Post 2 made on Sunday January 14, 2007 at 10:54
JamieF
Long Time Member
Joined:
Posts:
February 2004
34
Berrick

As I'm trying to troubleshoot my problems with my DV-696, I thought I'd work through this. Here is a breakdown for the Play command for this player:

Play

0000 0067 Learned, 40kHz
0000 0022 No burst 1, 34 dwords of burst 2
0152 00AD Lead in
01 0015 0041 1
02 0015 0041 1
03 0015 0016 0
04 0015 0016 0
05 0015 0016 0
06 0015 0041 1
07 0015 0016 0
08 0015 0041 1
09 0015 0016 0
10 0015 0016 0
11 0015 0041 1
12 0015 0041 1
13 0015 0041 1
14 0015 0016 0
15 0015 0041 1
16 0015 0016 0
17 0015 0016 0
18 0015 0041 1
19 0015 0041 1
20 0015 0041 1
21 0015 0041 1
22 0015 0016 0
23 0015 0016 0
24 0015 0041 1
25 0015 0041 1
26 0015 0016 0
27 0015 0016 0
28 0015 0016 0
29 0015 0016 0
30 0015 0041 1
31 0015 0041 1
32 0015 0016 0
0015 040B Lead out

11000101 reverses to 10100011 (device code = 163)
00111010 check
01111001 reserves to 10011110 (function code = 158)
10000110 check

If you do the same for stop, you find the device code is the same (luckily!) and the function code is 152.

Hope this helps.
Post 3 made on Tuesday January 16, 2007 at 23:27
The Robman
Loyal Member
Joined:
Posts:
August 2001
6,218
On January 13, 2007 at 08:33, berrick said...
... but surley there is a whooping mistake (or have
i missed something), in his explanation of the Pioneer
IR code.

The problem i have is in the example the two 8 bit words
for the device code and function are reversed?

If you look at the hex code, after the lead in, you get
1 1 1 0 1 0 1 0 which according to his explination is
the complement device code NOT the device code. Or as
i suggested before have I missed something.

You're absolutely right, Barry made a mistake with this one. Basically, he got his ONEs and ZEROs swapped, so the device and function codes that he quotes later on are all complimented (ie, to correct them, subtract his numbers from 255).

Good catch.

If you're into learning about IR signals, there are a couple more articles here (including a copy of Barry's article)

[Link: hifi-remote.com]
Rob.
[Link: hifi-remote.com]
OP | Post 4 made on Saturday February 10, 2007 at 10:16
berrick
Long Time Member
Joined:
Posts:
November 2004
22
Thanks The Robman,

Was begining to think i had mis understood. I have had a quick skim of those links and will be going back for a better look asap


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse