ขาย 【สต็อกพร้อม】PIR motion sensor HC-SR501 module infrared sensor เซ็นเซอร์จับความเคลื่อนไหว ราคาที่ดีที่สุด
0
การให้คะแนน
฿272
เรือจาก | จังหวัดกระบี่ |
---|
รายละเอียดสินค้า
HC-SR501 module infrared sensor เซ็นเซอร์จับความเคลื่อนไหว PIR motion sensor HC-SR501 สามารถปรับค่า Distance Adjust และ Delay time Adjust ตามการใช้งานอยากให้ตรวจจับไว หรือช้า
Specification:
- Operating voltage: DC 5 - 12V
- Static power consumption: 65 mA
- Output Signal: 3V TTL
- Detection Distance: Up to 6 meter (Adjustable)
- Sensing Range: Less than 120 degree angle, 6 meters
- Delay Time: 5 - 200s (Adjustable)
- Adjustable Trigger: L: non repeatable trigger - H: repeatable trigger
- Operating Temperature: -15 to +70C
- Dimensions: 32 x 24mm, screw hole distance 28mm
https:www.mouser.com/ds/2/737/pir-passive-infrared-proximity-motion-sensor-932858.pdf
code:
/*
Arduino with PIR motion sensor
For complete project details, visit: Arduinoshop99
*/
int led = 13; the pin that the LED is atteched to
int sensor = 2; the pin that the sensor is atteched to
int state = LOW; by default, no motion detected
int val = 0; variable to store the sensor status (value)
void setup() {
pinMode(led, OUTPUT); initalize LED as an output
pinMode(sensor, INPUT); initialize sensor as an input
Serial.begin(9600); initialize serial
}
void loop(){
val = digitalRead(sensor); read sensor value
if (val == HIGH) { check if the sensor is HIGH
digitalWrite(led, HIGH); turn LED ON
delay(100); delay 100 milliseconds
if (state == LOW) {
Serial.println("Motion detected!");
state = HIGH; update variable state to HIGH
}
}
else {
digitalWrite(led, LOW); turn LED OFF
delay(200); delay 200 milliseconds
if (state == HIGH){
Serial.println("Motion stopped!");
state = LOW; update variable state to LOW
}}}หมายเหตุ: 1. เนื่องจากการแสดงผลที่แตกต่างกันและเอฟเฟกต์แสง สีจริงของผลิตภัณฑ์อาจแตกต่างจากสีที่แสดงบนรูปภาพ.
2.โปรดอนุญาตให้เรามีข้อผิดพลาดขนาด 1-3 ซม. ขอขอบคุณสำหรับความเข้าใจของคุณ.
เปรียบเทียบ
![PIR motion sensor HC-SR501 module infrared sensor เซ็นเซอร์จับความเคลื่อนไหว](https://thshop.nghiatu.com/images/th/a25e4c0d4042aa755ac430d537908930-small.jpg)
PIR motion sensor HC-SR501 module infrared sensor เซ็นเซอร์จับความเคลื่อนไหว
4.7
28
การให้คะแนน
119
ขายแล้ว
฿40
![PIR Motion Sensor Module (HC-SR501)](https://thshop.nghiatu.com/images/th/48673689218d1424f5ff3671c7caff10-small.jpg)
PIR Motion Sensor Module (HC-SR501)
4.8
54
การให้คะแนน
95
ขายแล้ว
฿35
![HC SR501 เซ็นเซอร์ตรวจจับความเคลื่อนไหว HC-SR501 PIR Motion Sensor Module](https://thshop.nghiatu.com/images/th/a5f2029bdde4cd18a11e53a403e19965-small.jpg)
HC SR501 เซ็นเซอร์ตรวจจับความเคลื่อนไหว HC-SR501 PIR Motion Sensor Module
5
4
การให้คะแนน
4
ขายแล้ว
฿43
![HC-SR501 Infrared PIR Motion Sensor Detector Module (เซนเซอร์ตรวจความเคลื่อนไหว)](https://thshop.nghiatu.com/images/th/df28401647bab384e86062c4f71117d1-small.jpg)
HC-SR501 Infrared PIR Motion Sensor Detector Module (เซนเซอร์ตรวจความเคลื่อนไหว)
5
2
การให้คะแนน
5
ขายแล้ว
฿35
![HC-SR501 เซนเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor Module](https://thshop.nghiatu.com/images/th/dcd41130affdf6daf2ed1eb6914ec438-small.jpg)
HC-SR501 เซนเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor Module
4.7
176
การให้คะแนน
409
ขายแล้ว
฿110
![HC-SR501 PIR Motion Sensor Module เซนเซอร์ตรวจจับความเคลื่อนไหว](https://thshop.nghiatu.com/images/th/ff79ebf0250d53df3df8541c55ec8ac6-small.jpg)
HC-SR501 PIR Motion Sensor Module เซนเซอร์ตรวจจับความเคลื่อนไหว
4
8
การให้คะแนน
10
ขายแล้ว
฿28
![HC-SR501 Passive Infrared (PIR) Motion Sensor SR501 โมดูลเคลื่อนไหวปรับได้](https://thshop.nghiatu.com/images/th/feeb962d966f85de011808bd63f7a192-small.jpg)
HC-SR501 Passive Infrared (PIR) Motion Sensor SR501 โมดูลเคลื่อนไหวปรับได้
4.9
16
การให้คะแนน
20
ขายแล้ว
฿38
![☆PIR เซ็นเซอร์ตรวจจับความเคลื่อนไหว Motion Sensor Detector Module HC-SR501✶](https://thshop.nghiatu.com/images/th/4b67801793689153a8fa58dd822ae9b5-small.jpg)
☆PIR เซ็นเซอร์ตรวจจับความเคลื่อนไหว Motion Sensor Detector Module HC-SR501✶
0
การให้คะแนน
฿163
![PIR เซ็นเซอร์ตรวจจับความเคลื่อนไหว Motion Sensor Detector Module HC-SR501](https://thshop.nghiatu.com/images/th/32523b6a9938b7100a82d3004943e454-small.jpg)
PIR เซ็นเซอร์ตรวจจับความเคลื่อนไหว Motion Sensor Detector Module HC-SR501
5
4
การให้คะแนน
3
ขายแล้ว
฿35
![PIR เซ็นเซอร์ตรวจจับความเคลื่อนไหว Motion Sensor Detector Module HC-SR501](https://thshop.nghiatu.com/images/th/d87d8aad2aba50241430fe4cd174be72-small.jpg)
PIR เซ็นเซอร์ตรวจจับความเคลื่อนไหว Motion Sensor Detector Module HC-SR501
4.7
6
การให้คะแนน
7
ขายแล้ว
฿55
![【สต็อกพร้อม】HC-SR501 เซนเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor Module](https://thshop.nghiatu.com/images/th/8d5e7a7b7549fd35f1ddda995c00ca2a-small.jpg)
【สต็อกพร้อม】HC-SR501 เซนเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor Module
0
การให้คะแนน
฿129
![HC-SR501 PIR Motion Sensor เซนเซอร์ตรวจจับความเคลื่อนไหว](https://thshop.nghiatu.com/images/th/466075042f4ff3e18cf00ef4277c1957-small.jpg)
HC-SR501 PIR Motion Sensor เซนเซอร์ตรวจจับความเคลื่อนไหว
4.7
252
การให้คะแนน
499
ขายแล้ว
฿38
![เซ็นเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor HC-SR501](https://thshop.nghiatu.com/images/th/3497485de25d784213d55e184cd88d0b-small.jpg)
เซ็นเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor HC-SR501
5
6
การให้คะแนน
8
ขายแล้ว
฿35
![HC-SR501 PIR ตรวจจับการเคลื่อนไหว Motion Sensor](https://thshop.nghiatu.com/images/th/60a3301acf09440faa1f60f041c82917-small.jpg)
HC-SR501 PIR ตรวจจับการเคลื่อนไหว Motion Sensor
5
4
การให้คะแนน
5
ขายแล้ว
฿43
![HC-SR501 PIR Motion Sensor เซนเซอร์ตรวจจับความเคลื่อนไหว](https://thshop.nghiatu.com/images/th/056debde50a1426c6201607d03710cd5-small.jpg)
HC-SR501 PIR Motion Sensor เซนเซอร์ตรวจจับความเคลื่อนไหว
0
การให้คะแนน
฿39
![HC-SR501 PIR Motion Sensor เซนเซอร์ตรวจจับความเคลื่อนไหว](https://thshop.nghiatu.com/images/th/fab22a06a02b62fd157bf8b66f3cd03f-small.jpg)
HC-SR501 PIR Motion Sensor เซนเซอร์ตรวจจับความเคลื่อนไหว
5
4
การให้คะแนน
12
ขายแล้ว
฿49
![เซนเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor HC-SR501](https://thshop.nghiatu.com/images/th/2e94e4d9409d8f9d79510876ce447478-small.jpg)
เซนเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor HC-SR501
4
2
การให้คะแนน
4
ขายแล้ว
฿59
![เซนเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor HC-SR501](https://thshop.nghiatu.com/images/th/eecf28bca40963af129271139b8c712e-small.jpg)
เซนเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor HC-SR501
4.8
56
การให้คะแนน
100
ขายแล้ว
฿49
![อินฟราเรด PIR โมดูลเซนเซอร์จับการเคลื่อนไหว HC-SR501 PIR Motion Sensor Module Green](https://thshop.nghiatu.com/images/th/5988dcbbbd46bda4a5988d48ad7d89b7-small.jpg)
อินฟราเรด PIR โมดูลเซนเซอร์จับการเคลื่อนไหว HC-SR501 PIR Motion Sensor Module Green
4.8
18
การให้คะแนน
57
ขายแล้ว
฿49
![เซ็นเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor Detector Module HC-SR501 (ตัวสีเขียว)](https://thshop.nghiatu.com/images/th/0deeb4a9d8babfb21dbe4284480caf3f-small.jpg)
เซ็นเซอร์ตรวจจับความเคลื่อนไหว PIR Motion Sensor Detector Module HC-SR501 (ตัวสีเขียว)
0
การให้คะแนน
2
ขายแล้ว
฿49