6.2 ZigBee Sample Programs
In order to run the sample programs discussed in this chapter and elsewhere in this manual,
1. Your module must be plugged into the Prototyping Board as described in Chapter 2,
“Getting Started.”
2. Dynamic C must be installed and running on your PC.
3. The programming cable must connect the programming header on the RCM4510W to
your PC.
4. Power must be applied to the module through the Prototyping Board.
5. The Digi ? XBee USB used as the ZigBee coordinator must be connected to an avail-
able USB port on your PC if you are exercising the ZigBee protocol, or you need a
second RCM4510W module if so instructed.
Refer to Chapter 2, “Getting Started,” if you need further information on these steps.
To run a sample program, open it with the File menu (if it is not still open), then compile
and run it by pressing F9 .
Each sample program has comments that describe the purpose and function of the pro-
gram. Follow the instructions at the beginning of the sample program.
The sample programs in the Dynamic C SAMPLES\RCM4500W\XBee and SAMPLES\XBee
folders illustrate the use of the XBee function calls.
6.2.1 Setting Up the Digi XBee USB Coordinator
1. Connect the Digi ? XBee USB acting as a ZigBee coordinator to an available USB port
on your PC or workstation. Your PC should recognize the new USB hardware.
2. Compile and run the XBEE_GPIO_SERVER.C sample program in the Dynamic C
SAMPLES\RCM4500W\XBee folder.
3. Open the ZigBee Utility by double-clicking XBEE_GPIO_GUI.exe in the Dynamic C
Utilities\XBee GPIO GUI folder — if you have problems launching the ZigBee
Utility, install a .Net Framework by double-clicking dotnetfx.exe in the Dynamic C
Utilities\dotnetfx folder. You may add a shortcut to the ZigBee Utility on your
desktop.
4. Confirm the following hardware setup is displayed on the “PC Settings” tab.
? 115200 baud
? Hardware flow control
? 8 data bits
? No parity
? 1 stop bit
User ’s Manual
59
相关PDF资料
101-8430-09-203 LED BASE SUBMINI PANEL INDICATOR
103-0537-403 CAP PMI OILTIGHT 1" CLEAR
103-1234-403 CAP LG PANEL IND BLUE OIL TIGHT
103-1336-403 CAP PMI TORPEDO 1" LIGHT YELLOW
103-3101-05-103 LED BASE T-3 1/4 PANEL OIL TIGHT
1032DX5 INDICATOR NEON GREEN PANEL MNT
1033QD5 NEON IND GRN LITE PANEL MNT QC
1034 LAMP INCAND S-8 DBL INDEX VOLT
相关代理商/技术参数
101-1294 功能描述:处理器配件 12VDC POWER SUPPLY REPLACES 101-0686 RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
101-1295 功能描述:处理器配件 RCM5600W Antenna Kit RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
10-112989-1 制造商: 功能描述: 制造商:undefined 功能描述:
10112A WAF 制造商:Intersil Corporation 功能描述:
10112-A-0440-2 制造商:Amatom Electronic Hardware 功能描述:
10112-A-0632-2 制造商:Amatom Electronic Hardware 功能描述:
10112-B-0632-6A 制造商:Amatom Electronic Hardware 功能描述:
10-112-BLANK 制造商:Calrad Electronics 功能描述: