IXYS Zilog ZMOTION ZMOTIONS200ZCOG User Manual Download Page 17

UM023302-1214

13

ZMOTION

®

 Intrusion Detection Development Kit

User Manual

Making Changes to the ZMOTION_Intrusion_Demo Project

To change the duration of the LED on time, observe the following procedure.

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

LED on time

 definitions are provided in the 

main.h

 file for values from 200 ms 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 ZWA12GI12V4 (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 correspond 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_01.h"

// API configuration file for AA 0.9 GI V1 Lens

//#include "API_INIT_02.h"

// API configuration file for CM 0.77 GI V3 Lens

//#include "API_INIT_03.h"

// API configuration file for CM 0.77 GI V5 Lens

//#include "API_INIT_04.h"

// API configuration file for CWM 0.5 GI V1 Lens

//#include "API_INIT_05.h"

// API configuration file for NCL-9(26) Lens

//#include "API_INIT_06.h"

// API configuration file for NCL-10IL Lens

//#include "API_INIT_07.h"

// API configuration file for NCL-3B Lens

//#include "API_INIT_08.h"

// API configuration file for NCL-11 Lens

#include "API_INIT_09.h"

// API configuration file for WA1.2 GI 12 V4 Lens

//#include "API_INIT_10.h"

// API configuration file for LR1.2 GI 12 V3 Lens

//#include "API_INIT_11.h"

// API configuration file for VB1.2 GI V1 Lens

The 

API_INIT

 file must match the lens and pyroelectric sensor being used on the Devel-

opment 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 Pyroelectric Sensor combination.

Note:

Summary of Contents for Zilog ZMOTION ZMOTIONS200ZCOG

Page 1: ...Copyright 2014 Zilog Inc All rights reserved www zilog com User Manual UM023302 1214 ZMOTION Intrusion Detection Development Kit ZMOTIONS200ZCOG...

Page 2: ...m can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness Document Disclaimer 2014 Zilog Inc All rights reserved Information in th...

Page 3: ...d part numbers with new part numbers replaced the System Requirements section with a Supported Operating Systems section replaced references to ZMOTIONL200ZCOG with ZMOTIONS200ZCOG changed store ID SD...

Page 4: ...ON Intrusion Detection Development Board 5 Features 5 MCU Features 6 ZMOTION Intrusion Detection Development Kit Lens and Pyroelectric Sensor 7 Lens Mounting Options 7 Pyroelectric Sensor Option 7 ZMO...

Page 5: ...de 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 dete...

Page 6: ...the kit are shown in Figure 1 Supported Operating Systems The ZMOTION Intrusion Detection Development Board supports the following operating systems Microsoft Windows 7 32 bit 64 bit Microsoft Window...

Page 7: ...Store Observe the following brief procedure to download and install your ZMOTION software 1 In the Zilog Store under Categories click Downloadable Software to present a list of the available software...

Page 8: ...ion Detection Development Kit User Manual 3 When the installation is complete the ZMOTION documentation will be located in the following path by default C Program Files Zilog ZMOTIONS200ZCOG_ version...

Page 9: ...OTION PIR technology as well as the actual performance of each lens and pyro combination Attach the Intrusion lens holder to the Board using the primary placement set of holes which are indicated in F...

Page 10: ...precision oscillator running at 5 53MHz External oscillator operating up to 20MHz Sigma Delta ADC Up to 6 single ended channels or 3 differential channels available On chip analog comparator with ind...

Page 11: ...e ZMOTION Intrusion Detection Development Kit Quick Start Guide QS0078 for specific installation instructions for the lenses Lens Mounting Options The ZMOTION Development Board supports a lens holder...

Page 12: ...rig inal versions As new lens types are added to the ZMOTION family an associated lens configuration file is made available in WP0018 Table 2 lists additional project features that can be modified or...

Page 13: ...E indicates the Extended Engine detected the motion event 001 is the count of motion events for each Engine and 33 is the time of the event in seconds since power on Connecting the USB SmartCable Obse...

Page 14: ...m 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 Manager Ports COM LPT Down...

Page 15: ...hat the folders are not set to Read Only See Figure 4 for an example Figure 5 indicates the location of the Rebuild All icon in the ZDSII menu bar 4 Make sure that the ZMOTION Development Board is pow...

Page 16: ...as shown in Figure 7 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 i...

Page 17: ...main c file that correspond 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 G...

Page 18: ...19 TXD 1 USBDP 15 CBUS3 14 OSCI 27 OSCO 28 GND2 18 TEST 26 CBUS1 22 GND3 21 DCD 10 CTS 11 DSR 9 RXD 5 CBUS4 12 CBUS2 13 AGND 25 CBUS0 23 VCC 20 U3 TPS2051B U3 TPS2051B OUT 1 GND 2 OC 3 EN 4 IN 5 C3 4...

Page 19: ...8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 J2 HDR PIN 1x1 J2 HDR PIN 1x1 1 C11 1 uF C11 1 uF J8 HDR PIN 1x2 J8 HDR PIN 1x2 1 2 U8 Z8FS040xHH20EG U8 Z8FS040xHH20EG PA5 TXD0 11 PA4 RXD...

Page 20: ...Intrusion Detection Development Kit User Manual Figures 10 and 11 display top and bottom view mechanical drawings respectively of the ZMOTION Development Board Figure 10 ZMOTION Development Board Mec...

Page 21: ...UM023302 1214 17 ZMOTION Intrusion Detection Development Kit User Manual Figure 11 ZMOTION Development Board Mechanical Diagram Bottom View...

Page 22: ...proceed to the next step 3 In the Search programs and files field in the Windows Start menu enter Device Manager The Device Manager will appear in a list of search results 4 From this list of results...

Page 23: ...g paths then click the Next but ton On 32 bit Vista systems navigate to ZDS II Installation device drivers USB x32 n ZDS II Installation CD device drivers USB x32 On 64 bit Vista systems navigate to Z...

Page 24: ...on Development Kit User Manual ZDS II Installation device drivers USB x32 n ZDS II Installation CD Device Drivers USB x32 5 Click Next to locate the appropriate driver 6 Click Next a second time then...

Page 25: ...t page at http sup port zilog com To learn more about this product find additional documentation or to discover other fac ets about Zilog product offerings please visit the Zilog Knowledge Base at htt...

Reviews: