Figure 1: ZigBee Evaluation Kit (ZEK) Contents. Figure 2: ZigBee Adapter Zb-121 and Module Zb-21

Similar documents
GETTING STARTED GUIDE

May 2016 Version 1.2.7

ZFSM-201-KIT-1 Wireless UART Application User Guide

ZIC2410 User Guide Device-Programmer Software Manual

APPLICATION NOTE 4633 Bluetooth to 1-Wire Communication Using the DS9097U

Updating Reader Firmware

1. Purpose: This procedure details how to transfer the data log in a Medivators DSD Endoscope Reprocessor to a PC using HyperTerminal.

X5105 Firmware Update. Instruction

INTRODUCTION TO PICDEM Z DEVELOPMENT

Application Note Demonstrating the Serial Port Profile (SPP) Between BlueConnect and BTW 2002/5/29

QUICK START GUIDE FOR FIRMWARE UPGRADE RS232-TO UART INTERFACE BOARD AND SOFTWARE

Supplemental Manual: Downloading DryCal Data to a PC

SOYAL AR-716E. TCP/IP Module Configuration. Programming

COMMUNICATION WITH OTHER SERIAL DEVICES

+ (5~27 VDC) GND. Bluetooth V4.2 BLE RS-232 Serial Adapter. Model: BLE-232D-E. 1. Package content: BLE RS-232 adapter

BM2001 (Bluetooth USB Adapter) User s Guide

USB485. USB to RS485 Converter Card. User Manual for connecting with Windows Vista Version 1.01

Conceptronic C54BRS4A Firmware Recovery Instructions

+ (5~27 VDC) GND. Bluetooth V4.1 BLE RS-232 Serial Adapter. Model: BLE-232B. 1. Package content: BLE RS-232 adapter

L13. Communicating wireless by XBee modules

zigb232 & zigb485 User Guide User Guide TANGENT TECHNOLABS

Lab Establishing a Console Connection to a Router or Switch Instructor Version

Serial 2-Port ExpressCard

GETTING STARTED GUIDE

2001 by NEC America. All Rights Reserved. Printed in U.S.A.

+ (5~27 VDC) GND. Bluetooth V4.2 BLE RS-422/485 Serial Adapter. Model: BLE-485C. 1. Package content: BLE RS-422/485 adapter

CoverTitle. PinPoint XT. Quick Start Guide for AT&T Rev 1.0

HDRF BRIDGE. v User Guide

DIABLOSPORT PREDATOR REVISION UPDATE INSTRUCTIONS

Windows 8 / 7 CONTENTS. USB to RS-422 Converter. Part Number: USB FEATURES. 2 SPECIFICATIONS. 2 CONNECTIONS.. 3

Windows 8 / 7 CONTENTS. USB to RS-485 Converter. Part Number: USB FEATURES. 2 SPECIFICATIONS. 2 CONNECTIONS.. 3

installation manual SALES AND ADMINISTRATION (toll free)

User Manual A08. User Manual

Serial Interface. Upgrading Firmware

Instructions manual / DPC Touch Firmware Upgrade 1. DPC Touch Firmware Upgrade SERVICE MANUAL

ZICM357P2 - Evaluation Kit User s Guide

WIRELESS RF MODEM SETUP MANUAL FOR CARDMASTER

NX-588E USB Flash Programmer Instructions v1.1

VP- X Pro & VP- X Sport

Firmware, Database, & PC Application Update Installation Instructions

GV-Joystick. User's Manual

Contents About This Guide Audience Revision History

MeshConnect ISP / WNA (ZIC2410USB-WNA-1) User Guide

Cascade Configuration Tool

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM-1.0 Version /8/2011 USER MANUAL

Multi-IQ. Firmware: RS232-Data Manager for UPS 4 x RS232 / 1 x LAN-Contacts flash upgradeable. User manual. (Serial Number / Seriennummer)

