Zilog ZMOT0BHH User Manual

ZMOTIONL200ZCOG
ZMOTION® 20-Pin Detection and Control Development Kit
User Manual
UM023902-1013
Copyright ©2013 Zilog®, Inc. All rights reserved.
www.zilog.com
ZMOTION® 20-Pin Detection and Control Development Kit
Warning:
User Manual
DO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS.
LIFE SUPPORT POLICY
ZILOG’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION.
As used herein
Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user. A critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness.
Document Disclaimer
©2013 Zilog Inc. All rights reserved. Information in this publication concerning the devices, applications, or technology described is intended to suggest possible uses and may be superseded. ZILOG, INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT. ZILOG ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. The information contained within this document has been verified according to the general principles of electrical and mechanical engineering.
ZMOTION and Z8 Encore! XP are registered trademarks of Zilog Inc. All other product or service names are the property of their respective owners.
UM023902-1013 ii
ZMOTION® 20-Pin Detection and Control Development Kit

Revision History

Each instance in the table below reflects a change to this document from its previous edi­tion. To learn more, refer to the corresponding pages and appropriate links in the table below.
Revision
Date
Oct 2013
Mar 2012
Level Description Page
02 Deleted references to CD-ROM. All software and documentation is available
free from the Zilog Store.
01 Original issue All
User Manual
n/a
UM023902-1013 iii
ZMOTION® 20-Pin Detection and Control Development Kit

Table of Contents

Revision History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .iii
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Supported Operating Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Safeguards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Download and Install the ZDSII Software and Documentation . . . . . . . . . . . . . . . . . 3
Download and Install the Code and Documentation . . . . . . . . . . . . . . . . . . . . . . . . . 3
Safeguards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
ZMOTION 20-Pin Detection and Control Development Board . . . . . . . . . . . . . . . . . . . . 6
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
MCU Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ZMOTION 20-Pin Detection and Control Development Kit Lenses and
Pyroelectric Sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Pyroelectric Sensor Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Lens Mounting Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Attaching the PIR Sensor Lens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Attaching the Circuit Board Lens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Assembling the Circular Lens Holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Assembling the Flat Lens Holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Connecting the USB SmartCable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Running the Sample Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
ZMOTION 20-Pin Development Kit Application Software . . . . . . . . . . . . . . . 19
Making Changes to the ZMOTION_Serial_Config Project . . . . . . . . . . . . . . . . 21
User Manual
Appendix A. Installing the USB SmartCable Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Windows 7 32/64 Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Windows Vista 32/64 Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Windows XP Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Appendix B. Installing the FTDI USB-to-UART Driver . . . . . . . . . . . . . . . . . . . . . . . . 26
Appendix C. Schematic Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Customer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
UM023902-1013 iv

Introduction

Note:
Zilog’s ZMOTION 20-Pin Development Kit provides a general-purpose platform for eval­uating the capabilities and operation of the ZMOTION 20-Pin Detection and Control Fam­ily of microcontrollers featuring Zilog’s passive infrared (PIR) technology. The family includes a series of high-performance microcontrollers with integrated motion detection algorithms. A variety of included lenses and pyroelectric sensors demonstrate the flexibil­ity of the integrated motion detection algorithms to provide the best p ossible performance for a range of lighting, detection and control applications.
This user manual acquaints users with Zilog’s ZMOTION 20-Pin Detection and Control Development Kit Revision B or later.
ZMOTION® 20-Pin Detection and Control Development Kit
User Manual
The Z8FS040 MCU, a prominent member of the ZMOTION 20-Pin Detection and Con­trol Family, combines the programmability and rich peripheral set of Zilog’s Flash Z8 Encore! XP vide the functions necessary for PIR motion detection applications. These motion detec­tion algorithms comprise Zilog’ s PIR technolo gy and run in the background while control and status of the motion detection engine is accessed through a software Application Pro­grammer Interface (API). As a result, the designer can create his or her own application­specific software while taking advantage of Zilog’s ZMOTION Motion Detection Tech­nology.
Within this kit, API settings are provided to match the Engine operation to each of the lens and pyroelectric sensor combinations provided.
T o learn more about the ZMOTION MCU, including functional differences between the 8­and 20-pin versions, refer to the ZMOTION
(PS0285), available free for download from the Zilog website.

