จำนวนชิ้น | ส่วนลดต่อชิ้น | ราคาสุทธิต่อชิ้น |
{{(typeof focus_pdata.price_list[idx+1] == 'undefined')?('≥ '+price_row.min_quantity):((price_row.min_quantity < (focus_pdata.price_list[idx+1].min_quantity - 1))?(price_row.min_quantity+' - '+(focus_pdata.price_list[idx+1].min_quantity - 1)):price_row.min_quantity)}} | {{number_format(((focus_pdata.price_old === null)?focus_pdata.price:focus_pdata.price_old) - price_row.price,2)}} บาท | {{number_format(price_row.price,2)}} บาท |
คงเหลือ | 128 ชิ้น |
จำนวน (ชิ้น) |
- +
|
ซื้อเลย หยิบลงตะกร้า ซื้อเลย หยิบลงตะกร้า คุณมีสินค้าชิ้นนี้ในตะกร้า 0 ชิ้น
ช่องทางสั่งซื้ออื่น ๆ
|
|
|
|
คุยกับร้านค้า | |
{{ size_chart_name }} |
|
หมวดหมู่ | Infrared/แสง/สี |
สภาพ | สินค้าใหม่ |
เพิ่มเติม | |
สภาพ | สินค้ามือสอง |
เกรด | |
สถานะสินค้า | |
ระยะเวลาจัดเตรียมสินค้า | |
เข้าร่วมโปรโมชั่น | |
ข้อมูล |
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
|
รายละเอียดสินค้า |
Infrared IR Sensor Obstacle Avoidance Sensor ให้สัญญาณออกมาเป็น TTL Lavelระยะในการตรวจจับวัตถุ 2 ถึง 40 เซ็นติเมตรสามารถตรวจจับวัตถุความไวสูงๆได้ใช้แรงดันในการทำงานได้ตั้งแต่ 3.3 ถึง 5V มีตัวต้านทานปรับค่าได้บนโมดูล 2 ตัว ตัวแรกใช้ปรับความถี่ให้ได้ 38KHz (ไม่ควรปรับ) ส่วนความต้านทานตัวที่สองปรับระยะทาง มีประสิทธิ์ภาพในการตรวจจับดีกว่ารุ่น Reflective Photoelectric ข้อเสียของรุ่น Reflective Photoelectric คือการตรวจจับอาจจะผิดพลาดได้ หากนำไปใช้งานกลางแจ้ง หรือสถานที่ที่มีแสงอินฟาเรด รุ่นนี้จะแก้ปัญหาโดยใช้ตัวรับที่เป็นไอซี(ตัวสีดำ3ขา) มาใช้แทนตัวรับที่เป็นโฟโต้ทรานซิสเตอร์แบบเดิม ทำให้มีประสิทธิ์ภาพในการใช้งานที่สูงกว่า และไม่มีปัญหาเรื่องแสงอินฟาเรดจากภายนอกเข้ามารบกวน Product Description
![]() *ทดสอบ โดยประมาณ 40 cm sensor ตรวจจับได้ตามสเป็ก โดยปรับที่ Distance ตัว vr frequency มาจากโรงงาน ก็ต้องปรับเหมือนกัน 38Khz ตามรูป ![]() CODE: /*
Arduino with Test B027 Infrared Obstacle Avoidance Sensor Modul sensor distance
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 = HIGH; // 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(115200); // initialize serial
}
void loop(){
val = digitalRead(sensor); // read sensor value
if (val == LOW) { // check if the sensor is LOW
digitalWrite(led, LOW); // turn LED OFF
delay(100); // delay 100 milliseconds
if (state == HIGH) {
Serial.println(" Warning Detect ");
Serial.println("");
state = LOW; // update variable state to C
}
}
else {
digitalWrite(led, HIGH); // turn LED ON
delay(200); // delay 200 milliseconds
if (state == LOW){
Serial.println("Clear OK");
Serial.println("");
state = HIGH; // update variable state to HIGH
}
}
}
![]() ![]() ![]() |
เงื่อนไขอื่นๆ |
|
Tags |