Categories

Ultrasonic Sensor Distance Measuring Module HC-SR04

Ultrasonic Sensor Distance Measuring Module HC-SR04
Product Code: TD-USR04
Availability: In Stock
Price: Rs. 269.00 Rs. 169.00
Qty:     - OR -   Add to Wish List
Add to Compare

 

Ultra Sonic Distance Sensor Module HC-SR04

Description:

This ultrasonic sensor module can be used for measuring distance, object sensor, motion sensors etc. High sensitive module can be used with microcontroller to integrate with motion circuits to make robotic projects and other distance, postion & motion sensitive products.

The module sends eight 40Khz square wave pulses and automatically detects whether it receives the returning signal. If there is a signal returning,  a high level pulse is sent on the echo pin. The length of this pulse is the time it took the signal from first triggering to the return echo.

This performance of the ultrasonic sensor distance measuring module is stable, measure the distance accurately. The module is with High precision, blind spots (3cm) super close. This module provides a full set of ranging process.

Please Read Below the Coding parameter.

Test code for Arduino:

Pin Connections

  • Connect the VCC to 5V and GND to GND.
  • Connect Trig to Pin 12 and Eco to pin 13 and run the code below.

Test Code:

#define trigPin 12
#define echoPin 13

void setup()

{
Serial.begin (9600);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
}

void loop()

{
long duration, distance;
digitalWrite(trigPin, LOW); // Added this line
delayMicroseconds(2); // Added this line
digitalWrite(trigPin, HIGH);
delayMicroseconds(10); // Added this line
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = (duration/2) / 29.1;
if (distance < 4)

{

//Define specific work here

}

else

{

//Define specific work here

}

if (distance >= 200 || distance <= 0)

{
Serial.println("Out of range");
}

else

{
Serial.print(distance);
Serial.println(" cm");
}

delay(500);
}

Specification:

  • Model: HC-SR04
  • Color: Blue + Silver
  • Working voltage : 5V(DC)
  • Static current: Less than 2mA.
  • Output signal: Electric frequency signal, high level 5V, low level 0V.
  • Sensor angle: Not more than 15 degrees.
  • Detection distance: 2cm~450cm.
  • High precision: Up to 3mm
  • Mode of connection: VCC / trig(T) / echo(R) / GND

Module Working Principle:

  • Adopt IO trigger through supplying at least 10us sequence of high level signal
  • The module automatically send eight 40khz square wave and automatically detect whether receive the returning pulse signal
  • 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

*Image shown is a representation only.

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



Description

 

Ultra Sonic Distance Sensor Module HC-SR04

Description:

This ultrasonic sensor module can be used for measuring distance, object sensor, motion sensors etc. High sensitive module can be used with microcontroller to integrate with motion circuits to make robotic projects and other distance, postion & motion sensitive products.

The module sends eight 40Khz square wave pulses and automatically detects whether it receives the returning signal. If there is a signal returning,  a high level pulse is sent on the echo pin. The length of this pulse is the time it took the signal from first triggering to the return echo.

This performance of the ultrasonic sensor distance measuring module is stable, measure the distance accurately. The module is with High precision, blind spots (3cm) super close. This module provides a full set of ranging process.

Please Read Below the Coding parameter.

Test code for Arduino:

Pin Connections

  • Connect the VCC to 5V and GND to GND.
  • Connect Trig to Pin 12 and Eco to pin 13 and run the code below.

Test Code:

#define trigPin 12
#define echoPin 13

void setup()

{
Serial.begin (9600);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
}

void loop()

{
long duration, distance;
digitalWrite(trigPin, LOW); // Added this line
delayMicroseconds(2); // Added this line
digitalWrite(trigPin, HIGH);
delayMicroseconds(10); // Added this line
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = (duration/2) / 29.1;
if (distance < 4)

{

//Define specific work here

}

else

{

//Define specific work here

}

if (distance >= 200 || distance <= 0)

{
Serial.println("Out of range");
}

else

{
Serial.print(distance);
Serial.println(" cm");
}

delay(500);
}

Specification:

  • Model: HC-SR04
  • Color: Blue + Silver
  • Working voltage : 5V(DC)
  • Static current: Less than 2mA.
  • Output signal: Electric frequency signal, high level 5V, low level 0V.
  • Sensor angle: Not more than 15 degrees.
  • Detection distance: 2cm~450cm.
  • High precision: Up to 3mm
  • Mode of connection: VCC / trig(T) / echo(R) / GND

Module Working Principle:

  • Adopt IO trigger through supplying at least 10us sequence of high level signal
  • The module automatically send eight 40khz square wave and automatically detect whether receive the returning pulse signal
  • 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

*Image shown is a representation only.

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



Copyright © 2014-2017 TechDelivers.com. All Rights Reserved.