+

KY-004 3pin Tombol Kunci Switch Sensor Modul untuk Arduino DIY Starter Kit 6*6*5 Mm 6X6X5 Mm KY004

USD 0.46

KY-004 3pin Tombol Kunci Switch Sensor Modul untuk Arduino DIY Starter Kit 6*6*5 Mm 6X6X5 Mm KY004

Description

 

H8ba0e669340446d889c27854069ea024X

 

 

1.Rating: 50mA 12VDC.
2. Contact Resistance : 50mΩ max. (initial)
3. Insulation Resistance: 100MΩ.(minDC 250V)
4. Dielectric Strength : AC250V.(50/60Hz for 1minute)
5. Electrically Life: 100,000cycles.
6. Environment Temperature: -25°~+105°.
7. Operating Force: 180/230.(±20gf)
8. Seal Temperature: 250°-280°.
Key switch module and a digital interface, built-in 13 LED build a simple circuit to produce key warning lamp.13 comes with digital interfaces of the LED,
theaccess number 3 button switch sensor interfaces, when the key switch sensor senses a key signal , LED lights , otherwise off.
 
 
Routines Source Code:
int Led=13;// Definition LED Interface
int buttonpin=3 // Define the key switch sensor interface
int val;// Defines a numeric variable val
void setup()
{
pinMode(Led,OUTPUT);// Definition LED as output interface
pinMode(buttonpin,INPUT);// Defined the button switch sensor as the output interface
}
void loop()
{
val=digitalRead(buttonpin);// The digital interface is assigned a value of 3 to read val
if(val==HIGH)// When the key switch test the sensor detects a signal , LED flashes
{
digitalWrite(Led,HIGH)
}
else
{
digitalWrite(Led,LOW)
}
}
 
 
 
Package Included:
 
1 x For for arduino PIC AVR Key Switch Module KY-004 UNO MEGA2560 Breadboard 
 
 
H55076e030eac425097faa7a2a9f8d2baM5480_39HTB130cwdmSD3KVjSZFKq6z10VXaUHTB1DlZudf5G3KVjSZPxq6zI3XXa111710_16
Specification

Brand Name : ARTOU

Model Number : KY-004

is_customized : Yes

Condition : New

Package : TQFP

Type : Logic ICs

Application : Computer

+