Firmware Reprogramming Guide

CommLink IV Technical Guide

Canlan INSTALLATION MANUAL

HDMI (HDBaseT) Matrix Switcher Series

AccuPOS Hardware Setup Guide TABLE OF CONTENTS

USB485 USB to RS485 Converter Card

USB-16COMi-M 16-Port RS-422/485 USB Serial Adapter User Manual. Features and Specifications. Power Supply

CoverTitle. Raven XT. Quick Start Guide for AT&T Rev 3.0E

Local Firmware Download

TS1 Firmware Update Tool (for PC)

Wireless Modem Evaluation Board User s Guide

Installing the Ampire UART TFT

Using the NM150 with Adulticiding

BitPipe Cellular Dev- Kit

Firmware, Database, & PC Application Update Installation Instructions

Please note that you may lose your previous settings when you upgrade your software. We advise that you write them down before starting the update.

PSIM Tutorial. How to Use SCI for Real-Time Monitoring in F2833x Target. February Powersim Inc.

SIN-11-USB USERS GUIDE SIN-11-USB USERS GUIDE

Network USB over IP Server With 1-USB2.0 Port. User Manual V1.0

This 4-port RS-422/485 Adapter is provided with an external switching power adapter in the package.

On occasion, due to a failure or water damage it may become necessary to replace an APEX, APEX LITE, or APEX JR with another controller.

Thermal Label Printer Guide

Bluetooth RS-232 Adapter

Installation & User Manual

Firmware Upgrade for JVC projectors 2013 models*

Psiber ReportXpert. User s Manual

CEL MeshConnect ZICM35x Test Tool User Guide

Toriemon FGV-X and FGV-HX INSTRUCTION MANUAL

Temperature-Humidity Sensor Configuration Tool Rev. A 1/25/

EX-6014WI RS232 to WiFi Wireless Adapter, w/ Mounting Kit

NPort Z2150 User s Manual

Mi.Net Mobile. Transceiver. Mueller Systems. operating Instructions manual

Firmware Upgrade for JVC projectors 2013 models (Important Pre Update Information)


B5021 Ethernet Base Supplemental User Guide

Installation of advanced communications board and LG Chem RESU

Copyright 2013 Esselte Leitz GmbH & Co. KG. All rights reserved.

Installation & User Manual V2.08

mce100+ getting started guide Install mce100+ The disc will run and display the below screen: Choose Install mce to continue

USB-COMi-TB USB to Industrial Single RS-422 / 485 Adapter Manual. Specifications and Features

Renaming the Projector Adapter Advanced Settings Troubleshooting... 25

SCAN LEARN MORE. iw4 Start Guide Visit our website for additional help and how-to videos

VISY-X. Technical Documentation. Cinterion MC 55 i. Edition: Version: 1 Article no.:

The manufacturer has released new improved firmware which upgrades your O2 USB Modem. To install it follow the instructions below.

linkzone User ManUal

AVR32 Studio Tutorial AVR32 UC3. EVK1100 Control Panel Tutorial

Dolphin ebase. Communication Cradle for the Dolphin 9700 Mobile Computer. User s Guide

How to Update PXW-X70 System software

There are two ways to connect the Ideal Vacuum Model XG-120 Digital Vacuum Gauge: Via RS-232 Serial Port, or Ethernet.

Configuring the Switch

8 TS4-DDH T i g e r S t o p M a n u a l D a t a D o w n l o a d i n g. May 2006 Version 3.5 ~ 4.72 Hardware

INTRODUCTION 2 FEATURES. 2 SPECIFICATIONS. 2 PIN ASSIGNMENT 2 DB-9 DB-25 CONVERSION TABLE. 2 DRIVER INSTALLATION QUICK GUIDE.. 2

MTX-D Ethanol Content and Fuel Temperature Gauge User Manual

Blue Point Engineering

Transcription:

