Zilog Z8FS021A Uživatelský manuál Strana 12

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 25
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 11
UM023302-1214 8
ZMOTION
®
Intrusion Detection Development Kit
User Manual
ZMOTION_Intrusion_Demo
The ZMOTION_Intrusion_Demo project demonstrates the basic motion detection func-
tionality 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
ZMOTION_Intrusion_Demo
project. The most up-to-date
API settings and header files are included with the
ZMOTION Detection Lens and Pyro
Sensor Configuration Guide (WP0018)
, available from the Zilog website.
The
main.c
source file contains the
include
directive to add the
API_INIT_xx
header
file to the project. Changes to these header files should not be required, but any modifica-
tions you make should be made to a copy of the original header file;
do not modify the orig-
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 enabled in
main.c
and
main.h
.
When motion is detected, the LED is turned ON for 1 second (LED_ON_TIME) and the
Alarm Output (PB0) is activated for 5 seconds (ALARM_ON_TIME). A serial terminal
program such as HyperTerminal or RealTerm can be used to view the detection messages
from the ZMOTION Development Board.
The following messages are transmitted from the ZMOTION Development Board:
Table 2. Additional Project Features
Feature File Define/Variable/Modification Default Values
LED On Time main.h LED_ON_TIME DELAY_1SEC
(1 second)
Alarm Output On Time main.h ALARM_ON_TIME DELAY_5SEC
(5 second)
White Light Immunity main.h WHITE_LIGHT 1 (On)
White Light Threshold main.h WHITE_LIGHT_THRESH_DEF 0x1F
White Light Anti-Jam main.h WHITE_LIGHT_ANTI_JAM_DEF 0 (Off)
Supported Lens main.c #include "API_INIT_09.h" ZWA12GI12V4
*** ZMOTION Intrusion Serial Demo ***
Version 46
Waiting for the pyro sensor to stabilize
Pyro Sensor Stable – Ready to detect motion
M 001 @ 33
M 002 @ 38
M 003 @ 42
E 001 @ 44
Zobrazit stránku 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 24 25

Komentáře k této Příručce

Žádné komentáře