External Control
Lightstyle™ Series LS-100d Installation/Operation Manual
83
PRE
L
IMINAR
Y
6.2
Using Discrete IR
Codes
The DHD Controller accepts commands in the form of IR signals that conform to the
Phillips RC5 protocol. Each DHD Controller remote control button has an RC5 control
code associated with it.
You can use these codes to program a third-party, “universal” remote control unit to work
with the DHD Controller. These third-party products usually come with a computer
software application for this purpose. For more information, consult the documentation
provided with the remote control unit.
IR Command Protocol
The IR control codes have the following characteristics:
• Each code consists of 14 bits:
• Two (2)
s
tart bit
s
(always 1);
• A
toggle bit.
This bit is inverted every time a key is released and pressed again. This
enables the DHD Controller to distinguish between a button that remains down and
one that is pressed repeatedly.
• Five (5)
addre
ss
bit
s
. The default address is
17
(binary 10001). To change it, select
Remote Code from the Miscellaneous menu (in the Service menu) and follow the
steps given on page 62.
• Six (6)
data bit
s
.
• The carrier frequency is 36 kHz, with the modulated pulses having a 25% duty cycle.
• Commands are sent at a maximum rate of 9 Hz.
For example, here is the RC5 control code for the
ON
button on the DHD Controller
remote control unit (assuming the default address is used):
Figure 6-1 shows the pulse train for this command (with the toggle bit set to zero).
➤
With Toggle Bit = 0
Hex
3
4
4
1
Binary
1
1
0
1
0
0
0
1
0
0
0
0
0
1
With Toggle Bit = 1
Hex
3
C
4
1
Binary
1
1
1
1
0
0
0
1
0
0
0
0
0
1
Function
S
tart
Bit
s
Toggle
Bit
Addre
ss
Command