IXYS zilog ZMOTION User Manual

Detection and control development kit
Hide thumbs Also See for zilog ZMOTION:

Advertisement

Quick Links

ZMOTIONL100ZCOG
ZMOTION™ Detection
and Control
Development Kit
User Manual
UM023002-0112
®
Copyright ©2012 Zilog
, Inc. All rights reserved.
www.zilog.com
Downloaded from
Elcodis.com
electronic components distributor

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the zilog ZMOTION and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for IXYS zilog ZMOTION

  • Page 1 ZMOTIONL100ZCOG ZMOTION™ Detection and Control Development Kit User Manual UM023002-0112 ® Copyright ©2012 Zilog , Inc. All rights reserved. www.zilog.com Downloaded from Elcodis.com electronic components distributor...
  • Page 2 ZMOTION™ Detection and Control Development Kit User Manual Warning: 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.
  • Page 3: Revision History

    ZMOTION™ Detection and Control Development Kit User Manual 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. Revision Date Level...
  • Page 4: Table Of Contents

    ZMOTION™ Detection and Control Development Kit User Manual Table of Contents Revision History..........iii Introduction .
  • Page 5: Introduction

    ZMOTION™ Detection and Control Development Kit User Manual 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.
  • Page 6: Kit Contents

    ZMOTION™ Detection and Control Development Kit User Manual 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 •...
  • Page 7 ZMOTION™ Detection and Control Development Kit User Manual Wall-Mount Power Supply Lenses ZEMS Development Board 1 of 2 Additional Pyro Sensors Mini-USB Serial Cable USB Smart Cable Debugger Lens Holders Figure 1. ZMOTION Detection and Control Development Kit Contents Software (on CD-ROM) •...
  • Page 8 ZMOTION™ Detection and Control Development Kit User Manual – 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) •...
  • Page 9: System Requirements

    ZMOTION™ Detection and Control Development Kit User Manual – 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:...
  • Page 10: Safeguards

    ZMOTION™ Detection and Control Development Kit User Manual Safeguards The following precaution must be observed when working with the devices described in this document. Caution: Always use a grounding strap to prevent damage resulting from electrostatic discharge (ESD). UM023002-0112 Introduction Downloaded from Elcodis.com electronic components distributor...
  • Page 11: Zmotion Detection And Control Development Board

    ZMOTION™ Detection and Control Development Kit User Manual 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.
  • Page 12 ZMOTION™ Detection and Control Development Kit User Manual 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 •...
  • Page 13: Zmotion Detection And Control Development Kit Lenses And Pyroelectric Sensors

    ZMOTION™ Detection and Control Development Kit User Manual 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.
  • Page 14: Lens Mounting Options

    ZMOTION™ Detection and Control Development Kit User Manual Note: 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.
  • Page 15: Attaching The Pir Sensor Lens

    ZMOTION™ Detection and Control Development Kit User Manual 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.
  • Page 16: Attaching The Circuit Board Lens

    ZMOTION™ Detection and Control Development Kit User Manual 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.
  • Page 17: Assembling The Circular Lens Holder

    ZMOTION™ Detection and Control Development Kit User Manual 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. Figure 5. Circular 0.77" Lens Holder (Cap and Base) To assemble the lens and lens holder, observe the following brief proce- dure.
  • Page 18 ZMOTION™ Detection and Control Development Kit User Manual 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.
  • Page 19 ZMOTION™ Detection and Control Development Kit User Manual Figure 7. Assembled Circular 0.77" Lens Holder and Circular Lens Installed on the ZMOTION Development Board UM023002-0112 Assembling the Circular Lens Holder Downloaded from Elcodis.com electronic components distributor...
  • Page 20: Assembling The Flat Lens Holder

    ZMOTION™ Detection and Control Development Kit User Manual 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) UM023002-0112 Assembling the Flat Lens Holder Downloaded from...
  • Page 21 ZMOTION™ Detection and Control Development Kit User Manual Figure 9. Flat Lens: AA 0.9 GI T1 To assemble this flat lens and holder, observe the following brief proce- dure. 1. Place the lens into the inside of the cap, ensuring that the grooves of the lens are facing inward.
  • Page 22: Installing Zds Ii And The Usb Smart Cable

    ZMOTION™ Detection and Control Development Kit User Manual Figure 10. Assembled Flat 0.9" Lens Holder and Flat Lens Installing ZDS II and the USB Smart Cable Observe the following the steps to install Zilog Developer Studio (ZDS II) and its associated documentation. 1.
  • Page 23: Installing The Usb Smart Cable

    ZMOTION™ Detection and Control Development Kit User Manual 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 7 32/64 Observe the following steps to install the USB Smart Cable for Windows Vista 32-bit systems.
  • Page 24 ZMOTION™ Detection and Control Development Kit User Manual For 32-bit versions: <ZDS II Installation Directory>\device drivers\USB\x32 <ZDS II Installation CD>\device drivers\USB\x32 For 64-bit versions: <ZDS II Installation Directory>\device drivers\USB\x64 <ZDS II Installation CD>\device drivers\USB\x64 8. Click Next to install the driver. On 32-bit systems, a Windows Secu- dialog will appear;...
  • Page 25 ZMOTION™ Detection and Control Development Kit User Manual 7. Upon successful installation, click Close Windows XP Observe the following steps to install the USB Smart Cable for Windows XP systems. 1. Connect the Zilog USB device to the host PC. The Found New wizard should activate automatically after connecting the Hardware...
  • Page 26: Connecting The Usb Smart Cable

    ZMOTION™ Detection and Control Development Kit User Manual 2. After the wizard has been activated, click Found New Hardware Next 3. Select Search for a suitable driver for my device (Recommended) then click Next 4. Select and click Specify a location Next 5.
  • Page 27: Installing The Ftdi Usb To Serial Driver

    ZMOTION™ Detection and Control Development Kit User Manual Figure 11. Connecting the Six-Conductor Ribbon Cable to the USB Smart Cable 2. Attach the free end of the ribbon cable to the DBG connector (ZDI In- terface) on the development board. Ensure that pin 1 on the ribbon ca- ble (indicated by the dark stripe) is aligned with pin 1 on the target connector (indicated by a on P2 of the board).
  • Page 28: Downloading And Running The Sample Project

    ZMOTION™ Detection and Control Development Kit User Manual 32-bit OS detected <installation path>\dpinstx86.exe Installation driver FTDI CDM driver installation process completed. 3. When the installation is complete, plug the USB cable into the ZMO- TION Development Board. 4. If driver installation was successful, should USB Serial Port (COMx) appear in the list displayed in the Device Manager’s...
  • Page 29 ZMOTION™ Detection and Control Development Kit User Manual Note: At this point, you should have installed the FTDI to USB Serial Driver and loaded ZDS II and the USB Smart Cable driver onto your computer. If you haven’t yet done so, refer to the Installing the FTDI USB to Serial Driver section on page 23 and/or the...
  • Page 30 ZMOTION™ Detection and Control Development Kit User Manual Figure 12. Building the ZMOTION_Serial_Config project in ZDS II The Rebuild All icon Figure 13. The Location of the Rebuild All Icon UM023002-0112 Downloading and Running the Sample Project Downloaded from Elcodis.com electronic components distributor...
  • Page 31 ZMOTION™ Detection and Control Development Kit User Manual 4. Make sure that the ZMOTION Development Board is powered OFF, then connect the USB Smart Cable (Debugger) to P2, as described above. 5. Ensure that the J4 jumper is closed in position 1–2, to control the USB power supply.
  • Page 32 ZMOTION™ Detection and Control Development Kit User Manual Figure 15. ZDS II’s Debug Output Window for the ZMOTION_Basic project 8. Click the icon to start the application running. The Red LED (LED3) will be ON initially until the pyroelectric sensor stabilizes – a period that can take up to 30 seconds.
  • Page 33: Zmotion Development Kit Application Software

    ZMOTION™ Detection and Control Development Kit User Manual ZMOTION Development Kit Application Software The ZMOTION application software includes the motion detection project, which is described ZMOTION_Serial_Config in this section. ZMOTION_Serial_Config project demonstrates the basic motion ZMOTION_Serial_Config detection functionality of the ZMOTION Development Board. The MCU included with the Board is programmed with this project.
  • Page 34 ZMOTION™ Detection and Control Development Kit User Manual sensor has become stable and the system is ready to detect motion. When motion is detected, an N or E is displayed to indicate the type of detection (Normal motion or Extended motion), along with the count and a time stamp (in seconds) after power-up.
  • Page 35: Making Changes To The Zmotion_Serial_Config Project

    ZMOTION™ Detection and Control Development Kit User Manual Displays the current setting of the ZMOTION 0) Display API Registers. Engine registers. 1) Read/Write RAM. Allows you to make direct modifications to specific RAM locations (Peek/Poke). 2) MCU Reset. Reset the ZMOTION MCU. Sets the duration of the LED ON time and mini- 3) LED On/Off Time.
  • Page 36 ZMOTION™ Detection and Control Development Kit User Manual For example, to change the lens configuration file and the duration of the LED ON time, observe the following procedure. 1. Change the following line in the file: main.h #define DEF_LED_ON_TIME DELAY_500MSEC //Time the LED //stays on //when motion...
  • Page 37 ZMOTION™ Detection and Control Development Kit User Manual //#include "API_INIT_09.h" // API configuration file for NCL-10S Lens //#include "API_INIT_0A.h" // API configuration file for NCL-11 Lens //#include "API_INIT_IML-0643.h+" // API configuration file for IML-0643 Lens Note: As the code listed above demonstrates, the file must match the API_INIT lens and pyroelectric sensor being used on the Development Board.
  • Page 38: Board Design Information

    ZMOTION™ Detection and Control Development Kit User Manual Board Design Information Figure 17 displays the schematics for the ZMOTION Development Board. VCC_5v VCC_3v3 Vout FERRITE BEAD FERRITE BEAD 4.7uF 4.7uF 0.1uF 0.1uF 4.7uF 4.7uF 0.1uF 0.1uF NCP582LXV33T2G NCP582LXV33T2G USB PWR WALL PWR VBUS 4.75K...
  • Page 39 ZMOTION™ Detection and Control Development Kit User Manual 3.3V_T HDR/PIN 1x1 HDR/PIN 1x1 VCC_3v3_T VCC_3v3_T 3.3V_T LED1 LED1 HDR/PIN 1x1 HDR/PIN 1x1 BLUE BLUE 3.3V MOTION LED3 LED3 HDR/PIN 1x1 HDR/PIN 1x1 TXD0/ANA0 PA0/T0IN/T0OUT/XIN/DBG PA5/TXD0/T1OUT/ANA0/CINP RXD0/ANA1 PA1/T0OUT/XOUT/ANA3/VREF/CLKIN PA4/RXD0/ANA1/CINN ANA2 PA2/RESET/DE0/T1OUT PA3/CTS0/ANA2/COUT/T1IN TXD0/ANA0 RXD0/ANA1...
  • Page 40: Customer Support

    ZMOTION™ Detection and Control Development Kit User Manual Customer Support To share comments, get your technical questions answered, or report issues you may be experiencing with our products, please visit Zilog’s Technical Support page at http://support.zilog.com. To learn more about this product, find additional documentation, or to discover other facets about Zilog product offerings, please visit the Zilog Knowledge Base...

This manual is also suitable for:

Zmotionl100zcog

Table of Contents