The ZigBee Evaluation Kit (ZEK) has been developed for evaluation of the ZigBee wireless solution from Amp ed RF. This demo kit utilizes Amp ed RF ZigBee Serial Adapter (AR Zb-121) board with embedded ZigBee module (AR Zb-21), and the zbserial firmware. No additional devices or drivers are required. Contents of ZEK Kit: 1. Two evaluation adapters which consist of a ZigBee Serial Adapter (Zb-121) board, and ZigBee module (Zb-21). 2. Two DB-9 RS232 female to female cables 3. Two 120V AC to 5V DC power adapters 4. zbserial firmware. 5. zbserial programming tool 6. AR Zb-21 data sheet 7. ZbSerial reference guide 8. ZEK Quick Start Guide Figure 1: ZigBee Evaluation Kit (ZEK) Contents Figure 2: ZigBee Adapter Zb-121 and Module Zb-21 The evaluation steps consist of three parts. They are 1) Serial connection setup. 2) ZigBee communication demonstration and 3) zbserial programming demonstration. A user may prepare the following items to successfully finish the evaluation steps. 1. One or two PCs with Windows XP Pro 2. One or two USB to Serial DB-9 RS232 male adapters if user s PCs do not have any RS232 serial ports. Amp ed RF offers the optional USB serial adapters. 3. One or two optional battery packs if the user wants to carry the units to move around. 4. Web access to http://www.ampedrf.com/document.htm to download OKI programming utility tool and zbserial firmware image file Before we start the evaluation steps, please take a look at the Figure 3 and 4. Figure 3 shows the front view of the ZigBee Adapter board Zb-121 which the ZigBee module Zb-21 is embedded on. Figure 4 shows the back view of the ZigBee adaptor which the dip switches are located. 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 1 of 15

Figure 3: The front view of ZigBee adaptor Zb-121. The white dots area is where the Zb- 21 located. Figure 4: The back view of ZigBee adaptor Zb-121. The white dots area is where the four dip switches located. The following are the steps to evaluate Amp ed RF ZigBee wireless solution using ZigBee adapter board ZB-121 and ZigBee module ZB-21. (1) Serial Connection Setup Serial Connection Setup is to establish the connection between your PC and Zbto 121 adapter board which ZigBee device Zb-21 is embedded using Hyper Terminal program. You may issue AT-command of the zbserial firmware control your ZigBee device from your PC. You will learn some basic AT commands of zbserial firmware such as VERS, BAUD, JOIN, DISJ and PTPT. You may also chat between the two ZigBee devices when the two devices are connected. 1. Choose one Zb-121 adapter board as the host device. Examine the four dip switches located at the back of the host adapter. All four dip switches should be set to the ON positions. Refer to Figure 3 and Figure 4. 2. Connect a DB-9 RS232 serial cable from one of PC serial ports to the serial port on the host adapter. Note: If the PC doesn t have a serial port, which many of the latest PCs on the market don t provide, you may install a USB to DB-9 RS232 serial male adapter cable and driver on your PC. 3. Launch the HyperTerminal program from Windows XP on the host PC. Start->Programs->Accessories->Communications->HyperTerminal Note: For Windows Vista user, you may download and install HyperTerminal Private Edition from http://www.hilgraeve.com/htpe/ 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 2 of 15

4. Start a new connection from HyperTerminal program File->New Connection Some HyperTerminal prompts a New Connection window immediately when HyperTerminal is launched. You may open an existing connection if you have one. After opening the existing connection, for example ZBHost, you can setup it by using File->Properties (Step 8) 5. A New Connection window prompts. Input the name in the Enter a name and chose an icon for the connection, for example, ZBHost. Then click OK 6. A Connect To window prompts. 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 3 of 15

Choose the COM port where the serial cable is connecting to the adapter, for example: Using Connection: COM3 Then click OK If you don t know which COM port number that is connected to the adapter, you may find it from Windows Device Manager. 7. A COM3 Properties window prompts. Then choose the following values: Bits per second: 9600 Click OK to close the COM3 Properties window 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 4 of 15

