4x3 membrane keypad (12 keys) con ESP32
Alimentazione 3.3 V
Bus GPIO
Pin e collegamento all’ESP32
| Pin | Ruolo | Pin ESP32 | Note |
|---|---|---|---|
| R1 | Uscita (la pilota il componente) | D25 | Row 1. Rows are read with INPUT_PULLUP. Adafruit 3x4 keypads use another pin order |
| R2 | Uscita (la pilota il componente) | D26 | Row 2 |
| R3 | Uscita (la pilota il componente) | D27 | Row 3 |
| R4 | Uscita (la pilota il componente) | D32 | Row 4 |
| C1 | Ingresso (lo pilota l’ESP32) | D33 | Column 1. Columns are driven LOW one at a time |
| C2 | Ingresso (lo pilota l’ESP32) | D23 | Column 2 |
| C3 | Ingresso (lo pilota l’ESP32) | D19 | Column 3 |
Collegamento consigliato per l’ESP32 DevKit a 30 pin, evitando i pin della flash, di sola lettura e di strapping. BoardPilot lo controlla mentre colleghi.
Fonti
- Arduino Keypad library (Mark Stanley, Alexander Brevig), Row/column scanning; pins 1 to 7 = R1-R4, C1-C3 on common membrane keypads
Provalo in 3D in BoardPilot
Componenti simili
1x4 membrane keypad (4 keys)433 MHz receiver (XY-MK-5V)4x4 membrane keypad5-way navigation button module74HC165 input shift registerArcade button 30 mm with LED
Dati dei componenti: CC BY 4.0, riutilizzabili citando BoardPilot.