IXYS Zilog ZMOTION User manual

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Disclaimer
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
©2012 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.
Warning:
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Revision History
iii
Revision History
Each instance in the table below reflects a change to this document from
its previous edition. For more details, refer to the corresponding pages
and appropriate links in the table below.
Date Revision
Level Description Page
Dec
2011 02 Updated to include lens attachment instructions, ZDSII
installation, a discussion about the sample project, plus
modified schematic diagrams.
11,18,
24, 34
Nov
2010 01 Original issue All
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Table of Contents
iv
Table of Contents
Revision History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Safeguards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
ZMOTION Detection and Control Development Board . . . . . . . . . . . . . . . . . .7
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
MCU Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
ZMOTION Detection and Control Development Kit Lenses and
Pyroelectric Sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Pyroelectric Sensor Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Lens Mounting Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Attaching the PIR Sensor Lens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Attaching the Circuit Board Lens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Assembling the Circular Lens Holder . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Assembling the Flat Lens Holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Installing ZDSII and the USB Smart Cable . . . . . . . . . . . . . . . . . . . . . . .18
Installing the USB Smart Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Connecting the USB Smart Cable . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Installing the FTDI USB to Serial Driver . . . . . . . . . . . . . . . . . . . . .23
Downloading and Running the Sample Project . . . . . . . . . . . . . . . . . . . .24
ZMOTION Development Kit Application Software . . . . . . . . . . . . .29
Making Changes to the ZMOTION_Serial_Config Project . . . . . . . .31
Board Design Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Customer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Introduction
1
Introduction
Zilog’s ZMOTION Development Kit provides a general-purpose platform
for evaluating the capabilities and operation of the ZMOTION Detection
and Control Family 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 flexibility of
the integrated motion detection algorithms to provide the best possible
performance for a range of lighting, detection and control applications.
This user manual acquaints users with Zilog’s ZMOTION Detection and
Control Development Kit Revision D.
The Z8FS040 MCU, a prominent member of the ZMOTION Detection
and Control Family, combines the programmability 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. These motion detection algorithms com-
prise Zilog’s PIR technology and run in the background while control and
status of the motion detection engine is accessed through a software
Application Programmer Interface (API). As a result, the designer can
create his or her own application-specific software while taking advan-
tage of Zilog’s ZMOTION Motion Detection Technology.
Within this kit, API settings are provided to match the Engine operation to
each of the lens and pyroelectric sensor combinations provided.
For more details about the ZMOTION MCU, refer to the ZMOTION
Detection and Control Product Specification (PS0285), available free for
download from the Zilog website.
Note:
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Introduction
2
Kit Contents
The ZMOTION Detection and Control Development Kit contains the fol-
lowing hardware, software and documentation:
Hardware
•
ZMOTION Development Board
•
USB Smart Cable Debugger
•
0.9" Focal Flat Lens Holder
•
0.77" Focal Circular Lens Holder
•
Selection of lenses
•
Selection of pyroelectric sensors, including a RE200B-P sensor
installed on the Board
•
Mini-USB serial cable
•
Wall-mount mini-USB 5V DC power supply1
•
An assortment of mounting hardware
The contents of the kit are shown in Figure 1.
1. Zilog recommends using only the power supply provided in the ZMOTION Detection and Control
Development Kit.
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Introduction
3
Software (on CD-ROM)
•
ZDSII – Z8 Encore! IDE with ANSI C-Compiler
•
USB to Serial Driver
•
Sample Code:
– ZMOTION_Serial_Config
– ZMOTION_Serial_Command
Figure 1. ZMOTION Detection and Control Development Kit Contents
Wall-Mount Power Supply
Lenses
ZEMS Development Board
Mini-USB Serial Cable
1 of 2 Additional
Pyro Sensors
USB Smart Cable Debugger
Lens Holders
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Introduction
4
– ZMOTION_Low_Scan
Documentation
The CD-ROM provided in the ZMOTION Detection and Control Devel-
opment Kit contains the following documentation:
•
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 Detection and Control Development Kit User Man-
ual (UM0230)
•
Board schematic, assembly drawing and artwork
The CD-ROM also contains the following related ZMOTION documenta-
tion:
•
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)
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Introduction
5
– Power Management and Customer Sensing with Zilog’s ZMO-
TION Detection Module (AN0301)
– ZMOTION Detection Module Application Walkthrough
(AN0307)
– Controlling Power with the ZMOTION Detection Module and
Clare Solid State Relays Application Note (AN0319)
System Requirements
An IBM PC (or compatible computer) with the following minimum con-
figurations is required:
•
Microsoft Windows 7/WindowsXP ProfessionalSP1/
Windows2000SP3/Windows Vista 32-bit/Windows NT 4.0 SP6
•
PentiumII/233MHz processor or higher up to PentiumIV, 2.8GHz
•
96MB RAM or more
•
25MB hard disk space or more
•
Super VGA video adapter
•
CD-ROM drive
•
USB 2.0 interface port
Installation
For details about installation and setup, refer to the Using the ZMOTION
Detection and Control Development Kit Quick Start Guide (QS0076).
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Introduction
6
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 discharge (ESD).
Caution:
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 ZMOTION Detection and Control Development Board
7
ZMOTION Detection and Control
Development Board
Zilog’s ZMOTION Detection and Control Development Board is a devel-
opment and prototyping platform for the ZMOTION 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 Detection and Control Development Board features the
following elements:
•
Z8FS040 ZMOTION Detection and Control MCU (8-pin SOIC)
•
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.7V–3.6V operating voltage with 5V-tolerant inputs
MCU Features
The Z8FS040 ZMOTION Detection and Control MCU combines the pro-
grammability 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.
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Features
8
The Z8FS040 MCU includes the following features:
•
High-performance eZ8®MCU core
•
4KB in-circuit programmable Flash memory available for application code
•
Single-pin debug with unlimited breakpoints
•
Flexible clocking scheme
•
Internal precision oscillator running at 5.53MHz
•
External oscillator operating up to 20MHz
•
Sigma Delta ADC
•
Up to 6 single-ended channels or 3 differential channels available
•
On-chip analog comparator with independent programmable refer-
ence voltage
•
Full-duplex UART with dedicated BRG
•
Two 16-bit timers with input capture, output compare and PWM
capability (11 modes total)
•
Watchdog timer (WDT) with dedicated internal oscillator
•
Up to 20 vectored interrupts
•
6 to 25 I/O pins depending upon package
•
2.7V to 3.6V 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
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 ZMOTION Detection and Control Development Kit Lenses and
9
ZMOTION Detection and Control Development Kit
Lenses and Pyroelectric Sensors
The ZMOTION Detection and Control Development Kit includes five
different types of lenses and pyroelectric sensors 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 perfor-
mance 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 Detection and
Control Development Kit Quick Start Guide (QS0076) for specific instal-
lation instructions for the lenses and pyroelectric sensors.
Pyroelectric Sensor Options
The ZMOTION Detection and Control Development Kit includes the fol-
lowing 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
Figure 2. Two Additional Pyroelectric Sensors (L–R): SDA02-54-P and SBDI46-504AA
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 ZMOTION Detection and Control Development Kit Lenses and
10
The type of sensor you use depends on your application requirements;
however, not all sensors are suitable for all lenses.
Lens Mounting Options
The ZMOTION Detection and Control Development Board supports four
lens-mounting options, as indicated in Table 1. For lens installation
instructions, please refer to the sections that follow.
Table 1. Four Supported Lens-Mounting Options
Lens Mounting Supported Lens
PIR Sensor Clip-On NCL-9(26)
NCL-3B
NCL-3R
NCL-10S
NCL-10IL
Circuit Board Clip-In CWM 0.5 GI V1
Circular Lens Holder 0.77 Focal CM 0.77 GI V3
CM 0.77 GI V5
Flat Lens Holder 0.9 Focal AA 0.9 GI T1
Note:
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Attaching the PIR Sensor Lens
11
Attaching the PIR Sensor Lens
Each of the clip-on lenses slide atop the PIR sensor, and the notch on the PIR
sensor aligns with the notch in the base of the lens, as shown in Figure 3.
Figure 3. NCL-9(26) Lens and PIR Sensor Installed
on the ZMOTION Development Board
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Attaching the Circuit Board Lens
12
Attaching the Circuit Board Lens
This clip-in lens style clips directly into the circuit board over the top of
the PIR sensor. There are 4 mounting clips on the lens that are aligned
with the slots in the circuit board. Note the locating tab on the side of the
lens is to be aligned with the silkscreened tab, as indicated in Figure 4.
Figure 4. Assembled Clip-In Lens Installed on the ZMOTION Development Board
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Assembling the Circular Lens Holder
13
Assembling the Circular Lens Holder
The circular lens holder, shown in Figure 5, is a 2-piece assembly that
provides a 0.77" focal length mounting.
To assemble the lens and lens holder, observe the following brief proce-
dure.
1. Place the circular lens into the base of the lens holder, aligning the
notch on the lens with the inside notch on the base.
2. Place the circular cap over the lens and the base ensuring the outside
tab on the cap aligns with the outside tab on the base. Use the pro-
vided ¾" machine screws (2) with a nut to secure the cap in place.
Figure 5. Circular 0.77" Lens Holder (Cap and Base)
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Assembling the Circular Lens Holder
14
3. Place the lens and lens holder assembly on the to ZMOTION Devel-
opment Board aligning the primary placement arrow on the lens
holder with the primary placement arrow on the circuit board, as
shown in Figure 6. The 4 screw holes in the circuit board should line
up with the four center-mounting holes in the lens holder.
4. Use the provided ⅜" machine screws (4) with a nut to secure the lens
holder in place. See Figure 7.
Figure 6. Top of Lens Holder on the ZMOTION Development Board
Downloaded from Elcodis.com electronic components distributor

ZMOTION™ Detection and Control Development Kit
User Manual
UM023002-0112 Assembling the Flat Lens Holder
16
Assembling the Flat Lens Holder
The flat lens holder, shown in Figures 8 and 9, is a two-piece assembly
that provides a 0.9" focal length mounting.
Figure 8. Flat 0.9" Lens Holder (Cap and Base)
Downloaded from Elcodis.com electronic components distributor
Other manuals for Zilog ZMOTION
1
This manual suits for next models
1
Table of contents
Other IXYS Microcontroller manuals

IXYS
IXYS ZiLOG ZMOTION ZEPIR000102ZCOG User manual

IXYS
IXYS Zilog S3F80QB User manual

IXYS
IXYS zilog Z8 Encore! XP F6482 Series User manual

IXYS
IXYS zilog Z8051 Series User manual

IXYS
IXYS zilog Z8051 Series User manual

IXYS
IXYS zilog Z8 Encore! XP F6482 Series User manual

IXYS
IXYS Zilog eZ80F91 User manual

IXYS
IXYS Zilog ZMOTION ZMOTIONS200ZCOG User manual

IXYS
IXYS ZILOG S3F8S5A User manual

IXYS
IXYS zilog Z8 Encore! XP F64 Series User manual