Kit Contents

The ZMOTION 20-Pin Detection and Control Development Kit contains the following hardware, software and documentation:

Hardware

®
Family of MCUs with built-in motion detection software algorithms to pro-
Detection and Control Product Specification
ZMOTION 20-Pin Development Board
USB SmartCable Debugger
0.9" Focal Flat Lens Holder
0.77" Focal Circular Lens Holder
Selection of lenses
UM023902-1013 1
ZMOTION® 20-Pin Detection and Control Development Kit
Wall-Mount Power Supply
Lenses
ZMOTION 20-Pin Detection and Control Development Board
Mini-USB Serial Cable
2 additional pyroelectric sensors
USB Smart Cable Debugger
Lens Holders
User Manual
Selection of pyroelectric sensors, including a RE200B-P sensor installed on the Board
Mini-USB serial cable
Wall-mount mini-USB 5 V DC power supply
An assortment of mounting hardware
The contents of the kit are shown in Figure 1.
1
Figure 1. ZMOTION 20-Pin Detection and Control Development Kit Components

Supported Operating Systems

1. Zilog recommends using only the power supply provided in the ZMOTION 20-Pin Detection and Control Development Kit.
UM023902-1013 2
The software and documentation for this kit supports Microsoft Windows 7 (32-bit/64­bit), Windows Vista (32-bit/64-bit) and Windows XP.
ZMOTION® 20-Pin Detection and Control Development Kit
Caution:
Note:

Safeguards

The following precaution must be observed when working with the devices described in this document.
Always use a grounding strap to prevent damage resulting from electrostatic dis­charge (ESD).

Download and Install the ZDSII Software and Documentation

Prior to connecting the ZMOTION Development Board to your PC, observe the following procedure.
User Manual
1. Download ZDS II for Z8 Encore! v5.0.0 (or later) from the Downloadable Software category in the Zilog Store
2. Run the software installation file and follow the on-screen instructions to install ZDS II.
.

Download and Install the Code and Documentation

ZMOTION software and documentation is available as a downloadable file from the Zilog Store. Observe the following brief procedure to download and install your ZMOTION software.
1. In the Zilog Store of the available software in the Zilog Store. In this list, click
Software and Documentation
Product Details page that appears next, click the blue plete the checkout process to download the ZMOTION software and documentation files to your hard drive.
If you’re a first-time visitor to the Zilog Store, you will first be required to register as a Zilog Store user before downloading your software. Returning visitors must log in to pur­chase or download.
, under Categories, click Downloadable Software to present a list
ZMOTIONL200ZCOG
; the Product ID for this software is SD00026. On the
Add to Cart button and com-
2. When the download is complete, unzip the file to your hard drive, double-click to launch the screen instructions.
UM023902-1013 3
ZMOTIONL200ZCOG_<version>.exe installation file, and follow the on-
ZMOTION® 20-Pin Detection and Control Development Kit
Note:
User Manual
<version> represents the release version of the ZMOTIONL200ZCOG installation.
3. When the installation is complete, the ZMOTION documentation will be located in the following path, by default:
C:\Program Files\Zilog\ZMOTIONL200ZCOG_<version>\ZMOTION
Lighting Documentation
Documentation
The following documentation supports the ZMOTION 20-Pin Detection and Control Development Kit.
ZMOTION Detection and Control Product Brief (PB0225)
ZMOTION Detection and Control Development Kit Quick Start Guide (QS0076)
ZMOTION Detection and Control Product Specification (PS0285)
This ZMOTION 20-Pin Detection and Control Development Kit User Manual (UM0239
The following documentation supports the ZMOTION Product Family.
ZMOTION Detection Module: – ZMOTION Detection Module Product Brief (PB0223 ZMOTION Detection Module Product Specification (PS0284
ZMOTION Intrusion Detection: – ZMOTION Intrusion Detection Product Brief (PB0230 ZMOTION Intrusion Detection Product Specification (PS0288
Supporting Documentation: – ZMOTION Lens and Pyroelectric Sensor Product Specification (PS0286 ZMOTION – A New PIR Motion Detection Architecture White Paper (WP0017 ZMOTION Detection Lens and Pyro Sensor Configuration Guide (WP0018 Power Management and Customer Sensing with Zilog’s ZMOTION Detection
ZMOTION Detection Module Application Walkthrough (AN0307 High Brightness LED Reference Design (AN0309 Controlling Power with the ZMOTION Detection Module and Clare Solid State
ZMOTION Intrusion Reference Design (RD0001 Motion Sensing & LED Control with a ZMOTION/ IXYS Display (RD0003 ZMOTION Detection Module II Reference Design (RD0026
)
Module (AN0301
Relays Application Note (AN0319
)
)
)
)
)
)
)
)
)
)
)
)
)
)
UM023902-1013 4

