Description
The KY-031 Key Module is a simple momentary push-button switch designed to add reliable user input to Arduino, Raspberry Pi, and other microcontroller projects.
This tactile switch outputs a digital HIGH or LOW signal when pressed, making it perfect for triggering events such as menu selection, reset buttons, user interface controls, and general input detection.
Compact and breadboard-friendly, it easily integrates into various electronics builds and prototyping setups.
- Module: KY-031
- Function: Momentary push-button switch
- Output Type: Digital (HIGH/LOW)
- Operating Voltage: 3.3V – 5V
- 3-Pin Interface: VCC, GND, DO (digital output)
- Switch Type: Tactile push button (normally open)
- Module Size: Approx. 31mm x 18mm x 6mm
Key Features:
- Module: KY-031
- Function: Momentary push-button input
- Output: Digital signal (HIGH when pressed)
- Operating Voltage: 3.3V – 5V
- Interface: VCC, GND, DO
- Compact PCB, easy breadboard integration
- Compatible with Arduino, Raspberry Pi, ESP32, etc.
What’s Included:
- 1x KY-031 Tactile Push Button Module
Great For:
- User Input Controls
- Menu Navigation Buttons
- Reset or Start Buttons
- DIY Electronics Projects
- STEM Learning Kits
- Interactive Interfaces
Usage Tips:
- Use digitalRead() on the DO pin to detect button press
- The button reads HIGH when pressed, LOW when released
- Implement debounce code for stable input reading
- Connect VCC and GND to your microcontroller’s power and ground
- Perfect for simple on/off or trigger input signals