8. Choose proper Properties settings in the HyperTerminal for ZBHost connection. HyperTerminal->File->Properties 9. A ZBHost Properties window prompts. Click Settings tab to open the setting window Click ASCII Setup button An ASCII Setup window prompts, check the following options: ASCII Sending Sending lines ending with line feeds 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 5 of 15

Echo typed characters locally ASCII Receiving Wrap lines that exceeds terminal width Click OK to close the ASCII Setup window Click OK to close the Properties window Now the connection ZBHost-HyperTerminal setup is done. 10. Connect the DC power plug from AC outlet to a power inlet on the adapter. The third LED should be on solid green which indicates that the adapter is powered. The ZBHost-HyperTerminal displays the device MAC address of the ZigBee module which indicates that the ZigBee board is connected to your PC correctly. For example, MAC Address: 0080870000500535 The adapter doesn t have a reset switch. You may un-power/power the DC power at any time if you want to hard reset the device. You can use the AT command RSET to soft reset the device. Now you can enter the following AT commands to test the Serial connection between your PC and the adapter. The AT commands are case insensitive. 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 6 of 15

11. Use AT command to find the current version number of the zbserial firmware. The AT commands are case insensitive. Enter AT command: AT+ZB VERS The HyperTerminal displays: AT-ZB zbserial vx.x 12. Set the baud rate of the serial connection between PC and ZigBee device. Enter AT command: AT+ZB BAUD 4800 The HyperTerminal displays: AT-ZB OK Note: The HyperTerminal may no longer display commands correctly because the baud rate of HyperTerminal is 9600 while the baud rate of the adapter is 4800. You may use the following steps to change the baud rate of the HyperTerminal HyperTerminal->Call->Disconnect HyperTerminal->File->Properties The ZBHost Properties window prompts: Click Connect To->Configure 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 7 of 15

The COM3 Properties Port setting window prompts. Choose new baud rate in the pull down menu: Bits per second: 4800 Click OK to close the COM3 Properties window Click OK to close the ZBHost Properties window You may resume the connection between the HyperTerminal and the adapter: HyperTerminal ->Call Now you may enter an AT command such as AT+ZB VERS to verify the consistent baud rate setting of the serial connection. You may repeat the above steps to change the baud rate back to 9600 bps. 13. Use AT command to soft reset the device. Enter AT command: AT+ZB RSET The HyperTerminal displays: AT-ZB OK 14. The AT command RSET resets the ZigBee radio to its original state, for example, the network is disjoined, any point-to-point, multi-point connections are disconnected. 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 8 of 15

2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 9 of 15

(2) ZigBee Communication Demonstration This part of evaluation demonstrates the ZigBee communication and network capability among ZigBee devices. The current evaluation kit uses two ZigBee devices for cable replacement. ZigBee mesh network features will be demonstrate with more powerful ZigBee modules and firmware to be released from Amp ed RF. 1. Enter the JOIN command from the ZBHost-HyperTerminal to for a host device start a ZigBee network: Enter AT command: AT+ZB JOIN The HyperTerminal displays: AT-ZB C 0X0 This message indicates that the ZBHost device has started a PAN ZigBee network. The device plays the C role, which is the coordinator. The network address of the device is 0x0. 2. Use JOIN command for the remote device to join the ZigBee network from the ZBRemote-HyperTerminal Enter the AT command: AT+ZB JOIN The HyperTerminal displays: AT-ZB R 0X1 This indicates that the remote ZigBee device has joined the network as the child to the host device. It functions as a R, which is the router. The network address is 0X1 3. Use command PTPT to establish a point-to-point connection between the two ZigBee devices from the both ZBHost and ZBRemote HyperTerminals. The order doesn t matter. Assume the ZigBee network has been established after the steps 1 and 2. Enter PTPT command from ZBHost-HyperTerminal: AT+ZB PTPT 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 10 of 15

