
เซ็นเซอร์วัดระยะทาง Ultrasonic HC-SR04 HC-SR04+ HC-SR04P HY-SRF05 IOE-SR05 RCW-0001 US-015 US-016 US-100 US-026 US-025A
4.9ขายแล้ว 110 333
฿25
ราคาอาจเปลี่ยนแปลง ตรวจสอบราคาล่าสุดที่ Shopee
แชร์:
GusTron
คะแนนร้าน 4.9
- แบรนด์
- NoBrand
- หมวดหมู่
- Home & Living › Tools & Home Improvement › Tools
- คงเหลือ
- 707 ชิ้น
รายละเอียดสินค้า
เซ็นเซอร์วัดระยะทาง Ultrasonic Module HC-SR04
เซ็นเซอร์วัดระยะทาง Ultrasonic HC-SR04 ใช้เสียงสะท้อนกลับในการคำนวณวัดระยะทาง แม่นยำที่ 2 - 400 cm ใช้ง่ายมีไลบารีมาตรฐานพร้อมใช้งาน
คุณสมบัติของโมดูล
- แรงดันที่ใช้ในการทำงาน 5V
- กระแสไฟฟ้าที่ใช้ 15mA
- คลื่นความถี่ในการทำงาน 40kHz
- ระยะสูงสุดที่สามารถวัดได้ 4 m (400 cm)
- ระยะต่ำสุดที่สามารถวัดได้ 0.02 m (2 cm)
- ความแม่นยำ ±3mm - องศาในการวัด 15 องศา
- Trigger Input Signal : 10us TTL Pulse
const int pingPin = 13;
int inPin = 12;
void setup() {
Serial.begin(9600);
}
void loop()
{
long duration, cm;
pinMode(pingPin, OUTPUT);
digitalWrite(pingPin, LOW);
delayMicroseconds(2);
digitalWrite(pingPin, HIGH);
delayMicroseconds(5);
digitalWrite(pingPin, LOW);
pinMode(inPin, INPUT);
duration = pulseIn(inPin, HIGH);
cm = microsecondsToCentimeters(duration);
Serial.print(cm);
Serial.print("cm");
Serial.println();
delay(100);
}
long microsecondsToCentimeters(long microseconds)
{
// The speed of sound is 340 m/s or 29 microseconds per centimeter.
// The ping travels out and back, so to find the distance of the
// object we take half of the distance travelled.
return microseconds / 29 / 2;
}
🚚 สินค้าพร้อมส่งโกดังไทย ไม่ต้องรอของนาน จัดส่งรวดเร็ว ทันใจ 🚚🔥
🚚 มีเก็บเงินปลายทาง
🚚 จัดส่งรวดเร็ววันจันทร์-เสาร์
✅ สินค้าปรับประกัน 100% มีปัญหา inbox เข้ามาได้เลยค่ะ
👍🏻👍🏻มั่นใจ 100% ได้รับสินค้าแน่นอน👍🏻👍🏻
#เซ็นเซอร์วัดระยะทาง ,#Ultrasonic Module ,#HC-SR04,#HC-SR04 ราคาถูก,#HC-SR04 จำหน่าย,#HC-SR04 ขาย#HC-SR04 Arduino,#HC-SR04 Code,#เซ็นเซอร์วัดระยะทาง Arduino











