beautypg.com

Ambient light threshold, Tails about the ambient pot, see the – Zilog ZEPIR0BA User Manual

Page 12

background image

UM026001-0413

Ambient Light Threshold

ZMOTION

®

Detection Module II Evaluation Kit

User Manual

8

Detection output (LED). For details about the AMBIENT pot, see the

Ambient Light

Threshold

section on page 8.

The DELAY and SENS potentiometers are not used in Serial Interface Mode.

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 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 inter-

face mode is detected once, and only after reset, while the ambient light threshold is
monitored continuously.

After power-on, ZDM II 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 maxi-
mum 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.

The following commands are case-sensitive; additionally, do not include the comma.

7. Wave your hand in front of the ZMOTION Detection Module II’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 II Product Specification

(PS0305)

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

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).

Note:

Note:

This manual is related to the following products: