Professional Documents
Culture Documents
Demonstration Operation
Running the Packet Error Rate, Wireless UART, Accelerometer,
Range, and Lighting Demonstration Applications
1 Introduction Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 1
This application note describes how to run the following 2 Packet Error Rate Test . . . . . . . . . . . . . . . . . . 2
MC13192 & HCS08 based demonstration applications: 3 Wireless UART Demonstration . . . . . . . . . . . 9
4 Accelerometer Demonstration . . . . . . . . . . 11
• Packet Error Rate (PER)
5 Range Demonstration . . . . . . . . . . . . . . . . . 13
• Wireless UART 6 Lighting Demonstration . . . . . . . . . . . . . . . . 15
• Accelerometer (For more details, refer to
application note, AN2774/D.)
• Range
• Lighting
2.1 Installation
Perform the following to install the PER test application. Unzip the application in the apps directory. The
application is located with other application demos as shown in Figure 1.
In the apps folder you should see the structure shown in Figure 2. The specific applications found in the
file structure will vary.
Test Name Channel no. missed pkt total packet Link Qual MIN Link Qual MAX
2.7 Adjustments
In per.h there are several values expressed in '#define' statements that can be adjusted:
//Defines
3.1 Installation
The Wireless UART demonstration is in the 'apps' directory under the latest version of SMAC\apps\, for
example:
d:\proj\Abel\SMAC\smac2_2\apps
4 Accelerometer Demonstration
The Accelerometer Demonstration is programmed into flash from the factory and is optimized for low
power consumption. The output power is set to minimum output power (-16.6 dBm typical) versus the
nominal 0 dBm output power setting for 802.15.4 and Zigbee applications. The minimum output power
setting (-16.6 dBm typical) should not be used for range testing and verification. To test the effective range
of the boards, use the Range Demonstration application which has the output power set to the nominal 0
dBm output power setting. The Range Demonstration should be uploaded to the board's program flash
memory and run from there.
The accelerometer demonstration application uses two SARD boards that transmit X, Y, and Z data from
one SARD board to another SARD board. The second SARD board is connected to a PC via a serial port.
The PC runs a GUI interfaces that displays the Accelerometer sensor data on the PC screen. The
Transmitter board reads the X, Y, and Z accelerometer sensors and transmits the data to the receiver board
with the following data structure.
Send ascii x character
The receiver receives these packets and sends the data to the PC via the serial port. The data is then
displayed in various formats on the PC. When first turned on, the window appears as shown in Figure 6.
First, the COM port must be selected to which the serial port is connected to. Next, the desired function
can be selected. The GUI can display raw data, cursor position, tilt and scope.
4.1 Installation
Use the following steps to install this application.
1. UNZIP this in the apps directory with the other application demonstrations. This demonstration is
in the 'apps' directory under the latest version of SMAC 3_0\apps.
2. Download accelerometer.c to one SARD board.
3. Download accelerometer.c to another SARD board.
4. Set up the transmit board by holding down any one of the switches and setting switch S105 to the
On position. The other board, by default, comes up in receive mode.
5. Connect the RX serial port to the PC.
6. Run Triax v1.0.exe and select the desired COM port.
After the units are turned on and the GUI is running on the PC, the different functions can be selected and
accelerometer data display in different formats. Again, for more detailed information on the Accelerometer
Demonstration functionality, refer to Application Note AN2774/D.
5 Range Demonstration
This application continuously transmits or receives a packet. If switch 1 is depressed during start up, then
a packet is continuously transmitted and the second LED 2 flashes. If switch 2 is depressed during start up,
then the device is set into continuous receive mode and the bottom LED 1 flashes.
5.1 Installation
The Range demonstration is in the 'apps' directory under the latest version of SMAC\apps\, for example:
d:\proj\Abel\SMAC\smac2_2\apps
6 Lighting Demonstration
This section describes the Lighting Demonstration capabilities.
6.3 Installation
The Lighting demonstration is in the 'apps' directory under the latest version of SMAC\apps\, for example:
d:\proj\Abel\SMAC\smac2_2\apps
AN2728
Rev. 1.2
09/2004