Operation, Hardware interface mode – Zilog ZEPIR0BA User Manual
Page 10

UM026001-0413
Operation
ZMOTION
®
Detection Module II Evaluation Kit
User Manual
6
Operation
The ZMOTION Detection Module II Evaluation Board provides a number of 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 con-
trol of the ZMOTION Detection Module II with hardware jumpers and potentiometers. In
this mode, the serial interface is disabled and the trim pots on the Evaluation Board (Sen-
sitivity, 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 counterclockwise, towards
Light
, to set the
ambient light threshold to its maximum brightness, as shown in
Essentially, the maximum amount of ambient light will be required to disable the
Motion Detection output (LED). For details about the AMBIENT pot, see the
3. Turn the DELAY potentiometer fully counterclockwise, towards ‘–’, to select the
minimum LED “on” time (2 seconds). For details about the DELAY pot, see the
4. Turn the SENSITIVITY potentiometer fully clockwise, towards ‘+’, to select the
maximum motion-detection sensitivity. For details about the SENSITIVITY pot, see
the
5. Press Reset or apply power.
At this point, ZDM II will power up and check the voltage applied to the TXD/SNS
pin to determine its Interface Mode. With SW1 in the HARDWARE position, the volt-
age on this pin will be between 0 V and 1.8 V and determine its selection to be
Hard-
ware Interface Mode
. This interface mode is detected once, and only after reset,
while the ambient light threshold, delay and sensitivity are monitored continuously.