Files
esphome/tests/components/tcal6416/common.yaml
Claude b85c98abb4 [tcal6416] Add support for TCAL6416 I2C I/O expander
Implements support for the TI TCAL6416 16-bit I2C I/O expander with the following features:
- 16 GPIO pins (2 banks of 8)
- Bidirectional I/O with configurable input/output modes
- Support for inverted pins
- Compatible with ESP32, ESP8266, and RP2040 platforms
- I2C interface with configurable address (default: 0x20)

The TCAL6416 provides higher current latched outputs suitable for directly
driving LEDs or keypads. It operates at voltages from 1.08V to 3.6V and
supports I2C speeds up to 1MHz.

Addresses: https://github.com/orgs/esphome/discussions/3233
2025-11-17 22:43:46 +00:00

24 lines
408 B
YAML

tcal6416:
- id: tcal6416_hub
i2c_id: i2c_bus
address: 0x20
binary_sensor:
- platform: gpio
id: tcal6416_binary_sensor
name: TCAL6416 Binary Sensor
pin:
tcal6416: tcal6416_hub
number: 1
mode: INPUT
inverted: true
output:
- platform: gpio
id: tcal6416_output
pin:
tcal6416: tcal6416_hub
number: 0
mode: OUTPUT
inverted: false