ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า
เซนเซอร์ Ultrasonic ใช้เสียงสะท้อนกลับในการคำนวณวัดระยะทาง แม่นยำที่ 2 - 400 cm ใช้ง่ายมีไลบารีมาตรฐานพร้อมใช้งาน







 เซนเซอร์ 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

ตัวอย่าง Code

#include

#include

  #define trigPIN 13

  #define led 7

  int echoPIN =12;

  float m;

  LiquidCrystal_I2C lcd(0x3F,16,2);

void setup() {

  lcd.init();

  lcd.backlight();

  lcd.setCursor(3,0);

  lcd.print("Ultrasonic");

  pinMode(led,OUTPUT);

  }

void loop() {

  double duration,cm;

  pinMode(trigPIN, OUTPUT);

  digitalWrite(trigPIN, LOW);

  delayMicroseconds(2);

  digitalWrite(trigPIN, HIGH);

  delayMicroseconds(5);

  digitalWrite(trigPIN, LOW);

  pinMode(echoPIN, INPUT);

  duration = pulseIn(echoPIN, HIGH);

  cm = microsecondsToCentimeters(duration);

  if(cm < 100){

  int c = cm;

  lcd.clear();

  lcd.setCursor(3,1);

  lcd.print(c);

  lcd.setCursor(14,1);

  lcd.print("cm");

  }

  else if (cm >= 100){

    m = (cm/100);

  lcd.clear();

  lcd.setCursor(3,1);

  lcd.print(m);

  lcd.setCursor(14,1);

  lcd.print("M");

  }

  if(cm < 50){ 

   digitalWrite(led,HIGH);

  }

  else digitalWrite(led,LOW);

  delay(500);

  }

  long microsecondsToCentimeters(long microseconds)

  {

  return microseconds / 29 / 2;

 

}

เงื่อนไขอื่นๆ
Tags

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

                           
         
 ทางโรงเรียนพีเอสอิเล็กทรอนิกส์ ขอแจ้งเรื่อง ใบเสร็จในการรับสินค้า

1.การออกใบเสร็จทางโรงเรียนพีเอสอิเล็กจะออกใบเสร็จในนาม "โรงเรียนพีเอสอิเล็กทรอนิกส์"
2.ประเภทใบเสร็จของโรงเรียนพีเอสอิเล็กทรอนิกส์ จะเป็นแบบ Non VAT (ธุรกิจได้รับการยกเว้นภาษี)
   และใบเสร็จรับเงินสามารถลงค่าใช้จ่าย/ในระบบบัญชีการเงินได้เลย
3.หากสังสัยเรื่องการออกบิลของหน่วยงาน โปรสอบถามได้ที่ 092-5238376 ในเวลาทำงาน


                    ************-----------------------------------------------------*************




นโยบาย “การบริการ” โรงเรียน 
PS electronics

     ลูกค้าสมารถซื้อสิ้นค้าจาก  ps-thai- shop ได้ตลอด 24 ชั่วโมง มั่นใจได้ 100% เราจัดส่งสินค้าทางไปรษณีย์ แบบ EMS แพ็คสินค้าอย่างดีปลอดภัย ส่งถึงมือลูกค้าอย่างแน่นอน 


     ศูนย์ Hot Line (แจ้งด่วนเมื่อทำรายการไม่ผ่าน)

092-5238376

สำรอง (081-5633470)
         
>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<

สำหรับท่านต้องการให้เราปิดยอดการโอนเงินให้ให้ติดต่อ

หรือ แจ้งขอโอนเงินคืน

มาที่ LINE@ กดตามลิงค์


 
       "ติดต่อทาง Line @" กดตรงนี้ครับ

เปิดกล้องสแกน QR CODE ได้

 
            หากมีปัญหาในขั้นตอนการแจ้งโอนเงิน สามารถส่งข้อความมาได้ที่ "ติดต่อเรา"


คลิปสอนการสั่งสินค้า หรือ วิธีดูว่าสินค้ามีหรือไม่ตามคลิปครับ

>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<

                               
              ต
ิตต่อเจ้าหน้า เมื่อติดขัดปัญหา โทร 02-8135451 หรือ 081-5633-470
 
ติดต่ออาจารย์ ปรีชา  โดยตรง 092-523-8376
ธนาคารกรุงเทพ จำกัด (มหาชน) สาขาอ้อมน้อย ออมทรัพย์
บมจ. ธนาคารกสิกรไทย สาขาพระโขนง ออมทรัพย์
บมจ. ธนาคารกรุงไทย สาขาพุทธมณฑลสาย5 ออมทรัพย์
ธนาคารทหารไทยธนชาต จำกัด (มหาชน) สาขาอ้อมน้อย ออมทรัพย์
ธนาคารไทยพาณิชย์ จำกัด (มหาชน) สาขาอ้อมน้อย ออมทรัพย์
พร้อมเพย์ สาขา- -
พร้อมเพย์ สาขา- -
Scan this!
ปรีชา จันทวงศ์
092-xxxxxx-6
Accept All Banks | รับเงินได้จากทุกธนาคาร
Scan this!
ปรีชา จันทวงศ์
345-xxxxxx-2
Accept All Banks | รับเงินได้จากทุกธนาคาร
รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านโรงเรียนพีเอสอิเล็กทรอนิกส์
โรงเรียนพีเอสอิเล็กทรอนิกส์
สถาบันการศึกษาที่พร้อมด้วยเทคโนโลยีและขบวนการสร้างอาชีพประกอบธุรกิจ
เบอร์โทร : 02-8135451 ,0925238376
อีเมล : ps.school2007@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

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