Z8F3224 ZMOTION Development Kit
UM029501-0321
SAMPLE APPLICATIONS
User Manual
15
Figure 9. ZM_NP_Basic Power on Messages
Each time the MCU wakes up from a motion event it will display the following status message:
Figure 10. ZM_NP_Basic Motion Detection Messages
ZM_NP_Command
This project demonstrates the use of the ZMOTION Library and API to detect motion with ambient
light detection and a serial command interface. When a motion event is detected, the status LED is
flashed, motion trigger output is pulsed, and a message can be sent via Serial interface.
Typical current consumption is <1mA @ 3.0V
The serial command interface includes the following features that help adjust system operations
and performance:
•
Pet Immunity mode
•
Programmable Digital sensitivity
•
Programmable LED, trigger, and motion delay time
•
Ambient light levels and threshold
•
Temperature Compensation
– adjusts Analog PIR thresholds based on ambient
temperature
•
Temperature Change Protection
– Ignores motion events generated by temperature
changes
•
Vdd Shift Protection
– Ignores motion events generated by shifts in supply voltage
•
Smart Sense Mode
– Intelligent micro motion
•
Pass Through Mode
– Intelligent motion delay time
•
Boot Loader
Refer to the Serial Command Functions NP file included with the project for a full list of functions
and features.