AI01 4-Sensors: Temperature, Humidity, Light and Acceleration
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.
Copy the prompt, then paste it into Gemini’s message box.
View prompt
Features
Measure temperature, humidity, ambient light (illuminance), and acceleration. Combined with an MCU (microcontroller) leaf, this leaf lets you read changes in the surrounding environment and the leaf’s movement.
The AI01 4-Sensors leaf is shown on the right. The left shows an example stack with MCU, communication, power, and other leaves. Click the figure to enlarge it. The Japanese labels identify the Leafony stack and the separate 4-Sensors leaf.
It has a temperature/humidity sensor, an illuminance sensor, and an accelerometer. The MCU leaf reads their measurements over I2C.
Sensor locations
The arrows identify the accelerometer (加速度), temperature/humidity sensor (温湿度), and illuminance sensor (照度). The specifications below list the sensor chips and their measurement ranges.
Specification
Dimension
| Item | Description |
|---|---|
| Dimension | W23×D20.5×H4.7mm |
Temperature/Humidity Sensor
| Item | Description |
|---|---|
| Part number | HTS221TR |
| Relative Temperature range | -40~120℃ |
| Temperature accuracy | ±0.5°C (15 to +40°C) |
| Relative humidity range | 0 to 100% |
| Humidity accuracy | 3.5% rH (20 to +80% rH) |
| Interfaces | I2C(Address: 0x5F) |
Illuminance Sensor
| Item | Description |
|---|---|
| Part number | OPT3001 |
| Measurement range | 0.01 lux to 83 k lux |
| IR Rejects | > 99% (typ) |
| Interfaces | I2C(Address: 0x44 or 0x45) |
Acceleration Sensor
| Item | Description |
|---|---|
| Part number | LIS2DHTR |
| Measurement range | ±2g/±4g/±8g/±16g (selectable) |
| Function | 6D/4D orientation detection |
| Freefall detection | |
| Motion detection | |
| Interfaces | I2C(Address: 0x19) |
Block diagram
Pinassign
See the pin assignment data for details.
Sample App
AVR MCU Examples
- Temp Humid Sensor
- Illuminance Sensor
- Accelerometer Sensor
- Web Bluetooth IoT
- Google sheets IoT
- 4-sensors LCD
ESP32 MCU Examples
STM32 MCU Examples
Library
Libraries are available for this leaf. Follow the library installation guide to install the required libraries.
Document
Revision history
- First edition, August 2019







