HARMAN_STCT_IOG1_USER_GUIDE Rev.
C1
16
Example of Input GPIO4_IO21
XX=(4-1)*32+21 = 117
For checking the value of Input Gpio :
Cat
/sys/class/gpio117/value
3.3.3 Output GPIO
Use can access 4 output Gpio, which are following
GPIO3_IO20 : Gpio number 84
GPIO3_IO29 : Gpio number 93
GPIO4_IO02 : Gpio number 98
GPIO5_IO05 : Gpio number 101
Example commands for GPIO3_IO29
XX=(3-1)*32+29 = 93
echo 193 > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio93/direction
echo 0 > /sys/class/gpio/gpio93/value
echo 1 > /sys/class/gpio/gpio93/value
3.4ZigBee Interface
To check ZigBee interface open two telnet sessions to from the PC to board.
(board default IP is 192.168.1.200).
1. On the first telnet window change the directory to /home/root/zigbee/servers.
Run the script using following command
sh ./zigbeeHAgwbbb
2. On the second terminal execute change the directory to home/root/zigbee/servers.
Run the Zigbee testing application using the command
./start_application
Now a Demo app will be displayed which can be used to view the zigbee
devices and control them. For Help type '?' on the demo app.
Содержание IoT-GW-02
Страница 1: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 1 STCT_IOG1_USER_GUIDE Rev C1 15 AUG 2016...
Страница 2: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 2...
Страница 3: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 3...
Страница 7: ...HARMAN_STCT_IOG1_USER_GUIDE Rev C1 7 1 Introduction Fig 1 Hardware Block Diagram...