ZBHost-HyperTerminal displays: AT-ZB PENDING Enter PTPT command from ZBRemote HyperTerminal: AT+ZB PTPT Both HyperTerminals display the message: AT-ZB OK This indicates that the two host and remote ZigBee devices have established a point-to-point connection directly. Type any messages from one HyperTerminal; the other HyperTerminal should display the same messages, for example, Abcdefg1234567890 Hello from ZigBee world! 4. Enter escape sequence from the HyperTerminal to return to the AT command mode. Please not the ^ is the Shift-6 key instead of Ctrl key. Enter escape sequence from ZBRemote HyperTerminal: ^#^$^% HyperTerminal displays: OK 5. Use command UNPT to disconnect the point-to-point connection between the two ZigBee devices from the both ZBHost and ZBRemote Hyper Terminals. The order doesn t matter. Assume the point-to-point connection has been established after the steps 1, 2 and 3. The escape sequence has been applied to return to the local AT command mode for the each device. Enter UNPT command from ZBHost-HyperTerminal: AT+ZB UNPT ZBHost-HyperTerminal displays: AT-ZB PENDING Enter PTPT command from ZBRemote HyperTerminal: 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 11 of 15

AT+ZB UNPT Both Hyper Terminals display the message: AT-ZB OK This indicates that the two host and remote ZigBee devices have disconnected the point-to-point connection. 6. Enter DISJ from the ZBRemote-HyperTerminal to disjoin the remote adapter from the PAN network: Enter AT command: AT+ZB DISJ It may take about 10 seconds to disjoin the ZigBee network in the current evaluation kit. In this case, the HyperTerminal may display AT-ZB PENDING Please wait until the HyperTerminal displays message: AT-ZB OK This indicates that the remote ZigBee device has disjoined the ZigBee network. 7. Enter DISJ from the ZBHost-HyperTerminal, to disjoin the PAN network as well as dissolve the network it created: AT+ZB DISJ HyperTerminal displays message: AT-ZB PENDING AT-ZB OK Device has disjoined the network! This indicates that the host ZigBee device has disjoined the ZigBee network. Because the host device is the Coordinator of the network, it dissolves the network as well. 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 12 of 15

(3) Programming Demonstration: Each ZigBee module from Amp ed RF is pre-programmed. However, a user may upgrade the firmware from a PC using OKI In System Flash Programmer (ISFP) utility. 1. Turn off the power supply to the Zb-121 adapter 2. Turn the dip switch SW2 to OFF, only on the back of the adapter 3. Disconnect any active HyperTerminal connections on the PC 4. Launch the OKI ISFP program from your PC 5. In the Port Configuration area which locates at the right side of the window, Set the Port to the right COM port that the ZigBee device is connected to 6. Choose Baud Rate 38400 7. Click Connect button 8. A Flash Programmer message window prompts. It displays: 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 13 of 15

Apply the DC power, which serves as a reset to the adapter Click OK to close the window. 9. A Flash Programmer message window prompts. It displays: Click OK to close the window. 10. In the Writing/Comparison area, browse the image file of the firmware to program. For example, zbserial_v1.hex Click Write to Flash The status bar at the bottom of the ISFP windows displays Writing data to Flash The programming time is about four minutes depending on image file size. 11. A Flash Programmer message window prompts: 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 14 of 15

Click No to close the window 12. The programming is done. You have upgraded the firmware of the ZigBee device. 13. Click File->Exit to close the OKI ISFP program. 14. Unplug the DC power of the adapter 15. Turn the SW2 to ON position at the back of the adapter 16. Plug in the DC power of the Zb-121 adapter board and the third LED is on solid green. Your evaluation adapter board is ready. 2007 Amp ed RF, Inc. www.ampedrf.com ZEK Quick Start Guide Page 15 of 15