Figure 6.4. example of output control command, 2 implementing hardware, 1 hellodevice i/o demo board – SENA HD1100 User Manual

Page 31

Advertising
background image

Starter Kit and User Manual for the HelloDevice 1100

28

Number of Byte

Type

1

2

3

Output status control command

0x76

Output Contact Point Status

For example, if the user wants to set the HelloDevice output contact point 0, 1, 2 and 3 as high and others as low,

the value should be 0x000F and send the hexadecimal value 76:00:0F to the HelloDevice as shown by the Figure

6.4.

Output Control
Command

Output Contact Point MSB

Output Contact Point MSB

8 ~ 0

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

-

0

0

0

0

0

0

0

0

0

0

0

0

1

1

1

1

0x76

0x00

0x0F

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

0

0

0

0

0

0

0

0

0

0

0

0

1

1

1

1

0000 | 0000 | 0010 | 1111 = 0x000F

Output Contact Point Status

Figure 6.4. Example of output control command

6.2 Implementing Hardware

In this chapter, the I/O demo board is configured as an interface between the HelloDevice and user I/O device.

6.2.1 HelloDevice I/O Demo Board

The HelloDevice I/O demo board is composed of 16 switches for input demo, 16 input display LED's and 16

output display LED's. The switches for input demo were designed to run at the “Low Active”, and the output

display LED's were designed to run at the “High Active”.

Switch for input demo

HelloDevice input contact
point

Input display LED

CLOSED
OPEN

LOW
HIGH

ON
OFF

HelloDevice output contact point

Input display LED

LOW
HIGH

OFF
ON

Advertising