Project Started
Generated image
Text
USB host -> ESP32-S3 DevKitC-1 |-- I2C_SDA / I2C_SCL --> TCA8418 --> ROW1..ROW5 / COL1..COL4 --> 20 keys |-- KEYPAD_INT <--------- TCA8418 event interrupt |-- KEYPAD_RST ---------> TCA8418 reset |-- ADC_POT1 / ADC_POT2 -> filtered potentiometers `-- LATCH1 / LATCH2 -----> active-low switches
Table
| Function | U1 pin | Direction |
|---|---|---|
| ADC_POT1 | GPIO1 | analog input |
| ADC_POT2 | GPIO2 | analog input |
| I2C_SDA | GPIO8 | bidirectional I2C data |
| I2C_SCL | GPIO9 | I2C clock output |
| KEYPAD_INT | GPIO10 | active-low interrupt input |
| KEYPAD_RST | GPIO11 | active-low reset output |
| LATCH1 | GPIO13 | active-low digital input |
| LATCH2 | GPIO14 | active-low digital input |
Project Overview
Architecture
TCA8418 Keypad Scanner
Matrix Connectivity
MCU Pin Mapping and GPIO Budget
Analog Inputs
Latching Inputs
Power and Safety
Firmware Requirements