Mô Đun Công Tắc Điều Khiển Ky-004 Avr Pic Uno Mega2560
2 Đánh Giá
Đã Bán 3
157
4.965 đ
Quốc tế
thứ năm 29/04/2021 lúc 08:38 CH
MÔ TẢ SẢN PHẨM
New KY-004 Key Switch Module AVR PIC UNO MEGA2560 Breadboard
Description:
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
#KY-004 #Key #Switch #Module #AVR #PIC #UNO #MEGA2560 #Breadboard
Description:
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
#KY-004 #Key #Switch #Module #AVR #PIC #UNO #MEGA2560 #Breadboard
Xem sản phẩm trên Shopee
Cài đặt Bigbuy360 Extension