Home

ZMOTION™ Detection and Control Development Board

image

Contents

1. nEiIXYS Compa 3 3V VCC 3v8 T o he LEDI A a2 1 2 AA 1 VCC 96 T BLUE 1K us 3 3V a d PB1 ANA1 1 20 PBO 7 PB1 ANA1 PBO ANAO Z ANA2 PC3 COUT Hg POS VCC_3Y3 T co 7 ANAS PC2 ANA6 LED VREF 77 FO We T PAD SB AN PC1 ANAS CINN ig PCO MOTION PAT 5 PAO TOIN TOOUT XIN PCO ANA4 CINP 5 Rit 7 PA1 TOOUT XOUT DBG 14 PDO ook BS LED3 t PAS 8 VSS RESET PDO 73 PAT 2 PA 1 PB1 ANA1 PAS g PA2 DEO_ PA7 TIOUT 12 PAG C PAZRXDO 10 PA3 CTSO PAG T1IN TIOUT f PANTXDO p RXD gt PA4 RXDO PAS5 TXDO gt gt TXD RED ZBFS040xHH20EG Rio 4 0 ohm J9 PBl PB1 ANA1 PAO 1 PAO par 2 PAT VCC 3v8 T PA2 3 PA2 PA3 gt PAZ ANA2 RST PAG 6 PAG J8 p PAT Ri2 VCC 3v8 T PDO 8 PDO R13 0 VCC_3v3_T 9 1 10K Bs PCO PCO 10K pc 10 PCT 2 P pc3 11 PC3 a pmo 12 PEO HDR PIN 1x2 13 DEG 24 x EA IN FOR DBG 4 3 6 5 m HDR PIN 1x13 HDR PIN 2x3 5 i u5 BS PyroSensor ctn R14 uF 470 a e e A em AA Fem e A A ef FG VCC 3v3 0 NOT POPULATE HEADERS Y I ELO KO co Us LED2 1 16 21 ss 3 0 x proto9x20 3 3 14 E RED E 4 13 i Hs 2h I STATUS amp e 6 n E I 715 bE WHITE LIGHT NAR DETECTION spare i ur i 1 16 271 IEEE 3 2 15 aa i Hi Hed ds H
2. e USB2 0 interface port Installation For details about installation and setup refer to the Using the ZMOTION Intrusion Detection Development Kit Quick Start Guide QS0078 Safeguards The following precaution must be observed when working with the devices described in this document AN Caution Always use a grounding strap to prevent damage resulting from electro static discharge ESD UMO23301 0411 Introduction ZMOTION Intrusion Detection Development Kit User Manual ilog eres aes 6 ZMOTION Intrusion Detection Development Board Zilog s ZMOTION Intrusion Detection Development Board is a develop ment and prototyping platform for the ZMOTION Intrusion Detection sil icon and software as well as for 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 Note Attach the Intrusion lens holder to the Board using the primary placement set of holes which are indicated in Figure 2 Figure 2 ZMOTION Intrusion Detection Development Board UMO23301 0411 ZMOTION Intrusion Detection Development Board Features ZMOTION Intrusion Detection Development Kit User Manual Z I y AnEITXYS Company The ZMOTION Intrusion Detection Development Board features the fol lowing elements Z8FS021 ZMOTION Detection MCU 20 pin SSOP Mini USB
3. 6V operating voltage with 5 V tolerant inputs MCU Features The Z8FS040 ZMOTION Detection MCU 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 func tions necessary for PIR motion detection applications The Z8FS040 MCU includes the following features UMO23001 1110 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 53 MHz External oscillator operating up to 20MHz Sigma Delta ADC Up to 6 single ended channels or 3 differential channels available ZMOTION Detection and Control ZMOTION Detection and Control Development Kit User Manual Ani IXYS Company e 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 e 6to 25 I O pins depending upon package e 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 reg isters Selection capability from an assortment of lenses and pyroelectric sensors to
4. Figure 9 displays the schematics for the ZMOTION Development Board ZMOTION Intrusion Detection Development Kit User Manual Z EiIXYS Co VCC 3v3 M iid pue VCC 3v3 T EG1218 VCC 5v Ut i Vin Vout 3 2 5 Li 1 2 R3 GND GND FERRITE BEAD 20K gt R4 61 4 JuF PatuF 4 75K Q EN NC 7 NCP582LXV33T2G T e P1 E 6 1 t gt 7 SH1 VBUS gt 8 SH2 DM 3 SH3 DP 9 SH4 HE USB PWR o WALL PWR GND bs HDR PIN 1x3 J5 o1uF USB OTG mini AB PWR SRC u2 E 4 1 z VCCIO TXD gt gt RXD 20 5 VCC RXD K 4 TXD 3 16 RTS p USBDM 1 cis p 15 user 2 PWR ON DTA P RS nos DSR PL Lav RESET pop pl 100K 24 Nc Ape 27 23 44 osci causo pE 28 osco cpust p22 13 17 cBus2 P 3v3 OUT 14 CBUS3 P a x e e 12 ES amp 2 S 2 Q causa p Daur lt 66 GF wo e cl e i 5 J FT232RL 4 Figure 9 ZMOTION Development Board Schematic Diagram 1 of 2 UM023301 041 1 3 3 oc EN TPS2051B VCC_3v3 100 ohm Board Design Information 24 J6 HDR PIN 1x1 Ji 1 HDR PIN 1x1 J2 GND HDR PIN 1x1 J3 GND Sv HDR PIN 1x1 UM023301 041 1 GND ZMOTION Intrusion Detection Development Kit User Manual Z
5. 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 40C to 105 C Zilog PIR technology controlled and monitored via software API reg isters Selection capability from an assortment of lenses and pyroelectric sensors to best fit your application API settings provided for each lens and pyroelectric sensor combina tion Directly supports 1 or 2 pyroelectric sensors Sensitivity control range control and directionality detection Extended detection modes for occupancy sensing Low power modes White light detection and pet immunity ZMOTION Intrusion Detection Development Board ZMOTION Intrusion Detection Development Kit User Manual Z AnEITXYS Company ZMOTION Intrusion Detection Development Kit Lens and Pyroelectric Sensor The ZMOTION Intrusion Detection Development Kit includes three dif ferent types of lenses to fill a wide variety of intrusion detection and secu rity 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 Intrusion Detec tion Development Kit Quick Start Guide QS0078 for specific installa tion instructions for the lenses Lens Mounting Opti
6. icon The Go icon S project demonstrates how to implement a ZMOTION motion detecti ilication with a simple serial output Figure 7 The Location of the Rest and Go Icons 6 Aninformation notice may appear indicating that the silicon is not the latest version This occurrence is normal and is not an issue Click OK to continue You should see a message in the Debug Output Window indicating that the load was successful as shown in Figure 8 UM023301 041 1 ZMOTION Intrusion Detection Development Board ZMOTION Intrusion Detection Development Kit User Manual Embedded in Life AnEITXYS Company 21 Ho De Encore 1 x MA tie E n Yew Pr id Debug Jools Window Hep L8 XJ D Sug x 6 aR heiease DAMA AENA Bmw RY LA nD APPT 4888 gt Address gt do nx stu 313 Kuna Detug Find in Files 1 Find in Files 2 Messages Command 7 li gt For Help press Fl Ln 146 Co STOP Figure 8 ZDSII s Debug Output Window for the ZMOTION Basic project 7 Click the Go icon to start the application running The Red LED LED2 will be ON initially until the pyroelectric sensor stabilizes a period that can take up to 30 seconds After it has stabilized LED2 turns OFF to turn ON only when motion is detected 8 To test this procedure wave your hand over the lens and notice LED2 turning ON for approximately 1 second UMO23301 0411 ZMOTION Intrusion Detection Development Board Z
7. sensor combinations provided For more details about the ZMOTION MCU refer to the ZMOTION Product Specification PS0284 available for download at www zilog com UMO23001 1110 Introduction ZMOTION Detection and Control Development Kit User Manual AnbiIXYS Company Kit Contents The ZMOTION Detection and Control development kit contains the fol lowing hardware software and documentation Hardware e ZMOTION Development Board e USB Smart Cable Debugger e 0 9 Focal Flat Lens Holder e 0 77 Focal Circular Lens Holder Selection of lenses Selection of pyroelectric sensors Mica insulating washers e DB9 DB serial cable e Wall mount 5 V DC power supply An assortment of mounting hardware The contents of the kit are shown in Figure 1 UMO23001 1110 Introduction ZMOTION Detection and Control Development Kit User Manual Embedded in Life AnEILXYS Company 3 Lens Holders Figure 1 ZMOTION Detection and Control Development Kit Contents UM023001 1110 Introduction ZMOTION Detection and Control Development Kit User Manual Software on CD ROM ZDSII Z8 Encore IDE with ANSI C Compiler Sample Code ZMOTION Basic ZMOTION Serial Documentation ZMOTION Detection and Control Development Kit Quick Start Guide QS0076 ZMOTION Family Technical Documentation on CD ROM ZMOTION Detection Module Product Brief PB0223 Zilog s ZMOTION Detection and Control Family Featuring PIR
8. 0000 2000000000000000000000 OOcOoOOOOOOOOCOOCOOOOOOOCOO 0000000000000000000000 o0000000000000000000000 200000000000000000000000 o o o 02000000000000000000000000 o o o o o o o 00000000 ooo Figure 12 ZMOTION Development Board Mechanical Diagram Bottom View ZMOTION Intrusion Detection Development Kit User Manual Embedded in Life AnLiIXYS Company Board Design Information 27 ZMOTION Intrusion Detection Development Kit User Manual zil A S i om i y 28 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 UM023301 041 1 Customer Support
9. CL 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 Pyroelectric Sensor Options Table 2 lists three types of pyroelectric sensors offered in the ZMOTION Detection and Control Development Kit Table 2 Three Supported Pyroelectric Sensor Options Pyro Sensor Description Part Number Basic Dual Element RE200B P Premium Dual Element SDA02 54 P Quad Element SBDI46 504AA UMO23001 1110 ZMOTION Detection and Control ZMOTION Detection and Control Development Kit User Manual AnEHIXYS Company 11 ZMOTION Development Kit Application Software Included in the ZMOTION Application Software are two motion detec tion software projects ZMOTION Basic and ZMOTION Serial Each is decribed in this section ZMOTION_Basic ZMOTION Basic is an application program that demonstrates the basic functionality of motion detection for the board It enables the user to select between lenses in the main h file as well as make changes to the individual API lens configuration settings Other changeable options in main h are the LED duration time 0 sec to 30 minutes hypersense on off and duration time Detected movement is indicated via LED3 ZMOTION Serial The ZMOTION Serial project allows all the same options for making changes to key parameters within the application project Detected move ment is indicated via the following Hyper
10. Fa M PRAE C1 UART Ul c C El Exiemal Dependent mibimize power consumptic MCU from Halt and the me zd W Z Motion Intus le la j Tr Tr suite Debug hna in ries 1 Jet im Files 2 Messages Command Le ini Coll Figure 5 Building the ZMOTION Intrusion Demo project in ZDSII lit View Project Build Debug Tools Window Help g texa mm Release y Si Ea PE WuuygIyuypy py pp yg LEE 4 Copyright C 1999 2711 by ZiLOG Inc 4 7 All Rig 27 The Rebuild All icon This project demonstrates how to implement 4 annlieatinan with a coimnle carial nenutnnt Figure 6 The Location of the Rebuild AII Icon tartupePIR as JART_Util c C mal Dependen UMO23301 0411 ZMOTION Intrusion Detection Development Board ZMOTION Intrusion Detection Development Kit User Manual Zilog Embedded in Life AnEITXYS Company 20 4 Make sure that the ZMOTION Development Board is powered OFF then connect the USB Smart Cable Debugger to P2 as described above 5 Apply power to the Development Board by plugging in the USB cable and setting SW1 to the ON position Next click the Reset icon in ZDSII Figure 7 indicates the location of both the Reset and Go icons in the ZDSII menu bar Tools Window Help Release 2 EX 4 35 t En E Om A El wann ru LL CC LI BDC IILI IL ALAS LEELA ipyright C 1999 2011 by Ziff Inc l Rights Reserved 7 The Reset
11. MOTION Intrusion Detection Development Kit User Manual Zilog A BIXYS Company 22 Making Changes to the ZMOTION Intrusion Demo Project To change the duration of the LED on time observe the following proce dure 1 Change the following line in the main c file unsigned int cMDDelayTime DELAY 1SEC LED ON time 2 Change the line as follows to select a five second LED on time unsigned int cMDDelayTime DELAY 5SEC LED ON time gt Note LED on time definitions are provided in the main h file for values from 200ms to 30 minutes 3 Click the Rebuild icon to build the project The build output should not indicate any errors Click the Go icon to download the modified project and start the application running Generate motion and notice that the LED now stays on for 5 seconds 4 To change the lens used by the project edit the include line at the top of the main c file to include the appropriate API INIT file The project initially uses API INIT 09 h to support the WA 1 2 GI 12 V4 board clip in lens see the code sample below To use a different lens edit out the comment characters in the main c file that cor respond to the new lens and comment out the lens that is no longer in use replace with This file must match the lens and PIR sensor used in the application include API INIT 00 h Generic settings non lens specific include API INIT O1 h BPI co
12. Technology Product Brief PB0225 ZMOTION Detection and Control Family Featuring PIR Tech nology Product Specification PS0285 ZMOTION Lens and Pyroelectric Sensor Product Specification PS0286 ZMOTION Detection and Control Development Kit User Manual UM0230 ZMOTION A New PIR Motion Detection Architecture White Paper WP0017 ZMOTION Detection Lens and Pyro Sensor Configuration Guide WP0018 Board Schematic assembly drawing and artwork Sample code files are included on the ZMOTION Sample Apps CD and are located in the ZMOTION Basic and ZMOTION Serial folders UMO23001 1110 Introduction ZMOTION Detection and Control Development Kit User Manual AnbiIXYS Company System Requirements An IBM PC or compatible computer with the following minimum con figurations 1s required e Microsoft Windows XP Professional SP1 Windows 2000SP3 Win dows NT 4 0 SP6 Windows 98SE e PentiumII 233MHz processor or higher up to PentiumIV 2 8 GHz 96MB RAM or more e 25MB hard disk space or more e Super VGA video adapter e CD ROM drive One or more RS 232 communication ports e USB2 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 Safeguards The following precaution must be observed when working with the devices described in this document UN Caution Always use a grounding strap
13. ZMOTION Detection and Control Development Kit User Manual ZI log AnbiIXYS Company 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 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
14. best fit your application API settings provided for each lens and pyroelectric sensor combina tion Directly supports or 2 pyroelectric sensors Sensitivity control range control and directionality detection Extended detection modes for occupancy sensing e Low power modes ZMOTION Detection and Control Development Kit Lens and Pyroelectric Sensors The ZMOTION Detection and Control Development Kit includes five different types of lenses and three different types of pyroelectric sensors to fill a wide variety of lighting control occupancy sensing HVAC dis play proximity and power management applications These applications UMO23001 1110 ZMOTION Detection and Control ZMOTION Detection and Control Development Kit User Manual Z snEIIXYS Con pany 10 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 Detection and Control Development Kit Quick Start Guide QS0076 for specific instal lation instructions for the lenses and pyroelectric sensors Lens Mounting Options The ZMOTION Development Board supports four lens mounting options as indicated in Table 1 Table 1 Four Supported Lens Mounting Options Lens Mounting Lens Supported PIR Sensor Clip On N
15. count 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 7 32 64 Observe the following steps to install the USB Smart Cable for Windows Vista 32 bit systems 1 Connect the USB Smart Cable to the Host PC A window message stating Driver Software Installation appears 2 Windows automatically searches the driver this process can sometimes take a few minutes to complete In this case wait for the search to com plete since there is no option to terminate this process immediately If the driver was previously installed Windows automatically installs the USB Smart Cable driver If this is the case proceed to Step 9 If Win UM023301 041 1 ZMOTION Intrusion Detection Development Board 9 ZMOTION Intrusion Detection Development Kit User Manual Z I y AnEITXYS Company dows cannot find the driver close the Search dialog and continue to Step 3 In the Windows Start menu s Search programs and files field enter Device Manager andclick the Enter key A Device Manager link will appear in the Start menu s resulting Program list click to launch it In the Device Manager under Other devices right click USB Smart Cable Select Update Driver Software In the Update Driver Software USB Smart Cable dialog select the Browse my computer for driver Software option Browse to on
16. ctive to add the header file to the project Changes to these header files should not be required but any modifications you make should be made to a copy of the original header file do not modify the original versions As new lens types are added to the ZMOTION family an associ ated lens configuration file is made available on the Zilog website Table 2 lists additional project features that can be modified or enabled in main c and main h Table 2 Additional Project Features Feature File Define Variable Default Values LED on time duration main c cMDDelayTime DELAY 1SEC 1 second White Light Immunity main h WHITE LIGHT 0 Off On Off White Light Threshold main h WHITE LIGHT THRESH DEF Ox1F Max White Light Anti Jam main h WHITE LIGHT ANTI JAM DEF 0 Off On Off Detailed Status main h VERBOSE 0 Off Reporting On Off Lens Support main c include API_INIT_xx h API INIT 09 h UM023301 041 1 ZMOTION Intrusion Detection Development Board ZMOTION Intrusion Detection Development Kit User Manual Zilog Embedded in Life AnEITXYS Company 1 1 When motion is detected the LED is turned ON for 1 second cMDDe layTime A serial terminal program such as HyperTerminal can be used to view the detection messages from the ZMOTION Development Board see Figure 3 In the figure r045 indicates the version of the application the S following it is displayed when the pyroelectric sensor has become stabl
17. ctric Sensor Product Specification PS0286 ZMOTION Intrusion Detection Development Kit User Manual UM0233 ZMOTION Intrusion Detection Development Kit Quick Start Guide QS0078 ZMOTION A New PIR Motion Detection Architecture White Paper WP0017 ZMOTION Detection Lens and Pyro Sensor Configuration Guide WP0018 Board Schematic assembly drawing and artwork The contents of the kit are shown in Figure 1 UMO23301 041 1 Introduction ZMOTION Intrusion Detection Development Kit User Manual Embedded in Life Anl IXYS Company 4 ZMOTION Intrusion Detection Development Board Three 1 2 Intrusion Detection lenses Power supply with International plugs ZDS Il Smart Cable 1 2 Lens Holder Mini USB to USB Cable Figure 1 ZMOTION Intrusion Detection Development Kit Contents Sample code files are included on the ZMOTION Sample Applications CD and are located in the ZMOTION Intrusion Demo folders UMO023301 041 1 Introduction ZMOTION Intrusion Detection Development Kit User Manual Z An EITXYS Company System Requirements An IBM PC or compatible computer with the following minimum con figurations is required Microsoft Windows7 Windows XP Professional SP1 Windows 2000SP3 Windows NT 4 0 SP6 PentiumII 233MHz processor or higher up to PentiumIV 2 8 GHz e 96MB RAM or more e 25MB hard disk space or more e Super VGA video adapter CD ROM drive
18. e and the system is ready to detect motion When motion is detected an M 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 ZMOT HyperTerminal 8 gt gt ea NEL Las X File Edit View Call Transfer Help 49S M 001 36 002 40 003 42 004 49 005 8 64 006 8 66 Connected 0 01 57 Auto detect 115200 8 N 1 NUM Figure 3 The ZMOTION Intrusion Demo project running in HyperTerminal UM023301 041 1 ZMOTION Intrusion Detection Development Board ZMOTION Intrusion Detection Development Kit User Manual Z I r A BIXYS i sak y 1 2 Installing ZDSII and the USB Smart Cable Observe the following the steps to install Zilog Developer Studio ZDS ID and its associated 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 1aunch exe to launch DemoShield 2 From the product installer list you can choose to install ZDSII alone or both ZDSII and its associated documentation You can also copy the documentation directly 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 ac
19. e of the following driver directories For 32 bit versions lt ZDS II Installation Directory gt device driv ers USB x32 lt ZDS II Installation CD gt device drivers USB x32 For 64 bit versions lt ZDS II Installation Directory gt device driv ers USB x64 lt ZDS II Installation CD gt device drivers USB x64 Click Next to install the driver On 32 bit systems a Windows Secu rity dialog will appear select Install this driver software anyway After the Wizard finishes the installation click the Close button Windows Vista 32 bit OS Observe the following steps to install the USB Smart Cable for Windows Vista 32 bit systems UM023301 041 1 ZMOTION Intrusion Detection Development Board 13 ZMOTION Intrusion Detection Development Kit User Manual Z 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 don t have the disc Show me other op tions 4 When prompted select Browse my computer for driver software advanced 5 Browse to the following driver directory lt ZDS II Installation Directory gt device drivers USB 6 The Windows Security dialog box is displayed select Install this driv er software anyway 7 Upon successful installation click C
20. ick the CDM20802_Setup exe file to start the driver installation The installation process will begin and will ap pear similar to the following code statements 32 bit OS detected lt installation path gt dpinstx86 exe Installation driver FTDI CDM driver installation process completed When the installation is complete plug the USB cable into the ZMO TION Development Board If driver installation was successful USB Serial Port COMx should appear in the list displayed in the Device Manager s Ports COM amp LPT interface To open the Device Manager on Windows 7 systems launch the Start menu enter Device Manager in the Search program and files field and press the Enter key To open the Device Manager on earlier Windows systems navigate to the following filepath Start Control Panel System Hardware Device Man ager Ports COM amp LPT Downloading and Running 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 UM023301 041 1 ZMOTION Intrusion Detection Development Board 17 ZMOTION Intrusion Detection Development Kit User Manual Z I y wumvscm 18 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 exam
21. ion Development Kit provides a gen eral purpose platform for evaluating the capabilities and operation of the ZMOTION Intrusion Detection MCU which features Zilog s passive infrared PIR technology The ZMOTION Family of Motion Detection products 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 intrusion detection and security related control applications The Z8FS021 MCU a prominent member of the ZMOTION 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 comprise Zilog s PIR technology 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 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 Detect
22. ion Module Product Specification PS0284 available for down load at www zilog com UMO23301 041 1 Introduction Kit Contents ZMOTION Intrusion Detection Development Kit User Manual Z I y AnEITXYS Company The ZMOTION Intrusion Detection Development Kit contains the fol lowing hardware software and documentation Hardware ZMOTION Development Board USB Smart Cable Debugger 1 2 Focal Flat Lens Holder Selection of lenses RE200B Pyroelectric Sensor mounted on the Development Board Mini USB serial cable Wall mount mini USB 5 V DC power supply An assortment of mounting hardware Software on CD ROM ZDSII Z8 Encore IDE with ANSI C Compiler Sample Code ZMOTION Intrusion Demo Documentation ZMOTION Intrusion Detection Development Kit Quick Start Guide QS0078 ZMOTION Family Technical Documentation on CD ROM ZMOTION Intrusion Detection Product Specification PS0288 ZMOTION Intrusion Detection Product Brief PB0230 1 Zilog recommends using only the power supply provided in the ZMOTION Intrusion Detection Development Kit UMO023301 041 1 Introduction ZMOTION Intrusion Detection Development Kit User Manual ZMOTION Detection and Control Product Specification PS0285 ZMOTION Detection and Control Product Brief PB0225 ZMOTION Detection Module Product Specification PS0284 ZMOTION Detection Module Product Brief PB0223 ZMOTION Lens and Pyroele
23. irectory then click OK lt ZDS installation NVdevice drivers USB 6 After you find the appropriate driver click Next 7 Click Finish to complete the installation Connecting the USB Smart Cable Observe the following steps to connect the USB Smart Cable to the ZMO TION Development Board UM023301 041 1 ZMOTION Intrusion Detection Development Board ZMOTION Intrusion Detection Development Kit User Manual Zilog Embedded in Life AnEILXYS Company 16 UN Caution 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 4 Figure 4 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 1 on P2 of the board UMO23301 0411 ZMOTION Intrusion Detection Development Board ZMOTION Intrusion Detection Development Kit User Manual zil AnEITXYS Company Installing the FTDI USB to Serial Driver Observe the following steps to install the FTDI USB to Serial Driver 1 Make sure that the USB cable is not plugged into the ZMOTION Development Board On the CDROM double cl
24. lose 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 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 Note If the Windows Logo testing dialog appears select Continue Anyway UM023301 041 1 ZMOTION Intrusion Detection Development Board ZMOTION Intrusion Detection Development Kit User Manual zil A ERIS om e y 1 5 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 MVdevice drivers USB 5 After you find the appropriate driver click Next 6 Click Finish to complete the installation Windows 2000 Observe the following steps 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 d
25. n I 7 0H l Zilog Confidential All Rights Reserved 8 9 I m Zilog 6800 Santa Teresa Blvd Itc San Jose CA 95119 HKAOTHOROD i 408 513 1500 DIXYS jaoje o co In co o Website www zilog com i ite ZMOTION Bundled Solutions 20 Pin Series Development Kit i gt aga Schematic is Size Document Number 96C1309 001G B UNCONTROLLED WHEN PRINTED UNLESS STAMPED CONTROLLED COPY IN RED BY DOCUMENT CONTROL E ostia A E Figure 10 ZMOTION Development Board Schematic Diagram 2 of 2 Board Design Information ZMOTION Intrusion Detection Development Kit User Manual Embedded in Life AnLiIXYS Company 26 Figures 11 and 12 display top and bottom view mechanical drawings respectively of the ZMOTION Development Board 4 40 PAN HEAD SCREW 4 PL MOUNT U5 FLUSH TO PCB 1N3432V1d ABYONOD3S uoj4njog pojpung NOTLOWZ 1N3W32V1d ABVNINd Y APH 9100 60 1266 Y2d 901 Z 41y guawdo saag I1J9S Uld QZ ex e ua x x e ri HE e e a 2 x lt lt un e a 3 o a 3 D 000000000000000000000000 2000000000000000000000000 x pogjzB IA Tinie ig com Figure 11 ZMOTION Development Board Mechanical Diagram Top View UMO23301 0411 Board Design Information UM023301 041 1 4 40 STANDOFF 4 PL cB us Littl Riomm qemais C 20 di o o o o o o o o o o o o o o o o o o 0000000000000000000000 000000000000000000000 00000000000000000
26. nfiguration file for AA 0 9 GI V1 Lens include API INIT 02 h BPI configuration file for CM 0 77 GI V3 Lens UM023301 041 1 ZMOTION Intrusion Detection Development Board inclu inclu inclu inclu inclu inclu de API_INIT_03 de API INIT 04 de API INIT 05 de API INIT 06 de API INIT 07 de API INIT 08 include API INIT 09 n inclu inclu de API INIT 10 de API INIT ll h PP OD o oO ZMOTION Intrusion Detection Development Kit API API API API API API API API API co co co co co co co nfi nfi nfiguration nfi nfi nfiguration confi confi nfiguration guration guration guration guration guration guration temm fi fi ile ile ile ile ile ile le le ile User Manual For CM 0 77 GI V5 Lens For CWM 0 5 GI V1 Lens For NCL 9 26 Lens for NCL 10IL Lens for NCL 3B Lens for NCL 11 Lens for WA1 2 GI 12 V4 Lens for LR1 2 GI 12 V3 Lens for VB1 2 GI V1 Lens The API INIT file must match the lens and pyroelectric sensor being used on the Development Board Use the Lens Selection Guide in the ZMOTION Lens and Pyroelectric Sensor Product Specification PS0286 to determine which API INT file is required for each lens and Pyroelec tric Sensor combination UM023301 041 1 ZMOTION Intrusion Detection Development Board 23 Board Design Information
27. nu Read RAM Write RAM Real Time Log amp Display Reset Log Display Counts Display Log Prime Display API Registers CONDOS Cono ZMOTION gt S Connected 0 01 07 Auto detect 115200 8 N NUM Figure 3 The ZMOTION Serial project running in Hyperterminal UMO23001 1110 ZMOTION Detection and Control ZMOTION Detection and Control Development Kit User Manual Zilog Embedded in Life AnG IXYS Company 13 Board Design Information Figure 4 displays the schematics for the ZMOTION Development Board Le ue DUDAMA 1 Ppcteres Garw r e an Da a Ser id aL TOND UNCONTROLLED WHEN PRATAP URLE SAED TORTH ED TOP AHED BF DOCM CONTROL Figure 4 ZMOTION Development Board Schematic Diagram UMO23001 1110 Board Design Information ZMOTION Detection and Control Development Kit User Manual Zilog Embedded in Life AnG IXYS Company 14 Figure 5 displays a mechanical drawing of the ZMOTION Development Board 4 40 PAN HEAD SCREW 6 PL PIN SOCKETS INSTALL THIS SIDE dilh LN3435v14 5vdNO235 8 o E E n c NN ne o o m a 0 02 ON 90717 I1H9INAdO2 LIM dodo 3490 31126 dlg G SUOTIN1OS pa pung NOLLOWZ Figure 5 ZMOTION Development Board Mechanical Diagram UMO23001 1110 Board Design Information ZMOTION Intrusion Detection Development Kit User Manual Introduction Zilog s ZMOTION Intrusion Detect
28. ons The ZMOTION Development Board supports a lens holder option for each of the 1 2 focal length intrusion lenses as indicated in Table 1 For lens installation instructions please refer to the ZMOTION Intrusion Detection Development Kit Quick Start Guide QS0078 Table 1 Lens Mounting Options Lens Mounting Supported Lenses Flat Lens Holder 1 2 Focal WA 1 2 Gl 12 V4 VB 1 2 GI V1 LR 1 2 GI 12 V3 Pyroelectric Sensor Option The ZMOTION Intrusion Detection Development Kit includes one type of pyroelectric sensor the Basic Dual Element sensor part number RE200B P which is mounted directly on the Board UM023301 041 1 ZMOTION Intrusion Detection Development Board ZMOTION Intrusion Detection Development Kit User Manual Z ZMOTION Development Kit Application Software The ZMOTION application software includes the ZMOTION_Intrusion_Demo motion detection project which is described in this section ZMOTION Intrusion Demo The ZMOTION Intrusion Demo project demonstrates the basic motion detection functionality of the ZMOTION Development Board The MCU included with the Board is programmed with this project Each lens type is supported by an associated lens configuration header file which displays a name format of API INIT xx h Header files for all supported lens types are included in the include project folder of the ION Intrusion Demo project The main c source file contains the ZMOT incl Lude dire
29. ple we reference the ZMOTION Intrusion Demo project however the steps that follow will apply to any additional project gt Note 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 1 Open ZDSII and select File Open Project then navigate to the project folder labeled ZMOTION_Intrusion_Demo 2 Open the ZMOTION_Intrusion_Demo 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 5 for an example Figure 6 indicates the location of the Rebuild All icon in the ZDS II menu bar UM023301 041 1 ZMOTION Intrusion Detection Development Board ZMOTION Intrusion Detection Development Kit User Manual Embedded in Life AnEITXYS Company 19 Zmota pion De 7 a Elise Edit View Project Buld Debug Tools Window Help le x 009 Ax a DB Release mus AAA a gt m 3 Ja ES Standard Project
30. 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 gt Note The upper set of holes on the board is used to attach the 1 2 lens holders see Figure 2 Prototyping area 2 7 V 3 6 V operating voltage with 5 V tolerant inputs MCU Features The Z8FS021 ZMOTION Intrusion Detection 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 The Z8FS021 MCU includes the following features UM023301 041 1 High performance eZ8 MCU core 2 KB in circuit programmable Flash memory available for application code Single pin debug with unlimited breakpoints ZMOTION Intrusion Detection Development Board UM023301 041 1 ZMOTION Intrusion Detection Development Kit User Manual Flexible clocking scheme Internal precision oscillator running at 5 53 MHz 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
31. terminal menu options see Fig ure 3 Menu Select at any time to return to the main menu Read RAM Allows any 3 digit hexadecimal register address location in RAM to be read and displayed Write RAM Allows any 3 digit hexadecimal register address location in RAM to be written to Real Time Log amp Display Selecting a 1 will turn on the motion detection log The display is formatted by an M or E to indicate basic motion detec tion or extended detection followed by the detection count and a relative time stamp Selecting a 0 turns off the detection log Reset Log Display Counts Clears out the display log and resets the count Display Log Displays the relative time stamp of each motion event starting with the most recent event highest time stamp UMO23001 1110 ZMOTION Detection and Control ZMOTION Detection and Control Development Kit User Manual Zilog Embedded in Life AnLiIXYS Company Prime Selecting Prime will causes the Z8FS040 MCU to calculate and display sequential prime numbers Motion detection continues to operate Display API Registers Displays the current values in each API register For further information about API register settings please refer to the ZMOTION Detection and Control Family Featuring Zilog s PIR Technol ogy Product Specification PS0265 dd HyperTerminal ajaja File Edt View Cal Transfer Help Da 5308 F R004 ZMOTION Serial ZMOTION Serial Command Application Me
32. to prevent damage resulting from electrostatic discharge ESD UMO23001 1110 Introduction ZMOTION Detection and Control Development Kit User Manual Z An Ei IXYS Company ZMOTION Detection and Control Development Board Zilog s ZMOTION development board is a development and prototyping platform for the ZMOTION Detection and Control silicon and software as well as for lens pyroelectric sensor silicon and software bundled solu tions The board provides the user with a tool to evaluate the many fea tures of ZMOTION PIR technology as well as the actual performance of each lens and pyro combination UM023001 1110 ZMOTION Detection and Control ZMOTION Detection and Control Development Kit User Manual Embedded in Life Ani IXYS Company 9 1 1 Figure 2 ZMOTION Detection and Control Development Board Features The ZMOTION Detection and Control development board features the following elements e Z8FS040 ZMOTION Detection MCU 8 pin SOIC e RS 232 serial interface UMO23001 1110 ZMOTION Detection and Control ZMOTION Detection and Control Development Kit User Manual Z l Od An IXYS Company 5V DC power connector Power On and Detection LED On chip debugger interface Board openings for an assortment of lens holders and clip on lens attachments Note The middle set of holes on the board is used to attach the 0 9 and 77 lens holders see Figure 2 Prototyping area 2 7V 3

Download Pdf Manuals

image

Related Search

Related Contents

Modicon Quantum CHS 110 Hot Standby System Planning and  レーザースキャナ(S3000、S300)  Xantrex™ XW  DESCRIPTION DESIGNATION  EB-705 - Akatherm  VPAP II ST-A - Sleep Medicine Network  Prestigio GEOVISION 150 User's Manual  Edition N°1 de 2001  DEC14E2 User Manual  Product Leaflet: 18cm/ 7" LCD Dual screen portable DVD player  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.