
MC1322x SMAC Demonstration Application User’s Guide, Rev. 1.3
Freescale Semiconductor
9-1
Chapter 9
Weather Station Demonstration
The Weather Station demonstration application ships as part of the MC1322x Developer Starter Kit and is
also included as a demonstration in the BeeKit ARM7 SMAC Codebase. The Weather Station
demonstration application simulates some weather station data and shows the use of Freescale sensors for
acceleration and pressure. This Weather Station demonstration consists of three components:
•
Weather Station Controller using the Network Node
•
Weather Station Sensor using the Sensor Node
•
Weather Station PC GUI application
This chapter provides a simplified example. Currently, the code does display actual weather station data,
but provides simulated data for demonstration purposes only.
Prior to loading the Weather Station demonstration application, the applications must be generated using
BeeKit, as described in the
BeeKit Wireless Connectivity Toolkit User’s Guide
.
The Weather Station demonstration application was developed for the MC1322x. There are no previous
versions for the MC13213-SRB, MC13213-NCB or other Freescale ZigBee legacy boards.
See
Section 1.3, “UART/USB Virtual COM Port Setup”
for information about how to set up a virtual COM
port for this application.
NOTE
When using the 13226-SRB, the Weather Station Demonstration application
is not supported because the 13226-SRB does not have an accelerometer. If
users select and export this application in BeeKit, the results will not be
accurate.
9.1
Generating a Project From BeeKit
Once the UART/USB virtual ports have been configured proceed to generating the project from BeeKit.
1. Open BeeKit (Start->Programs->Freescale BeeKit->Freescale BeeKit).
2. In BeeKit, select the MC1322x SMAC codebase (File menu -> Select Codebase...)
3. Click on File -> New Project and choose the Weather Station Controller template.
4. Follow the steps as displayed in the New Project wizard.
5. Click on File -> New Project and choose the Weather Station Sensor Node template.
6. Follow the steps as displayed in the New Project wizard.
7. Configure the properties as needed.
8. Validate the solution