ZiLOG ZMOTION Z8F6481 User Manual page 18

Library development kit
Table of Contents

Advertisement

The MCU stays in Low Power Stop mode until an Analog PIR event is detected. The
MCU then wakes up and runs the ZMOTION Engine on the PIR signal to validate the
motion event.
When the motion event is validated, the status LED is flashed, motion trigger output is
pulsed, and a message can be sent via Serial interface.
Typical current consumption is <15uA @ 3.0V.
The serial command interface has the following features that help adjust system operations
and performance:
Pet Immunity mode
Programmable Digital and Analog sensitivity
Programmable LED, trigger and motion delay time
Ambient light levels and threshold
Pass-Through and Hyper-Sense (Micro-Motion) modes
Temperature Compensation – adjusts Analog PIR thresholds based on ambient temper-
ature
Temperature Change Protection – Ignores motion events generated by temperature
changes
Vdd Shift Protection – Ignores motion events generated by shifts in supply voltage
Refer to the Serial Command Functions LP file included with the project for a full list of
functions and features.
ZM_NP_Basic
This project demonstrates the use of the ZMOTION Library and API to detect motion.
When motion is detected, an LED is turned on, output is driven active, and a message is
sent via the VCOM USB serial interface (connected to UART0 on the NP MCU).
Typical current consumption is <1mA @ 3.0V.
Move SW4 from the LP position to the NP position. The LP MCU will be held in reset.
The NP MCU will start running and display the following messages:
Z8F1681 ZMOTION Library Sample Program
ZM_NP_Basic
Version: 1.0
Waiting for PIR Sensor Stability
...............
PIR Stable
Each time the MCU wakes up from a motion event it will display the following status
message:
UM028901-0318
®
Z8F6481 ZMOTION
Library Development Kit
User Manual
Sample Applications
15

Advertisement

Table of Contents
loading

Table of Contents