ZMOTION Detection Module Development Kit

Similar documents
Z8 Encore! XP/Z8 Encore! Development Kits

Boot Loader for the Z51F6412 MCU

ez80f91 Modular Development Kit

S3 Flash In-System Programmer

A Simple Console Application for Z8 Encore! XP MCUs

Z8 Encore! XP Family of Microcontrollers Development Kits

ZCRMZNICE01ZEMG Crimzon In-Circuit Emulator

High Resolution Digital Weigh-Scale Design Using Z8 Encore! Microcontrollers

Ethernet Smart Cable

Z8 Encore! Z8F642 MCU Evaluation Kit

Zilog TCP/IP Software Suite

Z8 Encore! XP F0822 Series

Flash Loader Utility for the Z8 Encore! XP MCU

Z8 Encore! XP F0822 Series Development Kit

Using the Z8051 MCU s USI Peripheral as an SPI Interface

S3F8S5A Development Kit

Challenge. Hardware Circuit Details. Solution. Result. Features and Functions. Z8 Encore! MC

Getting Started with ESPI Interface Using the Z8 Encore! XP F1680

An Automatic Temperature Control System Using RZK

Universal Motor Control with Z8 Encore! XP 8-Pin Highly Integrated Microcontroller

EEPROM Emulation with the ez80f91 MCU. Discussion

Evaluation Board User Guide UG-047

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

Set Up a PLL Loop Filter on the ez80f91 MCU

XE166 Family AP Application Note. Microcontrollers. X E D r i v e C a r d H a r d w a r e D e s c r i p t i o n Board REV.

Interfacing Z8 Encore! XP MCUs with an I 2 C-Based Character LCD

EVALKIT-VL6180X. VL6180X plug-in and STM32 F401RE Nucleo board explorer kit. Description. Features

Zilog Real-Time Kernel

XC2000 Family AP Application Note. Microcontrollers. XC2236N Drive Card Description V1.0,

XE166 Family AP Application Note. Microcontrollers. UConnect XE162N Hardware Description V1.0,

BNO055 Xplained pro Getting Started Guide

Easy Kit Board Manual

Embedded Navigation Solutions VN 100, VN 200 & VN 300 Development Board User Manual

ZLF645 Crimzon Flash Microcontroller with ZBase Database Industry Leading Universal Infrared Remote Control (UIR) Solution

3D Magnetic Sensor 2 Go - TLE493D-A2B6

High-Performance 8-Bit Microcontrollers. Up to 8 10-Bit ADC Channels. Two 16-Bit Timers/PWM. Internal Precision Oscillator

STM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS

DEMO9S08LG32 Up to 5V MCU with integrated LCD display driver

IMU Axis Gyro Evaluation Board Application Note

RS-232 Adapter Board

Zatara Series ARM ASSP High-Performance 32-bit Solution for Secure Transactions

EV-VND7040AJ. VND7040AJ evaluation board. Features. Applications

An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus

ez80190 Development Kit Quick Start Guide

USER GUIDE. Atmel QT6 Xplained Pro. Preface

Serial Communication Controllers (SCC) MULTIPROTOCOL DATA COMMUNICATION SOLUTIONS

APPLICATION NOTE. Atmel QT4 Xplained Pro User Guide ATAN0114. Preface

Purchase Agreement. P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA

USER GUIDE. Atmel QT1 Xplained Pro. Preface

Ethernet1 Xplained Pro

Evaluation Board for CS3308. Description CS Channel. Digitally Controlled Analog Volume Control. PC or External Serial Control Input

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

Character LCD Interface for ez80acclaim! MCUs

XE164 UConnect Manual, V.1.1, February XE164 UConnect. Board REV. 2007/40. Microcontrollers. Never stop thinking.

AN10428 UART-SPI Gateway for Philips SPI slave bridges

AN10688_1. PN532C106 demoboard. Document information. NFC, PN532, PN532C106, demoboard. This document describes PN532C106 demoboard.

USB Stamp Adapter Board

UM2255 User manual. SPC58NG-DISP user manual. Introduction

HYDRA-X23/X23S. Power Application Controllers. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

INTRODUCTION. Mechanical Considerations APPLICATION NOTE Z86E21 THERMAL PRINTER CONTROLLER ZILOG

Evaluation Kit User s Manual. Digital Step Attenuator PE43704 and PE43705

USER GUIDE. Atmel Segment LCD1 Xplained Pro. Preface

EVB9S08DZ60. Demonstration Board for Freescale MC9S08DZ60. User s Manual

HYDRA-X10. Power Application Controllers TM. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

ZMOTION Intrusion Detection Development Kit

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description

AN4782 Application note

F2MC MB90385 series Evaluation Board Documentation. Revision Date Comment V New document

Wizard- 3 Controller to Optional Track 1-4 Playback Set-up

USER GUIDE. Atmel OLED1 Xplained Pro. Preface

SER-4485-SI-M USER S MANUAL

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

DEMO MANUAL DC1506A LTC4361 Overvoltage/ Overcurrent Protection Controller DESCRIPTION

FEBFOD8012_RS485 Evaluation Board. Bi-Directional Logic Gate Optocoupler Provides Proven and Reliable Isolation to the RS485 Interface

ADSP-218x Family EZ-ICE Hardware Installation Guide

ATtiny104 Xplained Nano. Preface. AVR 8-bit Microcontrollers USER GUIDE

USB-to-I2C. Professional Hardware User s Manual.

KIT33972AEWEVBE Evaluation Board

Description. January 2019 DB2381 Rev 3 1/5

KIT34901EFEVB Evaluation Board

EVAL-ADG2128EB. Evaluation Board I 2 C CMOS, 8 12 Analog Switch Array with Dual/Single Supplies FEATURES DESCRIPTION

Hydrogen Gas Smart Sensing Module. Features

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128. The industry s most complete solution for portable medical applications

RN-134. WiFly GSX Super Module SuRF Board. Features. Description. Applications. ~ page 1 ~ rn-134-ds v1.

QT2 Xplained Pro. Preface. Atmel QTouch USER GUIDE

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description

LPC2148 DEV BOARD. User Manual.

DEV16T. LCD Daughter board

IMPORTANT NOTICE. As a result, the following changes are applicable to the attached document.

Z8 Encore! XP 4K Series with extended Peripherals

Software GUI user guide for STEVAL-ISV021V1, STEVAL- IDS002V1 and STEVAL-IDS003V1 evaluation boards

AN10955 Full-duplex software UART for LPC111x and LPC13xx

USER GUIDE. ATWINC1500 Xplained Pro. Preface

Win-I2CUSB Hardware User s Manual

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

RN-174 WiFly Super Module

Preliminary Product Overview

PCA9633 demonstration board OM6282

Table 1. RS232 Serial Adapter DEBUG Connector Pin Descriptions

Transcription:

ZEPIR000102ZCOG ZMOTION Detection Module Development Kit UM022306-1210 Copyright 2010 Zilog. All rights reserved. www.zilog.com

ii Warning: DO NOT USE IN LIFE SUPPORT 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 COUN- SEL 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 2010 Zilog, Inc. All rights reserved. Information in this publication concerning the devices, applications, or technology described is intended to suggest possible uses and superseded. ZILOG, INC. DOES NOT ASSUME LIABILITY FOR OR PRO- VIDE 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. ZAURA is a trademark of Zilog, Inc. All other product or service names are the property of their respective owners. UM022306-1210 LIFE SUPPORT POLICY

iii Revision History Each instance in the following Revision History table reflects a change to this document from its previous version. For more details, refer to the corresponding pages or appropriate links listed in the table below. Table 1. History of this Document Date Revision Description Page No. Dec 2010 06 Corrected references of Evaluation Kit to Development Kit. All Nov 2010 05 Updated to display the Zilog/IXYS logo. All Sep 2010 04 Added ZMOTION product logo. i Jun 2010 03 Updated references to ZMOTION Detection Module All Provided clarifications and added sections Oct 2008 02 Remove references to General Purpose (GP). All Oct 2008 01 Original Issue. All UM022306-1210 Revision History

iv Safeguards The following precautions 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). UM022306-1210 Safeguards

1 Introduction Zilog s ZMOTION Detection Module Development Kit includes all of the necessary components required to begin development with the ZMOTION Detection Module. The kit includes an Development Board into which the ZMOTION Detection Module is plugged and a prototyping area to add your own custom application hardware. The ZMOTION Detection Module Development Kit is intended for the following purposes: 1. Experiment with the ZMOTION Detection Module in hardware mode by configuring the jumpers and trim pots located on the base board to control sensitivity, range and output timing. 2. Experiment with the ZMOTION Detection Module using the built-in serial interface to gain advanced control over its settings and performance. Use the kit to tailor the settings required for your own custom application. 3. Experiment with your own hardware using the prototype area on the Development Board. 4. Using a separately-purchased USB Smart cable (debugger) and ZDS II, Zilog s Integrated Development Environment, to develop your own custom software applications on the ZMOTION Detection Module. ZMOTION Detection Module Zilog s ZMOTION Detection Module is a complete and fully functional motion detection solution ideal for lighting control and other occupancy and proximity detection applications. It is a board-level module that combines the unique features of Zilog s Z8FS040 ZMOTION Detection Microcontroller with a Pyroelectric Sensor and a low-profile Fresnel lens. The ZMOTION Detection Module can operate in a simple-to-use Hardware mode, which provides an output signal when motion is detected, or in an advanced asynchronous serial mode when greater control over the motion detection performance is required. In both modes, sensitivity and delay time can be controlled to match application requirements. The features of the ZMOTION Detection Module include: Complete, fully functional motion detector including lens Small form factor: 25.5 mm x 16.7 mm Wide 5 m x 5 m, 60-degree detection pattern Sensitivity control via simple hardware configuration

2 Advanced commands and control via serial (asynchronous) interface Sleep mode for low power applications No temperature compensation required Input to support CDS photocell input for ambient light detection Minimal components ensure highest possible Mean Time Between Failures (MTBF) Operates from 2.7 V to 3.6 V power supply Simple 8-pin interface Standard operating temperature 0ºC to 70ºC Kit Contents The ZMOTION Detection Module Development Kit contains the following components: ZMOTION Development Board ZMOTION Detection Module RS-232 Serial Cable DB9-DB9 5 V DC Universal Power Supply Documentation CD Figure 1 shows the contents of the ZMOTION Development Kit.

3 Figure 1. ZMOTION Detection Module Development Kit Components Development Board The ZMOTION Development Board provides all of the support functions required to evaluate the ZMOTION Detection Module plus a prototype area and debug interface to be used when developing your own hardware or software. Figure 2 shows the ZMOTION Detection Module connected to the ZMOTION Development Board.

4 Figure 2. The ZMOTION Detection Development Board and ZMOTION Detection Module The Development Board provides the following features: 8-pin connector for the ZMOTION Detection Module 3.3 V regulated power supply for the ZMOTION Detection Module Trim pots for motion sensitivity, ambient light sensitivity and output delay timing Switch selection for hardware or serial interface modes Reset button CDS photocell for ambient light detection

5 Red LED for power indication Blue LED for motion detected status RS-232 interface with DB-9 connector to support serial interface mode On-Chip Debugger (OCD) interface Prototype area for custom hardware Operation The ZMOTION Detection Module Development Kit provides various features to control its overall operation. It operates in two basic modes: Hardware Interface Mode Serial Interface Mode Each of these modes is described in this section. Hardware Interface Mode Hardware Interface Mode provides the simplest mode of operation and allows basic control of the ZMOTION Detection Module with hardware jumpers and potentiometers. In this mode, the serial interface is disabled and the trim pots on the Development Board (Sensitivity, Delay and Ambient Light Threshold) are used to control operation. To enable Hardware Interface Mode and test its basic operation, observe the following steps. 1. Place SW1 in the HARDWARE position. 2. Turn the AMBIENT potentiometer fully clockwise (towards + ) to set the ambient light threshold to maximum. Essentially, the maximum amount of ambient light will be required to disable the Motion Detection output (LED). For details about the AMBIENT pot, see Ambient Light Threshold on page 7. 3. Turn the DELAY potentiometer fully counterclockwise (towards ) to select the minimum LED on time (2 seconds). For details about the DELAY pot, see /MD Output Delay Time on page 8. 4. Turn the SENSITIVITY potentiometer fully clockwise (towards + ) to select the maximum motion-detection sensitivity. For details about the SENSITIVITY pot, see Sensitivity on page 8. 5. Press Reset or apply power. At this point, the ZMOTION Detection Module will power-up and check the voltage applied to the TXD/SNS pin to determine its Interface Mode. With SW1 in the

6 HARDWARE position, the voltage on this pin will be between 0 V and 1.8 V and determine its selection to be Hardware Interface Mode. This interface mode is detected once, and only after reset, while the ambient light threshold, delay and sensitivity are monitored continuously. After power-on, the ZMOTION Detection Module waits for the pyroelectric sensor to stabilize before it begins detecting motion. This power-up delay can take as little as a few seconds to a maximum of about 30 seconds. 6. Wave your hand in front of the ZMOTION Detection Module s lens to create motion and observe that the Blue LED turns on for 2 seconds. Controlling Operation in Hardware Interface Mode 1. Slowly rotate the AMBIENT potentiometer while creating motion in front of the lens until the LED no longer illuminates. This point, then, is the threshold of the ambient light in your room. In lighting control applications, this method allows you to adjust the amount of ambient light allowed in the room without turning the lights on when motion is detected; i.e., the lights are not turned on when it is already bright enough in the room. 2. Return the AMBIENT potentiometer to its fully clockwise position. 3. Rotate the DELAY potentiometer slightly clockwise to increase the amount of time the LED stays on after motion is detected. 4. Return the DELAY potentiometer to its fully counterclockwise position. 5. Decrease sensitivity by rotating the SENS Potentiometer counterclockwise and observe that additional motion is required to turn on the LED or that the range/ distance of detection is decreased. Serial Interface Mode Serial Interface Mode provides more control over the operation of the ZMOTION Detection Module by providing a serial command interface to monitor and control the device. In Serial Interface Mode, commands are sent over the provided DB9 RS-232 interface. Refer to the ZMOTION Detection Module Product Specification (PS0284) for a complete list and description of the supported commands. To enable Serial Interface Mode and test its basic operation, observe the following steps. 1. Connect the provided serial cable between the DB9 connector on the Development Board and a serial port on your PC. 2. Launch Hyperterminal or other serial terminal program and configure it to the following settings: 9600 bps, No Parity, 8 Data bits, 1 Stop bit, No Flow Control

