LDR Photoresistor Sensor Module โมดูลวัดแสง

LDR Photoresistor Sensor Module โมดูลวัดแสง
LDR Photoresistor Sensor Module โมดูลวัดแสงLDR Photoresistor Sensor Module โมดูลวัดแสงLDR Photoresistor Sensor Module โมดูลวัดแสงLDR Photoresistor Sensor Module โมดูลวัดแสงLDR Photoresistor Sensor Module โมดูลวัดแสงLDR Photoresistor Sensor Module โมดูลวัดแสง
รหัสสินค้า SKU-00498
หมวดหมู่ เซนเซอร์แสงและการมองเห็น
ราคา 45.00 บาท
สถานะสินค้า พร้อมส่ง
ลงสินค้า 11 ก.ย. 2565
อัพเดทล่าสุด 11 ก.ย. 2565
คงเหลือ ไม่จำกัด
จำนวน
ชิ้น
หยิบลงตะกร้า
บัตรประชาชน
บุ๊คแบ๊งค์
คุ้มครองโดย LnwPay

LDR Photoresistor Sensor Module โมดูลวัดแสง

โมดูลวัดแสง ให้สัญญาณเอาต์พุตได้ทั้งแบบอะนาล็อกค่าระหว่าง 0-1024 และแบบ ดิจิตอลค่า 0 กับ 1 สามารถปรับความไวได้ที่โวลุ่มบนบอร์ด ใช้ไฟเลี้ยง 3.3-5V

 

ต่อวงจร Arduino Arduino สอนวิธีใช้งาน LDR Photoresistor Sensor Module โมดูลเซนเซอร์วัดแสง

 

  • ขา VCC - 5V
  • ขา GND - GND
  • ขา D0 - 5

อัพโหลดโคดตัวอย่างนี้ แล้วดูผลลัพธ์

  int sensor = A0;
  void setup() {
  Serial.begin(9600);
  }
  void loop() {
  int val = analogRead(A0);
  Serial.println(val);
  delay(1000);
  }
   
   
view rawarduino-62-1.ino hosted with ❤ by GitHub

---

เปิดดูใน Serial Monitor เมื่อใช้มือบังแสงที่ LDR  จะเห็นค่าที่วัดได้มีการเปลี่ยนแปลง


การต่อใช้งานเอาต์พุตแบบ digital

  • ขา D0 -> A0
  • ขา G -> GND
  • ขา + -> 5V

การต่อใช้งานคล้ายกัน โดยจะต่อจากขา D0 และใช้คำสั่ง digitalRead() อ่านค่าเข้ามา
สามารถปรับความไวของเซนเซอร์ได้ที่ตัวต้านทานปรับค่าได้บนบอร์ด
เมื่อตรวจจับแม่เหล็กไฟที่เซนเซอร์จะติด และให้เอาต์พุตเป็นสัญญาณ 0 ออกทางขา D0


อัพโหลดโคดตัวอย่างนี้ แล้วดูผลลัพธ์

  int sensor = A0;
  void setup() {
  Serial.begin(9600);
  }
  void loop() {
  int val = digitalRead(A0);
  Serial.println(val);
  delay(1000);
  }
   
   
view rawarduino-62-2.ino hosted with ❤ by GitHub

 

---

เปิดดูที่ Serial Monitor จะเห็นค่า 0 หรือ 1 ที่เซนเซอร์ตรวจจับได้ และไฟสีเขียวที่เซนเซอร์เปิด/ปิด ตามสัญญาณที่ตรวจจับได้



ข้อมูล LDR Photoresistor Sensor Module โมดูลวัดแสง

Uses: light intensity detection, light intensity sensors, smart car search optical modules

LDR Photoresistor Sensor Module Features:

  • using sensitive type photosensitive resistance sensor
  • the comparator output signal clean, good waveform, driving ability, more than 15mA.
  • with adjustable potentiometer detects the light intensity can be adjusted
  • the working voltage 3.3V-5V
  • the output form: DO digital switching output (0 and 1) and AO analog voltage output
  • a fixed bolt hole for easy installation
  • the small PCB board size: 3.2 cm x 1.4cm
  • using a wide voltage LM393 comparator


LDR Photoresistor Sensor Module Description

  • photoresistor module most sensitive to ambient light, generally used to detect the brightness of ambient light, triggers microcontroller or relay modules and so on;
  • when the ambient light module brightness of less than the set threshold, DO-side output high, when the external ambient light brightness exceeds a set threshold, DO terminal output low;
  • DO output can be with the microcontroller directly connected, through the microcontroller to detect high and low, thereby detecting the light intensity changes in the environment;
  • DO outputs can directly drive a relay module shop, which can form a light control switch.
  • small plates can be connected to analog output AO and AD module, through AD conversion, you can get a more accurate ambient light intensity value;

 

ตัวอย่างโคดการใช้งาน LDR Photoresistor Sensor Module โมดูลวัดแสง

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

ร้านค้านี้ยังไม่ได้กำหนดวิธีการชำระเงิน กรุณา ติดต่อกับทางร้าน เกี่ยวกับรายละเอียดในการชำระเงิน
ทางร้านยังไม่ได้ทำการเพิ่มบัญชีรับเงิน กรุณาติดต่อ เจ้าของร้าน

CATEGORY

MEMBER

STATISTIC

หน้าที่เข้าชม114,268 ครั้ง
ผู้ชมทั้งหมด51,030 ครั้ง
เปิดร้าน31 ก.ค. 2559
ร้านค้าอัพเดท4 ก.ย. 2568

CONTACT US

รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านบ้านโค้ด-Bancode
บ้านโค้ด-Bancode
จำหน่ายบอร์ดไมโครคอนโทรลเลอร์ Arduino,Module,Shield,Sensor,R,L,C,IC เเละอื่นๆ โทร.0624952525
เบอร์โทร : 0964188828
อีเมล : bancode.dev@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

TOP เลื่อนขึ้นบนสุด
พูดคุย-สอบถาม