Please login to use this feature. You can use this feature to add the product to your favourite list.
Close
You have added this product to your favorite list. Check My Favourite
Close
You have removed this product from your favourite list.
Close
Please login to use this feature. You can use this feature to add the company to your favourites list.
Close
This company has been added successfully. Check My Favourite
Close
This company has been removed from your favourite list.
Close
Please login to use this feature. You can use this feature to add the company to your inquiry cart.
Close
This company has been added to your inquiry cart.
Close
This company has been removed from your inquiry cart.
Close
This product has been added to your inquiry cart.
Close
This product has been removed from your inquiry cart.
Close
Maximum number of Product/Company has been reached in inquiry cart.
Close
Jit Sen Electronics Sdn Bhd
Jit Sen Electronics Sdn Bhd 1111860-W
Business
Hours
Monday - Saturday 9:00 AM - 6:00 PM
Sunday Closed
Open Closed
60126775183
+60126775183 WeChat QR
WeChat QR

Wechat ID: +60126775183

22-Feb-2018

Ultrasonic ranging module HC-SR04 provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm. The modules include ultrasonic transmitters, receiver and control circuit. If you are sourcing for an ultrasonic ranging module, the HC-SR04 is a good choose. Its stable performance and high ranging accuracy make it a popular module in electronic market. Compared to the Shap IR ranging module, HC-SR04 is more inexpensive than it. But it has the same ranging accuracy and longer ranging distance.

The basic principle of work:

  • Using IO trigger for at least 10us high-level signal,
  • The Module automatically sends eight 40 kHz and detect whether there is a pulse signal back.
  • IF the signal back, through high level , time of high output IO duration is the time from sending ultrasonic to returning. Test distance = (high level time×velocity of sound (340M/S) /2



Specifications:

  • Power supply :5V DC
  • Quiescent current : <2mA
  • Effectual angle: <15°
  • Resolution: 3 mm
  • Sensing distance: 0.75in (2cm) to 13ft (4m)
  • More precise measurements with ranges up to 6.5ft (2m) away
  • Resolution : 0.3 cm


There are 4 pins out of the module : VCC , Trig, Echo, GND. So it's a very easy interface for controller is to use it ranging. The process is: pull the Trig pin to high-level for more than 10us impulse , the module will start ranging ; finish ranging , If you find an object in front , Echo pin will be high level , and based on the different distance,it will take the different duration of high-level. So we can calculate the distance easily :

 

How Does it Work?

The ultrasonic sensor uses sonar to determine the distance to an object. Here’s what happens:

  1. the transmitter (trig pin) sends a signal: a high-frequency sound
  2. when the signal finds an object, it is reflected and
  3. the transmitter (echo pin) receives it.

The time between the transmission and reception of the signal allows us to know the distance to an object. This is possible because we know the sound’s velocity in the air.

Sensor

ultraPins

  • VCC: +5VDC
  • Trig : Trigger (INPUT)
  • Echo: Echo (OUTPUT)
  • GND: GND

 

51tbSvuOcAL

Arduino with HC – SR04 Sensor

This sensor is really cool and popular among the Arduino tinkerers. So, here we provide an example on how to use the HC-SR04 ultrasonic sensor with the Arduino. In this project the ultrasonic sensor reads and writes the distance to an object in the serial monitor.

The goal of this project is to help you understand how this sensor works. Then, you can use this example in your own projects.

 

Parts Required

 

 

Schematics

Follow the next schematic diagram to wire the HC-SR04 ultrasonic sensor to the Arduino.

The following table shows the connections you need to make:

Ultrasonic Sensor HC-SR04 Arduino
VCC 5V
Trig Pin 11
Echo Pin 12
GND GND

Source code

Upload the following code to your Arduino IDE.

/*
 * created by Rui Santos, http://randomnerdtutorials.com
 * 
 * Complete Guide for Ultrasonic Sensor HC-SR04
 *
    Ultrasonic sensor Pins:
        VCC: +5VDC
        Trig : Trigger (INPUT) - Pin11
        Echo: Echo (OUTPUT) - Pin 12
        GND: GND
 */
 
int trigPin = 11;    //Trig - green Jumper
int echoPin = 12;    //Echo - yellow Jumper
long duration, cm, inches;
 
void setup() {
  //Serial Port begin
  Serial.begin (9600);
  //Define inputs and outputs
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
}
 
void loop()
{
 
 
  // The sensor is triggered by a HIGH pulse of 10 or more microseconds.
  // Give a short LOW pulse beforehand to ensure a clean HIGH pulse:
  digitalWrite(trigPin, LOW);
  delayMicroseconds(5);
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);
 
  // Read the signal from the sensor: a HIGH pulse whose
  // duration is the time (in microseconds) from the sending
  // of the ping to the reception of its echo off of an object.
  pinMode(echoPin, INPUT);
  duration = pulseIn(echoPin, HIGH);
 
  // convert the time into a distance
  cm = (duration/2) / 29.1;
  inches = (duration/2) / 74; 
  
  Serial.print(inches);
  Serial.print("in, ");
  Serial.print(cm);
  Serial.print("cm");
  Serial.println();
  
  delay(250);
}

Send your message to Jit Sen Electronics Sdn Bhd
Thank you for your inquiry!
Our Customer Support will be in touch with you shortly.
Your Name *
Your Company Name
Your Email *
Your Contact Number *
Subject *
Message *
Captcha *
Main Office

Jit Sen Electronics Sdn Bhd (1111860-W)
52A, 56 & 56-1, Jalan MP 2, Taman Merdeka Permai, 75350 Batu Berendam, Melaka, Malaysia.

Tel:
Fax:

Email:
Website: http://www.jselectronics.com.my
Website: https://jselectronics.newpages.com.my/
Website: https://jselectronics.n.my/
Website: http://jselectronics.newstore.my/

Browse by : Home - Classifieds - Companies - Location - Tags - Products - News & Promotion - Job Vacancy - Mobile Website - Google - SEO Results

NEWPAGES

  • MY 1604
  • US 1175
  • CN 228
  • AP 86
  • SG 44
  • AU 43
  • IE 37
  • CA 32
People Online
Seni Jaya Logo
Brochure
Download
Our PackageContact Us