UM022306-1210
P R E L I M I N A R Y
Introduction
ZMOTION
™
Detection Module Development Kit
User Manual
7
3. Place SW1 in the SERIAL position.
4. Turn the AMBIENT pot fully clockwise (towards ‘+’) to set the ambient light
threshold to maximum. Essentially, the maximum amount of ambient will be required
to disable the Motion Detection output (LED). For details about the AMBIENT pot,
see
The DELAY and SENS potentiometers are not used in Serial Interface Mode.
5. Press Reset or apply power.
At this point, the ZMOTION Detection Module 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 interface mode is detected once, and only after reset,
while the ambient light threshold is monitored continuously.
After power-on, the ZMOTION Detection Module 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 maximum 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 (without the comma):
7. Wave your hand in front of the ZMOTION Detection Module’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 Product Specification (PS0284)
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: