MOTOROBIT — EVERYTHING FOR TECHNOLOGY LOVERS, ALL IN ONE PLACE!
MORE THAN 30,000 PRODUCTS – AN EXTENSIVE PRODUCT RANGE
YOUR PARTNER IN ELECTRONIC COMPONENT SUPPLY
EXPAND YOUR CREATIVITY BEYOND LIMITS WITH MOTOROBIT
{{ t.categories }} ({{ live_data.categories.length }})
{{ t.brands }} ({{ live_data.brands.length }})
{{ t.products }} ({{ live_data.products.length }})
{{ t.see_all }}
Menu
If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!
If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!If you cannot find a specific electronic or automation spare part on our website or in the market, please contact us — quantity does not matter!
Arduino Button Switch Module - 1Arduino Button Switch Module - 2Arduino Button Switch Module - 3
Arduino Button Switch Module - 1
Arduino Button Switch Module - 2
Arduino Button Switch Module - 3
0 Comment

Arduino Button Switch Module

Category: Arduino ModulesBrand: MotorobitProduct code : ARD.ADM.01.000001
23,65 TL + VAT
28,38 TL
23,65 TL + VAT
28,38 TL
Add to Favorite
100+ Product
RecommendCommentAlarm Price

Arduino Push Button Switch Module 

 
Keyes KY-004 Key Switch Module is a simple on/off Micro switch compatible with Arduino systems.
  
The module consists of an FZ1713 touch button switch and a resistor. Compatible with popular electronic platforms such as Arduino, Raspberry Pi and Esp8266.

Technical Specifications:

Operating voltage: 5V
Length: 25mm
Width: 16mm
Height: 10mm
Weight: 1.5g
Ambient temperature -25°C to 105°C
Electrical life 100,000 cycles
Operating Force 180/230 (± 20gf)

Arduino Connection

Arduino Button Switch Module

 

 Sample Arduino Code

When the button on KY-004 is pressed, the following code will turn on the Arduino pin 13 LED.

 
 
int led = 13; //Define LED pin
int buttonpin = 3; //Define the button pin
int val; //Define a numeric variable
void setup()
{
pinMode(led,OUTPUT);
pinMode(buttonpin,INPUT);
}
void loop()
{
val = digitalRead(buttonpin); // Check the status of the button
if(val==HIGH) // When the button is pressed, turn on the LED
{
digitalWrite(led,HIGH );
}
else
{
digitalWrite(led,LOW);
}
}
< /blockquote> 

T-Soft | Premium