Mall US-100 Ultrasonic Sensor Module เซนเซอร์วัดระยะทาง อัลตร้าโซนิค
ข้อมูลจำเพาะของสินค้า
รายละเอียดสินค้า
Description:
Firstly, This module has stable performance and accurate measure of the distance. Can compare with SRF05, SRF02 etc. ultrasonic ranging module. High precision Module, blind area (2cm) super close!
Main technical parameters:
1. working voltage: DC2.4~5.5V;
2. current: 2mA
3. level output: high 5V;
4. level output: low 0V
5. induction Angle: no more than 15 degrees;
6. detection range: 2cm-450cm
7. high precision: reach 1cm
8. PCB size: 45*20MM
The wiring method: VCC, trig (control terminals), echo (receiver), GND
Module working principle:
(1) the IO trigger ranging, to at least 10us high level signal;
(2) module automatically send eight 40KHZ of square wave, automatic testing if it has any return signals;
(3) a signal to return to, through the IO output top level, the high level of the last time is from the launch ultrasonic returned to time. Test distance = (high level time * sound velocity (340M/S)) / 2;
Code Test:
#include
const int US100_TX = 2;
const int US100_RX = 3;
// Instancia nuevo canal serie
SoftwareSerial puertoUS100(US100_RX, US100_TX);
unsigned int MSByteDist = 0;
unsigned int LSByteDist = 0;
unsigned int mmDist = 0;
int temp = 0;
void setup() {
Serial.begin(9600);
puertoUS100.begin(9600);
}
void loop() {
puertoUS100.flush(); // limpia el buffer del puerto serie
puertoUS100.write(0x55); // orden de medicin de distancia
delay(50);
if(puertoUS100.available() = 2) // comprueba la recepcin de 2 bytes
{
MSByteDist = puertoUS100.read(); // lectura de ambos bytes
LSByteDist = puertoUS100.read();
mmDist = MSByteDist * 256 + LSByteDist; // distancia
if((mmDist 1) (mmDist 10000)) // comprobacin de la distancia dentro de rango
{
Serial.print(“Distancia: “);
Serial.print(mmDist, DEC);
Serial.println(” mm”);
}
}
puertoUS100.flush(); // limpia el buffer del puerto serie
puertoUS100.write(0x50); // orden de medicin de distancia
delay(50);
if(puertoUS100.available() = 1) // comprueba la recepcin de 1 byte
{
temp = puertoUS100.read(); // lectura del byte
if((temp 1) (temp 130)) // comprobacin de rango vlido
{
// temp -= 45; // corrige offset de 45
// Serial.print(“Temperatura: “);
// Serial.print(temp, DEC);
// Serial.println(” C.”);
}
}
delay(50);
}
***รายละเอียดและเงื่อนไขการรับประกัน***
✅ – ร้านเราจัดส่งสินค้าทุกวันจันทร์-เสาร์
✅ – หากลูกค้ากดสั่งซื้อผ่านระบบได้สำเร็จ แสดงว่ามีสินค้าพร้อมจัดส่งได้ทันที
✅ – สต๊อกสินค้าอยู่ในประเทศไทย ส่งถึงมือลูกค้าภายใน 1-3 วัน รวดเร็วทันใจแน่นอน
✅ – หากลูกค้าต้องการบิลใบเสร็จ ให้แจ้งที่หมายเหตุถึงร้านค้าหรือแชทแจ้งทางร้านได้เลย
*** เงื่อนไขการรับประกัน***
✅ – หากลูกค้าได้รับสินค้าผิด ชำรุด ให้ถ่ายรูปสินค้าที่ได้รับส่งมาทางแชท แจ้งปัญหาได้ ทางร้านยินดีเปลี่ยนสินค้า/คืนเงิน
✅ – ทางร้านรับประกันสินค้า 1 เดือน หากสินค้ามีปัญหาแจ้งมาทางแชทได้เลย สินค้าจะต้องอยู่ในสภาพที่สมบูรณ์ไม่ถูกงัดแงะ ถูกบัดกรี หรือเสียหายจากลูกค้าเป็นผู้กระทำ
✅ – กรณีคืนสินค้าที่มีปัญหา ลูกค้าทำเรื่องคืนสินค้ามายังร้าน เมื่อร้านค้าได้รับสินค้าคืนจะดำเนินการตรวจสอบสินค้าและคืนเงินให้ทันที
✅ – หากเกินระยะเวลารับประกัน ทางร้านจะไม่รับชอบใดๆทั้งสิ้น ฯลฯ