Wish List 0

Hc Sr04 Ultrasonic Range Finder

Rs. 47.00 Rs. 55.00

  • Product Code: SEN-ULTRA
  • SKU -
  • Availability: In Stock
  • Price in reward points: 1
  • For Bulk Order 9962060070
    Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered

Tags: Hc Sr04 Ultrasonic Range Finder

-This HC-SR04-Ultrasonic Range Finder is a very popular sensor which is found in many applications where it requires to measure distance and detect the objects.
-The module has two eyes like projects in the front which forms the Ultrasonic transmitter and Receiver. 
-The HC-SR04 ultrasonic sensor uses sonar to determine the distance to an object like bats or dolphins do.
-This Ultrasonic Sensor module is a transmitter, a receiver and a control circuit in one single pack!! It has very handy and compact construction.
-It offers excellent range accuracy and stable readings in an easy-to-use package.
-Its operation is not affected by sunlight or black material like Sharp rangefinders are (although acoustically soft materials like cloth can be difficult to detect).
-The Trigger and the Echo pins are the I/O pins of this module and hence they can be connected to the I/O pins of the microcontroller/Arduino.
-When the receiver detects return wave the Echo pin goes high for a particular amount of time which will be equal to the time taken for the wave to return back to the sensor.
-Ultrasonic Ranging Module HC-SR04 provides 2cm-400cm non-contact distance sensing capabilities, Ranging accuracy up to 3mm.

Wiring
-+5V OR 3.3V (positive)
-Trig(control)
-Echo(receive)
-GND(negative)

Features:
-Measures the distance within a wide range of 2cm to 400cm
-Stable performance
-Accurate distance measurement
-High-density
-Small blind distance

SPECIFICATIONS:
Model                             HC-SR04
Operating Voltage(VDC)            5 OR 3.3V
Average Current Consumption (mA)  2
Frequency(Hz)                     40000
Sensing Angle                     15°
Max. Sensing Distance (cm)        450
Sensor Cover Dia. (mm)            16
OVERVIEW:
Affordable Price
Operating Voltage     5 V OR 3.3V
Sonar Sensing Range   2-400 cm
Max. Sensing Range    450 cm
Frequency             40 kHz

PACKAGE INCLUDES:

1 PCS x Hc Sr04 Ultrasonic Range Finder


//SOURCE CODE TAKEN FROM BELOW LINK

//https://create.arduino.cc/projecthub/abdularbi17/ultrasonic-sensor-hc-sr04-with-arduino-tutorial-327ff6

// ---------------------------------------------------------------- //

// Arduino Ultrasoninc Sensor HC-SR04

// Re-writed by Arbi Abdul Jabbaar

// Using Arduino IDE 1.8.7

// Using HC-SR04 Module

// Tested on 17 September 2019

// ---------------------------------------------------------------- //


#define echoPin 2 // attach pin D2 Arduino to pin Echo of HC-SR04

#define trigPin 3 //attach pin D3 Arduino to pin Trig of HC-SR04


// defines variables

long duration; // variable for the duration of sound wave travel

int distance; // variable for the distance measurement


void setup() {

  pinMode(trigPin, OUTPUT); // Sets the trigPin as an OUTPUT

  pinMode(echoPin, INPUT); // Sets the echoPin as an INPUT

  Serial.begin(9600); // // Serial Communication is starting with 9600 of baudrate speed

  Serial.println("Ultrasonic Sensor HC-SR04 Test"); // print some text in Serial Monitor

  Serial.println("with Arduino UNO R3");

}

void loop() {

  // Clears the trigPin condition

  digitalWrite(trigPin, LOW);

  delayMicroseconds(2);

  // Sets the trigPin HIGH (ACTIVE) for 10 microseconds

  digitalWrite(trigPin, HIGH);

  delayMicroseconds(10);

  digitalWrite(trigPin, LOW);

  // Reads the echoPin, returns the sound wave travel time in microseconds

  duration = pulseIn(echoPin, HIGH);

  // Calculating the distance

  distance = duration * 0.034 / 2; // Speed of sound wave divided by 2 (go and back)

  // Displays the distance on the Serial Monitor

  Serial.print("Distance: ");

  Serial.print(distance);

  Serial.println(" cm");

}

15 days

Write a review

Please login or register to review