Light Sensor Module Photodiode Module for Light Detection 3-5.5V DC
เซ็นเซอร์ตรวจจับแสง ถ้าแสงเปลี่ยนไฟค่าสัญญาณที่ ส่งออกมาก็จะเปลี่ยนตามไปด้วย เมื่อมีแสงเกินระดับที่ตั้งไฟ ไฟบนโมดูลจะติดและให้ค่าเอาต์พุตออกมาที่ขา DO เป็นค่า 0 หรือ 1
2Xf2E6aEU7n685eHEbXGYHrmWn2y7a62UWBrtZzodVdD ใช้ไฟเลี้ยง 3.3-5V
ตัวอย่างการต่อวงจร Arduino sensor light detect
VCC - 5V
GND - GND
DO - Output
void setup() {
pinMode(2, INPUT); // ขา INPUT ของโมดูล
Serial.begin(9600);
}
void loop() {
Serial.println(digitalRead(2));
delay(200);
}
Two Outputs of Photodiode Module:
1, AO, analog output, real output voltage signal on the photosensitive
2, DO, when light reaches a certain threshold, the output high and low signal [threshold adjustable via potentiometer]
Features of Photodiode Module:
1, small size, 36mm X 16mm
2, 3mm mounting screw holes
3, 3-5.5V DC power supply can be used
4, analog output
5, threshold flip-level output
Quality photosensitive good linearity and high sensitivity.
7, the power indicator
8, the comparator output indicator