HC-SR04P Ultrasonic Sensor Module เซนเซอร์วัดระยะทางแบบ Ultrasonic Freeship จังหวัดกรุงเทพมหานคร official shop
Author: | ดูเพิ่มเติม อุปกรณ์ระบบไฟฟ้า Authorคำอธิบายสั้น ๆ ของ HC-SR04P Ultrasonic Sensor Module เซนเซอร์วัดระยะทางแบบ Ultrasonic ที่ PickupTH
HC-SR04P Ultrasonic Sensor Module เซนเซอร์วัดระยะทางแบบ Ultrasonic. ใช้ไฟเลี้ยงได้กว้างขึ้น 3-5. ใช้งานได้ระยะไกลขึ้นถึง 4. กินไฟน้อยกว่าเดิมกว่า 5 เท่า เพียง 2. 3V และ 2. สามารถต่อแทน HC-SR04 ได้ทันที โดยไม่ต้องเปลี่ยนโคดโปรแกรม. HC-SR04-P is: ถุงน่อง
About HC-SR04P Ultrasonic Sensor Module เซนเซอร์วัดระยะทางแบบ Ultrasonic ที่ PickupTH
HC-SR04P Ultrasonic Sensor Module เซนเซอร์วัดระยะทางแบบ Ultrasonicโมดูลเซนเซอร์วัดระยะทางแบบ Ultrasonic รุ่น HC-SR04P ปรับปรุงจาก HC-SR04 Ultrasonic Sensor Module รุ่นเดิมดังนี้
- ใช้ไฟเลี้ยงได้กว้างขึ้น 3-5.5V (เดิม 5V)
- ใช้งานได้ระยะไกลขึ้นถึง 4.5 เมตร @5V (เดิม 4 เมตร @5V)
- กินไฟน้อยกว่าเดิมกว่า 5 เท่า เพียง 2.2mA @3.3V และ 2.8mA @5V (เดิม 15mA)
- สามารถต่อแทน HC-SR04 ได้ทันที โดยไม่ต้องเปลี่ยนโคดโปรแกรม
ข้อมูลเพิ่มเติม เซ็นเซอร์วัดระยะทาง Ultrasonic Module HC-SR04P
HC-SR04-P is a wide voltage working ultrasonic range module. The module dimensions and software are fully compatible with the older version of the HC-SR04; it can be switched seamlessly with the older version HC-SR04. As low as 3V minimum operating voltage, so that with the 3.3V power supply MCU can be directly connected.
Product Features:
- Wide voltage operation: 3V-5.5V
- Fully compatible with HC-SR04 software and hardware dimensions
- Detection distance:
- 5V: 2cm - 450cm
- 3.3V: 2cm - 400cm
- Detection of the angle:
- The use of industrial-grade MCU, operating temperature : -20 ℃ - 80 ℃
ตัวอย่างการใช้งานโมดูลวัดระยะทาง HC-SR04P
Ultrasonic Module HC-SR04P --> Arduino
- Vcc -> 5v
- Gnd -> Gnd
- Trig -> 13
- Echo -> 12
ตัวอย่างโค้ต HC-SR04P
const int pingPin = 13;
2
int inPin = 12;
3
4
5
void setup() {
6
Serial.begin(9600);
7
}
8
9
void loop()
10
{
11
long duration, cm;
12
13
pinMode(pingPin, OUTPUT);
14
15
16
digitalWrite(pingPin, LOW);
17
delayMicroseconds(2);
18
digitalWrite(pingPin, HIGH);
19
delayMicroseconds(5);
20
digitalWrite(pingPin, LOW);
21
pinMode(inPin, INPUT);
22
duration = pulseIn(inPin, HIGH);
23
24
cm = microsecondsToCentimeters(duration);
25
26
Serial.print(cm);
27
Serial.print(”cm”);
28
Serial.println();
29
delay(100);
30
}
31
32
long microsecondsToCentimeters(long microseconds)
33
{
34
// The speed of sound is 340 m/s or 29 microseconds per centimeter.
35
// The ping travels out and back, so to find the distance of the
36
// object we take half of the distance travelled.
37
return microseconds / 29 / 2;
38
}
Top 10 reviews of HC-SR04P Ultrasonic Sensor Module เซนเซอร์วัดระยะทางแบบ Ultrasonic
Review of datsun_1975
คุณภาพ:ยังไม่ได้ทดสอบ เพราะสินค้าที่ได้รับไม่ตรงตามสั่ง ใช้กับบอร์ด microbit ไม่ได้ ผู้ขายยินดีให้คืนสินค้า เสียดาย
Clips of datsun_1975:
Photos of datsun_1975: