• Your position
  • Sign In or Join Free
Your position: Home / Sensors

Free shipping !Keyestudio Digital Push Button Switch Module for Arduino

    Please select the information you wantX
(902 available)
Shipping Cost:
Estimated Delivery Time:
Please select the country you want to ship from
  • Description
  • Reviews

KS0029 (1)KS0029 (2)KS0029 (7)KS0029 (8)KS0029 (3)


This is a basic application module. You can simply plug it into an IO shield to have your first taste of Aduino.
This module is endowed with following advantages:
  • Wide voltage range from 3.3V to 5V
  • Standard assembling structure (two 3mm diameter holes with multiple of 5mm as distance from center)
  • Easily recognizable interfaces of sensors ("A" for analog and "D" for digital)
  • Icons illustrate sensor function clearly
  • High quality connector
  • Immersion gold surface
  • Supply Voltage: 3.3V to 5V
  • Easy to 'plug and operate'
  • Large button keypad and high-quality cap
  • Achieve interesting and interactive work
  • Interface: Digital

Sample Code:

/* # When you push the digital button, the Led 13 on the board will turn on. Otherwise,the led turns off.


int ledPin = 13; // choose the pin for the LED

int inputPin = 3; // Connect sensor to input pin 3

void setup() {

pinMode(ledPin, OUTPUT); // declare LED as output

pinMode(inputPin, INPUT); // declare pushbutton as input


void loop(){

int val = digitalRead(inputPin); // read input value

if (val == HIGH) { // check if the input is HIGH

digitalWrite(ledPin, LOW); // turn LED OFF

} else {

digitalWrite(ledPin, HIGH); // turn LED ON




See product video: https://youtu.be/fMiCmiMLbkc



Average rating:
Share your thoughts with other customers
Write a review
Product reviews can be carried out after the member login, please click here to login
Kit for Arduino
Robot for Arduino
Raspberry Pi
Overseas Clearance Sale
Ship to EU
Ship to US
Ship to CA
New Arrivals
Main products
Controller board
Expansion board
Learning kit
Robot KIT
Easy-plug RJ11 series
Easy-plug Learning Kit
Easy-plug Sensor