กลับไปหน้ารวมไฟล์
arduino-with-motion-sensor-b59f87.md

Arduino กับ Motion Sensor

เซ็นเซอร์นี้คือ PIR sensor

PIR ย่อมาจาก passive infrared sensor (PIR sensor)

เราสามารถใช้เซ็นเซอร์นี้ในการตรวจจับบางสิ่งบางอย่างได้

ขอบคุณ

รายละเอียดทางเทคนิคเพิ่มเติม

การตรวจจับด้วย Passive Infrared (PIR)

โปรเจกต์ด้านความปลอดภัยพื้นฐานนี้สำรวจการตรวจจับคลื่นความร้อนจากวัตถุที่เคลื่อนไหว

  • การจับภาพด้วยเลนส์ Fresnel: HC-SR501 PIR sensor ใช้เลนส์พิเศษเพื่อโฟกัสรังสีอินฟราเรดไปยังชิป pyroelectric โดย Arduino จะตรวจสอบขาเอาต์พุตดิจิทัลของเซ็นเซอร์ ซึ่งจะคงสถานะ HIGH เป็นระยะเวลา "Hold Time" ที่กำหนดหลังจากตรวจพบการเคลื่อนไหว
  • การปรับตั้งค่าแบบคู่: อธิบายการปรับ "Sensitivity" (ระยะทาง) และ "Time Delay" ของ potentiometers ที่ด้านหลังของโมดูลเซ็นเซอร์ด้วยตนเอง

ตรรกะการนำไปใช้งาน

  • สถานะเครื่องของ Alarm: รวมถึงช่วง "Cool-down" ในซอฟต์แวร์เพื่อป้องกันเหตุการณ์การเคลื่อนไหวครั้งเดียวจากการกระตุ้น Alarm ที่ซ้อนทับกันหลายครั้ง เหมาะอย่างยิ่งสำหรับระบบไฟส่องสว่างอัตโนมัติภายในบ้าน หรือระบบแจ้งเตือนผู้บุกรุกอย่างง่าย

ข้อมูล Frontmatter ดั้งเดิม

title: "Arduino With Motion Sensor"
description: "Arduino With Motion Sensor - PIR Sensor passive infrared sensor (PIR sensor)"
author: "jehankandt"
category: ""
tags:
  - "kids"
  - "communication"
views: 3791
likes: 0
price: 450
difficulty: "Intermediate"
components:
  - "1x LED (generic)"
  - "1x Jumper wires (generic)"
  - "1x Breadboard (generic)"
  - "1x PIR Motion Sensor (generic)"
  - "1x Resistor 220 ohm"
  - "1x Arduino UNO"
tools: []
apps:
  - "1x Arduino Web Editor"
  - "1x Arduino IDE"
downloadableFiles:
  - "https://projects.arduinocontent.cc/09fa650c-2b4d-48d6-82b4-24160e04c697.ino"
documentationLinks: []
passwordHash: "6177a2be7c976e858d4a2931948e9d8cda843506c79919d1117be27acf1daf7f"
encryptedPayload: "U2FsdGVkX18173Uy1NcslxdWyYszSKLgertnAa/T0x27qUIyxT1QF4FNSjfit9Mi87oJwJ6YYUOTfFVzdNFpD2EzNPO0tv2coC5Kz3VwoBJfS2/4e/yyMrL3B8JYxkeY"
seoDescription: "Learn how to interface Arduino with a Motion Sensor and PIR Sensor for motion detection in your DIY electronics projects."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/arduino-with-motion-sensor-b59f87_cover.jpg"
lang: "th"