ZiLOG ZMOTION User manual

Copyright ©2010 by Zilog®, Inc. All rights reserved.
www.zilog.com
Introduction
This Quick Start Guide acquaints users with Zilog’s ZMOTION™Development Kit and
provides instructions for setting up and using the kit to demonstrate its basic operation.
The following topics are covered:
•Getting Started: the quickest way to get the board up and running; see page 4
•Installing the Pyroelectric Sensor – see page 5
•Installing the Lens – see page 8
•Installing ZDSII and the USB Smart Cable – see page 15
•Download and Run the Sample Project – see page 19
•Board Design Information – see page 24
Kit Contents
•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
•DB9–DB9 serial cable
•Wall mount power supply
•CD with Sample applications and product documentation
•CD with ZDSII
•Various mounting hardware
Figures 1 through 3 show images of the components of the kit plus the sensors and lenses
it contains. The Getting Started section follows on page 4.
ZMOTION™ Detection and
Control Development Kit
Quick Start Guide QS007601-1010

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 2 of 28
Figure 1. ZMOTION™ Development Kit Components
0.77” Focal Circular
Lens Holder (1)
Mica Washers
(2)
Machine Screws
and Nuts
2 - #4-40 x ¾”
4 - #4-40 x ½”
0.9” Focal Flat
Lens Holder (1)
Lenses
(5)
Pyroelectric
Sensors (3)
USB Smart
Cable (1)
ZDS II &
Application CDs (2)
Power Supply
(1)
ZMOTION
Development
Board (1)
DB9–DB9
Serial Cable (1)

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 3 of 28
Figure 2. The Three Pyroelectric Sensors, from left to right:
RE200B-P, SDA02-54-P, and SBDI46-504AA

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 4 of 28
Getting Started
The kit contains several lens and pyroelectric sensor options. To provide a quick method
of getting the kit up and running, the ZMOTION™MCU is initially programmed with a
ZMOTION_Basic project using the RE200B-P pyroelectric sensor and the CWM 0.5GI
V1 lens. By installing the pyroelectric sensor and the lens and then applying power, the
basic operation of the kit can be observed.
To get started with the kit, observe the following brief procedure.
1. Install the RE200B-P pyroelectric sensor as outlined in the Installing the Pyroelectric
Sensor section that follows.
2. Install the CWM 0.5 GI V1 lens as described on page 8.
3. Insert the power supply output connector into jumper J1 on the ZMOTION™Develop-
ment Board and apply AC power to the power supply.
4. The Blue power LED will illuminate and the Red LED will initially illuminate and re-
main on until the pyroelectric sensor stabilizes –a period of approximately 5 to 30 sec-
Figure 3. The Five Lenses contained in this ZMOTION™ Development Kit

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 5 of 28
onds. After the PIR sensor has stabilized, the Red LED turns OFF, to turn ON only
when motion is detected.
5. To test this procedure, wave your hand over the lens and notice the LED turning ON
for approximately 1 second.
The following sections describe the operation of the kit in more detail, including how to
download and debug your own ZMOTION™project.
Installing the Pyroelectric Sensor
The Pyroelectric sensor used on the ZMOTION™Development Board can be changed by
inserting the device into the appropriate socket. Proper orientation is ensured by aligning
the tab on the sensor to the silkscreened tab on the circuit board. The tab on each 3-pin
pyroelectric sensor aligns to the silkscreened tab labeled U9.
Ensure that the leads on the pyroelectric sensor are trimmed such that the device sits flush
on the board. If the leads are too long and the device is not firmly seated on the board,
focal length will be affected and performance will be reduced. A mica washer (provided)
must be installed between the pyroelectric sensor and the socket to ensure that the sensor’s
metal can will not come into contact with the sockets on the board, as shown in Figure 4.

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 6 of 28
The leads on the pyroelectric sensor should be trimmed no shorter than 2.3mm (.090") and
no longer than 3.3mm (0.130"), as indicated in Figure 5. For more information about the
Pyroelectric Sensor socket, see page 26.
Figure 4. Pyroelectric Sensor installation

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 7 of 28
Figure 5. Trimming the leads on the pyro prior to installation

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 8 of 28
Installing the Lens
The ZMOTION™Development Board supports four lens mounting options, as indicated
in Table 1.
Installation Note: When mounting the ZMOTION development board vertically or from
the ceiling, special consideration should be taken regarding the height and levelness of the
board. Be sure to follow the lens manufacturer’s recommended height requirements to
ensure optimal performance.
Attaching the PIR Sensor Lens
This clip-on lens slides atop the PIR sensor and the notch on the PIR sensor aligns with the
notch in the base of the lens. Note the two notches in the base of the lens; the correct notch
to use is the one that is in line with the notch in the middle of the lens and aligned with the
horizontal axis of the beam pattern, as shown in Figure 6.
Table 1. Lens Mounting Options
Lens Mounting Lens Supported
PIR Sensor Clip On NCL-9(26)
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

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 9 of 28
Figure 6. NCL-9(26) Lens and PIR Sensor installed
on the ZMOTION™ Development Board

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 10 of 28
Attaching the Circuit Board Lens
This clip-in lens style clips directly into the circuit board over top 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 indi-
cated in Figure 7.
Circular Lens Holder
The circular lens holder, shown in Figure 8 is a 2-piece assembly that provides a 0.77"
focal length mounting.
Figure 7. Assembled clip-in lens installed on the ZMOTION Development Board

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 11 of 28
To assemble the lens and lens holder, observe the following brief procedure.
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 provided ¾" machine screws (2) with a
nut to secure the cap in place.
3. Place the lens and lens holder assembly on the to ZMOTION™Development Board
aligning the primary placement arrow on the lens holder with the secondary placement
arrow on the circuit board, as shown in Figure 9. The 4 screw holes in the circuit board
should line up with the four center-mounting holes in the lens holder.
Figure 8. Circular 0.77" Lens Holder (Cap and Base)

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 12 of 28
4. Use the provided ⅜" machine screws (4) with a nut to secure the lens holder in place.
See Figure 10.
Figure 9. Top of lens holder on the ZMOTION™ Development Board

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 13 of 28
Flat Lens Holder
The flat lens holder, shown in Figures 11 and 12, is a two-piece assembly that provides a
0.9" focal length mounting.
Figure 10. Assembled Circular 0.77" Lens holder and Circular Lens installed
on the ZMOTION™ Development Board

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 14 of 28
Figure 11. Flat 0.9" Lens Holder (Cap and Base)
Figure 12. Flat Lens: AA 0.9 GI T1

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 15 of 28
To assemble this flat lens and holder, observe the following brief procedure.
1. Place the lens into the inside of the cap, ensuring that the grooves of the lens are facing
inward.
2. Place the cap over the base, ensuring that the top of the lens is toward the arrow on the
base. Use the provided ½" machine screws (2) with a nut to secure the cap in place.
3. Place the lens and lens holder assembly onto the ZMOTION™Development Board
with the arrow on the lens holder aligned with the secondary placement arrow on the
circuit board, as shown in Figure 13. The four 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 13.
Installing ZDSII and the USB Smart Cable
Observe the following the steps to install Zilog Developer Studio (ZDSII) and its associ-
ated documentation.
1. Insert the ZDSII CD into the CD-ROM drive. The DemoShield installer launches
automatically. If DemoShield does not launch automatically, open Windows Explorer,
browse to your CD-ROM drive and double-click launch.exe to launch DemoShield.
Figure 13. Assembled Flat 0.9" Lens Holder and Flat Lens

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 16 of 28
2. From the product installer list, you have the option to choose to install ZDSII alone, or
both ZDSII and its associated documentation. You can also copy the documentation di-
rectly from your CD-ROM drive to your hard disk using Windows Explorer, or read
the documentation directly from the CD-ROM itself.
For customer service and technical support, Zilog recommends that you create an account
at support.zilog.com.
Installing the USB Smart Cable
This section describes how to install the USB Smart Cable and associated driver software
for your particular operating system.
Windows Vista, 32-bit OS
Follow the steps below to install the USB Smart Cable for Windows Vista 32-bit systems.
1. Connect the USB Smart Cable to the host PC. The Found New Hardware dialog box
is displayed.
2. Select Locate and install the driver software (recommended). The Driver Software
Installation window is displayed, followed by the Found New Hardware-USB Smart
Cable dialog box.
3. When prompted, select I don't have the disc. Show me other options.
4. When prompted, select Browse my computer for driver software (advanced).
5. Browse to the following driver directory:
<ZDS II Installation Directory>\device drivers\USB
The Windows Security dialog box is displayed.
6. Select Install this driver software anyway.
7. Upon successful installation, click Close.
Windows XP
Follow the steps below to install the USB Smart Cable for Windows XP systems.

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 17 of 28
1. Connect the Zilog USB device to the host PC. The Found New Hardware wizard
should activate automatically after connecting the Zilog USB device for the first time.
If prompted to connect to Windows Update, select No, not at this time.
2. Select [Install from a list or specific location (Advanced)]; then click Next.
If the Windows Logo testing dialog appears, select Continue Anyway.
3. Select Search for the best driver in these locations and Include this location in
search.
4. Browse to the following driver directory, then click Next.
<ZDS installation>\device drivers\USB\
5. After the appropriate driver is found, click Next.
6. Click Finish to complete the installation.
Windows 2000
Follow the steps below to install the USB Smart Cable for Windows 2000 systems.
1. Connect the Zilog USB device to the host PC. The Found New Hardware wizard
should activate automatically after connecting the Zilog USB device for the first time.
2. After the Found New Hardware wizard has been activated, click Next.
3. Select Search for a suitable driver for my device (Recommended), then click Next.
4. Select Specify a location and click Next.
5. Browse to the following driver directory, then click OK.
<ZDS installation>\device drivers\USB\
6. After the appropriate driver is found, click Next.
7. Click Finish to complete the installation.
Windows 98SE
Follow the steps below to install the USB Smart Cable for Windows 98SE systems.
Note:

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 18 of 28
1. Connect the Zilog USB device to the host PC. The Add New Hardware wizard should
activate automatically after connecting the Zilog USB device for the first time.
2. After the Add New Hardware wizard has been activated, click Next.
3. Select Search for the best driver for your device (Recommended) and click Next.
4. Select Specify a location and browse to the following driver directory, then click
Next.
<ZDS installation>\device drivers\USB\
5. After the appropriate driver is found, click Next.
6. Click Finish to complete the installation.
Connecting the USB Smart Cable to the Development Board
The power to the development board must be disconnected or turned
OFF before connecting or disconnecting the USB Smart Cable.
1. Attach one end of the six-conductor ribbon cable (included) to the USB Smart Cable
six-pin DBG connector, as shown in Figure 14.
Caution:

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 19 of 28
2. Attach the free end of the ribbon cable to the DBG connector (ZDI Interface) on the
development board. Ensure that pin 1 on the ribbon cable (indicated by the dark stripe)
is aligned with pin 1 on the target connector (indicated by a 1on P3 of the board).
Download and Run the Sample Project
Sample projects are included on the Application CD. Copy these projects to a convenient
folder on your PC. Once copied, ensure the folders are not set to Read Only by right-
clicking the folder and selecting properties. Deselect the Read Only attribute and click
OK. Make sure you apply changes to this and the other subfolders when prompted.
In this example we will use the ZMOTION_Basic project, but the steps below will apply to
any additional project.
At this point you should have loaded ZDSII and the Smart Cable USB driver
on to your computer. If you haven’t yet done so, revisit the beginning of this
Installing ZDSII and the USB Smart Cable section before proceeding.
Figure 14. Connecting the Six-Conductor Ribbon Cable to the USB Smart Cable
Note:

ZMOTION™ Detection and Control Development Kit
Quick Start Guide
QS007601-1010 Page 20 of 28
1. Open ZDSII and select File →Open Project, then navigate to the ZMOTION_Basic
project folder.
2. Open the ZMOTION_Basic.zdsproj project. When you first receive your kit, this
project is already loaded into the ZMOTION™MCU. Right-click within the open grey
area below the menu icons and select Workbook Mode to turn on the tabs at the bottom
of the editor and therefore make it easier to switch between files.
3. Click the Rebuild All icon to build the project. The build output should not indicate any
errors. If you receive errors, try reloading the projects from the original Application CD
and ensure that the folders are not set to Read Only. See Figure 15 for an example.
Figure 15. Building the ZMotion_Basic project in ZDSII
File Menu
Build Output
“Rebuild All” Icon Right-click to
select Workbook Mode
Other manuals for ZMOTION
1
Table of contents
Other ZiLOG Security Sensor manuals
Popular Security Sensor manuals by other brands

EpiSensor
EpiSensor ZIO-20 user guide

WIKA
WIKA PEW-1 Series operating instructions

Analytical Technology
Analytical Technology PortaSens II owner's manual

Iriss
Iriss Sonus PD operating manual

Fire Sentry
Fire Sentry FS19X-211-213 Installation guide and operating manual

TEUFELBERGER
TEUFELBERGER fImblSAVER Manufacturer's information and instructions for use

PCB Piezotronics
PCB Piezotronics IMI SENSORS TO641B31 Installation and operating manual

Bircher Reglomat
Bircher Reglomat ProxySwitch user guide

TELECO AUTOMATION
TELECO AUTOMATION TVTXS868A02 instruction manual

Amprobe
Amprobe ULD-410 user manual

Theben
Theben thePixa P360 KNX UP WH manual

AMC
AMC MOUSE 01 manual