AI02 SP&PIR

Use this page with AI

Explore with your favorite AI

Gemini & other AI

Copy this page’s context into your AI to explore how it works and what you can build.

Open Gemini

Copy the prompt, then paste it into Gemini’s message box.

View prompt

Table of contents

AI02, photo 1AI02, photo 2AI02, photo 3

Features

Combined with an MCU (microcontroller) leaf, this leaf lets you detect an approaching person and play sounds or melodies. A sample demonstrates playing a melody when someone approaches.

It has a piezoelectric speaker connected to the MCU leaf through PWM and an IR sensor connected over I2C. The sensor has a built-in proximity detection algorithm and can be configured to output an interrupt signal when it detects an approach.

Specification

Dimension

ItemDescription
Dimension  W23×D20.5×H5.3mm

Piezoelectric Speaker

ItemDescription
Part numberCMT-1203-SMT
dimensions12 x 12 x 3mm
rated frequency4kHz(typ)
sound pressure level81dB(min) at 10 cm, 5 Vp-p, 4,000 Hz square wave
Current consumption5mA(max) at 5 Vp-p, 4,000 Hz square wave

IR Sensor

ItemDescription
Part numberAK9754
SensorQuantum-type IR Sensor
InterfacesI2C(Address: 0x65 or 0x64)

Block diagram

Pinassign

Sample App

AVR MCU Examples

ESP32 MCU Examples

Document

Revision history 

  • Rev A1.0: First edition, August 2019
Leaf photo
Search documentation, sample apps, and Q&A