48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
# Copyright (c) 2024 PM
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Melexis MLX90640 32x24 (768) pixel infrared array sensor
|
|
|
|
compatible: "melexis,mlx90640"
|
|
|
|
include: [sensor-device.yaml, i2c-device.yaml]
|
|
|
|
properties:
|
|
refresh-rate:
|
|
type: int
|
|
default: 2
|
|
enum:
|
|
- 0 # 0.5HZ
|
|
- 1 # 1HZ
|
|
- 2 # 2HZ
|
|
- 3 # 4HZ
|
|
- 4 # 8HZ
|
|
- 5 # 16HZ
|
|
- 6 # 32HZ
|
|
- 7 # 64HZ
|
|
description:
|
|
Refresh rate of the sensor itself.
|
|
The I2C must be configured to keep up with the data flow.
|
|
This configures the rate for subfields, i.e. the full frame rate is half of this value.
|
|
|
|
adc-resolution:
|
|
type: int
|
|
default: 2
|
|
enum:
|
|
- 0 # 16BIT
|
|
- 1 # 17BIT
|
|
- 2 # 18BIT
|
|
- 3 # 19BIT
|
|
description:
|
|
ADC resolution.
|
|
|
|
reading-pattern:
|
|
type: int
|
|
default: 1
|
|
enum:
|
|
- 0 # CHESS
|
|
- 1 # INTERLEAVE
|
|
description:
|
|
Reading pattern.
|
|
The sensor can be read in either line-interleaved subfields (similar to a TV video)
|
|
or a pixel alternating "chess board" pattern.
|