ไฮไลท์
Ultrasonic Module HC-SR04
ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า

***Ultrasonic Module HC-SR04***

รายละเอียด เซนเซอร์ Ultrasonic Module HC-SR04

Module main technical parameters:
1.Working Voltage : 5V(DC)
2.Static current: Less than 2mA.
3.Output signal: Electric frequency signal, high level 5V, low level 0V.
4.Sensor angle: Not more than 15 degrees.
5.Detection distance: 2cm-450cm.
6.High precision: Up to 0.3cm
7.Input trigger signal: 10us TTL impulse
8.Echo signal : output TTL PWL signal
Mode of connection:
1.VCC
2.trig(T)
3.echo(R)
4.GND
Use method:
Supply module with 5V, the output will be 5V while obstacle in range, or 0V if not.The out pin
of this module is used as a switching output when anti-theft module, and without the feet when
ranging modules.
Note : the module should be inserted in the circuit before been power, which avoid producing
high level of misoperation;if not, then power again.
Module Working Principle:
1.Adopt IO trigger through supplying at least 10us sequence of high level signal.
2.The module automatically send eight 40khz square wave and automatically detect whether receive
the returning pulse signal.
3.If there is signals returning, through outputting high level and the time of high level
continuing is the time of that from the ultrasonic transmitting to receiving. Test distance =
(high level time * sound velocity (340M/S) / 2.

Note : This module is not suitable to connect with electric power, if you need to connect this
module with electronic power,then let the GND terminal of this module to be connected
first,otherwise, it will affect the normal work of the module

ดาวน์โหลด library hc sr04 ที่นี่

Code ตัวอย่างการใช้งาน

ศึกษาเพิ่มเติมได้ที่นี่

  1. /*
  2. * Ultrasonic Sensor HC-SR04 and Tutorial
  3. *
  4. * by Dejan Nedelkovski,
  5. * www.HowToMechatronics.com
  6. *
  7. */
  8. // defines pins numbers
  9. const int trigPin = 9;
  10. const int echoPin = 10;
  11. // defines variables
  12. long duration;
  13. int distance;
  14. void setup() {
  15. pinMode(trigPin, OUTPUT); // Sets the trigPin as an Output
  16. pinMode(echoPin, INPUT); // Sets the echoPin as an Input
  17. Serial.begin(9600); // Starts the serial communication
  18. }
  19. void loop() {
  20. // Clears the trigPin
  21. digitalWrite(trigPin, LOW);
  22. delayMicroseconds(2);
  23. // Sets the trigPin on HIGH state for 10 micro seconds
  24. digitalWrite(trigPin, HIGH);
  25. delayMicroseconds(10);
  26. digitalWrite(trigPin, LOW);
  27. // Reads the echoPin, returns the sound wave travel time in microseconds
  28. duration = pulseIn(echoPin, HIGH);
  29. // Calculating the distance
  30. distance= duration*0.034/2;
  31. // Prints the distance on the Serial Monitor
  32. Serial.print("Distance: ");
  33. Serial.println(distance);
  34. }
Ultrasonic Module HC-SR04
Ultrasonic Module HC-SR04
Ultrasonic Module HC-SR04
เงื่อนไขอื่นๆ
Tags

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

บมจ. ธนาคารกรุงไทย สาขาด่านขุนทด ออมทรัพย์
รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านIotShop
IotShop
จำหน่าย Arduino Micro Controller, Shield, Module, Sensor, และอุปกรณ์อิเล็กทรอนิกส์ต่างๆ ราคาถูกที่สุด มีสินค้าพร้อมส่งและสุ่มทดสอบให้ลูกค้าความมั่นใจว่าสินค้าใช้งานได้แน่นอน จัดส่งสินค้าทุกวัน สต๊อกในไทย ตัดรอบ 14.00 น. ***ลูกค้าที่ต้องการใบเสร็จ โปรดแจ้งรายละเอียดมาทางช่องแชท รายละเอียดที่ต้องแจ้ง - ชื่อหน่วยงาน เช่น มหาวิทยาลัย โรงเรียน บริษัท ห้างร้าน - ที่อยู่หน่วยงาน - เลขที่ประจำตัวผู้เสียภาษีของหน่วยงาน - สาขาที่ / หรือสำนักงานใหญ่
เบอร์โทร : 0902624118
อีเมล : nattaphumart@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

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