AD Keyboard Simulate Five Key Module   Analog Button for arduino Sensor Expansion Board – KSH 150 at HIMASTORES Mombasa – best electronics in Kenya

AD Keyboard Simulate Five Key Module Analog Button for arduino Sensor Expansion Board

SKU: HMJ661 Category: Switches
KSH 150.00
In Stock

Product Description

AD Keyboard Simulate Five Key Module

Analog Button Module for Arduino Sensor Expansion Board

The AD Keyboard Simulate Five Key Module is a compact analog keypad featuring 5 push buttons that output different analog voltages when pressed. Using a single analog pin, this module allows you to read multiple button inputs with just one ADC port, saving valuable digital I/O pins on your Arduino or ESP32.

5 buttons output different analog voltages through 1 analog pin
Uses voltage divider network for button detection
Connect to analog pin only - digital read will not work

Technical Specifications

ParameterValue
Number of Keys5 Push Buttons
Output TypeAnalog Voltage
Supply Voltage3.3V - 5V DC
Interface1 Analog Output VCC GND
Connector3-pin (SIG, VCC, GND)
PCB Dimensions~25mm x 25mm
Mounting Holes2 x 2.5mm
ColorBlue / Green PCB

= Key Features =

Single Analog Pin - Read 5 buttons using only 1 ADC pin

Voltage Detection - Each button outputs unique voltage level

Compact Design - Small footprint for easy integration

Simple Interface - VCC, GND, and SIG connection

Low Power - Negligible current consumption

Easy Integration - Plugs directly into Arduino sensor shield

Flat Design - Low profile for compact projects

= Applications =

  • Menu navigation and selection
  • Remote control interfaces
  • User input for Arduino projects
  • Robot control panels
  • Interactive installations
  • Game controllers
  • Quick preset selection
  • Industrial control panels

Wiring Guide

Module PinArduino PinDescription
VCC3.3V or 5VPower Supply
GNDGNDGround
SIGAnalog Pin (A0)Analog signal output

> Connect SIG to analog input pin for reading voltage levels

Use 5V for best analog range on Arduino
Do not connect to digital pin - will not read correctly

Voltage Output Table (Typical @ 5V)

ButtonVoltage (5V)ADC Value (10-bit)
Button 1 (K1)~0V~0
Button 2 (K2)~1.25V~256
Button 3 (K3)~2.5V~512
Button 4 (K4)~3.75V~768
Button 5 (K5)~5V~1023
No Press~5V~1023

> Actual voltages may vary - adjust thresholds in code

Use buffer values (±50 ADC) for reliable detection
Values depend on supply voltage - recalibrate for 3.3V

Arduino Test Code

int analogPin = A0;

int buttonValue = 0;

void setup() {

Serial.begin(9600);

}

void loop() {

buttonValue = analogRead(analogPin);

Serial.print("Analog Value: ");

Serial.println(buttonValue);

if (buttonValue < 50) {

Serial.println("Button K1 Pressed");

} else if (buttonValue < 300) {

Serial.println("Button K2 Pressed");

} else if (buttonValue < 600) {

Serial.println("Button K3 Pressed");

} else if (buttonValue < 850) {

Serial.println("Button K4 Pressed");

} else if (buttonValue < 1024) {

Serial.println("Button K5 Pressed");

} else {

Serial.println("No Button Pressed");

}

delay(200);

}


Calibration Guide

  1. Upload test code and open Serial Monitor
  2. Press each button individually
  3. Note the ADC reading for each button
  4. Adjust threshold values in code based on readings
  5. Add buffer zones between values for reliable detection
ADC values may vary slightly between modules
Use threshold values at midpoint between buttons

Why Choose This Module?

Read 5 buttons using only 1 analog pin
Simple voltage detection method
No library needed - direct analog reading
Compatible with Arduino sensor shields
Compact and affordable design
Reliable and repeatable operation

√ Works with Arduino, ESP32, PIC, and STM32

√ Plugs directly into 3-pin sensor interfaces

√ Low component count for reliability

√ Easy to implement in any project

√ Saves valuable digital I/O pins


Safety Precautions

Do not exceed 5V supply voltage
Avoid ESD exposure during handling
Keep away from moisture
Protect from physical impact
Ensure proper pin connections
Handle with care - PCB is delicate
For longer cable runs, use shielded wire

The AD Keyboard Simulate Five Key Module is the perfect solution for adding a 5-button interface to your Arduino project using just one analog pin. Simple to use and reliable, it saves valuable I/O pins for other sensors.

ADKEYBOARD 5KEY ANALOGBUTTON ARDUINO ESP32 SENSORMODULE ANALOGINPUT BUTTONMODULE KEYPAD DIY IOT USERINTERFACE New Best Seller AD Keyboard