Your Universal Remote Control Center
RemoteCentral.com
Custom Installers' Lounge Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 21 made on Sunday May 25, 2014 at 23:17
3FG
Select Member
Joined:
Posts:
August 2009
1,861
These IR signals are bi-phase encoded, and all of them parse without error.  Bi-phase encoding, also called Manchester encoding, is used in RC5 and RC6 and other IR protocols found in IP/cable/satellite boxes.

Here's a typical signal expressed as 75 bits:
R1 MOM. CLOSE 10S
111111111100000100000001000001111000011110000000001000000011000000010000000
The engineering concepts behind the signals can be seen if each byte (starting from the rightmost bit) is reversed in bit order.  This sort of reversal is common in IR protocols, e.g.  NEC, Pioneer, Sony, etc.  Showing the above signal with bit reversed values in hexadecimal notation gives:
3FF 1010 3C3C 8080 0101

If we ignore the 3FF, the remaining 4 words have repeated bytes, so we can remove the redundant information:
10 3C 80 01

We don't know the meaning of the initial 10, but perhaps it is a unit number.
Action: 0=Open, 1 = Close, 2 = Toggle, 3 = Mom.  Close, 4 =  Mom. Open, 5 = Mom. Toggle
Duration of momentary action in units of 3.125 mSec.
Relay:  01 = Relay 1, 02 = Relay2, 04 = Relay3, 08 = Relay 4, FF = All Relays

Other durations can presumably be programmed by adding the following to IrpProtocols.ini in IrScrutinizer:


[protocol]
name=Pro-Relay4
irp={40.2k,398}<1,-1|-1,1>(1,1023:11,2056:16,F:4:8,S:4,F:4:8,S:4,F:8,F:8,R:8,R:8,-19.5m)\
{R=2**D} [D:1..8,S:0..15,F:0..4095]
[documentation]
Put Relay number (1-4) in D, Action (0-5) in S, Duration in units of 3.125mSec in F
Actions: 0=Open, 1 = Close, 2 = Toggle, 3 = Mom.  Close, 4 =  Mom. Open, 5 = Mom. Toggle


Hosting Services by ipHouse