ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า
 Alarm System Door Window Sensor Switch  Hi/Lo
 
Material: Plastic 
Color: White
Size: 27x14x7.6mm
Action distance: 18mm ± 6mm
Rated voltage: 12 (V)
Switch withstand voltage: 100VDC
Load current: 300mA
Life: 1 million times
 
Features:
-Easy to install
-Strong concealment
-Magnetic sensor alarm, control the switch of the circuit via the built-in magnet
-Alarm when someone intrude into your places
-Can be used in places like apartment, hotel, office, etc.
 
 
Code:Basic
 
 
const int pinoSensor = 2; 
const int pinoLed = 13; 
 
void setup(){
  pinMode(pinoSensor, INPUT_PULLUP); 
 
  pinMode(pinoLed, OUTPUT); 
  digitalWrite(pinoLed, LOW); 
}
 
void loop(){
 
  if (digitalRead(pinoSensor) == HIGH){ 
        digitalWrite(pinoLed, HIGH); 
  }
  else{ 
      digitalWrite(pinoLed, LOW); 
  }
}


เงื่อนไขอื่นๆ
Tags

วิธีการชำระเงิน

บมจ. ธนาคารกรุงไทย สาขาโรงไฟฟ้าบางปะกง ออมทรัพย์
ธนาคารกรุงเทพ จำกัด (มหาชน) สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
บมจ. ธนาคารกรุงไทย สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
พร้อมเพย์ สาขา- -
Scan this!
สนธยา ใจผ่อง
063-xxxxxx-8
Accept All Banks | รับเงินได้จากทุกธนาคาร
พูดคุย-สอบถาม