OFF
MIKROE-6290
18 g
Status:
PIR 3 Click is a compact add-on board designed for efficient and reliable motion detection in various applications. This board features the ZDP323B1 sensor from Zilog (Littelfuse), with high EMI immunity and precise motion detection capabilities. It includes a spectral filter window tuned to an 8-13um wavelength, dual sensing elements with a 0.6mm spacing, and a field of view of 148° on the X-axis and 136° on the Y-axis. The board also integrates the ZNCL10S PIR lens for maximum IR transmissivity and includes the Click Snap feature for flexible implementation. Ideal for security systems, lighting control, and video doorbells, PIR 3 Click ensures high performance and flexible implementation in demanding motion detection applications.
PIR 3 Click is fully compatible with the mikroBUS™ socket and can be used on any host system supporting the mikroBUS™ standard. It comes with the mikroSDK open-source libraries, offering unparalleled flexibility for evaluation and customization. What sets this Click board™ apart is the groundbreaking ClickID feature, enabling your host system to seamlessly and automatically detect and identify this add-on board, alongside a Click Snap feature introducing a new level of flexibility and ease of use.
This product is no longer in stock
Availability date:
PIR 3 Click is based on the ZDP323B1, a dual-element balanced differential pyroelectric (PIR) sensor from Zilog (Littelfuse). Designed for high performance and excellent EMI immunity, this sensor is ideal for demanding motion detection applications such as security/intrusion motion detectors, lighting control, video doorbells, and many more. The ZDP323B1 features a low-profile surface mount package compatible with IR reflow processes. It includes two sensing elements behind a spectral filter window tuned to an 8-13um wavelength, blocking unwanted IR energy sources. With a 0.6mm element spacing (elements are 0.75mm x 2.3mm spaced 0.6mm apart), it provides additional white light protection and a typical field of view of 148 degrees from the center of the element on the X-axis and 136 degrees on the Y-axis.
Combined with the ZDP323B1, the PIR 3 Click also integrates the ZNCL10S PIR lens made from high-density polyethylene. This lens ensures maximum IR transmissivity with well-defined beam patterns. It clips directly into the Click board™ over the ZDP323B1 sensor, simplifying mechanical design.
This Click board™ is designed in a unique format supporting the newly introduced MIKROE feature called "Click Snap." Unlike the standardized version of Click boards, this feature allows the main sensor area to become movable by breaking the PCB, opening up many new possibilities for implementation. Thanks to the Snap feature, the ZDP323B1 can operate autonomously by accessing its signals directly on the pins marked 1-8. Additionally, the Snap part includes a specified and fixed screw hole position, enabling users to secure the Snap board in their desired location.
PIR 3 Click uses a standard 2-wire I2C interface to communicate with the host MCU, supporting Standard mode with up to 400kHz of frequency clock. The I2C interface and registers allow for controlling various sensor functions, such as programmable gain, bandwidth, and detection thresholds. This flexibility ensures precise and customizable operations tailored to specific application needs. In addition, the SDA signal can also be used as a motion trigger output to interrupt or wake up a host MCU when motion is detected.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper and activated via the ON pin of the mikroBUS™ socket, providing a power-enable function. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. Also, this Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used as a reference for further development.
Click Snap is an innovative feature of our standardized Click add-on boards, introducing a new level of flexibility and ease of use. This feature allows for easy detachment of the main sensor area by simply snapping the PCB along designated lines, enabling various implementation possibilities. For detailed information about Click Snap, please visit the official page dedicated to this feature.
Type
Motion
Applications
Ideal for security systems, lighting control, video doorbells, and more
On-board modules
ZDP323B1 - dual-element balanced differential pyroelectric (PIR) sensor from Zilog (Littelfuse)
Key Features
High performance, excellent EMI immunity, tuned to an 8-13um wavelength for blocking unwanted IR energy, 0.6mm element spacing for additional white light protection, typical field of view 148deg on the X- and 136 on Y-axis, integrated the ZNCL10S PIR lens for maximum IR transmissivity, Click Snap feature, and more
Interface
I2C
Feature
Click Snap,ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V
This table shows how the pinout on PIR 3 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Power Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Field of View - X-axis | - | 148 | - | deg |
Field of View - Y-axis | - | 136 | - | deg |
We provide a library for the PIR 3 Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Library Description
This library contains API for PIR 3 Click driver.
Key functions
pir3_set_detection_level
This function sets the detection threshold level in the ctx->config structure.
pir3_write_config
This function writes a config structure to the sensor by using I2C serial interface.
pir3_read_peak_hold
This function reads a 12-bit signed peak hold data by using I2C serial interface.
Example Description
This example demonstrates the use of PIR 3 Click board™ by reading and displaying the peak hold tracking data.
void application_task ( void )
{
int16_t peak_hold = 0;
if ( PIR3_OK == pir3_read_peak_hold ( &pir3, &peak_hold ) )
{
log_printf( &logger, " PEAK HOLD: %drnn", peak_hold );
Delay_ms ( 100 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Other MIKROE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MIKROE compilers.
This Click board™ is supported with mikroSDK - MIKROE Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.