
Chapter 2 Sample Program
The sample program provided permits the user to set up the following network
where the TK-850/SG2+UZ board occupies the central position. The
TK-850/SG2+UZ is already pre-programmed with the "mac_app.hex" file which
utilises the following network configuration:
Figure 2-1 System Configuration
The sample application utilizes TCP/IP and HTTP communications on the
TK-850/SG2+UZ board, and wireless communications of IEEE 802.15.4, between
one TK-850/SG2+UZ board and up to 4 TK-78K0/KF2+UZ boards (not supplied).
The TK-850/SG2+UZ board is called “Coordinator” and the TK-78K0/KF2+UZ
boards “Devices”.
The following parts present firstly, the operation of the central board alone, and
then the operation with the addition of TK-78K0/KF2+UZ boards.
2.1 Operational Procedure for the TK-850/SG2+UZ
If you intend to execute the sample program without using the debugger, set the
mode switch as shown below, and then, make a hardware reset by pushing the
reset switch.
Table 2-1 Operation mode settings for the TK-850/SG2+UZ
SW1 – 1, 2, 3 and 4
OFF
SW1 – 5, 6, 7 and 8
X
Connect your PC to the TK-850/SG2+UZ board with a LAN cable. The LAN cable
should be a crossover cable if connected directly through to the PC or a straight
cable if utilising normal network connections.
Apply the power source to the TK-850/SG2+UZ board (batteries or powered
USB).
10
User's Manual U19026EE3V0UM00