7 3. Place SW1 in the SERIAL position. 4. Turn the AMBIENT pot fully clockwise (towards + ) to set the ambient light threshold to maximum. Essentially, the maximum amount of ambient will be required to disable the Motion Detection output (LED). For details about the AMBIENT pot, see Ambient Light Threshold. Note: The DELAY and SENS potentiometers are not used in Serial Interface Mode. 5. Press Reset or apply power. At this point, the ZMOTION Detection Module will power-up and check the voltage applied to the TXD/SNS pin to determine the interface mode. With SW1 in the SERIAL position, the voltage on this pin will be greater than 2.5 V when selecting Serial Interface Mode. The interface mode is detected once, and only after reset, while the ambient light threshold is monitored continuously. After power-on, the ZMOTION Detection Module waits for the pyroelectric sensor to stabilize before it begins detecting motion. This power-up delay can take as little as a few seconds to a maximum of about 30 seconds. During this stabilization time, the module will still accept commands over the serial interface. 6. From your keyboard, send the following commands to the module to place it into a convenient testing mode (without the comma): C, M Configure the MD/RST pin as MD (causes the Blue LED to turn on when motion is detected. K, A Enable ASCII command mode. M, Y Send motion status automatically over the serial interface (without polling). 7. Wave your hand in front of the ZMOTION Detection Module s lens to create motion and observe that the Blue LED turns on for 2 seconds. Also notice that an uppercase M is transmitted from the module. 8. Refer once again to the ZMOTION Detection Module Product Specification (PS0284) to test other commands and status responses. This document contains a complete list and description of all supported commands. Ambient Light Threshold In various lighting control applications, the decision of when to turn the lights on can depend on current ambient light levels in addition to detecting motion. A CDS photocell is

8 Sensitivity provided in the kit to demonstrate this function. When light shines on the photocell, its resistance decreases, thereby providing a lower voltage to the light gate (LG) signal on the ZMOTION Detection Module. When the module detects this voltage to be below 1.0 V in Hardware Mode or the programmed threshold in Serial Mode, the MOTION LED (/MD signal) will not activate when motion is detected. The AMBIENT potentiometer (R6) sets the amount of ambient light required to cross the threshold. The amount of motion required to trigger the MOTION LED (/MD signal) can be adjusted using the SENS potentiometer (R3). This adjustment also has the effect of controlling the range that the detector can see lower sensitivity reduces the range of the detection pattern. The SENS potentiometer provides a voltage between 0 V and 1.8 V to the TXD/SNS signal on the ZMOTION Detection Module. A higher voltage means lower sensitivity. The SENS potentiometer is used only in Hardware Interface Mode. In Serial Interface Mode, the sensitivity is set via commands sent over the serial interface. /MD Output Delay Time The amount of time that the MOTION LED (/MD signal) is activated can be controlled by the DELAY (R4) potentiometer. You can set this range between 2 seconds and 15 minutes. This feature is typically used in power control applications in which the amount of time that a device is activated must be controlled. The potentiometer provides a voltage between 0 V and 1.8 V to the RXD/DELAY input on the ZMOTION Detection Module. A higher voltage yields a longer activation time. Hardware and Software Development Support The ZMOTION Detection Module Development Kit provides support for developing hardware and software for the module. Signals from the ZMOTION Detection Module are available to the prototype area as four through-hole connections. 3.3 V (VDD) and ground are also provided to this area. Do not exceed 90 ma of current draw from the 3.3 V supply. Software development is supported on the ZMOTION Development Board by using the Debug connector (J9) with a separately available USB Smart Cable and ZDS II. ZDS II is Zilog s integrated development environment (IDE) and is available free from the Zilog website. The USB Smart Cable provides a means to download and debug the software developed on ZDS II. See the Schematics section of this and refer to the ZMOTION Detection Module Product Specification (PS0284) for more information about developing your own hardware and software.

9 Feature Development Board Hardware Functions Table 1 describes the functions provided by the ZMOTION Detection Module Development Kit hardware. Development Board Name Table 1. ZMOTION Detection Module Functions Operational Mode (SW1 MODE) Function Type Hardware Mode Serial Mode System Reset RESET (SW2) Push Button Reset the ZMOTION Detection Module by momentarily interrupting power. Ambient Light Threshold AMBIENT (R6) Potentiometer Sensitivity SENS (R3) Potentiometer Controls the ZMOTION Detection Module s sensitivity to motion. It provides an adjustable voltage between 0 V and 1.8 V to the SBC s TXD/SNS input. Turn clockwise to increase sensitivity. Sets the amount of ambient light required to prohibit the MOTION LED from activating. Turn clockwise to increase the amount of light required. No effect. Use the serial interface to control sensitivity. /MD Output Delay Time DELAY (R4) Potentiometer Controls the amount of time that the MOTION LED is activated after motion has been detected. Turn clockwise to increase the time. No effect. Use the serial interface to control /MD output delay time. SBC State STATE (J11) Jumper Places the ZMOTION Detection Module into a low power sleep mode. CDS Enable OCD Interface CDS ENABLE (J7) DBG INTER- FACE (J9) Jumper 6-pin Header When this jumper is installed, the CDS Photo Cell is used. When this jumper is not installed, you can control the LG signal from the prototype area. This 6-pin header provides the interface to the USB Smart Cable (debugger) when developing software on the ZMOTION Detection Module.

Schematics Figure 1. Schematic Diagram of the ZMOTION Detection Module UM022306-1210 10

Figure 2. Schematic Diagram of the ZMOTION Development Board UM022306-1210 11

12 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 at http:// zilog.com/kb or consider participating in the Zilog Forum at http://zilog.com/forum. This publication is subject to replacement by a later edition. To determine whether a later edition exists, please visit the Zilog website at http://www.zilog.com. UM022306-1210 P R E L I M I N A R Y Customer Support