Safeguards

Caution:
The following precaution must be observed when working with the devices described in this document.
Always use a grounding strap to prevent damage resulting from electrostatic dis­charge (ESD).
ZMOTION® 20-Pin Detection and Control Development Kit
User Manual
UM023902-1013 5
ZMOTION® 20-Pin Detection and Control Development Kit
User Manual

ZMOTION 20-Pin Detection and Control Development Board

Zilog’s ZMOTION 20-Pin Detection and Control Development Board is a development and prototyping platform for the ZMOTION 20-pin silicon and software, as well as for its lens/pyroelectric sensor/silicon and software bundled solutions. The Board provides the user with a tool to evaluate the many features of ZMOTION PIR technology as well as the actual performance of each lens and pyro combination.

Features

The ZMOTION 20-Pin Detection and Control Development Board features the following elements:
Z8FS040 ZMOTION 20-Pin Detection and Control MCU (20-pin SSOP)
Mini-USB power connector and serial interface
Power-On and Detection LED
On-chip debugger interface
Board openings for an assortment of lens holders and clip-on lens attachments
Prototyping area
2.7 V–3.6 V operating voltage with 5 V-tolerant inputs

MCU Features

The Z8FS040 ZMOTION 20-Pin Detection and Control MCU combines the programma­bility and rich peripheral set of Zilog’s Flash Z8 Encore! XP Family of MCUs with built­in motion detection software algorithms to provide the functions necessary for PIR motion detection applications.
The Z8FS040 MCU includes the following features:
High-performance eZ8® MCU core
4 KB in-circuit programmable Flash memory available for application code
Single-pin debug with unlimited breakpoints
Flexible clocking scheme
Internal precision oscillator running at 5.53 MHz
External oscillator operating up to 20 MHz
Sigma Delta ADC
Four single-ended channels or two differential channels available
On-chip analog comparator with independent programmable reference voltage
UM023902-1013 6
ZMOTION® 20-Pin Detection and Control Development Kit
User Manual
Full-duplex UART with dedicated BRG
T wo 16-bit timers with input capture, ou tput compare and PWM capability (11 modes total)
Watchdog timer (WDT) with dedicated internal oscillator
Up to 20 vectored interrupts
16 I/O pins
2.7 V to 3.6 V operating voltage with extended operating temperature range –40° C to +105° C
Zilog PIR technology controlled and monitored via software API registers
Selection capability from an assortment of lenses and pyroelectric sensors to best fit your application
API settings provided for each lens and pyroelectric sensor combination
Directly supports 1 or 2 pyroelectric sensors
Sensitivity control, range control and directionality detection
Extended detection modes for occupancy sensing
Low power modes

ZMOTION 20-Pin Detection and Control Development Kit Lenses and Pyroelectric Sensors

The ZMOTION 20-Pin Detection and Control Development Kit includes nine different types of lenses and three different types of pyroelectric sensors to fill a wide variety of lighting control, occupancy sensing, HVAC, display, proximity and power management applications. These applications also demonstrate the flexibility , and superior performance of Zilog’s PIR motion detection technology.
Please refer to the ZMOTION Lens and Pyroelectric Sensor Product Specification
(PS0286) for part-specific details about the individual lenses and pyroelectric sensors.
Refer to the ZMOTION 20-Pin Detection and Control Development Kit Quick Start Guide
(QS0085) for specific installation instructions for the lenses and pyroelectric sensors.

Pyroelectric Sensor Options

The ZMOTION 20-Pin Detection and Control Development Kit includes the following three pyroelectric sensors:
RE200B-P: a basic dual element sensor installed on the board
SDA02-54-P, a premium dual-element sensor
SBDI46-504AA, a quad-element sensor
UM023902-1013 7
Loading...
+ 23 hidden pages