Keszoox
AD Keyboard 5-Key Analog Button Module — Single Analog Pin, Arduino Sensor Shield
AD Keyboard 5-Key Analog Button Module Single Analog Pin, Arduino Sensor Shield
Couldn't load pickup availability
AD Keyboard 5-Key Analog Button Module — Single Analog Pin Interface
The AD Keyboard module provides 5 independent push buttons on a single analog input pin using a resistor ladder voltage divider. Each button produces a unique analog voltage level, allowing an Arduino or MCU to identify which button is pressed with just one analogRead() call — saving precious GPIO pins.
Key Specifications
| Parameter | Value |
|---|---|
| Number of Buttons | 5 |
| Interface | Single analog output pin (SIG) |
| Supply Voltage | 3.3V – 5V DC |
| Output Type | Analog voltage (resistor ladder) |
| Connector | 3-pin (VCC, GND, SIG) |
| Compatible | Arduino Sensor Shield, breadboard |
Analog Output Voltage (@ 5V VCC)
| Button | Approx. Voltage | analogRead() Value |
|---|---|---|
| S1 | ~0V | ~0 |
| S2 | ~1.0V | ~204 |
| S3 | ~2.0V | ~409 |
| S4 | ~3.0V | ~614 |
| S5 | ~4.0V | ~818 |
| None pressed | ~5V | ~1023 |
Why Choose This AD Keyboard Module?
- Single Pin for 5 Buttons — Saves 4 GPIO pins vs. individual digital button wiring
- Sensor Shield Compatible — 3-pin connector fits Arduino sensor shield analog ports directly
- No Library Required — Simple analogRead() with threshold comparison in your sketch
- Debounce-Friendly — Resistor ladder output is stable; add software debounce for clean reads
- Compact PCB — Small footprint for panel-mount or breadboard use
Typical Applications
- Arduino menu navigation (up/down/left/right/select)
- LCD display menu control with minimal wiring
- Sensor shield button expansion
- Remote control input for robots and vehicles
- Game controller directional input
Arduino Example
int val = analogRead(A0);if (val < 50) { // S1 pressed }else if (val < 250) { // S2 pressed }else if (val < 450) { // S3 pressed }else if (val < 650) { // S4 pressed }else if (val < 850) { // S5 pressed }
FAQ
Q: Can two buttons be pressed simultaneously?
A: No — the resistor ladder only produces one unique voltage at a time. Simultaneous presses produce an undefined intermediate voltage.
Q: Does it work at 3.3V (ESP32/STM32)?
A: Yes — supply with 3.3V and adjust analogRead() thresholds proportionally (divide all values by ~1.52).
Package Contents
- 1× AD Keyboard 5-Key Analog Button Module
